Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluelovers committed Aug 26, 2022
1 parent dafc19c commit 157d5dc
Show file tree
Hide file tree
Showing 100 changed files with 222 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"ci:build": "echo ci:build",
"lerna:publish": "npx lerna publish",
"lerna:publish:yes": "yarn run prepublishOnly:check-bin && npx lerna publish --yes --bump patch",
"ws:fix-all": "ts-node ./test/scripts/fix-all.ts",
"preversion": "yarn run test",
"version": "echo version",
"postversion": "ts-node ./test/scripts/fix-all.ts",
Expand All @@ -69,13 +70,12 @@
"postpublishOnly": "yarn run postpublishOnly:ws-root-changelog & echo postpublishOnly",
"postpublishOnly:ws-root-changelog": "ynpx ws-root-changelog & git commit ./CHANGELOG.md -m \"chore(changelog): update changelog toc in workspaces root\" & echo update changelog toc in workspaces root",
"ncu": "yarn run ncu:ws",
"ncu:root": "ynpx yarn-tool ncu -u",
"ncu:ws": "ynpx yarn-tool ncu -u --AA",
"ncu:root": "ynpx yarn-tool ncu -u",
"sort-package-json": "yarn run sort-package-json:root && yarn run sort-package-json:ws",
"sort-package-json:root": "npx yarn-tool sort",
"sort-package-json:ws": "npx yarn-tool ws exec yarn-tool sort",
"tsc:showConfig": "ynpx get-current-tsconfig -p",
"ws:fix-all": "ts-node ./test/scripts/fix-all.ts"
"tsc:showConfig": "ynpx get-current-tsconfig -p"
},
"resolutions": {},
"dependencies": {
Expand Down
2 changes: 2 additions & 0 deletions packages/@lazy-node/semver-ampersand/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "yarn run test:jest",
"test:jest": "jest",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:snapshot": "yarn run test -- -u",
"preversion": "yarn run test",
"prepublishOnly": "echo prepublishOnly",
"prepublishOnly:update": "yarn run ncu && yarn run sort-package-json",
Expand Down
3 changes: 3 additions & 0 deletions packages/@lazy-node/semver-parse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
},
"scripts": {
"test": "jest",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:snapshot": "yarn run test -- -u",
"preversion": "yarn run test",
"prepublishOnly_": "echo prepublishOnly",
"prepublishOnly:check-bin": "ynpx --quiet @yarn-tool/check-pkg-bin",
Expand Down
2 changes: 2 additions & 0 deletions packages/@lazy-node/semver-part/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
"lint": "npx eslint **/*.ts",
"test": "jest",
"test:jest": "jest --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "npx mocha --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"npm:publish": "npm publish",
"npm:publish:lerna": "lerna publish --yes",
"preversion": "yarn run test",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/changelog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
"lint": "npx eslint **/*.ts",
"test": "echo \"Error: no test specified\"",
"test:jest": "jest --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "npx mocha --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"npm:publish": "npm publish",
"npm:publish:lerna": "lerna publish --yes --bump patch",
"preversion": "yarn run test",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/check-pkg-bin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
"lint": "npx eslint **/*.ts",
"test": "echo \"Error: no test specified\"",
"test:jest": "jest --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "npx mocha --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"npm:publish": "npm publish",
"npm:publish:lerna": "lerna publish --yes --bump patch",
"preversion": "yarn run test",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/detect-yarnlock-version/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "jest",
"test:jest": "ynpx --quiet jest -- --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"preversion": "yarn run test",
"prepublishOnly": "echo prepublishOnly",
"prepublishOnly:check-bin": "ynpx --quiet @yarn-tool/check-pkg-bin",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/dotenv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "jest --passWithNoTests",
"test:jest": "ynpx --quiet jest -- --coverage --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"preversion": "yarn run test",
"prepublishOnly": "echo prepublishOnly",
"prepublishOnly:check-bin": "ynpx --quiet @yarn-tool/check-pkg-bin",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/env-path/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "jest --passWithNoTests",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"preversion": "echo preversion && yarn run test",
"prepublishOnly:update": "yarn run ncu && yarn run sort-package-json",
"ncu": "yarn-tool ncu -u",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/find-deps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"lint": "npx eslint **/*.ts",
"test": "echo \"Error: no test specified\"",
"test:jest": "jest --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "npx mocha --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"npm:publish": "npm publish",
"npm:publish:lerna": "lerna publish --yes --bump patch",
"preversion": "yarn run test",
Expand Down
3 changes: 3 additions & 0 deletions packages/@yarn-tool/find-root/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"coverage": "npx nyc npm run test",
"lint": "npx eslint **/*.ts",
"test": "echo \"Error: no test specified\"",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:snapshot": "yarn run test -- -u",
"preversion": "yarn run test",
"prepublishOnly": "echo prepublishOnly",
"prepublishOnly_": "yarn run prepublishOnly:check-bin && yarn run test",
Expand Down
3 changes: 3 additions & 0 deletions packages/@yarn-tool/find-tsconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"coverage": "npx nyc npm run test",
"lint": "npx eslint **/*.ts",
"test": "echo \"Error: no test specified\"",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:snapshot": "yarn run test -- -u",
"preversion": "yarn run test",
"prepublishOnly": "echo prepublishOnly",
"postpublish_": "git commit -m \"publish new version\" .",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/fix-all/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "jest --passWithNoTests",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"test:tsdx": "ynpx @bluelovers/tsdx test --passWithNoTests",
"build:dts": "ynpx dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner & echo build:dts",
"build:dts:copy": "copy .\\src\\index.d.ts .\\dist\\index.d.ts & echo build:dts",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/fix-ws-links/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
"lint": "npx eslint **/*.ts",
"test": "echo \"Error: no test specified\"",
"test:jest": "jest --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "npx mocha --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"npm:publish": "npm publish",
"npm:publish:lerna": "lerna publish --yes",
"preversion": "yarn run test",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/fix-ws-pkgs-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "echo \"Error: no test specified\"",
"test:jest": "ynpx --quiet jest -- --coverage --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"preversion": "yarn run test",
"prepublishOnly": "echo prepublishOnly",
"prepublishOnly:check-bin": "ynpx --quiet @yarn-tool/check-pkg-bin",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/fix-ws-versions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
"pretest": "echo pretest",
"test": "jest --passWithNoTests",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"test:tsdx": "ynpx @bluelovers/tsdx test --passWithNoTests",
"build:dts:bundle": "ynpx dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle",
"build:dts:copy": "copy .\\src\\index.d.ts .\\dist\\index.d.ts & echo build:dts",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/get-paths-by-type/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "jest --passWithNoTests",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"preversion": "echo preversion && yarn run test",
"prepublishOnly:update": "yarn run ncu && yarn run sort-package-json",
"ncu": "yarn-tool ncu -u",
Expand Down
3 changes: 3 additions & 0 deletions packages/@yarn-tool/get-pkg-bin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
"coverage": "npx nyc yarn run test",
"lint": "npx eslint **/*.ts",
"test": "ts-node test/test.ts",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "npx mocha --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"npm:publish": "npm publish",
"preversion": "yarn run test",
"prepublish:lockfile": "npx sync-lockfile .",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/init-path/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "echo \"Error: no test specified\"",
"test:jest": "ynpx --quiet jest -- --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"preversion": "yarn run test",
"prepublishOnly": "echo prepublishOnly",
"prepublishOnly:check-bin": "ynpx --quiet @yarn-tool/check-pkg-bin",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/is-builtin-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "echo \"Error: no test specified\"",
"test:jest": "ynpx --quiet jest -- --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"preversion": "yarn run test",
"prepublishOnly": "echo prepublishOnly",
"prepublishOnly:check-bin": "ynpx --quiet @yarn-tool/check-pkg-bin",
Expand Down
3 changes: 3 additions & 0 deletions packages/@yarn-tool/is-npx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"coverage": "npx nyc yarn run test",
"lint": "npx eslint **/*.ts",
"test": "echo \"Error: no test specified\"",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:snapshot": "yarn run test -- -u",
"npm:publish": "npm publish",
"preversion": "yarn run test",
"prepublishOnly": "echo prepublishOnly",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/ncu-ws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
"pretest": "echo pretest",
"test": "jest --passWithNoTests",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"test:tsdx": "ynpx @bluelovers/tsdx test --passWithNoTests",
"build:dts:bundle": "ynpx dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle",
"build:dts:copy": "copy .\\src\\index.d.ts .\\dist\\index.d.ts & echo build:dts",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/ncu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
"lint": "npx eslint **/*.ts",
"test": "jest",
"test:jest": "jest --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "npx mocha --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"npm:publish": "npm publish",
"npm:publish:lerna": "lerna publish --yes",
"preversion": "yarn run test",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/node-modules-is-alias/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "jest --passWithNoTests",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"test:tsdx": "ynpx @bluelovers/tsdx test --passWithNoTests",
"build:dts": "ynpx @bluelovers/tsdx dts -o ./dist/index.d.ts ./src/index.ts --no-banner & echo build:dts",
"build:tsdx": "ynpx @bluelovers/tsdx build --target node --name index",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/node-modules-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "echo \"Error: no test specified\"",
"test:jest": "ynpx --quiet jest -- --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"preversion": "yarn run test",
"prepublishOnly": "echo prepublishOnly",
"prepublishOnly:check-bin": "ynpx --quiet @yarn-tool/check-pkg-bin",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/node-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"lint": "npx eslint **/*.ts",
"test": "echo \"Error: no test specified\"",
"test:jest": "jest --coverage",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "npx mocha --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"npm:publish": "npm publish",
"npm:publish:lerna": "lerna publish --yes",
"preversion": "yarn run test",
Expand Down
1 change: 1 addition & 0 deletions packages/@yarn-tool/normalize-deps-value/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"pretest": "echo pretest",
"test": "jest --passWithNoTests",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"test:tsdx": "ynpx @bluelovers/tsdx test --passWithNoTests",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/npa-to-deps-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "jest --passWithNoTests",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"preversion": "echo preversion && yarn run test",
"version": "echo version",
"postversion": "echo postversion",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/npa-to-deps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "jest --passWithNoTests",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"preversion": "echo preversion && yarn run test",
"version": "echo version",
"postversion": "echo postversion",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/npm-package-arg-util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "jest",
"test:jest": "jest",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"preversion": "yarn run test",
"prepublishOnly": "echo prepublishOnly",
"prepublishOnly:check-bin": "ynpx --quiet @yarn-tool/check-pkg-bin",
Expand Down
3 changes: 3 additions & 0 deletions packages/@yarn-tool/pack-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"main": "index.js",
"scripts": {
"test": "jest",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:snapshot": "yarn run test -- -u",
"npm:publish": "npm publish",
"preversion": "yarn run test",
"ncu": "npx yarn-tool ncu -u",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/path-parents/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "echo \"Error: no test specified\"",
"test:jest": "ynpx --quiet jest -- --coverage --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"preversion": "yarn run test",
"prepublishOnly": "echo prepublishOnly",
"prepublishOnly:check-bin": "ynpx --quiet @yarn-tool/check-pkg-bin",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/pkg-deps-add/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "jest --passWithNoTests",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"preversion": "echo preversion && yarn run test",
"version": "echo version",
"postversion": "echo postversion",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/pkg-deps-util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "echo \"Error: no test specified\"",
"test:jest": "ynpx --quiet jest -- --coverage --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"preversion": "yarn run test",
"prepublishOnly": "echo prepublishOnly",
"prepublishOnly:check-bin": "ynpx --quiet @yarn-tool/check-pkg-bin",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/pkg-entry-util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "jest --passWithNoTests",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"test:tsdx": "ynpx @bluelovers/tsdx test --passWithNoTests",
"build:dts": "ynpx dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner & echo build:dts",
"build:tsdx": "ynpx @bluelovers/tsdx build --target node --name index",
Expand Down
3 changes: 3 additions & 0 deletions packages/@yarn-tool/pkg-git-info/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
"coverage": "npx nyc yarn run test",
"lint": "npx eslint **/*.ts",
"test": "echo \"Error: no test specified\"",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "npx mocha --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"npm:publish": "npm publish",
"preversion": "yarn run test",
"prepublish:lockfile": "npx sync-lockfile .",
Expand Down
2 changes: 2 additions & 0 deletions packages/@yarn-tool/pkg-hosted-info/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
"lint": "ynpx --quiet eslint -- **/*.ts",
"test": "jest --passWithNoTests",
"test:jest": "jest --passWithNoTests",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
"test:snapshot": "yarn run test -- -u",
"preversion": "echo preversion && yarn run test",
"prepublishOnly:update": "yarn run ncu && yarn run sort-package-json",
"ncu": "yarn-tool ncu -u",
Expand Down

0 comments on commit 157d5dc

Please sign in to comment.