|
@@ -11,12 +11,12 @@
|
|
|
"lint": "eslint --cache --ext .ts packages/*/{src,__tests__}/**.ts",
|
|
"lint": "eslint --cache --ext .ts packages/*/{src,__tests__}/**.ts",
|
|
|
"format": "prettier --write --cache --parser typescript \"**/*.[tj]s?(x)\"",
|
|
"format": "prettier --write --cache --parser typescript \"**/*.[tj]s?(x)\"",
|
|
|
"format-check": "prettier --check --cache --parser typescript \"**/*.[tj]s?(x)\"",
|
|
"format-check": "prettier --check --cache --parser typescript \"**/*.[tj]s?(x)\"",
|
|
|
- "test": "run-s \"test-unit {@}\" \"test-e2e {@}\"",
|
|
|
|
|
- "test-unit": "jest --filter ./scripts/filter-unit.mjs",
|
|
|
|
|
- "test-e2e": "node scripts/build.mjs vue -f global -d && jest --filter ./scripts/filter-e2e.js --runInBand",
|
|
|
|
|
|
|
+ "test": "vitest",
|
|
|
|
|
+ "test-unit": "vitest -c vitest.unit.config.ts",
|
|
|
|
|
+ "test-e2e": "node scripts/build.mjs vue -f global -d && vitest -c vitest.e2e.config.ts",
|
|
|
"test-dts": "node scripts/build.mjs shared reactivity runtime-core runtime-dom -dt -f esm-bundler && npm run test-dts-only",
|
|
"test-dts": "node scripts/build.mjs shared reactivity runtime-core runtime-dom -dt -f esm-bundler && npm run test-dts-only",
|
|
|
"test-dts-only": "tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.build.mjson",
|
|
"test-dts-only": "tsc -p ./test-dts/tsconfig.json && tsc -p ./test-dts/tsconfig.build.mjson",
|
|
|
- "test-coverage": "node scripts/build.mjs vue -f global -d && jest --runInBand --coverage --bail",
|
|
|
|
|
|
|
+ "test-coverage": "vitest -c vitest.unit.config.ts --coverage",
|
|
|
"release": "node scripts/release.mjs",
|
|
"release": "node scripts/release.mjs",
|
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
|
|
"dev-esm": "node scripts/dev.mjs -if esm-bundler-runtime",
|
|
"dev-esm": "node scripts/dev.mjs -if esm-bundler-runtime",
|
|
@@ -62,9 +62,9 @@
|
|
|
"@rollup/plugin-replace": "^5.0.1",
|
|
"@rollup/plugin-replace": "^5.0.1",
|
|
|
"@rollup/plugin-terser": "^0.1.0",
|
|
"@rollup/plugin-terser": "^0.1.0",
|
|
|
"@types/hash-sum": "^1.0.0",
|
|
"@types/hash-sum": "^1.0.0",
|
|
|
- "@types/jest": "^29.2.2",
|
|
|
|
|
"@types/node": "^16.4.7",
|
|
"@types/node": "^16.4.7",
|
|
|
"@typescript-eslint/parser": "^5.23.0",
|
|
"@typescript-eslint/parser": "^5.23.0",
|
|
|
|
|
+ "@vitest/coverage-istanbul": "^0.28.2",
|
|
|
"@vue/consolidate": "0.17.3",
|
|
"@vue/consolidate": "0.17.3",
|
|
|
"@vue/reactivity": "workspace:*",
|
|
"@vue/reactivity": "workspace:*",
|
|
|
"@vue/runtime-core": "workspace:*",
|
|
"@vue/runtime-core": "workspace:*",
|
|
@@ -76,10 +76,8 @@
|
|
|
"enquirer": "^2.3.2",
|
|
"enquirer": "^2.3.2",
|
|
|
"esbuild": "^0.17.4",
|
|
"esbuild": "^0.17.4",
|
|
|
"eslint": "^7.7.0",
|
|
"eslint": "^7.7.0",
|
|
|
- "eslint-plugin-jest": "26.1.5",
|
|
|
|
|
|
|
+ "eslint-plugin-jest": "^27.2.1",
|
|
|
"execa": "^4.0.2",
|
|
"execa": "^4.0.2",
|
|
|
- "jest": "^29.3.1",
|
|
|
|
|
- "jest-environment-jsdom": "^29.3.1",
|
|
|
|
|
"lint-staged": "^10.2.10",
|
|
"lint-staged": "^10.2.10",
|
|
|
"lodash": "^4.17.15",
|
|
"lodash": "^4.17.15",
|
|
|
"marked": "^4.0.10",
|
|
"marked": "^4.0.10",
|
|
@@ -98,7 +96,6 @@
|
|
|
"simple-git-hooks": "^2.8.1",
|
|
"simple-git-hooks": "^2.8.1",
|
|
|
"terser": "^5.15.1",
|
|
"terser": "^5.15.1",
|
|
|
"todomvc-app-css": "^2.3.0",
|
|
"todomvc-app-css": "^2.3.0",
|
|
|
- "ts-jest": "^29.0.3",
|
|
|
|
|
"tslib": "^2.4.0",
|
|
"tslib": "^2.4.0",
|
|
|
"typescript": "^4.8.0",
|
|
"typescript": "^4.8.0",
|
|
|
"vite": "^4.0.4",
|
|
"vite": "^4.0.4",
|