@yarn-tool/pkg-entry-util 2.0.25 → 3.0.1
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 +30 -0
- package/lib/field/bin.js.map +1 -1
- package/lib/field/exports.js.map +1 -1
- package/lib/field/publishConfig.js.map +1 -1
- package/lib/field/scripts.js +1 -1
- package/lib/field/scripts.js.map +1 -1
- package/lib/preset/scripts/root-scripts.d.ts +4 -4
- package/lib/preset/scripts/root-scripts.js +18 -1
- package/lib/preset/scripts/root-scripts.js.map +1 -1
- package/lib/preset/scripts/shared-root-scripts.js +2 -1
- package/lib/preset/scripts/shared-root-scripts.js.map +1 -1
- package/lib/preset/scripts/ws-root-scripts.d.ts +3 -4
- package/lib/preset/scripts/ws-root-scripts.js +19 -2
- package/lib/preset/scripts/ws-root-scripts.js.map +1 -1
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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
|
+
## [3.0.1](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/pkg-entry-util@3.0.0...@yarn-tool/pkg-entry-util@3.0.1) (2024-02-28)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### ✨ Features
|
|
11
|
+
|
|
12
|
+
* sort semver release type ([df4aec1](https://github.com/bluelovers/ws-yarn-workspaces/commit/df4aec11272e125af14776937a549fa3b1715ae7))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### 📌 Dependencies
|
|
16
|
+
|
|
17
|
+
* update deps ([d48c90a](https://github.com/bluelovers/ws-yarn-workspaces/commit/d48c90a1f35e626fb9a4dcbb7bad5c5e1164dce1))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
# [3.0.0](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/pkg-entry-util@2.0.25...@yarn-tool/pkg-entry-util@3.0.0) (2023-10-10)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### ✨ Features
|
|
26
|
+
|
|
27
|
+
* add scripts ([6d201e2](https://github.com/bluelovers/ws-yarn-workspaces/commit/6d201e212aa1849af867e7c68da284ad4270815e))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### 📌 Dependencies
|
|
31
|
+
|
|
32
|
+
* update deps ([8db6bc0](https://github.com/bluelovers/ws-yarn-workspaces/commit/8db6bc0189457346924022f9c38f4ae8162c5a5e))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## [2.0.25](https://github.com/bluelovers/ws-yarn-workspaces/compare/@yarn-tool/pkg-entry-util@2.0.24...@yarn-tool/pkg-entry-util@2.0.25) (2022-12-09)
|
|
7
37
|
|
|
8
38
|
|
package/lib/field/bin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bin.js","sourceRoot":"","sources":["bin.ts"],"names":[],"mappings":";;;AACA,uCAAsC;AACtC,mCAAqC;AAErC,SAAgB,UAAU,CAAC,GAAW,EAAE,IAAY;IAEnD,IACC,CAAC,IAAA,qBAAU,EAAC,IAAA,aAAI,EAAC,IAAI,EAAE,GAAG,CAAC,CAAC;WACzB,IAAA,qBAAU,EAAC,IAAA,aAAI,EAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC,EAEtC;
|
|
1
|
+
{"version":3,"file":"bin.js","sourceRoot":"","sources":["bin.ts"],"names":[],"mappings":";;;AACA,uCAAsC;AACtC,mCAAqC;AAErC,SAAgB,UAAU,CAAC,GAAW,EAAE,IAAY;IAEnD,IACC,CAAC,IAAA,qBAAU,EAAC,IAAA,aAAI,EAAC,IAAI,EAAE,GAAG,CAAC,CAAC;WACzB,IAAA,qBAAU,EAAC,IAAA,aAAI,EAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC,EAEtC,CAAC;QACA,OAAO,IAAA,aAAI,EAAC,GAAG,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;IAC9B,CAAC;IAED,OAAO,IAAI,CAAC;AACb,CAAC;AAXD,gCAWC;AAED,SAAgB,cAAc,CAAyB,GAAM,EAAE,IAAY;IAE1E,IAAI,GAAG,CAAC,GAAG,EACX,CAAC;QACA,IAAI,OAAO,GAAG,CAAC,GAAG,KAAK,QAAQ,EAC/B,CAAC;YACA,IAAI,OAAO,GAAG,UAAU,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;YAExC,IAAI,OAAO,EACX,CAAC;gBACA,aAAa;gBACb,GAAG,CAAC,GAAG,GAAG,OAAO,CAAC;YACnB,CAAC;QACF,CAAC;aACI,IAAI,OAAO,GAAG,CAAC,GAAG,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAC/D,CAAC;YACA,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;iBAClB,OAAO,CAAC,UAAU,GAAG;gBAErB,IAAI,OAAO,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,QAAQ,EACpC,CAAC;oBACA,IAAI,OAAO,GAAG,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC;oBAE7C,IAAI,OAAO,EACX,CAAC;wBACA,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC;oBACxB,CAAC;gBACF,CAAC;YACF,CAAC,CAAC,CACF;QACF,CAAC;IACF,CAAC;IAED,OAAO,GAAG,CAAA;AACX,CAAC;AAlCD,wCAkCC","sourcesContent":["import { IPackageJson } from '@ts-type/package-dts/package-json';\nimport { existsSync } from 'fs-extra';\nimport { join, posix } from 'upath2';\n\nexport function fixBinPath(bin: string, root: string)\n{\n\tif (\n\t\t!existsSync(join(root, bin))\n\t\t&& existsSync(join(root, 'bin', bin))\n\t)\n\t{\n\t\treturn join('.', 'bin', bin);\n\t}\n\n\treturn null;\n}\n\nexport function fixPkgBinField<T extends IPackageJson>(pkg: T, root: string)\n{\n\tif (pkg.bin)\n\t{\n\t\tif (typeof pkg.bin === 'string')\n\t\t{\n\t\t\tlet bin_new = fixBinPath(pkg.bin, root);\n\n\t\t\tif (bin_new)\n\t\t\t{\n\t\t\t\t// @ts-ignore\n\t\t\t\tpkg.bin = bin_new;\n\t\t\t}\n\t\t}\n\t\telse if (typeof pkg.bin === 'object' && !Array.isArray(pkg.bin))\n\t\t{\n\t\t\tObject.keys(pkg.bin)\n\t\t\t\t.forEach(function (key)\n\t\t\t\t{\n\t\t\t\t\tif (typeof pkg.bin[key] === 'string')\n\t\t\t\t\t{\n\t\t\t\t\t\tlet bin_new = fixBinPath(pkg.bin[key], root);\n\n\t\t\t\t\t\tif (bin_new)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tpkg.bin[key] = bin_new;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t;\n\t\t}\n\t}\n\n\treturn pkg\n}\n"]}
|
package/lib/field/exports.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exports.js","sourceRoot":"","sources":["exports.ts"],"names":[],"mappings":";;;AAEA,uCAA0C;AAC1C,oDAAoD;AACpD,gEAAgF;AAEhF,SAAgB,4BAA4B,CAAoC,UAAa;;IAE5F,IAAI,OAAO,UAAU,KAAK,QAAQ,EAClC;
|
|
1
|
+
{"version":3,"file":"exports.js","sourceRoot":"","sources":["exports.ts"],"names":[],"mappings":";;;AAEA,uCAA0C;AAC1C,oDAAoD;AACpD,gEAAgF;AAEhF,SAAgB,4BAA4B,CAAoC,UAAa;;IAE5F,IAAI,OAAO,UAAU,KAAK,QAAQ,EAClC,CAAC;QACA,MAAA,UAAU,CAAC,gBAAgB,qCAA3B,UAAU,CAAC,gBAAgB,IAAM,gBAAg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Q,qDAAG,GAAG,CAAC,EACxB,CAAC;4BACA,OAAO;wBACR,CAAC;wBAED,MAAM,IAAI,GAAG,IAAA,yBAAc,EAAC,CAAC,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC;wBAErD,IAAI,CAAC,IAAI,EACT,CAAC;4BACA,IAAI,CAAC,IAAI,CAAC,YAAY,KAAK,sBAAsB,IAAI,GAAG,CAAC,CAAC;wBAC3D,CAAC;oBAEF,CAAC,CAAC,CACF;gBACF,CAAC;YACF,CAAC,CAAC,CACF;YAED,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,EACnB,CAAC;gBACA,IAAI,GAAG,GAAG,IAAI,KAAK,CAAC,4BAA4B,QAAQ,CAAC,GAAG,KAAK,IAAI,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;gBAEhH,aAAa;gBACb,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC;gBAChB,aAAa;gBACb,GAAG,CAAC,QAAQ,GAAG,QAAQ,CAAC;gBACxB,aAAa;gBACb,GAAG,CAAC,UAAU,GAAG,GAAG,CAAC,OAAO,CAAC;gBAE7B,MAAM,GAAG,CAAC;YACX,CAAC;QACF,CAAC;IAEF,CAAC;IAED,OAAO,IAAY,CAAA;AACpB,CAAC;AAhED,4CAgEC","sourcesContent":["import { IPackageJson } from '@ts-type/package-dts/package-json';\nimport { PackageExportsEntry, PackageExportsFallback } from '@ts-type/package-dts/types/package.json';\nimport { pathExistsSync } from 'fs-extra';\nimport { findRootLazy } from '@yarn-tool/find-root';\nimport { resolvePackage, resolvePackageRoot } from '@yarn-tool/resolve-package';\n\nexport function _pkgExportsAddPJsonEntryCore<T extends IPackageJson[\"exports\"]>(pkgExports: T)\n{\n\tif (typeof pkgExports === 'object')\n\t{\n\t\tpkgExports['./package.json'] ??= './package.json';\n\t}\n\n\treturn pkgExports\n}\n\nexport function pkgExportsAddPJsonEntry<T extends IPackageJson>(pkg: T)\n{\n\t_pkgExportsAddPJsonEntryCore(pkg.exports);\n\n\treturn pkg\n}\n\nexport function _isPackageExportsEntry(entry: string | keyof keyof IPackageJson[\"exports\"],\n\tvalue: PackageExportsEntry | PackageExportsFallback,\n): value is PackageExportsEntry\n{\n\treturn entry.startsWith('./') && !!(value ?? false)\n}\n\nexport function pkgExportsVerify<T extends IPackageJson>(pkg: T, options?: {\n\tcwd?: string,\n})\n{\n\tif (typeof pkg.exports === 'object')\n\t{\n\t\tconst rootData = findRootLazy({\n\t\t\tcwd: options?.cwd,\n\t\t});\n\n\t\tif (!rootData.isWorkspace && rootData.pkg)\n\t\t{\n\t\t\tconst list: string[] = [];\n\n\t\t\tObject.entries(pkg.exports)\n\t\t\t\t.forEach(([entry, value]) =>\n\t\t\t\t{\n\t\t\t\t\tif (_isPackageExportsEntry(entry, value))\n\t\t\t\t\t{\n\t\t\t\t\t\tconst _ = resolvePackage(rootData.pkg);\n\n\t\t\t\t\t\t([typeof value === 'string' ? value : Object.values(value)] as string[])\n\t\t\t\t\t\t\t.flat()\n\t\t\t\t\t\t\t.forEach(file =>\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t/**\n\t\t\t\t\t\t\t\t * skip check './src/*'\n\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\tif (file.includes?.('*'))\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tconst bool = pathExistsSync(_.resolveLocation(file));\n\n\t\t\t\t\t\t\t\tif (!bool)\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tlist.push(`path of '${entry}' does not exist: '${file}'`);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t;\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t;\n\n\t\t\tif (list.length > 0)\n\t\t\t{\n\t\t\t\tlet err = new Error(`Invalid package exports: ${rootData.pkg}\\n${list.slice().map(v => ` - ${v}`).join('\\n')}`);\n\n\t\t\t\t// @ts-ignore\n\t\t\t\terr.list = list;\n\t\t\t\t// @ts-ignore\n\t\t\t\terr.rootData = rootData;\n\t\t\t\t// @ts-ignore\n\t\t\t\terr.pkgExports = pkg.exports;\n\n\t\t\t\tthrow err;\n\t\t\t}\n\t\t}\n\n\t}\n\n\treturn null as null\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publishConfig.js","sourceRoot":"","sources":["publishConfig.ts"],"names":[],"mappings":";;;AAGA,SAAgB,gBAAgB,CAAyB,GAAM;IAE9D,IAAI,CAAC,GAAG,CAAC,aAAa;WAClB,CAAC,GAAG,CAAC,OAAO;WACZ,GAAG,CAAC,IAAI;WACR,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAEvB;
|
|
1
|
+
{"version":3,"file":"publishConfig.js","sourceRoot":"","sources":["publishConfig.ts"],"names":[],"mappings":";;;AAGA,SAAgB,gBAAgB,CAAyB,GAAM;IAE9D,IAAI,CAAC,GAAG,CAAC,aAAa;WAClB,CAAC,GAAG,CAAC,OAAO;WACZ,GAAG,CAAC,IAAI;WACR,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAEvB,CAAC;QACA,GAAG,CAAC,aAAa,GAAG;YACnB,MAAM,EAAE,QAAQ;SAChB,CAAC;IACH,CAAC;IACD,OAAO,GAEN,CAAA;AACF,CAAC;AAfD,4CAeC","sourcesContent":["import { IPackageJson } from '@ts-type/package-dts/package-json';\nimport { IPackageJsonPublishConfig } from '@ts-type/package-dts/lib/package-json/types';\n\nexport function fixPublishConfig<T extends IPackageJson>(pkg: T)\n{\n\tif (!pkg.publishConfig\n\t\t&& !pkg.private\n\t\t&& pkg.name\n\t\t&& /\\//.test(pkg.name)\n\t)\n\t{\n\t\tpkg.publishConfig = {\n\t\t\taccess: \"public\",\n\t\t};\n\t}\n\treturn pkg as T & {\n\t\tpublishConfig: IPackageJsonPublishConfig\n\t}\n}\n"]}
|
package/lib/field/scripts.js
CHANGED
|
@@ -8,7 +8,7 @@ var EnumScriptsEntry;
|
|
|
8
8
|
EnumScriptsEntry["NO_TEST_SPECIFIED_EXIT"] = "echo \"Error: no test specified\" && exit 1";
|
|
9
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
|
-
})(EnumScriptsEntry
|
|
11
|
+
})(EnumScriptsEntry || (exports.EnumScriptsEntry = EnumScriptsEntry = {}));
|
|
12
12
|
function scriptsEntryIsNoTestSpecified(value) {
|
|
13
13
|
return value === "echo \"Error: no test specified\" && exit 1" /* EnumScriptsEntry.NO_TEST_SPECIFIED_EXIT */ || value === "echo \"Error: no test specified\"" /* EnumScriptsEntry.NO_TEST_SPECIFIED */;
|
|
14
14
|
}
|
package/lib/field/scripts.js.map
CHANGED
|
@@ -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,8KAA0J,CAAA;IAE1J,gDAA4B,CAAA;AAC7B,CAAC,EARiB,gBAAgB,
|
|
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,gCAAhB,gBAAgB,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,14 +1,14 @@
|
|
|
1
1
|
export declare function defaultRootScripts(): {
|
|
2
|
-
"prepublishOnly:check-bin": string;
|
|
3
|
-
"version:bump": string;
|
|
4
|
-
"npm:publish": string;
|
|
5
|
-
"npm:publish:bump": string;
|
|
6
2
|
"postpublish:git:commit": string;
|
|
7
3
|
"postpublish:git:tag": string;
|
|
8
4
|
"postpublish:changelog": string;
|
|
9
5
|
"postpublish:git:push": string;
|
|
10
6
|
postpublish: string;
|
|
11
7
|
ncu: string;
|
|
8
|
+
"prepublishOnly:check-bin": string;
|
|
9
|
+
"version:bump": string;
|
|
10
|
+
"npm:publish": string;
|
|
11
|
+
"npm:publish:bump": string;
|
|
12
12
|
"ci:install": string;
|
|
13
13
|
"test:jest:clearCache": string;
|
|
14
14
|
"install:resetLockfile": string;
|
|
@@ -4,13 +4,30 @@ exports.defaultRootScripts = void 0;
|
|
|
4
4
|
const shared_root_scripts_1 = require("./shared-root-scripts");
|
|
5
5
|
const pkg_scripts_1 = require("./pkg-scripts");
|
|
6
6
|
function defaultRootScripts() {
|
|
7
|
+
const bumpVersion = (bump) => {
|
|
8
|
+
return [
|
|
9
|
+
`yarn run version:bump` + (bump ? `:${bump}` : ''),
|
|
10
|
+
`npm publish`,
|
|
11
|
+
].join(' && ');
|
|
12
|
+
};
|
|
7
13
|
return {
|
|
8
14
|
...(0, pkg_scripts_1.defaultPkgScripts)(),
|
|
9
15
|
...(0, shared_root_scripts_1.defaultSharedRootScripts)(),
|
|
10
16
|
"prepublishOnly:check-bin": "ynpx --quiet @yarn-tool/check-pkg-bin",
|
|
11
17
|
"version:bump": "yarn-tool version",
|
|
12
18
|
"npm:publish": "npm publish",
|
|
13
|
-
"npm:publish:bump": "yarn run version:bump && npm publish",
|
|
19
|
+
//"npm:publish:bump": "yarn run version:bump && npm publish",
|
|
20
|
+
"npm:publish:bump": bumpVersion(),
|
|
21
|
+
...[
|
|
22
|
+
'patch',
|
|
23
|
+
'minor',
|
|
24
|
+
'major',
|
|
25
|
+
'prerelease',
|
|
26
|
+
].reduce((a, bump, idx) => {
|
|
27
|
+
a[`version:bump:${bump}`] = `yarn run version:bump` + (bump ? ` -- --bump ${bump}` : '');
|
|
28
|
+
a[`npm:publish:bump:${bump}`] = bumpVersion(bump);
|
|
29
|
+
return a;
|
|
30
|
+
}, {}),
|
|
14
31
|
"postpublish:git:commit": `git commit -m "chore(release): publish" . & echo postpublish:git:commit`,
|
|
15
32
|
"postpublish:git:tag": `ynpx --quiet @yarn-tool/tag`,
|
|
16
33
|
"postpublish:changelog": `ynpx --quiet @yarn-tool/changelog && git add ./CHANGELOG.md`,
|
|
@@ -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;Q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,aAAa,EAAE,oIAAoI;QACnJ,KAAK,EAAE,kBAAkB;KACzB,CAAA;AACF,CAAC;AAtCD,gDAsCC","sourcesContent":["import { defaultSharedRootScripts } from './shared-root-scripts';\nimport { defaultPkgScripts } from './pkg-scripts';\n\nexport function defaultRootScripts()\n{\n\tconst bumpVersion = (bump?: 'major' | 'minor' | 'patch' | 'prerelease') =>\n\t{\n\t\treturn [\n\t\t\t`yarn run version:bump` + (bump ? `:${bump}` : ''),\n\t\t\t`npm publish`,\n\t\t].join(' && ')\n\t}\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\"npm:publish:bump\": bumpVersion(),\n\n\t\t...([\n\t\t\t'patch',\n\t\t\t'minor',\n\t\t\t'major',\n\t\t\t'prerelease',\n\t\t] as const).reduce((a, bump, idx) =>\n\t\t{\n\t\t\ta[`version:bump:${bump}`] = `yarn run version:bump` + (bump ? ` -- --bump ${bump}` : '');\n\t\t\ta[`npm:publish:bump:${bump}`] = bumpVersion(bump);\n\t\t\treturn a\n\t\t}, {} as Record<string, string>),\n\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"]}
|
|
@@ -5,13 +5,14 @@ function defaultSharedRootScripts() {
|
|
|
5
5
|
return {
|
|
6
6
|
"ci:install": `yarn install --frozen-lockfile && yarn add -W ${[
|
|
7
7
|
"yarn-tool",
|
|
8
|
-
"lerna",
|
|
8
|
+
"lerna@6",
|
|
9
9
|
"ynpx",
|
|
10
10
|
"ts-node",
|
|
11
11
|
"ts-jest",
|
|
12
12
|
"jest",
|
|
13
13
|
"typescript@next",
|
|
14
14
|
'@bluelovers/jest-config',
|
|
15
|
+
'tsx',
|
|
15
16
|
].join(" ")}`,
|
|
16
17
|
"test:jest:clearCache": "jest --clearCache",
|
|
17
18
|
"install:resetLockfile": "yarn-tool install --reset-lockfile",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared-root-scripts.js","sourceRoot":"","sources":["shared-root-scripts.ts"],"names":[],"mappings":";;;AAAA,SAAgB,wBAAwB;IAEvC,OAAO;QACN,YAAY,EAAE,iDAAiD;YAC9D,WAAW;YACX,
|
|
1
|
+
{"version":3,"file":"shared-root-scripts.js","sourceRoot":"","sources":["shared-root-scripts.ts"],"names":[],"mappings":";;;AAAA,SAAgB,wBAAwB;IAEvC,OAAO;QACN,YAAY,EAAE,iDAAiD;YAC9D,WAAW;YACX,SAAS;YACT,MAAM;YACN,SAAS;YACT,SAAS;YACT,MAAM;YACN,iBAAiB;YACd,yBAAyB;YAC5B,KAAK;SACL,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;QACb,sBAAsB,EAAE,mBAAmB;QAC3C,uBAAuB,EAAE,oCAAoC;QAC7D,wBAAwB,EAAE,qCAAqC;QAC7D,YAAY,EAAE,6CAA6C;QAC3D,6BAA6B,EAAE,2CAA2C;KAC5E,CAAA;AACF,CAAC;AApBD,4DAoBC","sourcesContent":["export function defaultSharedRootScripts()\n{\n\treturn {\n\t\t\"ci:install\": `yarn install --frozen-lockfile && yarn add -W ${[\n\t\t\t\"yarn-tool\",\n\t\t\t\"lerna@6\",\n\t\t\t\"ynpx\",\n\t\t\t\"ts-node\",\n\t\t\t\"ts-jest\",\n\t\t\t\"jest\",\n\t\t\t\"typescript@next\",\n '@bluelovers/jest-config',\n\t\t\t'tsx',\n\t\t].join(\" \")}`,\n\t\t\"test:jest:clearCache\": \"jest --clearCache\",\n\t\t\"install:resetLockfile\": \"yarn-tool install --reset-lockfile\",\n\t\t\"install:frozenLockfile\": \"yarn-tool install --frozen-lockfile\",\n \"ws:fix-all\": \"yarn-tool fix-all --overwriteHostedGitInfo\",\n \"ws:fix-all:resetStaticFiles\": \"yarn run ws:fix-all -- --resetStaticFiles\",\n\t}\n}\n"]}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { EnumScriptsEntry } from '../../field/scripts';
|
|
2
2
|
export declare function _runAllOrSince<T extends string>(script: T): { [x in `${T}:all`]: string; } & { [y in `${T}:since`]: string; };
|
|
3
3
|
export declare function defaultWorkspaceRootScripts(): {
|
|
4
|
-
preversion: EnumScriptsEntry;
|
|
5
|
-
postversion: string;
|
|
6
|
-
"lerna:publish": string;
|
|
7
|
-
"lerna:publish:yes": string;
|
|
8
4
|
"prepublishOnly:root": string;
|
|
9
5
|
"prepublishOnly:lockfile": string;
|
|
10
6
|
"prepublishOnly:check-bin": string;
|
|
@@ -19,6 +15,9 @@ export declare function defaultWorkspaceRootScripts(): {
|
|
|
19
15
|
postpublishOnly: string;
|
|
20
16
|
"postpublishOnly:ws-root-changelog": string;
|
|
21
17
|
"tsc:showConfig": string;
|
|
18
|
+
preversion: EnumScriptsEntry;
|
|
19
|
+
postversion: string;
|
|
20
|
+
"lerna:publish": string;
|
|
22
21
|
"lint:all": string;
|
|
23
22
|
"lint:since": string;
|
|
24
23
|
"coverage:all": string;
|
|
@@ -12,6 +12,13 @@ function _runAllOrSince(script) {
|
|
|
12
12
|
}
|
|
13
13
|
exports._runAllOrSince = _runAllOrSince;
|
|
14
14
|
function defaultWorkspaceRootScripts() {
|
|
15
|
+
const bumpVersion = (bump) => {
|
|
16
|
+
return [
|
|
17
|
+
`yarn run prepublishOnly:root`,
|
|
18
|
+
`lerna publish --no-private` + (bump ? ` --yes --bump ${bump}` : ''),
|
|
19
|
+
`yarn run postpublishOnly`,
|
|
20
|
+
].join(' && ');
|
|
21
|
+
};
|
|
15
22
|
return {
|
|
16
23
|
...(0, shared_root_scripts_1.defaultSharedRootScripts)(),
|
|
17
24
|
"test": "yarn run test:since",
|
|
@@ -24,8 +31,18 @@ function defaultWorkspaceRootScripts() {
|
|
|
24
31
|
..._runAllOrSince('lint'),
|
|
25
32
|
"preversion": "yarn run test" /* EnumScriptsEntry.preversion */,
|
|
26
33
|
"postversion": "yarn-tool fix-all",
|
|
27
|
-
"lerna:publish":
|
|
28
|
-
|
|
34
|
+
"lerna:publish": bumpVersion(),
|
|
35
|
+
...[
|
|
36
|
+
'patch',
|
|
37
|
+
'minor',
|
|
38
|
+
'major',
|
|
39
|
+
].reduce((a, bump, idx) => {
|
|
40
|
+
if (idx === 0) {
|
|
41
|
+
a[`lerna:publish:yes`] = `yarn run lerna:publish:yes:${bump}`;
|
|
42
|
+
}
|
|
43
|
+
a[`lerna:publish:yes:${bump}`] = bumpVersion(bump);
|
|
44
|
+
return a;
|
|
45
|
+
}, {}),
|
|
29
46
|
"prepublishOnly:root": "yarn run prepublishOnly:check-bin && yarn run prepare:fix-ws-links",
|
|
30
47
|
"prepublishOnly:lockfile": "ynpx --quiet sync-lockfile",
|
|
31
48
|
"prepublishOnly:check-bin": "ynpx --quiet @yarn-tool/check-pkg-bin",
|
|
@@ -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,E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AC,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,WAAW,EAAE;QAC9B,GAAI;YACH,OAAO;YACP,OAAO;YACP,OAAO;SACG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;YACnC,IAAI,GAAG,KAAK,CAAC,EACb,CAAC;gBACA,CAAC,CAAC,mBAAmB,CAAC,GAAG,8BAA8B,IAAI,EAAE,CAAC;YAC/D,CAAC;YACD,CAAC,CAAC,qBAAqB,IAAI,EAAE,CAAC,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;YACnD,OAAO,CAAC,CAAA;QACT,CAAC,EAAE,EAA4B,CAAC;QAEhC,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;AAtDD,kEAsDC","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\tconst bumpVersion = (bump?: 'major' | 'minor' | 'patch') => {\n\t\treturn [\n\t\t\t`yarn run prepublishOnly:root`,\n\t\t\t`lerna publish --no-private` + (bump ? ` --yes --bump ${bump}` : ''),\n\t\t\t`yarn run postpublishOnly`,\n\t\t].join(' && ')\n\t}\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\": bumpVersion(),\n\t\t...([\n\t\t\t'patch',\n\t\t\t'minor',\n\t\t\t'major',\n\t\t] as const).reduce((a, bump, idx) => {\n\t\t\tif (idx === 0)\n\t\t\t{\n\t\t\t\ta[`lerna:publish:yes`] = `yarn run lerna:publish:yes:${bump}`;\n\t\t\t}\n\t\t\ta[`lerna:publish:yes:${bump}`] = bumpVersion(bump);\n\t\t\treturn a\n\t\t}, {} as Record<string, string>),\n\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": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yarn",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
"lint": "ynpx --quiet eslint -- **/*.ts",
|
|
35
35
|
"test": "jest --passWithNoTests",
|
|
36
36
|
"test:jest": "jest --passWithNoTests",
|
|
37
|
+
"test:jest:coverage": "yarn run test:jest -- --coverage",
|
|
37
38
|
"test:jest:snapshot": "yarn run test:jest -- -u",
|
|
38
39
|
"test:mocha": "ynpx --quiet -p ts-node -p mocha mocha -- --require ts-node/register \"!(node_modules)/**/*.{test,spec}.{ts,tsx}\"",
|
|
39
40
|
"test:snapshot": "yarn run test -- -u",
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
"@ts-type/package-dts": "^2.0.8",
|
|
59
60
|
"@yarn-tool/find-root": "^2.0.13",
|
|
60
61
|
"@yarn-tool/resolve-package": "^2.0.11",
|
|
61
|
-
"fs-extra": "^11.
|
|
62
|
+
"fs-extra": "^11.2.0",
|
|
62
63
|
"tslib": ">=2",
|
|
63
64
|
"upath2": "^3.1.19"
|
|
64
65
|
},
|
|
@@ -66,5 +67,5 @@
|
|
|
66
67
|
"publishConfig": {
|
|
67
68
|
"access": "public"
|
|
68
69
|
},
|
|
69
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "920c374dcedfbddfb32ae1f1f14033deefd2f80f"
|
|
70
71
|
}
|