@yarn-tool/pkg-entry-util 2.0.4 → 2.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,51 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.7](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/pkg-entry-util@2.0.6...@yarn-tool/pkg-entry-util@2.0.7) (2022-08-13)
7
+
8
+
9
+ ### ✨ Features
10
+
11
+ * update preset scripts ([a286355](https://github.com/bluelovers/ws-yarn-workspaces/commit/a286355a578654937a660f7ad04d190a21f29e92))
12
+
13
+
14
+ ### 🚨 Tests
15
+
16
+ * update jest.config.js and deps ([d1d501b](https://github.com/bluelovers/ws-yarn-workspaces/commit/d1d501ba059130bd8f90e6eaa266084110698011))
17
+
18
+
19
+ ### 📌 Dependencies
20
+
21
+ * update deps ([58501f9](https://github.com/bluelovers/ws-yarn-workspaces/commit/58501f97494eb624779dffea7ac9d68e45e5e978))
22
+ * update deps ([c968045](https://github.com/bluelovers/ws-yarn-workspaces/commit/c96804598f63a5cd06507e3eaaa2e8b569b14b65))
23
+ * update deps ([a0b8755](https://github.com/bluelovers/ws-yarn-workspaces/commit/a0b875582efdc9829b0cdb6c9c819cace8b76e90))
24
+
25
+
26
+
27
+
28
+
29
+ ## [2.0.6](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/pkg-entry-util@2.0.5...@yarn-tool/pkg-entry-util@2.0.6) (2022-07-31)
30
+
31
+
32
+ ### 🚨 Tests
33
+
34
+ * **preset:** use `@bluelovers/jest-config` ([e239ecf](https://github.com/bluelovers/ws-yarn-workspaces/commit/e239ecf606d82930c6036ec1241bf3b4a1095423))
35
+
36
+
37
+
38
+
39
+
40
+ ## [2.0.5](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/pkg-entry-util@2.0.4...@yarn-tool/pkg-entry-util@2.0.5) (2022-07-29)
41
+
42
+
43
+ ### 🐛 Bug Fixes
44
+
45
+ * missing `-u` ([1cb0341](https://github.com/bluelovers/ws-yarn-workspaces/commit/1cb03415837f0ac9bcd75865c100b08524ef2300))
46
+
47
+
48
+
49
+
50
+
6
51
  ## [2.0.4](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/pkg-entry-util@2.0.3...@yarn-tool/pkg-entry-util@2.0.4) (2022-07-29)
7
52
 
8
53
 
@@ -1,6 +1,7 @@
1
1
  export declare function defaultPkgNotOldExists(): {
2
2
  "test:mocha": string;
3
3
  "test:jest": string;
4
+ "test:snapshot": string;
4
5
  "test:tsdx": string;
5
6
  "build:dts:bundle": string;
6
7
  "build:dts:copy": string;
@@ -5,6 +5,7 @@ function defaultPkgNotOldExists() {
5
5
  return {
6
6
  "test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
7
7
  "test:jest": "jest --passWithNoTests",
8
+ "test:snapshot": "yarn run test -- -u",
8
9
  "test:tsdx": "ynpx @bluelovers/tsdx test --passWithNoTests",
9
10
  "build:dts:bundle": "ynpx dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle",
10
11
  "build:dts:copy": "copy .\\src\\index.d.ts .\\dist\\index.d.ts & echo build:dts",
@@ -1 +1 @@
1
- {"version":3,"file":"pkg-scripts.js","sourceRoot":"","sources":["pkg-scripts.ts"],"names":[],"mappings":";;;AAAA,SAAgB,sBAAsB;IAErC,OAAO;QACN,YAAY,EAAE,oHAAoH;QAClI,WAAW,EAAE,wBAAwB;QACrC,WAAW,EAAE,8CAA8C;QAC3D,kBAAkB,EAAE,2HAA2H;QAC/I,gBAAgB,EAAE,8DAA8D;QAChF,oBAAoB,EAAE,wDAAwD;QAC9E,eAAe,EAAE,wDAAwD;QACzE,YAAY,EAAE,wDAAwD;QACtE,mBAAmB,EAAE,gCAAgC;QACrD,MAAM,EAAE,sBAAsB;QAC9B,aAAa,EAAE,yCAAyC;QACxD,QAAQ,EAAE,0BAA0B;QACpC,aAAa,EAAE,gCAAgC;QAC/C,iBAAiB,EAAE,oCAAoC;QACvD,UAAU,EAAE,6BAA6B;KACzC,CAAA;AACF,CAAC;AAnBD,wDAmBC","sourcesContent":["export function defaultPkgNotOldExists()\n{\n\treturn {\n\t\t\"test:mocha\": \"ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \\\"!(node_modules)/**/*.{test,spec}.{ts,tsx}\\\"\",\n\t\t\"test:jest\": \"jest --passWithNoTests\",\n\t\t\"test:tsdx\": \"ynpx @bluelovers/tsdx test --passWithNoTests\",\n\t\t\"build:dts:bundle\": \"ynpx dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle\",\n\t\t\"build:dts:copy\": \"copy .\\\\src\\\\index.d.ts .\\\\dist\\\\index.d.ts & echo build:dts\",\n\t\t\"build:dts:tsc:emit\": \"tsc --emitDeclarationOnly --declaration --noEmit false\",\n\t\t\"build:dts:tsc\": \"yarn run build:dts:tsc:emit && yarn run build:dts:copy\",\n\t\t\"build:tsdx\": \"ynpx @bluelovers/tsdx build --target node --name index\",\n\t\t\"build:microbundle\": \"ynpx microbundle --target node\",\n\t\t\"lint\": \"yarn run lint:eslint\",\n\t\t\"lint:eslint\": \"ynpx eslint --ext .ts,.tsx,.mts,.cts ./\",\n\t\t\"review\": \"yarn run review:coverage\",\n\t\t\"review:test\": \"yarn run lint && yarn run test\",\n\t\t\"review:coverage\": \"yarn run lint && yarn run coverage\",\n\t\t\"coverage\": \"yarn run test -- --coverage\",\n\t}\n}\n"]}
1
+ {"version":3,"file":"pkg-scripts.js","sourceRoot":"","sources":["pkg-scripts.ts"],"names":[],"mappings":";;;AAAA,SAAgB,sBAAsB;IAErC,OAAO;QACN,YAAY,EAAE,oHAAoH;QAClI,WAAW,EAAE,wBAAwB;QACrC,eAAe,EAAE,qBAAqB;QACtC,WAAW,EAAE,8CAA8C;QAC3D,kBAAkB,EAAE,2HAA2H;QAC/I,gBAAgB,EAAE,8DAA8D;QAChF,oBAAoB,EAAE,wDAAwD;QAC9E,eAAe,EAAE,wDAAwD;QACzE,YAAY,EAAE,wDAAwD;QACtE,mBAAmB,EAAE,gCAAgC;QACrD,MAAM,EAAE,sBAAsB;QAC9B,aAAa,EAAE,yCAAyC;QACxD,QAAQ,EAAE,0BAA0B;QACpC,aAAa,EAAE,gCAAgC;QAC/C,iBAAiB,EAAE,oCAAoC;QACvD,UAAU,EAAE,6BAA6B;KACzC,CAAA;AACF,CAAC;AApBD,wDAoBC","sourcesContent":["export function defaultPkgNotOldExists()\n{\n\treturn {\n\t\t\"test:mocha\": \"ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \\\"!(node_modules)/**/*.{test,spec}.{ts,tsx}\\\"\",\n\t\t\"test:jest\": \"jest --passWithNoTests\",\n\t\t\"test:snapshot\": \"yarn run test -- -u\",\n\t\t\"test:tsdx\": \"ynpx @bluelovers/tsdx test --passWithNoTests\",\n\t\t\"build:dts:bundle\": \"ynpx dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle\",\n\t\t\"build:dts:copy\": \"copy .\\\\src\\\\index.d.ts .\\\\dist\\\\index.d.ts & echo build:dts\",\n\t\t\"build:dts:tsc:emit\": \"tsc --emitDeclarationOnly --declaration --noEmit false\",\n\t\t\"build:dts:tsc\": \"yarn run build:dts:tsc:emit && yarn run build:dts:copy\",\n\t\t\"build:tsdx\": \"ynpx @bluelovers/tsdx build --target node --name index\",\n\t\t\"build:microbundle\": \"ynpx microbundle --target node\",\n\t\t\"lint\": \"yarn run lint:eslint\",\n\t\t\"lint:eslint\": \"ynpx eslint --ext .ts,.tsx,.mts,.cts ./\",\n\t\t\"review\": \"yarn run review:coverage\",\n\t\t\"review:test\": \"yarn run lint && yarn run test\",\n\t\t\"review:coverage\": \"yarn run lint && yarn run coverage\",\n\t\t\"coverage\": \"yarn run test -- --coverage\",\n\t}\n}\n"]}
@@ -23,6 +23,8 @@ export declare function defaultWorkspaceRootScripts(): {
23
23
  postpublishOnly: string;
24
24
  "postpublishOnly:ws-root-changelog": string;
25
25
  test: string;
26
+ "test:snapshot:all": string;
27
+ "test:snapshot:since": string;
26
28
  "install:reset-lockfile": string;
27
29
  "ws:fix-all": string;
28
30
  "tsc:showConfig": string;
@@ -22,13 +22,15 @@ function defaultWorkspaceRootScripts() {
22
22
  "prepublishOnly:update": "yarn run ncu && yarn run sort-package-json",
23
23
  "ncu": "yarn run ncu:ws",
24
24
  "ncu:root": "yarn-tool ncu -u",
25
- "ncu:ws": "yarn-tool ncu --AA",
25
+ "ncu:ws": "yarn-tool ncu -u --AA",
26
26
  "sort-package-json": "yarn run sort-package-json:root && yarn run sort-package-json:ws",
27
27
  "sort-package-json:root": "yarn-tool sort",
28
28
  "sort-package-json:ws": "yarn-tool ws sort",
29
29
  "postpublishOnly": "yarn run postpublishOnly:ws-root-changelog & echo postpublishOnly",
30
30
  "postpublishOnly:ws-root-changelog": "ynpx ws-root-changelog & git add ./CHANGELOG.md & git commit ./CHANGELOG.md -m \"chore(changelog): update changelog toc in workspaces root\" & echo update changelog toc in workspaces root",
31
31
  "test": "yarn run test:since",
32
+ "test:snapshot:all": "yarn-tool ws run test:snapshot --concurrency 1",
33
+ "test:snapshot:since": "yarn run test:snapshot:all -- --since",
32
34
  "install:reset-lockfile": "yarn-tool install --reset-lockfile",
33
35
  "ws:fix-all": "yarn-tool fix-all --overwriteHostedGitInfo",
34
36
  "tsc:showConfig": "ynpx get-current-tsconfig -p",
@@ -1 +1 @@
1
- {"version":3,"file":"ws-root-scripts.js","sourceRoot":"","sources":["ws-root-scripts.ts"],"names":[],"mappings":";;;AAAA,+DAAiE;AAEjE,SAAgB,2BAA2B;IAE1C,OAAO;QACN,GAAG,IAAA,8CAAwB,GAAE;QAC7B,UAAU,EAAE,uCAAuC;QACnD,YAAY,EAAE,8BAA8B;QAC5C,WAAW,EAAE,wCAAwC;QACrD,YAAY,EAAE,yCAAyC;QACvD,cAAc,EAAE,2CAA2C;QAC3D,UAAU,EAAE,uCAAuC;QACnD,YAAY,EAAE,eAAe;QAC7B,aAAa,EAAE,mBAAmB;QAClC,eAAe,EAAE,2EAA2E;QAC5F,mBAAmB,EAAE,8FAA8F;QACnH,qBAAqB,EAAE,oEAAoE;QAC3F,yBAAyB,EAAE,4BAA4B;QACvD,0BAA0B,EAAE,uCAAuC;QACnE,sBAAsB,EAAE,sCAAsC;QAC9D,uBAAuB,EAAE,4CAA4C;QACrE,KAAK,EAAE,iBAAiB;QACxB,UAAU,EAAE,kBAAkB;QAC9B,QAAQ,EAAE,oBAAoB;QAC9B,mBAAmB,EAAE,kEAAkE;QACvF,wBAAwB,EAAE,gBAAgB;QAC1C,sBAAsB,EAAE,mBAAmB;QAC3C,iBAAiB,EAAE,mEAAmE;QACtF,mCAAmC,EAAE,6LAA6L;QAClO,MAAM,EAAE,qBAAqB;QAC7B,wBAAwB,EAAE,oCAAoC;QAC9D,YAAY,EAAC,6CAA6C;QAC1D,gBAAgB,EAAE,8BAA8B;KAChD,CAAA;AACF,CAAC;AAhCD,kEAgCC","sourcesContent":["import { defaultSharedRootScripts } from './shared-root-scripts';\n\nexport function defaultWorkspaceRootScripts()\n{\n\treturn {\n\t\t...defaultSharedRootScripts(),\n\t\t\"test:all\": \"yarn-tool ws run test --concurrency 1\",\n\t\t\"test:since\": \"yarn run test:all -- --since\",\n\t\t\"build:all\": \"yarn-tool ws run build --concurrency 1\",\n\t\t\"review:all\": \"yarn-tool ws run review --concurrency 1\",\n\t\t\"coverage:all\": \"yarn-tool ws run coverage --concurrency 1\",\n\t\t\"lint:all\": \"yarn-tool ws run lint --concurrency 1\",\n\t\t\"preversion\": \"yarn run test\",\n\t\t\"postversion\": \"yarn-tool fix-all\",\n\t\t\"lerna:publish\": \"yarn run prepublishOnly:root && lerna publish && yarn run postpublishOnly\",\n\t\t\"lerna:publish:yes\": \"yarn run prepublishOnly:root && lerna publish --yes --bump patch && yarn run postpublishOnly\",\n\t\t\"prepublishOnly:root\": \"yarn run prepublishOnly:check-bin && yarn run prepare:fix-ws-links\",\n\t\t\"prepublishOnly:lockfile\": \"ynpx --quiet sync-lockfile\",\n\t\t\"prepublishOnly:check-bin\": \"ynpx --quiet @yarn-tool/check-pkg-bin\",\n\t\t\"prepare:fix-ws-links\": \"ynpx --quiet @yarn-tool/fix-ws-links\",\n\t\t\"prepublishOnly:update\": \"yarn run ncu && yarn run sort-package-json\",\n\t\t\"ncu\": \"yarn run ncu:ws\",\n\t\t\"ncu:root\": \"yarn-tool ncu -u\",\n\t\t\"ncu:ws\": \"yarn-tool ncu --AA\",\n\t\t\"sort-package-json\": \"yarn run sort-package-json:root && yarn run sort-package-json:ws\",\n\t\t\"sort-package-json:root\": \"yarn-tool sort\",\n\t\t\"sort-package-json:ws\": \"yarn-tool ws sort\",\n\t\t\"postpublishOnly\": \"yarn run postpublishOnly:ws-root-changelog & echo postpublishOnly\",\n\t\t\"postpublishOnly:ws-root-changelog\": \"ynpx ws-root-changelog & git add ./CHANGELOG.md & git commit ./CHANGELOG.md -m \\\"chore(changelog): update changelog toc in workspaces root\\\" & echo update changelog toc in workspaces root\",\n\t\t\"test\": \"yarn run test:since\",\n\t\t\"install:reset-lockfile\": \"yarn-tool install --reset-lockfile\",\n\t\t\"ws:fix-all\":\"yarn-tool fix-all --overwriteHostedGitInfo\",\n\t\t\"tsc:showConfig\": \"ynpx get-current-tsconfig -p\",\n\t}\n}\n"]}
1
+ {"version":3,"file":"ws-root-scripts.js","sourceRoot":"","sources":["ws-root-scripts.ts"],"names":[],"mappings":";;;AAAA,+DAAiE;AAEjE,SAAgB,2BAA2B;IAE1C,OAAO;QACN,GAAG,IAAA,8CAAwB,GAAE;QAC7B,UAAU,EAAE,uCAAuC;QACnD,YAAY,EAAE,8BAA8B;QAC5C,WAAW,EAAE,wCAAwC;QACrD,YAAY,EAAE,yCAAyC;QACvD,cAAc,EAAE,2CAA2C;QAC3D,UAAU,EAAE,uCAAuC;QACnD,YAAY,EAAE,eAAe;QAC7B,aAAa,EAAE,mBAAmB;QAClC,eAAe,EAAE,2EAA2E;QAC5F,mBAAmB,EAAE,8FAA8F;QACnH,qBAAqB,EAAE,oEAAoE;QAC3F,yBAAyB,EAAE,4BAA4B;QACvD,0BAA0B,EAAE,uCAAuC;QACnE,sBAAsB,EAAE,sCAAsC;QAC9D,uBAAuB,EAAE,4CAA4C;QACrE,KAAK,EAAE,iBAAiB;QACxB,UAAU,EAAE,kBAAkB;QAC9B,QAAQ,EAAE,uBAAuB;QACjC,mBAAmB,EAAE,kEAAkE;QACvF,wBAAwB,EAAE,gBAAgB;QAC1C,sBAAsB,EAAE,mBAAmB;QAC3C,iBAAiB,EAAE,mEAAmE;QACtF,mCAAmC,EAAE,6LAA6L;QAClO,MAAM,EAAE,qBAAqB;QAC7B,mBAAmB,EAAE,gDAAgD;QACrE,qBAAqB,EAAE,uCAAuC;QAC9D,wBAAwB,EAAE,oCAAoC;QAC9D,YAAY,EAAC,6CAA6C;QAC1D,gBAAgB,EAAE,8BAA8B;KAChD,CAAA;AACF,CAAC;AAlCD,kEAkCC","sourcesContent":["import { defaultSharedRootScripts } from './shared-root-scripts';\n\nexport function defaultWorkspaceRootScripts()\n{\n\treturn {\n\t\t...defaultSharedRootScripts(),\n\t\t\"test:all\": \"yarn-tool ws run test --concurrency 1\",\n\t\t\"test:since\": \"yarn run test:all -- --since\",\n\t\t\"build:all\": \"yarn-tool ws run build --concurrency 1\",\n\t\t\"review:all\": \"yarn-tool ws run review --concurrency 1\",\n\t\t\"coverage:all\": \"yarn-tool ws run coverage --concurrency 1\",\n\t\t\"lint:all\": \"yarn-tool ws run lint --concurrency 1\",\n\t\t\"preversion\": \"yarn run test\",\n\t\t\"postversion\": \"yarn-tool fix-all\",\n\t\t\"lerna:publish\": \"yarn run prepublishOnly:root && lerna publish && yarn run postpublishOnly\",\n\t\t\"lerna:publish:yes\": \"yarn run prepublishOnly:root && lerna publish --yes --bump patch && yarn run postpublishOnly\",\n\t\t\"prepublishOnly:root\": \"yarn run prepublishOnly:check-bin && yarn run prepare:fix-ws-links\",\n\t\t\"prepublishOnly:lockfile\": \"ynpx --quiet sync-lockfile\",\n\t\t\"prepublishOnly:check-bin\": \"ynpx --quiet @yarn-tool/check-pkg-bin\",\n\t\t\"prepare:fix-ws-links\": \"ynpx --quiet @yarn-tool/fix-ws-links\",\n\t\t\"prepublishOnly:update\": \"yarn run ncu && yarn run sort-package-json\",\n\t\t\"ncu\": \"yarn run ncu:ws\",\n\t\t\"ncu:root\": \"yarn-tool ncu -u\",\n\t\t\"ncu:ws\": \"yarn-tool ncu -u --AA\",\n\t\t\"sort-package-json\": \"yarn run sort-package-json:root && yarn run sort-package-json:ws\",\n\t\t\"sort-package-json:root\": \"yarn-tool sort\",\n\t\t\"sort-package-json:ws\": \"yarn-tool ws sort\",\n\t\t\"postpublishOnly\": \"yarn run postpublishOnly:ws-root-changelog & echo postpublishOnly\",\n\t\t\"postpublishOnly:ws-root-changelog\": \"ynpx ws-root-changelog & git add ./CHANGELOG.md & git commit ./CHANGELOG.md -m \\\"chore(changelog): update changelog toc in workspaces root\\\" & echo update changelog toc in workspaces root\",\n\t\t\"test\": \"yarn run test:since\",\n\t\t\"test:snapshot:all\": \"yarn-tool ws run test:snapshot --concurrency 1\",\n\t\t\"test:snapshot:since\": \"yarn run test:snapshot:all -- --since\",\n\t\t\"install:reset-lockfile\": \"yarn-tool install --reset-lockfile\",\n\t\t\"ws:fix-all\":\"yarn-tool fix-all --overwriteHostedGitInfo\",\n\t\t\"tsc:showConfig\": \"ynpx get-current-tsconfig -p\",\n\t}\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yarn-tool/pkg-entry-util",
3
- "version": "2.0.4",
3
+ "version": "2.0.7",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "yarn",
@@ -51,15 +51,15 @@
51
51
  "tsc:showConfig": "ynpx get-current-tsconfig -p"
52
52
  },
53
53
  "dependencies": {
54
- "@ts-type/package-dts": "^2.0.2",
55
- "@yarn-tool/find-root": "^2.0.1",
54
+ "@ts-type/package-dts": "^2.0.5",
55
+ "@yarn-tool/find-root": "^2.0.3",
56
56
  "fs-extra": "^10.1.0",
57
57
  "tslib": "^2",
58
- "upath2": "^3.1.13"
58
+ "upath2": "^3.1.15"
59
59
  },
60
60
  "packageManager": "yarn@1.22.19",
61
61
  "publishConfig": {
62
62
  "access": "public"
63
63
  },
64
- "gitHead": "8ebbdb060343b22c577005d316211c7dab4414e2"
64
+ "gitHead": "e34c95f09bf1ad26e3a721028a28f6b8bfb44510"
65
65
  }