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

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,22 @@
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.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)
7
+
8
+
9
+
10
+ ### 📌 Dependencies
11
+
12
+ * update deps ([dcd795b](https://github.com/bluelovers/ws-yarn-workspaces/commit/dcd795b251e73ffdbade2a4086f360241cb4cb03))
13
+ * update deps ([00de9bf](https://github.com/bluelovers/ws-yarn-workspaces/commit/00de9bf62a49f5de21e60c6a120fc4d3e6e058e3))
14
+
15
+
16
+ ### 🔖 Miscellaneous
17
+
18
+ * . ([7f92ce5](https://github.com/bluelovers/ws-yarn-workspaces/commit/7f92ce51ae10641c0714d1413d1f4a0fb5b8688e))
19
+
20
+
21
+
6
22
  ## [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
23
 
8
24
 
@@ -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,5 +1,6 @@
1
1
  import { EnumScriptsEntry } from '../../field/scripts';
2
2
  export declare function defaultPkgScripts(): {
3
+ coverage: string;
3
4
  "test:jest": EnumScriptsEntry;
4
5
  "test:snapshot": string;
5
6
  "test:jest:snapshot": string;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultPkgNotOldExists = exports.defaultPkgScripts = void 0;
4
4
  function defaultPkgScripts() {
5
5
  return {
6
+ "coverage": "yarn run test -- --coverage",
6
7
  "test:jest": "jest --passWithNoTests" /* EnumScriptsEntry.JEST_TEST */,
7
8
  "test:snapshot": "yarn run test -- -u",
8
9
  "test:jest:snapshot": "yarn run test:jest -- -u",
@@ -15,7 +16,7 @@ function defaultPkgNotOldExists() {
15
16
  ...defaultPkgScripts(),
16
17
  "test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
17
18
  "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 */,
19
+ "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
20
  "build:dts:copy": "copy .\\src\\index.d.ts .\\dist\\index.d.ts & echo build:dts",
20
21
  "build:dts:tsc:emit": "tsc --emitDeclarationOnly --declaration --noEmit false",
21
22
  "build:dts:tsc": "yarn run build:dts:tsc:emit && yarn run build:dts:copy",
@@ -25,8 +26,7 @@ function defaultPkgNotOldExists() {
25
26
  "lint:eslint": "ynpx eslint --ext .ts,.tsx,.mts,.cts ./",
26
27
  "review": "yarn run review:coverage",
27
28
  "review:test": "yarn run lint && yarn run test",
28
- "review:coverage": "yarn run lint && yarn run coverage",
29
- "coverage": "yarn run test -- --coverage",
29
+ "review:coverage": "yarn run lint && yarn run coverage"
30
30
  };
31
31
  }
32
32
  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,UAAU,EAAE,6BAA6B;QACzC,WAAW,2DAA4B;QACvC,eAAe,EAAE,qBAAqB;QACtC,oBAAoB,EAAE,0BAA0B;QAChD,UAAU,EAAE,UAAU;KACtB,CAAA;AACF,CAAC;AATD,8CASC;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;KACvD,CAAA;AACF,CAAC;AAlBD,wDAkBC","sourcesContent":["import { EnumScriptsEntry } from '../../field/scripts';\n\nexport function defaultPkgScripts()\n{\n\treturn {\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: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}\n}\n"]}
@@ -14,6 +14,7 @@ export declare function defaultRootScripts(): {
14
14
  "install:frozenLockfile": string;
15
15
  "ws:fix-all": string;
16
16
  "ws:fix-all:resetStaticFiles": string;
17
+ coverage: string;
17
18
  "test:jest": import("../../field/scripts").EnumScriptsEntry;
18
19
  "test:snapshot": string;
19
20
  "test:jest:snapshot": string;
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.22",
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": "39eb95e4e4843dc78aca551c0ed3cddcf88438e1"
70
70
  }