-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
212 changed files
with
14,903 additions
and
9,397 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ on: | |
- 'packages/docs/**' | ||
- 'packages/playground/**' | ||
pull_request: | ||
branches: v2 | ||
paths-ignore: | ||
- 'packages/docs/**' | ||
- 'packages/playground/**' | ||
|
@@ -16,18 +17,17 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: pnpm/[email protected] | ||
- uses: pnpm/action-setup@v2 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
version: 6.32.1 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
node-version: 18 | ||
cache: 'pnpm' | ||
|
||
- run: pnpm install | ||
- run: pnpm run lint | ||
- run: pnpm run test:types | ||
- run: pnpm run test:jest | ||
- run: pnpm run -r dev:prepare | ||
- run: pnpm run test:vitest | ||
- run: pnpm run build | ||
- run: pnpm run build:dts | ||
- run: pnpm run test:dts | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ docs-api | |
packages/docs/api | ||
.yalc | ||
yalc.lock | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
__build__ | ||
dist | ||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
[build.environment] | ||
NPM_FLAGS="--version" | ||
|
||
[build] | ||
command = "npx pnpm@6 i --store=node_modules/.pnpm-store && npx pnpm@6 run docs:build" | ||
command = "pnpm run docs" | ||
ignore = "./scripts/docs-check.sh" | ||
publish = "packages/docs/.vitepress/dist" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"name": "@pinia/root", | ||
"packageManager": "[email protected]", | ||
"private": true, | ||
"workspaces": [ | ||
"packages/*" | ||
|
@@ -8,57 +9,54 @@ | |
"release": "node scripts/release.mjs", | ||
"size": "pnpm run -r size", | ||
"build": "pnpm run -r build", | ||
"docs:build": "pnpm run docs:api && pnpm run -r docs:build --filter ./packages/docs", | ||
"docs": "pnpm run docs:api && pnpm run --filter ./packages/docs -r docs:build", | ||
"play": "pnpm run -r play", | ||
"build:dts": "pnpm run -r --parallel build:dts", | ||
"lint": "prettier -c --parser typescript \"packages/*/{src,__tests__,e2e}/**/*.[jt]s?(x)\"", | ||
"lint": "prettier -c --parser typescript \"packages/*/{src,__tests__,e2e}/**/*.[jt]s?(x)\" \"packages/docs/**/*.[jt]s\"", | ||
"lint:fix": "pnpm run lint --write", | ||
"test": "pnpm run test:types && pnpm run test:jest && pnpm run -r test && pnpm run build && pnpm run build:dts && pnpm test:dts", | ||
"test:jest": "jest --coverage", | ||
"test": "pnpm run -r dev:prepare && pnpm run test:types && pnpm run test:vitest run && pnpm run -r test && pnpm run build && pnpm run build:dts && pnpm test:dts", | ||
"test:vitest": "vitest --coverage", | ||
"test:types": "tsc --build ./tsconfig.json", | ||
"test:dts": "pnpm run -r test:dts", | ||
"docs:api": "pnpm run -r docs:api --filter ./packages/docs" | ||
"docs:api": "pnpm run --filter ./packages/docs -r docs:api" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-alias": "^3.1.9", | ||
"@rollup/plugin-commonjs": "^22.0.1", | ||
"@rollup/plugin-node-resolve": "^13.3.0", | ||
"@rollup/plugin-replace": "^4.0.0", | ||
"@sucrase/jest-plugin": "^2.2.1", | ||
"@types/jest": "^28.1.4", | ||
"@rollup/plugin-alias": "^5.0.0", | ||
"@rollup/plugin-commonjs": "^24.1.0", | ||
"@rollup/plugin-node-resolve": "^15.0.2", | ||
"@rollup/plugin-replace": "^5.0.2", | ||
"@rollup/plugin-terser": "^0.4.1", | ||
"@types/lodash.kebabcase": "^4.1.7", | ||
"@types/node": "^16.11.41", | ||
"@vue/compiler-sfc": "^3.2.37", | ||
"@vue/server-renderer": "^3.2.37", | ||
"chalk": "^4.1.2", | ||
"@types/node": "^18.15.11", | ||
"@vitest/coverage-v8": "^0.32.4", | ||
"@vue/compiler-sfc": "^3.3.4", | ||
"@vue/server-renderer": "^3.3.4", | ||
"chalk": "^5.2.0", | ||
"conventional-changelog-cli": "^2.2.2", | ||
"enquirer": "^2.3.6", | ||
"execa": "^6.1.0", | ||
"expect": "^28.1.1", | ||
"globby": "^12.2.0", | ||
"jest": "^28.1.2", | ||
"jest-environment-jsdom": "^28.1.2", | ||
"jest-mock-warn": "^1.1.0", | ||
"lint-staged": "^12.5.0", | ||
"execa": "^7.1.1", | ||
"globby": "^13.1.4", | ||
"happy-dom": "^9.18.3", | ||
"lint-staged": "^13.2.2", | ||
"lodash.kebabcase": "^4.1.1", | ||
"minimist": "^1.2.6", | ||
"minimist": "^1.2.8", | ||
"p-series": "^3.0.0", | ||
"pascalcase": "^1.0.0", | ||
"prettier": "^2.7.1", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.75.7", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"rollup-plugin-typescript2": "^0.31.2", | ||
"semver": "^7.3.7", | ||
"typedoc": "^0.22.15", | ||
"typedoc-plugin-markdown": "^3.12.1", | ||
"typescript": "^4.6.3", | ||
"vue": "^3.2.37", | ||
"pascalcase": "^2.0.0", | ||
"prettier": "^2.8.8", | ||
"rimraf": "^5.0.1", | ||
"rollup": "^3.22.0", | ||
"rollup-plugin-typescript2": "^0.34.1", | ||
"semver": "^7.5.1", | ||
"typedoc": "^0.24.8", | ||
"typedoc-plugin-markdown": "^3.15.4", | ||
"typescript": "^5.0.4", | ||
"vitest": "^0.32.4", | ||
"vue": "^3.3.4", | ||
"yorkie": "^2.0.0" | ||
}, | ||
"gitHooks": { | ||
"pre-commit": "lint-staged", | ||
"commit-msg": "node scripts/verifyCommit.js" | ||
"commit-msg": "node scripts/verifyCommit.mjs" | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
|
@@ -67,5 +65,8 @@ | |
"*.ts?(x)": [ | ||
"prettier --parser=typescript --write" | ||
] | ||
}, | ||
"resolutions": { | ||
"@nuxt/kit": "^3.4.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.vitepress/cache |
Oops, something went wrong.