Skip to content

Commit

Permalink
Merge branch 'main' into jestgha
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Aug 27, 2022
2 parents b6f7170 + a58bd89 commit 2ab96dc
Show file tree
Hide file tree
Showing 8 changed files with 408 additions and 1,310 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ jobs:
${{ runner.os }}-pnpm-store-
- run: pnpm install
- run: pnpm lint
- run: pnpm build
- run: pnpm types:check
- run: pnpm test-typing
- run: pnpm test
- run: pnpm run-all-checks
env:
CI: true
4 changes: 2 additions & 2 deletions _internal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"exports": "./dist/index.mjs",
"private": true,
"scripts": {
"watch": "bunchee index.ts --no-sourcemap -w",
"build": "bunchee index.ts --no-sourcemap",
"watch": "bunchee index.ts -w",
"build": "bunchee index.ts",
"types:check": "tsc --noEmit",
"clean": "rimraf dist"
},
Expand Down
4 changes: 2 additions & 2 deletions core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"exports": "./dist/index.mjs",
"private": true,
"scripts": {
"watch": "bunchee index.ts --no-sourcemap -w",
"build": "bunchee index.ts --no-sourcemap",
"watch": "bunchee index.ts -w",
"build": "bunchee index.ts",
"types:check": "tsc --noEmit",
"clean": "rimraf dist"
},
Expand Down
4 changes: 2 additions & 2 deletions immutable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"exports": "./dist/index.mjs",
"private": true,
"scripts": {
"watch": "bunchee index.ts --no-sourcemap -w",
"build": "bunchee index.ts --no-sourcemap",
"watch": "bunchee index.ts -w",
"build": "bunchee index.ts",
"types:check": "tsc --noEmit",
"clean": "rimraf dist"
},
Expand Down
4 changes: 2 additions & 2 deletions infinite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"exports": "./dist/index.mjs",
"private": true,
"scripts": {
"watch": "bunchee index.ts --no-sourcemap -w",
"build": "bunchee index.ts --no-sourcemap",
"watch": "bunchee index.ts -w",
"build": "bunchee index.ts",
"types:check": "tsc --noEmit",
"clean": "rimraf dist"
},
Expand Down
4 changes: 2 additions & 2 deletions mutation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"exports": "./dist/index.mjs",
"private": true,
"scripts": {
"watch": "bunchee index.ts --no-sourcemap -w",
"build": "bunchee index.ts --no-sourcemap",
"watch": "bunchee index.ts -w",
"build": "bunchee index.ts",
"types:check": "tsc --noEmit",
"clean": "rimraf dist"
},
Expand Down
19 changes: 5 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,24 +69,15 @@
"watch": "pnpm -r run watch",
"build": "pnpm -r run build",
"types:check": "pnpm -r run types:check",
"watch:core": "pnpm --filter=\"./core\" run watch",
"watch:infinite": "pnpm --filter=\"./inifinite\" run watch",
"watch:immutable": "pnpm --filter=\"./immutable\" run watch",
"watch:mutation": "pnpm --filter=\"./mutation\" run watch",
"watch:internal": "pnpm --filter=\"./_internal\" run watch",
"build:core": "pnpm --filter=\"./core\" build",
"build:infinite": "pnpm --filter=\"./infinite\" build",
"build:immutable": "pnpm --filter=\"./immutable\" build",
"build:mutation": "pnpm --filter=\"./mutation\" build",
"build:internal": "pnpm --filter=\"./_internal\" build",
"prepublishOnly": "pnpm clean && pnpm build",
"publish-beta": "pnpm publish --tag beta",
"format": "prettier --write ./**/*.{ts,tsx}",
"lint": "eslint . --ext .ts,.tsx --cache",
"lint:fix": "pnpm lint --fix",
"coverage": "jest --coverage",
"test-typing": "tsc --noEmit -p test/type/tsconfig.json && tsc --noEmit -p test/tsconfig.json",
"test": "jest"
"test": "jest",
"run-all-checks": "pnpm types:check && pnpm lint && pnpm test && pnpm test-typing"
},
"husky": {
"hooks": {
Expand All @@ -112,7 +103,7 @@
"@types/use-sync-external-store": "^0.0.3",
"@typescript-eslint/eslint-plugin": "5.25.0",
"@typescript-eslint/parser": "5.25.0",
"bunchee": "1.8.5",
"bunchee": "2.0.0-beta.2",
"eslint": "8.15.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-jest-dom": "4.0.1",
Expand All @@ -130,7 +121,7 @@
"rimraf": "3.0.2",
"swr": "workspace:*",
"tslib": "2.4.0",
"typescript": "4.7.4"
"typescript": "4.8.2"
},
"peerDependencies": {
"react": "^16.11.0 || ^17.0.0 || ^18.0.0"
Expand All @@ -149,4 +140,4 @@
"dependencies": {
"use-sync-external-store": "^1.2.0"
}
}
}

0 comments on commit 2ab96dc

Please sign in to comment.