@yarn-tool/pkg-entry-util 2.0.21 → 2.0.23

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,32 @@
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.23](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/pkg-entry-util@2.0.22...@yarn-tool/pkg-entry-util@2.0.23) (2022-11-04)
7
+
8
+
9
+
10
+ ### ✨ Features
11
+
12
+ * update default scripts ([34a8007](https://github.com/bluelovers/ws-yarn-workspaces/commit/34a80070bca51daf8097a17c83fe692477dbe63d))
13
+
14
+
15
+
16
+ ## [2.0.22](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/pkg-entry-util@2.0.21...@yarn-tool/pkg-entry-util@2.0.22) (2022-10-28)
17
+
18
+
19
+
20
+ ### 📌 Dependencies
21
+
22
+ * update deps ([dcd795b](https://github.com/bluelovers/ws-yarn-workspaces/commit/dcd795b251e73ffdbade2a4086f360241cb4cb03))
23
+ * update deps ([00de9bf](https://github.com/bluelovers/ws-yarn-workspaces/commit/00de9bf62a49f5de21e60c6a120fc4d3e6e058e3))
24
+
25
+
26
+ ### 🔖 Miscellaneous
27
+
28
+ * . ([7f92ce5](https://github.com/bluelovers/ws-yarn-workspaces/commit/7f92ce51ae10641c0714d1413d1f4a0fb5b8688e))
29
+
30
+
31
+
6
32
  ## [2.0.21](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/pkg-entry-util@2.0.20...@yarn-tool/pkg-entry-util@2.0.21) (2022-10-01)
7
33
 
8
34
 
@@ -2,7 +2,7 @@ export declare const enum EnumScriptsEntry {
2
2
  JEST_TEST = "jest --passWithNoTests",
3
3
  NO_TEST_SPECIFIED = "echo \"Error: no test specified\"",
4
4
  NO_TEST_SPECIFIED_EXIT = "echo \"Error: no test specified\" && exit 1",
5
- BUILD_DTS_BUNDLE = "ynpx dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle",
5
+ BUILD_DTS_BUNDLE = "ynpx @bluelovers/dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle",
6
6
  preversion = "yarn run test"
7
7
  }
8
8
  export declare function scriptsEntryIsNoTestSpecified(value: string): value is EnumScriptsEntry.NO_TEST_SPECIFIED_EXIT | EnumScriptsEntry.NO_TEST_SPECIFIED;
@@ -6,7 +6,7 @@ var EnumScriptsEntry;
6
6
  EnumScriptsEntry["JEST_TEST"] = "jest --passWithNoTests";
7
7
  EnumScriptsEntry["NO_TEST_SPECIFIED"] = "echo \"Error: no test specified\"";
8
8
  EnumScriptsEntry["NO_TEST_SPECIFIED_EXIT"] = "echo \"Error: no test specified\" && exit 1";
9
- EnumScriptsEntry["BUILD_DTS_BUNDLE"] = "ynpx dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle";
9
+ EnumScriptsEntry["BUILD_DTS_BUNDLE"] = "ynpx @bluelovers/dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle";
10
10
  EnumScriptsEntry["preversion"] = "yarn run test";
11
11
  })(EnumScriptsEntry = exports.EnumScriptsEntry || (exports.EnumScriptsEntry = {}));
12
12
  function scriptsEntryIsNoTestSpecified(value) {
@@ -1 +1 @@
1
- {"version":3,"file":"scripts.js","sourceRoot":"","sources":["scripts.ts"],"names":[],"mappings":";;;AACA,IAAkB,gBAQjB;AARD,WAAkB,gBAAgB;IAEjC,wDAAoC,CAAA;IACpC,2EAAuD,CAAA;IACvD,0FAAsE,CAAA;IACtE,kKAA8I,CAAA;IAE9I,gDAA4B,CAAA;AAC7B,CAAC,EARiB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAQjC;AAED,SAAgB,6BAA6B,CAAC,KAAa;IAE1D,OAAO,KAAK,gGAA4C,IAAI,KAAK,iFAAuC,CAAA;AACzG,CAAC;AAHD,sEAGC","sourcesContent":["\nexport const enum EnumScriptsEntry\n{\n\tJEST_TEST = \"jest --passWithNoTests\",\n\tNO_TEST_SPECIFIED = \"echo \\\"Error: no test specified\\\"\",\n\tNO_TEST_SPECIFIED_EXIT = \"echo \\\"Error: no test specified\\\" && exit 1\",\n\tBUILD_DTS_BUNDLE = \"ynpx dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle\",\n\n\tpreversion = \"yarn run test\",\n}\n\nexport function scriptsEntryIsNoTestSpecified(value: string): value is EnumScriptsEntry.NO_TEST_SPECIFIED_EXIT | EnumScriptsEntry.NO_TEST_SPECIFIED\n{\n\treturn value === EnumScriptsEntry.NO_TEST_SPECIFIED_EXIT || value === EnumScriptsEntry.NO_TEST_SPECIFIED\n}\n"]}
1
+ {"version":3,"file":"scripts.js","sourceRoot":"","sources":["scripts.ts"],"names":[],"mappings":";;;AACA,IAAkB,gBAQjB;AARD,WAAkB,gBAAgB;IAEjC,wDAAoC,CAAA;IACpC,2EAAuD,CAAA;IACvD,0FAAsE,CAAA;IACtE,8KAA0J,CAAA;IAE1J,gDAA4B,CAAA;AAC7B,CAAC,EARiB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAQjC;AAED,SAAgB,6BAA6B,CAAC,KAAa;IAE1D,OAAO,KAAK,gGAA4C,IAAI,KAAK,iFAAuC,CAAA;AACzG,CAAC;AAHD,sEAGC","sourcesContent":["\nexport const enum EnumScriptsEntry\n{\n\tJEST_TEST = \"jest --passWithNoTests\",\n\tNO_TEST_SPECIFIED = \"echo \\\"Error: no test specified\\\"\",\n\tNO_TEST_SPECIFIED_EXIT = \"echo \\\"Error: no test specified\\\" && exit 1\",\n\tBUILD_DTS_BUNDLE = \"ynpx @bluelovers/dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle\",\n\n\tpreversion = \"yarn run test\",\n}\n\nexport function scriptsEntryIsNoTestSpecified(value: string): value is EnumScriptsEntry.NO_TEST_SPECIFIED_EXIT | EnumScriptsEntry.NO_TEST_SPECIFIED\n{\n\treturn value === EnumScriptsEntry.NO_TEST_SPECIFIED_EXIT || value === EnumScriptsEntry.NO_TEST_SPECIFIED\n}\n"]}
@@ -1,9 +1,13 @@
1
1
  import { EnumScriptsEntry } from '../../field/scripts';
2
2
  export declare function defaultPkgScripts(): {
3
+ test: string;
4
+ coverage: string;
3
5
  "test:jest": EnumScriptsEntry;
4
6
  "test:snapshot": string;
5
7
  "test:jest:snapshot": string;
8
+ "test:jest:coverage": string;
6
9
  "test:tsd": string;
10
+ "tsc:showConfig": string;
7
11
  };
8
12
  export declare function defaultPkgNotOldExists(): {
9
13
  "test:mocha": string;
@@ -19,9 +23,15 @@ export declare function defaultPkgNotOldExists(): {
19
23
  review: string;
20
24
  "review:test": string;
21
25
  "review:coverage": string;
26
+ "sort-package-json": string;
27
+ "tsc:default": string;
28
+ "tsc:esm": string;
29
+ test: string;
22
30
  coverage: string;
23
31
  "test:jest": EnumScriptsEntry;
24
32
  "test:snapshot": string;
25
33
  "test:jest:snapshot": string;
34
+ "test:jest:coverage": string;
26
35
  "test:tsd": string;
36
+ "tsc:showConfig": string;
27
37
  };
@@ -3,10 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultPkgNotOldExists = exports.defaultPkgScripts = void 0;
4
4
  function defaultPkgScripts() {
5
5
  return {
6
+ "test": "yarn run test:jest",
7
+ "coverage": "yarn run test -- --coverage",
6
8
  "test:jest": "jest --passWithNoTests" /* EnumScriptsEntry.JEST_TEST */,
7
9
  "test:snapshot": "yarn run test -- -u",
8
10
  "test:jest:snapshot": "yarn run test:jest -- -u",
11
+ "test:jest:coverage": "yarn run test:jest -- --coverage",
9
12
  "test:tsd": "ynpx tsd",
13
+ "tsc:showConfig": "ynpx get-current-tsconfig -p",
10
14
  };
11
15
  }
12
16
  exports.defaultPkgScripts = defaultPkgScripts;
@@ -15,7 +19,7 @@ function defaultPkgNotOldExists() {
15
19
  ...defaultPkgScripts(),
16
20
  "test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
17
21
  "test:tsdx": "ynpx @bluelovers/tsdx test --passWithNoTests",
18
- "build:dts:bundle": "ynpx dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle" /* EnumScriptsEntry.BUILD_DTS_BUNDLE */,
22
+ "build:dts:bundle": "ynpx @bluelovers/dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle" /* EnumScriptsEntry.BUILD_DTS_BUNDLE */,
19
23
  "build:dts:copy": "copy .\\src\\index.d.ts .\\dist\\index.d.ts & echo build:dts",
20
24
  "build:dts:tsc:emit": "tsc --emitDeclarationOnly --declaration --noEmit false",
21
25
  "build:dts:tsc": "yarn run build:dts:tsc:emit && yarn run build:dts:copy",
@@ -26,7 +30,9 @@ function defaultPkgNotOldExists() {
26
30
  "review": "yarn run review:coverage",
27
31
  "review:test": "yarn run lint && yarn run test",
28
32
  "review:coverage": "yarn run lint && yarn run coverage",
29
- "coverage": "yarn run test -- --coverage",
33
+ "sort-package-json": "yarn-tool sort",
34
+ "tsc:default": "tsc -p tsconfig.json",
35
+ "tsc:esm": "tsc -p tsconfig.esm.json",
30
36
  };
31
37
  }
32
38
  exports.defaultPkgNotOldExists = defaultPkgNotOldExists;
@@ -1 +1 @@
1
- {"version":3,"file":"pkg-scripts.js","sourceRoot":"","sources":["pkg-scripts.ts"],"names":[],"mappings":";;;AAEA,SAAgB,iBAAiB;IAEhC,OAAO;QACN,WAAW,2DAA4B;QACvC,eAAe,EAAE,qBAAqB;QACtC,oBAAoB,EAAE,0BAA0B;QAChD,UAAU,EAAE,UAAU;KACtB,CAAA;AACF,CAAC;AARD,8CAQC;AAED,SAAgB,sBAAsB;IAErC,OAAO;QACN,GAAG,iBAAiB,EAAE;QACtB,YAAY,EAAE,oHAAoH;QAClI,WAAW,EAAE,8CAA8C;QAC3D,kBAAkB,qKAAmC;QACrD,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":["import { EnumScriptsEntry } from '../../field/scripts';\n\nexport function defaultPkgScripts()\n{\n\treturn {\n\t\t\"test:jest\": EnumScriptsEntry.JEST_TEST,\n\t\t\"test:snapshot\": \"yarn run test -- -u\",\n\t\t\"test:jest:snapshot\": \"yarn run test:jest -- -u\",\n\t\t\"test:tsd\": \"ynpx tsd\",\n\t}\n}\n\nexport function defaultPkgNotOldExists()\n{\n\treturn {\n\t\t...defaultPkgScripts(),\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:tsdx\": \"ynpx @bluelovers/tsdx test --passWithNoTests\",\n\t\t\"build:dts:bundle\": EnumScriptsEntry.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":";;;AAEA,SAAgB,iBAAiB;IAEhC,OAAO;QACN,MAAM,EAAE,oBAAoB;QAC5B,UAAU,EAAE,6BAA6B;QACzC,WAAW,2DAA4B;QACvC,eAAe,EAAE,qBAAqB;QACtC,oBAAoB,EAAE,0BAA0B;QAChD,oBAAoB,EAAE,kCAAkC;QACxD,UAAU,EAAE,UAAU;QACtB,gBAAgB,EAAE,8BAA8B;KAChD,CAAA;AACF,CAAC;AAZD,8CAYC;AAED,SAAgB,sBAAsB;IAErC,OAAO;QACN,GAAG,iBAAiB,EAAE;QACtB,YAAY,EAAE,oHAAoH;QAClI,WAAW,EAAE,8CAA8C;QAC3D,kBAAkB,iLAAmC;QACrD,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,mBAAmB,EAAE,gBAAgB;QACrC,aAAa,EAAE,sBAAsB;QACrC,SAAS,EAAE,0BAA0B;KACrC,CAAA;AACF,CAAC;AArBD,wDAqBC","sourcesContent":["import { EnumScriptsEntry } from '../../field/scripts';\n\nexport function defaultPkgScripts()\n{\n\treturn {\n\t\t\"test\": \"yarn run test:jest\",\n\t\t\"coverage\": \"yarn run test -- --coverage\",\n\t\t\"test:jest\": EnumScriptsEntry.JEST_TEST,\n\t\t\"test:snapshot\": \"yarn run test -- -u\",\n\t\t\"test:jest:snapshot\": \"yarn run test:jest -- -u\",\n\t\t\"test:jest:coverage\": \"yarn run test:jest -- --coverage\",\n\t\t\"test:tsd\": \"ynpx tsd\",\n\t\t\"tsc:showConfig\": \"ynpx get-current-tsconfig -p\",\n\t}\n}\n\nexport function defaultPkgNotOldExists()\n{\n\treturn {\n\t\t...defaultPkgScripts(),\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:tsdx\": \"ynpx @bluelovers/tsdx test --passWithNoTests\",\n\t\t\"build:dts:bundle\": EnumScriptsEntry.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\"sort-package-json\": \"yarn-tool sort\",\n\t\t\"tsc:default\": \"tsc -p tsconfig.json\",\n\t\t\"tsc:esm\": \"tsc -p tsconfig.esm.json\",\n\t}\n}\n"]}
@@ -8,14 +8,19 @@ export declare function defaultRootScripts(): {
8
8
  "postpublish:changelog": string;
9
9
  "postpublish:git:push": string;
10
10
  postpublish: string;
11
+ ncu: string;
11
12
  "ci:install": string;
12
13
  "test:jest:clearCache": string;
13
14
  "install:resetLockfile": string;
14
15
  "install:frozenLockfile": string;
15
16
  "ws:fix-all": string;
16
17
  "ws:fix-all:resetStaticFiles": string;
18
+ test: string;
19
+ coverage: string;
17
20
  "test:jest": import("../../field/scripts").EnumScriptsEntry;
18
21
  "test:snapshot": string;
19
22
  "test:jest:snapshot": string;
23
+ "test:jest:coverage": string;
20
24
  "test:tsd": string;
25
+ "tsc:showConfig": string;
21
26
  };
@@ -16,6 +16,7 @@ function defaultRootScripts() {
16
16
  "postpublish:changelog": `ynpx --quiet @yarn-tool/changelog && git add ./CHANGELOG.md`,
17
17
  "postpublish:git:push": `git push --follow-tags`,
18
18
  "postpublish": `yarn run postpublish:changelog && yarn run postpublish:git:commit && yarn run postpublish:git:tag && yarn run postpublish:git:push`,
19
+ "ncu": "yarn-tool ncu -u",
19
20
  };
20
21
  }
21
22
  exports.defaultRootScripts = defaultRootScripts;
@@ -1 +1 @@
1
- {"version":3,"file":"root-scripts.js","sourceRoot":"","sources":["root-scripts.ts"],"names":[],"mappings":";;;AAAA,+DAAiE;AACjE,+CAAkD;AAElD,SAAgB,kBAAkB;IAEjC,OAAO;QACN,GAAG,IAAA,+BAAiB,GAAE;QACtB,GAAG,IAAA,8CAAwB,GAAE;QAC7B,0BAA0B,EAAE,uCAAuC;QACnE,cAAc,EAAE,mBAAmB;QACnC,aAAa,EAAE,aAAa;QAC5B,kBAAkB,EAAE,sCAAsC;QAC1D,wBAAwB,EAAE,yEAAyE;QACnG,qBAAqB,EAAE,6BAA6B;QACpD,uBAAuB,EAAE,6DAA6D;QACtF,sBAAsB,EAAE,wBAAwB;QAChD,aAAa,EAAE,oIAAoI;KACnJ,CAAA;AACF,CAAC;AAfD,gDAeC","sourcesContent":["import { defaultSharedRootScripts } from './shared-root-scripts';\nimport { defaultPkgScripts } from './pkg-scripts';\n\nexport function defaultRootScripts()\n{\n\treturn {\n\t\t...defaultPkgScripts(),\n\t\t...defaultSharedRootScripts(),\n\t\t\"prepublishOnly:check-bin\": \"ynpx --quiet @yarn-tool/check-pkg-bin\",\n\t\t\"version:bump\": \"yarn-tool version\",\n\t\t\"npm:publish\": \"npm publish\",\n\t\t\"npm:publish:bump\": \"yarn run version:bump && npm publish\",\n\t\t\"postpublish:git:commit\": `git commit -m \"chore(release): publish\" . & echo postpublish:git:commit`,\n\t\t\"postpublish:git:tag\": `ynpx --quiet @yarn-tool/tag`,\n\t\t\"postpublish:changelog\": `ynpx --quiet @yarn-tool/changelog && git add ./CHANGELOG.md`,\n\t\t\"postpublish:git:push\": `git push --follow-tags`,\n\t\t\"postpublish\": `yarn run postpublish:changelog && yarn run postpublish:git:commit && yarn run postpublish:git:tag && yarn run postpublish:git:push`,\n\t}\n}\n"]}
1
+ {"version":3,"file":"root-scripts.js","sourceRoot":"","sources":["root-scripts.ts"],"names":[],"mappings":";;;AAAA,+DAAiE;AACjE,+CAAkD;AAElD,SAAgB,kBAAkB;IAEjC,OAAO;QACN,GAAG,IAAA,+BAAiB,GAAE;QACtB,GAAG,IAAA,8CAAwB,GAAE;QAC7B,0BAA0B,EAAE,uCAAuC;QACnE,cAAc,EAAE,mBAAmB;QACnC,aAAa,EAAE,aAAa;QAC5B,kBAAkB,EAAE,sCAAsC;QAC1D,wBAAwB,EAAE,yEAAyE;QACnG,qBAAqB,EAAE,6BAA6B;QACpD,uBAAuB,EAAE,6DAA6D;QACtF,sBAAsB,EAAE,wBAAwB;QAChD,aAAa,EAAE,oIAAoI;QACnJ,KAAK,EAAE,kBAAkB;KACzB,CAAA;AACF,CAAC;AAhBD,gDAgBC","sourcesContent":["import { defaultSharedRootScripts } from './shared-root-scripts';\nimport { defaultPkgScripts } from './pkg-scripts';\n\nexport function defaultRootScripts()\n{\n\treturn {\n\t\t...defaultPkgScripts(),\n\t\t...defaultSharedRootScripts(),\n\t\t\"prepublishOnly:check-bin\": \"ynpx --quiet @yarn-tool/check-pkg-bin\",\n\t\t\"version:bump\": \"yarn-tool version\",\n\t\t\"npm:publish\": \"npm publish\",\n\t\t\"npm:publish:bump\": \"yarn run version:bump && npm publish\",\n\t\t\"postpublish:git:commit\": `git commit -m \"chore(release): publish\" . & echo postpublish:git:commit`,\n\t\t\"postpublish:git:tag\": `ynpx --quiet @yarn-tool/tag`,\n\t\t\"postpublish:changelog\": `ynpx --quiet @yarn-tool/changelog && git add ./CHANGELOG.md`,\n\t\t\"postpublish:git:push\": `git push --follow-tags`,\n\t\t\"postpublish\": `yarn run postpublish:changelog && yarn run postpublish:git:commit && yarn run postpublish:git:tag && yarn run postpublish:git:push`,\n\t\t\"ncu\": \"yarn-tool ncu -u\",\n\t}\n}\n"]}
@@ -18,7 +18,6 @@ export declare function defaultWorkspaceRootScripts(): {
18
18
  "sort-package-json:ws": string;
19
19
  postpublishOnly: string;
20
20
  "postpublishOnly:ws-root-changelog": string;
21
- "install:reset-lockfile": string;
22
21
  "tsc:showConfig": string;
23
22
  "lint:all": string;
24
23
  "lint:since": string;
@@ -39,7 +39,6 @@ function defaultWorkspaceRootScripts() {
39
39
  "sort-package-json:ws": "yarn-tool ws sort",
40
40
  "postpublishOnly": "yarn run postpublishOnly:ws-root-changelog & echo postpublishOnly",
41
41
  "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",
42
- "install:reset-lockfile": "yarn-tool install --reset-lockfile",
43
42
  "tsc:showConfig": "ynpx get-current-tsconfig -p",
44
43
  };
45
44
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ws-root-scripts.js","sourceRoot":"","sources":["ws-root-scripts.ts"],"names":[],"mappings":";;;AAAA,+DAAiE;AAGjE,SAAgB,cAAc,CAAmB,MAAS;IAEzD,MAAM,GAAG,GAAG,GAAG,MAAM,MAAe,CAAC;IACrC,MAAM,KAAK,GAAG,GAAG,MAAM,QAAiB,CAAC;IAEzC,OAAO;QACN,CAAC,GAAG,CAAC,EAAE,oBAAoB,MAAM,kBAAkB;QACnD,CAAC,KAAK,CAAC,EAAE,YAAY,MAAM,iBAAiB;KAK3C,CAAA;AACH,CAAC;AAbD,wCAaC;AAED,SAAgB,2BAA2B;IAE1C,OAAO;QACN,GAAG,IAAA,8CAAwB,GAAE;QAE7B,MAAM,EAAE,qBAAqB;QAE7B,GAAG,cAAc,CAAC,MAAM,CAAC;QACzB,GAAG,cAAc,CAAC,UAAU,CAAC;QAC7B,GAAG,cAAc,CAAC,eAAe,CAAC;QAClC,GAAG,cAAc,CAAC,OAAO,CAAC;QAC1B,GAAG,cAAc,CAAC,QAAQ,CAAC;QAC3B,GAAG,cAAc,CAAC,UAAU,CAAC;QAC7B,GAAG,cAAc,CAAC,MAAM,CAAC;QAEzB,YAAY,mDAA6B;QACzC,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,wBAAwB,EAAE,oCAAoC;QAC9D,gBAAgB,EAAE,8BAA8B;KAChD,CAAA;AACF,CAAC;AAnCD,kEAmCC","sourcesContent":["import { defaultSharedRootScripts } from './shared-root-scripts';\nimport { EnumScriptsEntry } from '../../field/scripts';\n\nexport function _runAllOrSince<T extends string>(script: T)\n{\n\tconst all = `${script}:all` as const;\n\tconst since = `${script}:since` as const;\n\n\treturn {\n\t\t[all]: `yarn-tool ws run ${script} --concurrency 1`,\n\t\t[since]: `yarn run ${script}:all -- --since`,\n\t} as ({\n\t\t[x in `${T}:all`]: string;\n\t} & {\n\t\t[y in `${T}:since`]: string;\n\t})\n}\n\nexport function defaultWorkspaceRootScripts()\n{\n\treturn {\n\t\t...defaultSharedRootScripts(),\n\n\t\t\"test\": \"yarn run test:since\",\n\n\t\t..._runAllOrSince('test'),\n\t\t..._runAllOrSince('test:tsd'),\n\t\t..._runAllOrSince('test:snapshot'),\n\t\t..._runAllOrSince('build'),\n\t\t..._runAllOrSince('review'),\n\t\t..._runAllOrSince('coverage'),\n\t\t..._runAllOrSince('lint'),\n\n\t\t\"preversion\": EnumScriptsEntry.preversion,\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\"install:reset-lockfile\": \"yarn-tool install --reset-lockfile\",\n\t\t\"tsc:showConfig\": \"ynpx get-current-tsconfig -p\",\n\t}\n}"]}
1
+ {"version":3,"file":"ws-root-scripts.js","sourceRoot":"","sources":["ws-root-scripts.ts"],"names":[],"mappings":";;;AAAA,+DAAiE;AAGjE,SAAgB,cAAc,CAAmB,MAAS;IAEzD,MAAM,GAAG,GAAG,GAAG,MAAM,MAAe,CAAC;IACrC,MAAM,KAAK,GAAG,GAAG,MAAM,QAAiB,CAAC;IAEzC,OAAO;QACN,CAAC,GAAG,CAAC,EAAE,oBAAoB,MAAM,kBAAkB;QACnD,CAAC,KAAK,CAAC,EAAE,YAAY,MAAM,iBAAiB;KAK3C,CAAA;AACH,CAAC;AAbD,wCAaC;AAED,SAAgB,2BAA2B;IAE1C,OAAO;QACN,GAAG,IAAA,8CAAwB,GAAE;QAE7B,MAAM,EAAE,qBAAqB;QAE7B,GAAG,cAAc,CAAC,MAAM,CAAC;QACzB,GAAG,cAAc,CAAC,UAAU,CAAC;QAC7B,GAAG,cAAc,CAAC,eAAe,CAAC;QAClC,GAAG,cAAc,CAAC,OAAO,CAAC;QAC1B,GAAG,cAAc,CAAC,QAAQ,CAAC;QAC3B,GAAG,cAAc,CAAC,UAAU,CAAC;QAC7B,GAAG,cAAc,CAAC,MAAM,CAAC;QAEzB,YAAY,mDAA6B;QACzC,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,gBAAgB,EAAE,8BAA8B;KAChD,CAAA;AACF,CAAC;AAlCD,kEAkCC","sourcesContent":["import { defaultSharedRootScripts } from './shared-root-scripts';\nimport { EnumScriptsEntry } from '../../field/scripts';\n\nexport function _runAllOrSince<T extends string>(script: T)\n{\n\tconst all = `${script}:all` as const;\n\tconst since = `${script}:since` as const;\n\n\treturn {\n\t\t[all]: `yarn-tool ws run ${script} --concurrency 1`,\n\t\t[since]: `yarn run ${script}:all -- --since`,\n\t} as ({\n\t\t[x in `${T}:all`]: string;\n\t} & {\n\t\t[y in `${T}:since`]: string;\n\t})\n}\n\nexport function defaultWorkspaceRootScripts()\n{\n\treturn {\n\t\t...defaultSharedRootScripts(),\n\n\t\t\"test\": \"yarn run test:since\",\n\n\t\t..._runAllOrSince('test'),\n\t\t..._runAllOrSince('test:tsd'),\n\t\t..._runAllOrSince('test:snapshot'),\n\t\t..._runAllOrSince('build'),\n\t\t..._runAllOrSince('review'),\n\t\t..._runAllOrSince('coverage'),\n\t\t..._runAllOrSince('lint'),\n\n\t\t\"preversion\": EnumScriptsEntry.preversion,\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\"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.21",
3
+ "version": "2.0.23",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "yarn",
@@ -55,16 +55,16 @@
55
55
  "tsc:showConfig": "ynpx get-current-tsconfig -p"
56
56
  },
57
57
  "dependencies": {
58
- "@ts-type/package-dts": "^2.0.5",
59
- "@yarn-tool/find-root": "^2.0.11",
60
- "@yarn-tool/resolve-package": "^2.0.9",
58
+ "@ts-type/package-dts": "^2.0.8",
59
+ "@yarn-tool/find-root": "^2.0.12",
60
+ "@yarn-tool/resolve-package": "^2.0.10",
61
61
  "fs-extra": "^10.1.0",
62
62
  "tslib": ">=2",
63
- "upath2": "^3.1.18"
63
+ "upath2": "^3.1.19"
64
64
  },
65
65
  "packageManager": "yarn@1.22.19",
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "gitHead": "70f3fb546a70fe2f65ce29d7ecb3a07e8b5e0483"
69
+ "gitHead": "d3d9a1d2fc0fde3c33879283979bc2bbeb91cfea"
70
70
  }