Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: umidbekk/actions/prepare-node-repo@v2
- uses: superdispatch/actions/prepare-node-repo@v2
with:
cache-key: npm-v2-
cache-key: cache-v1-
node-version: 20
pnpm-version: 10.25

- run: yarn tsc
- run: yarn lint
- run: pnpm tsc
- run: pnpm lint
- uses: superdispatch/actions/update-snapshots@v1.6
with:
command: yarn test
update-command: yarn test -u
command: pnpm test
update-command: pnpm test -u
- uses: codecov/codecov-action@v2
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
pnpm lint-staged
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
shamefully-hoist=true
6 changes: 1 addition & 5 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"version": "0.13.1",
"npmClient": "yarn",
"useWorkspaces": true,
"packages": [
"packages/*"
],
"npmClient": "pnpm",
"command": {
"publish": {
"message": "%s",
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
},
"scripts": {
"build": "lerna run build --parallel",
"prelint": "yarn build",
"prelint": "pnpm build",
"lint": "js-tools lint",
"prepare": "husky install",
"prerelease": "yarn --force && yarn tsc && yarn lint && yarn test",
"prerelease": "pnpm install && pnpm tsc && pnpm lint && pnpm test",
"release": "lerna publish",
"tdd": "jest --watch",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --coverage"
Expand Down Expand Up @@ -46,6 +46,7 @@
]
},
"devDependencies": {
"@superdispatch/js-tools": "workspace:*",
"@babel/cli": "7.18.10",
"@babel/core": "7.26.9",
"@babel/runtime": "7.26.9",
Expand All @@ -70,6 +71,6 @@
"typescript": "4.8.4"
},
"engines": {
"node": "20"
"node": ">=20"
}
}
2 changes: 1 addition & 1 deletion packages/babel-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@babel/runtime": "^7.0.0"
},
"engines": {
"node": "20"
"node": ">=20"
},
"publishConfig": {
"access": "public"
Expand Down
9 changes: 0 additions & 9 deletions packages/biome-config/README.md

This file was deleted.

98 changes: 0 additions & 98 deletions packages/biome-config/biome.json

This file was deleted.

23 changes: 0 additions & 23 deletions packages/biome-config/package.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"typescript": "^4"
},
"engines": {
"node": "20"
"node": ">=20"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/src/configs/ts-cypress.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ it('extends dependencies', async () => {
+ "cypress/globals": true,
+ },
"globals": Object {},
"parser": "node_modules/@typescript-eslint/parser/dist/index.js",
"parser": "node_modules/.pnpm/@typescript-eslint+parser@6.21.0_eslint@8.23.0_typescript@4.8.4/node_modules/@typescript-eslint/parser/dist/index.js",
"parserOptions": Object {
"ecmaVersion": 2020,
"sourceType": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/src/configs/ts-jest.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test('diff with jest', async () => {
"setTimeout": "readonly",
},
- "parser": undefined,
+ "parser": "node_modules/@typescript-eslint/parser/dist/index.js",
+ "parser": "node_modules/.pnpm/@typescript-eslint+parser@6.21.0_eslint@8.23.0_typescript@4.8.4/node_modules/@typescript-eslint/parser/dist/index.js",
"parserOptions": Object {
"ecmaFeatures": Object {
"globalReturn": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/src/configs/ts-node.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ it('extends dependencies', async () => {
"setTimeout": "readonly",
},
- "parser": undefined,
+ "parser": "node_modules/@typescript-eslint/parser/dist/index.js",
+ "parser": "node_modules/.pnpm/@typescript-eslint+parser@6.21.0_eslint@8.23.0_typescript@4.8.4/node_modules/@typescript-eslint/parser/dist/index.js",
"parserOptions": Object {
"ecmaFeatures": Object {
"globalReturn": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin/src/configs/typescript.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ it('extends dependencies', async () => {
"env": Object {},
"globals": Object {},
- "parser": undefined,
+ "parser": "node_modules/@typescript-eslint/parser/dist/index.js",
+ "parser": "node_modules/.pnpm/@typescript-eslint+parser@6.21.0_eslint@8.23.0_typescript@4.8.4/node_modules/@typescript-eslint/parser/dist/index.js",
"parserOptions": Object {
"ecmaVersion": 2020,
+ "sourceType": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/js-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"prettier": ">=2.0.0"
},
"engines": {
"node": "20"
"node": ">=20"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/prettier-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"prettier-plugin-packagejson": "^2.2.9"
},
"engines": {
"node": "20"
"node": ">=20"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/tsconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"tsconfig.json"
],
"engines": {
"node": "20"
"node": ">=20"
},
"publishConfig": {
"access": "public"
Expand Down
Loading