@storm-software/workspace-tools 1.6.35 → 1.6.37
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 +16 -0
- package/index.js +24 -0
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +18 -56
- package/src/executors/tsup/get-config.js +13 -51
- package/src/generators/node-library/generator.js +23 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## [1.6.36](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.6.35...workspace-tools-v1.6.36) (2023-11-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Generate tsconfig fields in node-library generator ([d34b2e6](https://github.com/storm-software/storm-ops/commit/d34b2e6fab177c490ea7fc81637cf26dbb4dad5f))
|
|
7
|
+
|
|
8
|
+
## [1.6.35](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.6.34...workspace-tools-v1.6.35) (2023-11-15)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **workspace-tools:** Further required updates to the tsup config ([d075188](https://github.com/storm-software/storm-ops/commit/d07518857d56eff163f70118e955c6d5348ef2cf))
|
|
14
|
+
* **workspace-tools:** Included funding in package.json of monorepo packages ([338677c](https://github.com/storm-software/storm-ops/commit/338677ce3ec9ca3179de732c96795db39fbb34a3))
|
|
15
|
+
* **workspace-tools:** Remove unneeded plugin from tsup config ([e205c7a](https://github.com/storm-software/storm-ops/commit/e205c7a9ec94b09e03a8b3ced2369c03c3c26e97))
|
|
16
|
+
|
|
1
17
|
## [1.6.34](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.6.33...workspace-tools-v1.6.34) (2023-11-15)
|
|
2
18
|
|
|
3
19
|
|
package/index.js
CHANGED
|
@@ -186644,6 +186644,7 @@ var import_find_workspace_root = require("nx/src/utils/find-workspace-root.js");
|
|
|
186644
186644
|
|
|
186645
186645
|
// packages/workspace-tools/src/executors/tsup/get-config.ts
|
|
186646
186646
|
var import_devkit = require("@nx/devkit");
|
|
186647
|
+
var import_esbuild_plugin_file_path_extensions = require("esbuild-plugin-file-path-extensions");
|
|
186647
186648
|
var import_tsup = require("tsup");
|
|
186648
186649
|
|
|
186649
186650
|
// packages/workspace-tools/src/generators/init/init.ts
|
|
@@ -186898,6 +186899,29 @@ async function nodeLibraryGenerator(tree, schema) {
|
|
|
186898
186899
|
(0, import_js2.addTsConfigPath)(tree, (0, import_devkit5.joinPathFragments)(options.importPath, "/*"), [
|
|
186899
186900
|
(0, import_devkit5.joinPathFragments)(options.projectRoot, "./src", "/*")
|
|
186900
186901
|
]);
|
|
186902
|
+
if (tree.exists("package.json")) {
|
|
186903
|
+
const packageJson = (0, import_devkit5.readJson)(tree, "package.json");
|
|
186904
|
+
packageJson?.repository && (repository = packageJson.repository);
|
|
186905
|
+
packageJson?.description && (description = packageJson.description);
|
|
186906
|
+
}
|
|
186907
|
+
const tsconfigPath = (0, import_devkit5.joinPathFragments)(options.projectRoot, "tsconfig.json");
|
|
186908
|
+
if (tree.exists(tsconfigPath)) {
|
|
186909
|
+
(0, import_devkit5.updateJson)(tree, tsconfigPath, (json) => {
|
|
186910
|
+
json.composite ??= true;
|
|
186911
|
+
return json;
|
|
186912
|
+
});
|
|
186913
|
+
} else {
|
|
186914
|
+
(0, import_devkit5.writeJson)(tree, tsconfigPath, {
|
|
186915
|
+
extends: `${(0, import_devkit5.offsetFromRoot)(options.projectRoot)}tsconfig.base.json`,
|
|
186916
|
+
composite: true,
|
|
186917
|
+
compilerOptions: {
|
|
186918
|
+
outDir: `${(0, import_devkit5.offsetFromRoot)(options.projectRoot)}dist/out-tsc`
|
|
186919
|
+
},
|
|
186920
|
+
files: [],
|
|
186921
|
+
include: ["src/**/*.ts", "src/**/*.js"],
|
|
186922
|
+
exclude: ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"]
|
|
186923
|
+
});
|
|
186924
|
+
}
|
|
186901
186925
|
const lintCallback = await addLint(tree, options);
|
|
186902
186926
|
tasks.push(lintCallback);
|
|
186903
186927
|
await (0, import_devkit5.formatFiles)(tree);
|
package/meta.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/workspace-tools/src/utils/get-workspace-root.ts":{"bytes":284,"imports":[{"path":"nx/src/utils/find-workspace-root.js","kind":"import-statement","external":true}],"format":"esm"},"packages/workspace-tools/src/utils/apply-workspace-tokens.ts":{"bytes":1465,"imports":[{"path":"@nx/devkit","kind":"import-statement","external":true},{"path":"packages/workspace-tools/src/utils/get-workspace-root.ts","kind":"import-statement","original":"./get-workspace-root"}],"format":"esm"},"packages/workspace-tools/src/executors/tsup/get-config.ts":{"bytes":3307,"imports":[{"path":"@nx/devkit","kind":"import-statement","external":true},{"path":"esbuild","kind":"import-statement","external":true},{"path":"tsup","kind":"import-statement","external":true},{"path":"./schema","kind":"import-statement","external":true}],"format":"esm"},"packages/workspace-tools/src/executors/tsup/executor.ts":{"bytes":6952,"imports":[{"path":"@nx/devkit","kind":"import-statement","external":true},{"path":"@nx/esbuild/src/executors/esbuild/lib/get-extra-dependencies","kind":"import-statement","external":true},{"path":"@nx/js","kind":"import-statement","external":true},{"path":"@nx/js/src/utils/buildable-libs-utils","kind":"import-statement","external":true},{"path":"fs-extra","kind":"import-statement","external":true},{"path":"nx/src/project-graph/project-graph","kind":"import-statement","external":true},{"path":"nx/src/utils/fileutils","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"tsup","kind":"import-statement","external":true},{"path":"packages/workspace-tools/src/utils/apply-workspace-tokens.ts","kind":"import-statement","original":"../../utils/apply-workspace-tokens"},{"path":"packages/workspace-tools/src/utils/get-workspace-root.ts","kind":"import-statement","original":"../../utils/get-workspace-root"},{"path":"packages/workspace-tools/src/executors/tsup/get-config.ts","kind":"import-statement","original":"./get-config"},{"path":"./schema","kind":"import-statement","external":true}],"format":"esm"},"packages/workspace-tools/src/executors/tsup/schema.d.ts":{"bytes":457,"imports":[{"path":"@nx/esbuild/src/executors/esbuild/schema.d.ts","kind":"import-statement","external":true},{"path":"tsup","kind":"import-statement","external":true}],"format":"esm"},"packages/workspace-tools/src/utils/versions.ts":{"bytes":745,"imports":[],"format":"esm"},"packages/workspace-tools/src/generators/init/init.ts":{"bytes":657,"imports":[{"path":"@nx/devkit","kind":"import-statement","external":true},{"path":"packages/workspace-tools/src/utils/versions.ts","kind":"import-statement","original":"../../utils/versions"},{"path":"./schema","kind":"import-statement","external":true}],"format":"esm"},"packages/workspace-tools/src/generators/init/schema.d.ts":{"bytes":52,"imports":[],"format":"esm"},"packages/workspace-tools/src/generators/node-library/normalize-options.ts":{"bytes":2028,"imports":[{"path":"@nx/devkit","kind":"import-statement","external":true},{"path":"@nx/devkit/src/generators/project-name-and-root-utils","kind":"import-statement","external":true},{"path":"@nx/js/src/generators/library/library","kind":"import-statement","external":true},{"path":"@nx/js/src/utils/schema","kind":"import-statement","external":true},{"path":"packages/workspace-tools/src/utils/versions.ts","kind":"import-statement","original":"../../utils/versions"},{"path":"./schema","kind":"import-statement","external":true}],"format":"esm"},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/flat-config.js":{"bytes":225,"imports":[],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64.js":{"bytes":1540,"imports":[],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js":{"bytes":4714,"imports":[{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64.js","kind":"require-call","original":"./base64"}],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js":{"bytes":12950,"imports":[],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/array-set.js":{"bytes":3197,"imports":[{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js","kind":"require-call","original":"./util"}],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/mapping-list.js":{"bytes":2339,"imports":[{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js","kind":"require-call","original":"./util"}],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js":{"bytes":14356,"imports":[{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js","kind":"require-call","original":"./base64-vlq"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js","kind":"require-call","original":"./util"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/array-set.js","kind":"require-call","original":"./array-set"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/mapping-list.js","kind":"require-call","original":"./mapping-list"}],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/binary-search.js":{"bytes":4249,"imports":[],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/quick-sort.js":{"bytes":3616,"imports":[],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-consumer.js":{"bytes":40562,"imports":[{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js","kind":"require-call","original":"./util"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/binary-search.js","kind":"require-call","original":"./binary-search"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/array-set.js","kind":"require-call","original":"./array-set"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js","kind":"require-call","original":"./base64-vlq"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/quick-sort.js","kind":"require-call","original":"./quick-sort"}],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-node.js":{"bytes":13808,"imports":[{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js","kind":"require-call","original":"./source-map-generator"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js","kind":"require-call","original":"./util"}],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/source-map.js":{"bytes":405,"imports":[{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js","kind":"require-call","original":"./lib/source-map-generator"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-consumer.js","kind":"require-call","original":"./lib/source-map-consumer"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-node.js","kind":"require-call","original":"./lib/source-node"}],"format":"cjs"},"node_modules/.pnpm/buffer-from@1.1.2/node_modules/buffer-from/index.js":{"bytes":1675,"imports":[],"format":"cjs"},"node_modules/.pnpm/source-map-support@0.5.19/node_modules/source-map-support/source-map-support.js":{"bytes":19729,"imports":[{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/source-map.js","kind":"require-call","original":"source-map"},{"path":"path","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"node_modules/.pnpm/buffer-from@1.1.2/node_modules/buffer-from/index.js","kind":"require-call","original":"buffer-from"}],"format":"cjs"},"node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/typescript.js":{"bytes":8207497,"imports":[{"path":"perf_hooks","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"os","kind":"require-call","external":true},{"path":"crypto","kind":"require-call","external":true},{"path":"buffer","kind":"require-call","external":true},{"path":"node_modules/.pnpm/source-map-support@0.5.19/node_modules/source-map-support/source-map-support.js","kind":"require-call","original":"source-map-support"},{"path":"inspector","kind":"require-call","external":true}],"format":"cjs"},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js":{"bytes":27809,"imports":[{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/typescript.js","kind":"require-call","original":"typescript"}],"format":"cjs"},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/eslint-file.js":{"bytes":12509,"imports":[{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/flat-config.js","kind":"require-call","original":"../../utils/flat-config"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js","kind":"require-call","original":"./flat-config/ast-utils"}],"format":"cjs"},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/package.json":{"bytes":1148,"imports":[]},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/versions.js":{"bytes":450,"imports":[{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/package.json","kind":"require-call","original":"../../package.json"}],"format":"cjs"},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/global-eslint-config.js":{"bytes":4128,"imports":[{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js","kind":"require-call","original":"../utils/flat-config/ast-utils"}],"format":"cjs"},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/init.js":{"bytes":2722,"imports":[{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/versions.js","kind":"require-call","original":"../../utils/versions"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/eslint-file.js","kind":"require-call","original":"../utils/eslint-file"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/global-eslint-config.js","kind":"require-call","original":"./global-eslint-config"}],"format":"cjs"},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/init-migration.js":{"bytes":5025,"imports":[{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/eslint-file.js","kind":"require-call","original":"../utils/eslint-file"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/global-eslint-config.js","kind":"require-call","original":"./global-eslint-config"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/flat-config.js","kind":"require-call","original":"../../utils/flat-config"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/versions.js","kind":"require-call","original":"../../utils/versions"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js","kind":"require-call","original":"../utils/flat-config/ast-utils"}],"format":"cjs"},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/lint-project/lint-project.js":{"bytes":8298,"imports":[{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/eslint-file.js","kind":"require-call","original":"../utils/eslint-file"},{"path":"path","kind":"require-call","external":true},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/init.js","kind":"require-call","original":"../init/init"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/init-migration.js","kind":"require-call","original":"../init/init-migration"},{"path":"nx/src/generators/utils/project-configuration","kind":"require-call","external":true},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/flat-config.js","kind":"require-call","original":"../../utils/flat-config"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js","kind":"require-call","original":"../utils/flat-config/ast-utils"}],"format":"cjs"},"packages/workspace-tools/src/generators/node-library/generator.ts":{"bytes":9172,"imports":[{"path":"@nx/devkit","kind":"import-statement","external":true},{"path":"@nx/js","kind":"import-statement","external":true},{"path":"@nx/js/src/generators/init/init","kind":"import-statement","external":true},{"path":"@nx/js/src/generators/library/library","kind":"import-statement","external":true},{"path":"@nx/js/src/generators/setup-verdaccio/generator","kind":"import-statement","external":true},{"path":"nx/src/utils/package-json","kind":"import-statement","external":true},{"path":"packages/workspace-tools/src/utils/versions.ts","kind":"import-statement","original":"../../utils/versions"},{"path":"packages/workspace-tools/src/generators/node-library/normalize-options.ts","kind":"import-statement","original":"./normalize-options"},{"path":"./schema","kind":"import-statement","external":true},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/lint-project/lint-project.js","kind":"require-call","original":"@nx/eslint/src/generators/lint-project/lint-project"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/eslint-file.js","kind":"require-call","original":"@nx/eslint/src/generators/utils/eslint-file"}],"format":"esm"},"packages/workspace-tools/src/generators/node-library/schema.d.ts":{"bytes":407,"imports":[{"path":"@nx/js/src/utils/schema","kind":"import-statement","external":true}],"format":"esm"},"packages/workspace-tools/src/generators/preset/generator.ts":{"bytes":8685,"imports":[{"path":"@nx/devkit","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"packages/workspace-tools/src/utils/versions.ts","kind":"import-statement","original":"../../utils/versions"},{"path":"./schema","kind":"import-statement","external":true}],"format":"esm"},"packages/workspace-tools/src/generators/preset/schema.d.ts":{"bytes":355,"imports":[],"format":"esm"},"packages/workspace-tools/index.ts":{"bytes":438,"imports":[{"path":"packages/workspace-tools/src/executors/tsup/executor.ts","kind":"import-statement","original":"./src/executors/tsup/executor"},{"path":"packages/workspace-tools/src/executors/tsup/schema.d.ts","kind":"import-statement","original":"./src/executors/tsup/schema.d"},{"path":"packages/workspace-tools/src/generators/init/init.ts","kind":"import-statement","original":"./src/generators/init/init"},{"path":"packages/workspace-tools/src/generators/init/schema.d.ts","kind":"import-statement","original":"./src/generators/init/schema.d"},{"path":"packages/workspace-tools/src/generators/node-library/generator.ts","kind":"import-statement","original":"./src/generators/node-library/generator"},{"path":"packages/workspace-tools/src/generators/node-library/schema.d.ts","kind":"import-statement","original":"./src/generators/node-library/schema.d"},{"path":"packages/workspace-tools/src/generators/preset/generator.ts","kind":"import-statement","original":"./src/generators/preset/generator"},{"path":"packages/workspace-tools/src/generators/preset/schema.d.ts","kind":"import-statement","original":"./src/generators/preset/schema.d"},{"path":"packages/workspace-tools/src/utils/versions.ts","kind":"import-statement","original":"./src/utils/versions"}],"format":"esm"},"packages/workspace-tools/src/utils/index.ts":{"bytes":108,"imports":[{"path":"packages/workspace-tools/src/utils/apply-workspace-tokens.ts","kind":"import-statement","original":"./apply-workspace-tokens"},{"path":"packages/workspace-tools/src/utils/get-workspace-root.ts","kind":"import-statement","original":"./get-workspace-root"},{"path":"packages/workspace-tools/src/utils/versions.ts","kind":"import-statement","original":"./versions"}],"format":"esm"}},"outputs":{"dist/packages/workspace-tools/index.js":{"imports":[{"path":"path","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"perf_hooks","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"os","kind":"require-call","external":true},{"path":"crypto","kind":"require-call","external":true},{"path":"buffer","kind":"require-call","external":true},{"path":"inspector","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"nx/src/generators/utils/project-configuration","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/esbuild/src/executors/esbuild/lib/get-extra-dependencies","kind":"require-call","external":true},{"path":"@nx/js","kind":"require-call","external":true},{"path":"fs-extra","kind":"require-call","external":true},{"path":"nx/src/project-graph/project-graph","kind":"require-call","external":true},{"path":"nx/src/utils/fileutils","kind":"require-call","external":true},{"path":"tsup","kind":"require-call","external":true},{"path":"nx/src/utils/find-workspace-root.js","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"tsup","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/js","kind":"require-call","external":true},{"path":"@nx/js/src/generators/init/init","kind":"require-call","external":true},{"path":"@nx/js/src/generators/setup-verdaccio/generator","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/devkit/src/generators/project-name-and-root-utils","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/workspace-tools/index.ts","inputs":{"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/flat-config.js":{"bytesInOutput":502},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64.js":{"bytesInOutput":1171},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js":{"bytesInOutput":1740},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js":{"bytesInOutput":8831},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/array-set.js":{"bytesInOutput":2329},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/mapping-list.js":{"bytesInOutput":1413},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js":{"bytesInOutput":10933},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/binary-search.js":{"bytesInOutput":1607},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/quick-sort.js":{"bytesInOutput":991},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-consumer.js":{"bytesInOutput":24560},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-node.js":{"bytesInOutput":9850},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/source-map.js":{"bytesInOutput":359},"node_modules/.pnpm/buffer-from@1.1.2/node_modules/buffer-from/index.js":{"bytesInOutput":1904},"node_modules/.pnpm/source-map-support@0.5.19/node_modules/source-map-support/source-map-support.js":{"bytesInOutput":15953},"node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/typescript.js":{"bytesInOutput":8625524},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js":{"bytesInOutput":24909},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/eslint-file.js":{"bytesInOutput":12490},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/package.json":{"bytesInOutput":1553},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/versions.js":{"bytesInOutput":715},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/global-eslint-config.js":{"bytesInOutput":3880},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/init.js":{"bytesInOutput":2836},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/init-migration.js":{"bytesInOutput":4630},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/lint-project/lint-project.js":{"bytesInOutput":7633},"packages/workspace-tools/index.ts":{"bytesInOutput":995},"packages/workspace-tools/src/executors/tsup/executor.ts":{"bytesInOutput":399},"packages/workspace-tools/src/utils/get-workspace-root.ts":{"bytesInOutput":81},"packages/workspace-tools/src/executors/tsup/get-config.ts":{"bytesInOutput":78},"packages/workspace-tools/src/generators/init/init.ts":{"bytesInOutput":518},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":582},"packages/workspace-tools/src/generators/node-library/generator.ts":{"bytesInOutput":8058},"packages/workspace-tools/src/generators/node-library/normalize-options.ts":{"bytesInOutput":1778},"packages/workspace-tools/src/generators/preset/generator.ts":{"bytesInOutput":44}},"bytes":8785423},"dist/packages/workspace-tools/src/executors/tsup/executor.js":{"imports":[{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/esbuild/src/executors/esbuild/lib/get-extra-dependencies","kind":"require-call","external":true},{"path":"@nx/js","kind":"require-call","external":true},{"path":"fs-extra","kind":"require-call","external":true},{"path":"nx/src/project-graph/project-graph","kind":"require-call","external":true},{"path":"nx/src/utils/fileutils","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"tsup","kind":"require-call","external":true},{"path":"nx/src/utils/find-workspace-root.js","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"tsup","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/workspace-tools/src/executors/tsup/executor.ts","inputs":{"packages/workspace-tools/src/executors/tsup/executor.ts":{"bytesInOutput":6033},"packages/workspace-tools/src/utils/get-workspace-root.ts":{"bytesInOutput":313},"packages/workspace-tools/src/utils/apply-workspace-tokens.ts":{"bytesInOutput":1134},"packages/workspace-tools/src/executors/tsup/get-config.ts":{"bytesInOutput":2598}},"bytes":11171},"dist/packages/workspace-tools/src/executors/tsup/get-config.js":{"imports":[{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"tsup","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/workspace-tools/src/executors/tsup/get-config.ts","inputs":{"packages/workspace-tools/src/executors/tsup/get-config.ts":{"bytesInOutput":2814}},"bytes":3796},"dist/packages/workspace-tools/src/generators/init/init.js":{"imports":[{"path":"@nx/devkit","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/workspace-tools/src/generators/init/init.ts","inputs":{"packages/workspace-tools/src/generators/init/init.ts":{"bytesInOutput":729},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":27}},"bytes":1818},"dist/packages/workspace-tools/src/generators/node-library/generator.js":{"imports":[{"path":"path","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"perf_hooks","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"os","kind":"require-call","external":true},{"path":"crypto","kind":"require-call","external":true},{"path":"buffer","kind":"require-call","external":true},{"path":"inspector","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"nx/src/generators/utils/project-configuration","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/js","kind":"require-call","external":true},{"path":"@nx/js/src/generators/init/init","kind":"require-call","external":true},{"path":"@nx/js/src/generators/setup-verdaccio/generator","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/devkit/src/generators/project-name-and-root-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/workspace-tools/src/generators/node-library/generator.ts","inputs":{"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/flat-config.js":{"bytesInOutput":502},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64.js":{"bytesInOutput":1171},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js":{"bytesInOutput":1740},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js":{"bytesInOutput":8831},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/array-set.js":{"bytesInOutput":2329},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/mapping-list.js":{"bytesInOutput":1413},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js":{"bytesInOutput":10933},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/binary-search.js":{"bytesInOutput":1607},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/quick-sort.js":{"bytesInOutput":991},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-consumer.js":{"bytesInOutput":24560},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-node.js":{"bytesInOutput":9850},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/source-map.js":{"bytesInOutput":359},"node_modules/.pnpm/buffer-from@1.1.2/node_modules/buffer-from/index.js":{"bytesInOutput":1904},"node_modules/.pnpm/source-map-support@0.5.19/node_modules/source-map-support/source-map-support.js":{"bytesInOutput":15953},"node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/typescript.js":{"bytesInOutput":8625421},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js":{"bytesInOutput":24909},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/eslint-file.js":{"bytesInOutput":12490},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/package.json":{"bytesInOutput":1553},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/versions.js":{"bytesInOutput":715},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/global-eslint-config.js":{"bytesInOutput":3880},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/init.js":{"bytesInOutput":2836},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/init-migration.js":{"bytesInOutput":4630},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/lint-project/lint-project.js":{"bytesInOutput":7633},"packages/workspace-tools/src/generators/node-library/generator.ts":{"bytesInOutput":8298},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":60},"packages/workspace-tools/src/generators/node-library/normalize-options.ts":{"bytesInOutput":1775}},"bytes":8782152},"dist/packages/workspace-tools/src/generators/preset/generator.js":{"imports":[{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/workspace-tools/src/generators/preset/generator.ts","inputs":{"packages/workspace-tools/src/generators/preset/generator.ts":{"bytesInOutput":8454},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":91}},"bytes":10106},"dist/packages/workspace-tools/src/utils/index.js":{"imports":[{"path":"nx/src/utils/find-workspace-root.js","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/workspace-tools/src/utils/index.ts","inputs":{"packages/workspace-tools/src/utils/index.ts":{"bytesInOutput":961},"packages/workspace-tools/src/utils/get-workspace-root.ts":{"bytesInOutput":313},"packages/workspace-tools/src/utils/apply-workspace-tokens.ts":{"bytesInOutput":1134},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":582}},"bytes":4481}}}
|
|
1
|
+
{"inputs":{"packages/workspace-tools/src/utils/get-workspace-root.ts":{"bytes":284,"imports":[{"path":"nx/src/utils/find-workspace-root.js","kind":"import-statement","external":true}],"format":"esm"},"packages/workspace-tools/src/utils/apply-workspace-tokens.ts":{"bytes":1465,"imports":[{"path":"@nx/devkit","kind":"import-statement","external":true},{"path":"packages/workspace-tools/src/utils/get-workspace-root.ts","kind":"import-statement","original":"./get-workspace-root"}],"format":"esm"},"packages/workspace-tools/src/executors/tsup/get-config.ts":{"bytes":2475,"imports":[{"path":"@nx/devkit","kind":"import-statement","external":true},{"path":"esbuild","kind":"import-statement","external":true},{"path":"esbuild-plugin-file-path-extensions","kind":"import-statement","external":true},{"path":"tsup","kind":"import-statement","external":true},{"path":"./schema","kind":"import-statement","external":true}],"format":"esm"},"packages/workspace-tools/src/executors/tsup/executor.ts":{"bytes":6962,"imports":[{"path":"@nx/devkit","kind":"import-statement","external":true},{"path":"@nx/esbuild/src/executors/esbuild/lib/get-extra-dependencies","kind":"import-statement","external":true},{"path":"@nx/js","kind":"import-statement","external":true},{"path":"@nx/js/src/utils/buildable-libs-utils","kind":"import-statement","external":true},{"path":"fs-extra","kind":"import-statement","external":true},{"path":"nx/src/project-graph/project-graph","kind":"import-statement","external":true},{"path":"nx/src/utils/fileutils","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"tsup","kind":"import-statement","external":true},{"path":"packages/workspace-tools/src/utils/apply-workspace-tokens.ts","kind":"import-statement","original":"../../utils/apply-workspace-tokens"},{"path":"packages/workspace-tools/src/utils/get-workspace-root.ts","kind":"import-statement","original":"../../utils/get-workspace-root"},{"path":"packages/workspace-tools/src/executors/tsup/get-config.ts","kind":"import-statement","original":"./get-config"},{"path":"./schema","kind":"import-statement","external":true}],"format":"esm"},"packages/workspace-tools/src/executors/tsup/schema.d.ts":{"bytes":457,"imports":[{"path":"@nx/esbuild/src/executors/esbuild/schema.d.ts","kind":"import-statement","external":true},{"path":"tsup","kind":"import-statement","external":true}],"format":"esm"},"packages/workspace-tools/src/utils/versions.ts":{"bytes":745,"imports":[],"format":"esm"},"packages/workspace-tools/src/generators/init/init.ts":{"bytes":657,"imports":[{"path":"@nx/devkit","kind":"import-statement","external":true},{"path":"packages/workspace-tools/src/utils/versions.ts","kind":"import-statement","original":"../../utils/versions"},{"path":"./schema","kind":"import-statement","external":true}],"format":"esm"},"packages/workspace-tools/src/generators/init/schema.d.ts":{"bytes":52,"imports":[],"format":"esm"},"packages/workspace-tools/src/generators/node-library/normalize-options.ts":{"bytes":2028,"imports":[{"path":"@nx/devkit","kind":"import-statement","external":true},{"path":"@nx/devkit/src/generators/project-name-and-root-utils","kind":"import-statement","external":true},{"path":"@nx/js/src/generators/library/library","kind":"import-statement","external":true},{"path":"@nx/js/src/utils/schema","kind":"import-statement","external":true},{"path":"packages/workspace-tools/src/utils/versions.ts","kind":"import-statement","original":"../../utils/versions"},{"path":"./schema","kind":"import-statement","external":true}],"format":"esm"},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/flat-config.js":{"bytes":225,"imports":[],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64.js":{"bytes":1540,"imports":[],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js":{"bytes":4714,"imports":[{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64.js","kind":"require-call","original":"./base64"}],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js":{"bytes":12950,"imports":[],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/array-set.js":{"bytes":3197,"imports":[{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js","kind":"require-call","original":"./util"}],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/mapping-list.js":{"bytes":2339,"imports":[{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js","kind":"require-call","original":"./util"}],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js":{"bytes":14356,"imports":[{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js","kind":"require-call","original":"./base64-vlq"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js","kind":"require-call","original":"./util"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/array-set.js","kind":"require-call","original":"./array-set"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/mapping-list.js","kind":"require-call","original":"./mapping-list"}],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/binary-search.js":{"bytes":4249,"imports":[],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/quick-sort.js":{"bytes":3616,"imports":[],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-consumer.js":{"bytes":40562,"imports":[{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js","kind":"require-call","original":"./util"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/binary-search.js","kind":"require-call","original":"./binary-search"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/array-set.js","kind":"require-call","original":"./array-set"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js","kind":"require-call","original":"./base64-vlq"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/quick-sort.js","kind":"require-call","original":"./quick-sort"}],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-node.js":{"bytes":13808,"imports":[{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js","kind":"require-call","original":"./source-map-generator"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js","kind":"require-call","original":"./util"}],"format":"cjs"},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/source-map.js":{"bytes":405,"imports":[{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js","kind":"require-call","original":"./lib/source-map-generator"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-consumer.js","kind":"require-call","original":"./lib/source-map-consumer"},{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-node.js","kind":"require-call","original":"./lib/source-node"}],"format":"cjs"},"node_modules/.pnpm/buffer-from@1.1.2/node_modules/buffer-from/index.js":{"bytes":1675,"imports":[],"format":"cjs"},"node_modules/.pnpm/source-map-support@0.5.19/node_modules/source-map-support/source-map-support.js":{"bytes":19729,"imports":[{"path":"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/source-map.js","kind":"require-call","original":"source-map"},{"path":"path","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"node_modules/.pnpm/buffer-from@1.1.2/node_modules/buffer-from/index.js","kind":"require-call","original":"buffer-from"}],"format":"cjs"},"node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/typescript.js":{"bytes":8207497,"imports":[{"path":"perf_hooks","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"os","kind":"require-call","external":true},{"path":"crypto","kind":"require-call","external":true},{"path":"buffer","kind":"require-call","external":true},{"path":"node_modules/.pnpm/source-map-support@0.5.19/node_modules/source-map-support/source-map-support.js","kind":"require-call","original":"source-map-support"},{"path":"inspector","kind":"require-call","external":true}],"format":"cjs"},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js":{"bytes":27809,"imports":[{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/typescript.js","kind":"require-call","original":"typescript"}],"format":"cjs"},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/eslint-file.js":{"bytes":12509,"imports":[{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/flat-config.js","kind":"require-call","original":"../../utils/flat-config"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js","kind":"require-call","original":"./flat-config/ast-utils"}],"format":"cjs"},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/package.json":{"bytes":1148,"imports":[]},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/versions.js":{"bytes":450,"imports":[{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/package.json","kind":"require-call","original":"../../package.json"}],"format":"cjs"},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/global-eslint-config.js":{"bytes":4128,"imports":[{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js","kind":"require-call","original":"../utils/flat-config/ast-utils"}],"format":"cjs"},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/init.js":{"bytes":2722,"imports":[{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/versions.js","kind":"require-call","original":"../../utils/versions"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/eslint-file.js","kind":"require-call","original":"../utils/eslint-file"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/global-eslint-config.js","kind":"require-call","original":"./global-eslint-config"}],"format":"cjs"},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/init-migration.js":{"bytes":5025,"imports":[{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/eslint-file.js","kind":"require-call","original":"../utils/eslint-file"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/global-eslint-config.js","kind":"require-call","original":"./global-eslint-config"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/flat-config.js","kind":"require-call","original":"../../utils/flat-config"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/versions.js","kind":"require-call","original":"../../utils/versions"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js","kind":"require-call","original":"../utils/flat-config/ast-utils"}],"format":"cjs"},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/lint-project/lint-project.js":{"bytes":8298,"imports":[{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/eslint-file.js","kind":"require-call","original":"../utils/eslint-file"},{"path":"path","kind":"require-call","external":true},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/init.js","kind":"require-call","original":"../init/init"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/init-migration.js","kind":"require-call","original":"../init/init-migration"},{"path":"nx/src/generators/utils/project-configuration","kind":"require-call","external":true},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/flat-config.js","kind":"require-call","original":"../../utils/flat-config"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js","kind":"require-call","original":"../utils/flat-config/ast-utils"}],"format":"cjs"},"packages/workspace-tools/src/generators/node-library/generator.ts":{"bytes":10099,"imports":[{"path":"@nx/devkit","kind":"import-statement","external":true},{"path":"@nx/js","kind":"import-statement","external":true},{"path":"@nx/js/src/generators/init/init","kind":"import-statement","external":true},{"path":"@nx/js/src/generators/library/library","kind":"import-statement","external":true},{"path":"@nx/js/src/generators/setup-verdaccio/generator","kind":"import-statement","external":true},{"path":"nx/src/utils/package-json","kind":"import-statement","external":true},{"path":"packages/workspace-tools/src/utils/versions.ts","kind":"import-statement","original":"../../utils/versions"},{"path":"packages/workspace-tools/src/generators/node-library/normalize-options.ts","kind":"import-statement","original":"./normalize-options"},{"path":"./schema","kind":"import-statement","external":true},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/lint-project/lint-project.js","kind":"require-call","original":"@nx/eslint/src/generators/lint-project/lint-project"},{"path":"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/eslint-file.js","kind":"require-call","original":"@nx/eslint/src/generators/utils/eslint-file"}],"format":"esm"},"packages/workspace-tools/src/generators/node-library/schema.d.ts":{"bytes":407,"imports":[{"path":"@nx/js/src/utils/schema","kind":"import-statement","external":true}],"format":"esm"},"packages/workspace-tools/src/generators/preset/generator.ts":{"bytes":8685,"imports":[{"path":"@nx/devkit","kind":"import-statement","external":true},{"path":"path","kind":"import-statement","external":true},{"path":"packages/workspace-tools/src/utils/versions.ts","kind":"import-statement","original":"../../utils/versions"},{"path":"./schema","kind":"import-statement","external":true}],"format":"esm"},"packages/workspace-tools/src/generators/preset/schema.d.ts":{"bytes":355,"imports":[],"format":"esm"},"packages/workspace-tools/index.ts":{"bytes":438,"imports":[{"path":"packages/workspace-tools/src/executors/tsup/executor.ts","kind":"import-statement","original":"./src/executors/tsup/executor"},{"path":"packages/workspace-tools/src/executors/tsup/schema.d.ts","kind":"import-statement","original":"./src/executors/tsup/schema.d"},{"path":"packages/workspace-tools/src/generators/init/init.ts","kind":"import-statement","original":"./src/generators/init/init"},{"path":"packages/workspace-tools/src/generators/init/schema.d.ts","kind":"import-statement","original":"./src/generators/init/schema.d"},{"path":"packages/workspace-tools/src/generators/node-library/generator.ts","kind":"import-statement","original":"./src/generators/node-library/generator"},{"path":"packages/workspace-tools/src/generators/node-library/schema.d.ts","kind":"import-statement","original":"./src/generators/node-library/schema.d"},{"path":"packages/workspace-tools/src/generators/preset/generator.ts","kind":"import-statement","original":"./src/generators/preset/generator"},{"path":"packages/workspace-tools/src/generators/preset/schema.d.ts","kind":"import-statement","original":"./src/generators/preset/schema.d"},{"path":"packages/workspace-tools/src/utils/versions.ts","kind":"import-statement","original":"./src/utils/versions"}],"format":"esm"},"packages/workspace-tools/src/utils/index.ts":{"bytes":108,"imports":[{"path":"packages/workspace-tools/src/utils/apply-workspace-tokens.ts","kind":"import-statement","original":"./apply-workspace-tokens"},{"path":"packages/workspace-tools/src/utils/get-workspace-root.ts","kind":"import-statement","original":"./get-workspace-root"},{"path":"packages/workspace-tools/src/utils/versions.ts","kind":"import-statement","original":"./versions"}],"format":"esm"}},"outputs":{"dist/packages/workspace-tools/index.js":{"imports":[{"path":"path","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"perf_hooks","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"os","kind":"require-call","external":true},{"path":"crypto","kind":"require-call","external":true},{"path":"buffer","kind":"require-call","external":true},{"path":"inspector","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"nx/src/generators/utils/project-configuration","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/esbuild/src/executors/esbuild/lib/get-extra-dependencies","kind":"require-call","external":true},{"path":"@nx/js","kind":"require-call","external":true},{"path":"fs-extra","kind":"require-call","external":true},{"path":"nx/src/project-graph/project-graph","kind":"require-call","external":true},{"path":"nx/src/utils/fileutils","kind":"require-call","external":true},{"path":"tsup","kind":"require-call","external":true},{"path":"nx/src/utils/find-workspace-root.js","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"esbuild-plugin-file-path-extensions","kind":"require-call","external":true},{"path":"tsup","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/js","kind":"require-call","external":true},{"path":"@nx/js/src/generators/init/init","kind":"require-call","external":true},{"path":"@nx/js/src/generators/setup-verdaccio/generator","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/devkit/src/generators/project-name-and-root-utils","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/workspace-tools/index.ts","inputs":{"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/flat-config.js":{"bytesInOutput":502},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64.js":{"bytesInOutput":1171},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js":{"bytesInOutput":1740},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js":{"bytesInOutput":8831},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/array-set.js":{"bytesInOutput":2329},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/mapping-list.js":{"bytesInOutput":1413},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js":{"bytesInOutput":10933},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/binary-search.js":{"bytesInOutput":1607},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/quick-sort.js":{"bytesInOutput":991},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-consumer.js":{"bytesInOutput":24560},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-node.js":{"bytesInOutput":9850},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/source-map.js":{"bytesInOutput":359},"node_modules/.pnpm/buffer-from@1.1.2/node_modules/buffer-from/index.js":{"bytesInOutput":1904},"node_modules/.pnpm/source-map-support@0.5.19/node_modules/source-map-support/source-map-support.js":{"bytesInOutput":15953},"node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/typescript.js":{"bytesInOutput":8625524},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js":{"bytesInOutput":24909},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/eslint-file.js":{"bytesInOutput":12490},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/package.json":{"bytesInOutput":1553},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/versions.js":{"bytesInOutput":715},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/global-eslint-config.js":{"bytesInOutput":3880},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/init.js":{"bytesInOutput":2836},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/init-migration.js":{"bytesInOutput":4630},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/lint-project/lint-project.js":{"bytesInOutput":7633},"packages/workspace-tools/index.ts":{"bytesInOutput":995},"packages/workspace-tools/src/executors/tsup/executor.ts":{"bytesInOutput":399},"packages/workspace-tools/src/utils/get-workspace-root.ts":{"bytesInOutput":81},"packages/workspace-tools/src/executors/tsup/get-config.ts":{"bytesInOutput":175},"packages/workspace-tools/src/generators/init/init.ts":{"bytesInOutput":518},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":582},"packages/workspace-tools/src/generators/node-library/generator.ts":{"bytesInOutput":9036},"packages/workspace-tools/src/generators/node-library/normalize-options.ts":{"bytesInOutput":1778},"packages/workspace-tools/src/generators/preset/generator.ts":{"bytesInOutput":44}},"bytes":8786498},"dist/packages/workspace-tools/src/executors/tsup/executor.js":{"imports":[{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/esbuild/src/executors/esbuild/lib/get-extra-dependencies","kind":"require-call","external":true},{"path":"@nx/js","kind":"require-call","external":true},{"path":"fs-extra","kind":"require-call","external":true},{"path":"nx/src/project-graph/project-graph","kind":"require-call","external":true},{"path":"nx/src/utils/fileutils","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"tsup","kind":"require-call","external":true},{"path":"nx/src/utils/find-workspace-root.js","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"esbuild-plugin-file-path-extensions","kind":"require-call","external":true},{"path":"tsup","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/workspace-tools/src/executors/tsup/executor.ts","inputs":{"packages/workspace-tools/src/executors/tsup/executor.ts":{"bytesInOutput":6043},"packages/workspace-tools/src/utils/get-workspace-root.ts":{"bytesInOutput":313},"packages/workspace-tools/src/utils/apply-workspace-tokens.ts":{"bytesInOutput":1134},"packages/workspace-tools/src/executors/tsup/get-config.ts":{"bytesInOutput":1978}},"bytes":10561},"dist/packages/workspace-tools/src/executors/tsup/get-config.js":{"imports":[{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"esbuild-plugin-file-path-extensions","kind":"require-call","external":true},{"path":"tsup","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/workspace-tools/src/executors/tsup/get-config.ts","inputs":{"packages/workspace-tools/src/executors/tsup/get-config.ts":{"bytesInOutput":2194}},"bytes":3176},"dist/packages/workspace-tools/src/generators/init/init.js":{"imports":[{"path":"@nx/devkit","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/workspace-tools/src/generators/init/init.ts","inputs":{"packages/workspace-tools/src/generators/init/init.ts":{"bytesInOutput":729},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":27}},"bytes":1818},"dist/packages/workspace-tools/src/generators/node-library/generator.js":{"imports":[{"path":"path","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"perf_hooks","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"fs","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"os","kind":"require-call","external":true},{"path":"crypto","kind":"require-call","external":true},{"path":"buffer","kind":"require-call","external":true},{"path":"inspector","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"nx/src/generators/utils/project-configuration","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/js","kind":"require-call","external":true},{"path":"@nx/js/src/generators/init/init","kind":"require-call","external":true},{"path":"@nx/js/src/generators/setup-verdaccio/generator","kind":"require-call","external":true},{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"@nx/devkit/src/generators/project-name-and-root-utils","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/workspace-tools/src/generators/node-library/generator.ts","inputs":{"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/flat-config.js":{"bytesInOutput":502},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64.js":{"bytesInOutput":1171},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js":{"bytesInOutput":1740},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js":{"bytesInOutput":8831},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/array-set.js":{"bytesInOutput":2329},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/mapping-list.js":{"bytesInOutput":1413},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js":{"bytesInOutput":10933},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/binary-search.js":{"bytesInOutput":1607},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/quick-sort.js":{"bytesInOutput":991},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-consumer.js":{"bytesInOutput":24560},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-node.js":{"bytesInOutput":9850},"node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/source-map.js":{"bytesInOutput":359},"node_modules/.pnpm/buffer-from@1.1.2/node_modules/buffer-from/index.js":{"bytesInOutput":1904},"node_modules/.pnpm/source-map-support@0.5.19/node_modules/source-map-support/source-map-support.js":{"bytesInOutput":15953},"node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/typescript.js":{"bytesInOutput":8625421},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js":{"bytesInOutput":24909},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/utils/eslint-file.js":{"bytesInOutput":12490},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/package.json":{"bytesInOutput":1553},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/utils/versions.js":{"bytesInOutput":715},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/global-eslint-config.js":{"bytesInOutput":3880},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/init.js":{"bytesInOutput":2836},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/init/init-migration.js":{"bytesInOutput":4630},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.95_@types+node@20.8.10_eslint@8.53.0_nx@17.0.3_verdaccio@5.27.0/node_modules/@nx/eslint/src/generators/lint-project/lint-project.js":{"bytesInOutput":7633},"packages/workspace-tools/src/generators/node-library/generator.ts":{"bytesInOutput":9276},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":60},"packages/workspace-tools/src/generators/node-library/normalize-options.ts":{"bytesInOutput":1775}},"bytes":8783130},"dist/packages/workspace-tools/src/generators/preset/generator.js":{"imports":[{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/workspace-tools/src/generators/preset/generator.ts","inputs":{"packages/workspace-tools/src/generators/preset/generator.ts":{"bytesInOutput":8454},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":91}},"bytes":10106},"dist/packages/workspace-tools/src/utils/index.js":{"imports":[{"path":"nx/src/utils/find-workspace-root.js","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/workspace-tools/src/utils/index.ts","inputs":{"packages/workspace-tools/src/utils/index.ts":{"bytesInOutput":961},"packages/workspace-tools/src/utils/get-workspace-root.ts":{"bytesInOutput":313},"packages/workspace-tools/src/utils/apply-workspace-tokens.ts":{"bytesInOutput":1134},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":582}},"bytes":4481}}}
|
package/package.json
CHANGED
|
@@ -78,17 +78,13 @@ var applyWorkspaceTokens = (option, config) => {
|
|
|
78
78
|
|
|
79
79
|
// packages/workspace-tools/src/executors/tsup/get-config.ts
|
|
80
80
|
var import_devkit = require("@nx/devkit");
|
|
81
|
+
var import_esbuild_plugin_file_path_extensions = require("esbuild-plugin-file-path-extensions");
|
|
81
82
|
var import_tsup = require("tsup");
|
|
82
|
-
function modernConfig(entry, outDir,
|
|
83
|
+
function modernConfig(entry, outDir, tsconfig = "tsconfig.json", debug = false, bundle = true, platform = "neutral", options = {}) {
|
|
83
84
|
return {
|
|
84
85
|
...options,
|
|
85
86
|
entry,
|
|
86
|
-
|
|
87
|
-
treeshake: {
|
|
88
|
-
moduleSideEffects: ["src"],
|
|
89
|
-
preset: "recommended"
|
|
90
|
-
},
|
|
91
|
-
format: ["esm", "cjs"],
|
|
87
|
+
format: ["cjs", "esm"],
|
|
92
88
|
target: platform !== "node" ? [
|
|
93
89
|
"chrome91",
|
|
94
90
|
"firefox90",
|
|
@@ -98,66 +94,32 @@ function modernConfig(entry, outDir, tsConfig = "tsconfig.json", debug = false,
|
|
|
98
94
|
"opera77",
|
|
99
95
|
"esnext"
|
|
100
96
|
] : ["esnext", "edge91", "node18"],
|
|
101
|
-
tsconfig
|
|
102
|
-
outDir: (0, import_devkit.joinPathFragments)(outDir, "
|
|
97
|
+
tsconfig,
|
|
98
|
+
outDir: (0, import_devkit.joinPathFragments)(outDir, "dist", "modern"),
|
|
103
99
|
metafile: true,
|
|
104
|
-
minify: !debug ? "terser" : false,
|
|
105
|
-
terserOptions: !debug ? {
|
|
106
|
-
mangle: true,
|
|
107
|
-
compress: true,
|
|
108
|
-
format: {
|
|
109
|
-
comments: false
|
|
110
|
-
},
|
|
111
|
-
ecma: 2020,
|
|
112
|
-
keep_classnames: true,
|
|
113
|
-
keep_fnames: true
|
|
114
|
-
} : void 0,
|
|
115
|
-
minifyWhitespace: !debug,
|
|
116
|
-
minifyIdentifiers: !debug,
|
|
117
|
-
minifySyntax: !debug,
|
|
118
100
|
bundle,
|
|
119
101
|
platform,
|
|
120
102
|
dts: true,
|
|
121
103
|
sourcemap: debug,
|
|
122
|
-
|
|
123
|
-
|
|
104
|
+
clean: false,
|
|
105
|
+
esbuildPlugins: [(0, import_esbuild_plugin_file_path_extensions.esbuildPluginFilePathExtensions)({ esmExtension: "js" })]
|
|
124
106
|
};
|
|
125
107
|
}
|
|
126
|
-
function legacyConfig(entry, outDir,
|
|
108
|
+
function legacyConfig(entry, outDir, tsconfig = "tsconfig.json", debug = false, bundle = true, platform = "neutral", options = {}) {
|
|
127
109
|
return {
|
|
128
110
|
...options,
|
|
129
111
|
entry,
|
|
130
|
-
|
|
131
|
-
treeshake: {
|
|
132
|
-
moduleSideEffects: ["src"],
|
|
133
|
-
preset: "recommended"
|
|
134
|
-
},
|
|
135
|
-
format: ["esm", "cjs"],
|
|
112
|
+
format: ["cjs", "esm"],
|
|
136
113
|
target: ["es2022", "node18"],
|
|
137
|
-
tsconfig
|
|
138
|
-
outDir: (0, import_devkit.joinPathFragments)(outDir, "
|
|
114
|
+
tsconfig,
|
|
115
|
+
outDir: (0, import_devkit.joinPathFragments)(outDir, "dist", "legacy"),
|
|
139
116
|
metafile: true,
|
|
140
|
-
minify: !debug ? "terser" : false,
|
|
141
|
-
terserOptions: !debug ? {
|
|
142
|
-
mangle: true,
|
|
143
|
-
compress: true,
|
|
144
|
-
format: {
|
|
145
|
-
comments: false
|
|
146
|
-
},
|
|
147
|
-
ecma: 2020,
|
|
148
|
-
keep_classnames: false,
|
|
149
|
-
keep_fnames: true,
|
|
150
|
-
safari10: true
|
|
151
|
-
} : void 0,
|
|
152
|
-
minifyWhitespace: !debug,
|
|
153
|
-
minifyIdentifiers: !debug,
|
|
154
|
-
minifySyntax: !debug,
|
|
155
117
|
bundle,
|
|
156
118
|
platform,
|
|
157
119
|
dts: true,
|
|
158
120
|
sourcemap: debug,
|
|
159
|
-
|
|
160
|
-
|
|
121
|
+
clean: false,
|
|
122
|
+
esbuildPlugins: [(0, import_esbuild_plugin_file_path_extensions.esbuildPluginFilePathExtensions)({ esmExtension: "js" })]
|
|
161
123
|
};
|
|
162
124
|
}
|
|
163
125
|
function getConfig(sourceRoot, {
|
|
@@ -267,7 +229,7 @@ async function runExecutor(options, context) {
|
|
|
267
229
|
}
|
|
268
230
|
});
|
|
269
231
|
packageJson.type ??= "module";
|
|
270
|
-
packageJson.exports
|
|
232
|
+
packageJson.exports ??= {
|
|
271
233
|
".": {
|
|
272
234
|
"import": {
|
|
273
235
|
"types": "./dist/modern/index.d.ts",
|
|
@@ -281,9 +243,9 @@ async function runExecutor(options, context) {
|
|
|
281
243
|
"./package.json": "./package.json"
|
|
282
244
|
};
|
|
283
245
|
packageJson.funding ??= workspacePackageJson.funding;
|
|
284
|
-
packageJson.main
|
|
285
|
-
packageJson.module
|
|
286
|
-
packageJson.types
|
|
246
|
+
packageJson.main ??= "dist/legacy/index.cjs";
|
|
247
|
+
packageJson.module ??= "dist/legacy/index.js";
|
|
248
|
+
packageJson.types ??= "dist/legacy/index.d.ts";
|
|
287
249
|
packageJson.sideEffects ??= false;
|
|
288
250
|
packageJson.files ??= ["dist", "src"];
|
|
289
251
|
packageJson.publishConfig ??= {
|
|
@@ -296,7 +258,7 @@ async function runExecutor(options, context) {
|
|
|
296
258
|
packageJson.license ??= workspacePackageJson.license;
|
|
297
259
|
packageJson.keywords ??= workspacePackageJson.keywords;
|
|
298
260
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
299
|
-
packageJson.repository.directory
|
|
261
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : `packages/${context.projectName}`;
|
|
300
262
|
(0, import_devkit2.writeJsonFile)(`${options.outputPath}/package.json`, packageJson);
|
|
301
263
|
console.log("Getting Tsup build config");
|
|
302
264
|
const config = getConfig(sourceRoot, { ...options, outputPath });
|
|
@@ -25,17 +25,13 @@ __export(get_config_exports, {
|
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(get_config_exports);
|
|
27
27
|
var import_devkit = require("@nx/devkit");
|
|
28
|
+
var import_esbuild_plugin_file_path_extensions = require("esbuild-plugin-file-path-extensions");
|
|
28
29
|
var import_tsup = require("tsup");
|
|
29
|
-
function modernConfig(entry, outDir,
|
|
30
|
+
function modernConfig(entry, outDir, tsconfig = "tsconfig.json", debug = false, bundle = true, platform = "neutral", options = {}) {
|
|
30
31
|
return {
|
|
31
32
|
...options,
|
|
32
33
|
entry,
|
|
33
|
-
|
|
34
|
-
treeshake: {
|
|
35
|
-
moduleSideEffects: ["src"],
|
|
36
|
-
preset: "recommended"
|
|
37
|
-
},
|
|
38
|
-
format: ["esm", "cjs"],
|
|
34
|
+
format: ["cjs", "esm"],
|
|
39
35
|
target: platform !== "node" ? [
|
|
40
36
|
"chrome91",
|
|
41
37
|
"firefox90",
|
|
@@ -45,66 +41,32 @@ function modernConfig(entry, outDir, tsConfig = "tsconfig.json", debug = false,
|
|
|
45
41
|
"opera77",
|
|
46
42
|
"esnext"
|
|
47
43
|
] : ["esnext", "edge91", "node18"],
|
|
48
|
-
tsconfig
|
|
49
|
-
outDir: (0, import_devkit.joinPathFragments)(outDir, "
|
|
44
|
+
tsconfig,
|
|
45
|
+
outDir: (0, import_devkit.joinPathFragments)(outDir, "dist", "modern"),
|
|
50
46
|
metafile: true,
|
|
51
|
-
minify: !debug ? "terser" : false,
|
|
52
|
-
terserOptions: !debug ? {
|
|
53
|
-
mangle: true,
|
|
54
|
-
compress: true,
|
|
55
|
-
format: {
|
|
56
|
-
comments: false
|
|
57
|
-
},
|
|
58
|
-
ecma: 2020,
|
|
59
|
-
keep_classnames: true,
|
|
60
|
-
keep_fnames: true
|
|
61
|
-
} : void 0,
|
|
62
|
-
minifyWhitespace: !debug,
|
|
63
|
-
minifyIdentifiers: !debug,
|
|
64
|
-
minifySyntax: !debug,
|
|
65
47
|
bundle,
|
|
66
48
|
platform,
|
|
67
49
|
dts: true,
|
|
68
50
|
sourcemap: debug,
|
|
69
|
-
|
|
70
|
-
|
|
51
|
+
clean: false,
|
|
52
|
+
esbuildPlugins: [(0, import_esbuild_plugin_file_path_extensions.esbuildPluginFilePathExtensions)({ esmExtension: "js" })]
|
|
71
53
|
};
|
|
72
54
|
}
|
|
73
|
-
function legacyConfig(entry, outDir,
|
|
55
|
+
function legacyConfig(entry, outDir, tsconfig = "tsconfig.json", debug = false, bundle = true, platform = "neutral", options = {}) {
|
|
74
56
|
return {
|
|
75
57
|
...options,
|
|
76
58
|
entry,
|
|
77
|
-
|
|
78
|
-
treeshake: {
|
|
79
|
-
moduleSideEffects: ["src"],
|
|
80
|
-
preset: "recommended"
|
|
81
|
-
},
|
|
82
|
-
format: ["esm", "cjs"],
|
|
59
|
+
format: ["cjs", "esm"],
|
|
83
60
|
target: ["es2022", "node18"],
|
|
84
|
-
tsconfig
|
|
85
|
-
outDir: (0, import_devkit.joinPathFragments)(outDir, "
|
|
61
|
+
tsconfig,
|
|
62
|
+
outDir: (0, import_devkit.joinPathFragments)(outDir, "dist", "legacy"),
|
|
86
63
|
metafile: true,
|
|
87
|
-
minify: !debug ? "terser" : false,
|
|
88
|
-
terserOptions: !debug ? {
|
|
89
|
-
mangle: true,
|
|
90
|
-
compress: true,
|
|
91
|
-
format: {
|
|
92
|
-
comments: false
|
|
93
|
-
},
|
|
94
|
-
ecma: 2020,
|
|
95
|
-
keep_classnames: false,
|
|
96
|
-
keep_fnames: true,
|
|
97
|
-
safari10: true
|
|
98
|
-
} : void 0,
|
|
99
|
-
minifyWhitespace: !debug,
|
|
100
|
-
minifyIdentifiers: !debug,
|
|
101
|
-
minifySyntax: !debug,
|
|
102
64
|
bundle,
|
|
103
65
|
platform,
|
|
104
66
|
dts: true,
|
|
105
67
|
sourcemap: debug,
|
|
106
|
-
|
|
107
|
-
|
|
68
|
+
clean: false,
|
|
69
|
+
esbuildPlugins: [(0, import_esbuild_plugin_file_path_extensions.esbuildPluginFilePathExtensions)({ esmExtension: "js" })]
|
|
108
70
|
};
|
|
109
71
|
}
|
|
110
72
|
function getConfig(sourceRoot, {
|
|
@@ -186823,6 +186823,29 @@ async function nodeLibraryGenerator(tree, schema) {
|
|
|
186823
186823
|
(0, import_js.addTsConfigPath)(tree, (0, import_devkit2.joinPathFragments)(options.importPath, "/*"), [
|
|
186824
186824
|
(0, import_devkit2.joinPathFragments)(options.projectRoot, "./src", "/*")
|
|
186825
186825
|
]);
|
|
186826
|
+
if (tree.exists("package.json")) {
|
|
186827
|
+
const packageJson = (0, import_devkit2.readJson)(tree, "package.json");
|
|
186828
|
+
packageJson?.repository && (repository = packageJson.repository);
|
|
186829
|
+
packageJson?.description && (description = packageJson.description);
|
|
186830
|
+
}
|
|
186831
|
+
const tsconfigPath = (0, import_devkit2.joinPathFragments)(options.projectRoot, "tsconfig.json");
|
|
186832
|
+
if (tree.exists(tsconfigPath)) {
|
|
186833
|
+
(0, import_devkit2.updateJson)(tree, tsconfigPath, (json) => {
|
|
186834
|
+
json.composite ??= true;
|
|
186835
|
+
return json;
|
|
186836
|
+
});
|
|
186837
|
+
} else {
|
|
186838
|
+
(0, import_devkit2.writeJson)(tree, tsconfigPath, {
|
|
186839
|
+
extends: `${(0, import_devkit2.offsetFromRoot)(options.projectRoot)}tsconfig.base.json`,
|
|
186840
|
+
composite: true,
|
|
186841
|
+
compilerOptions: {
|
|
186842
|
+
outDir: `${(0, import_devkit2.offsetFromRoot)(options.projectRoot)}dist/out-tsc`
|
|
186843
|
+
},
|
|
186844
|
+
files: [],
|
|
186845
|
+
include: ["src/**/*.ts", "src/**/*.js"],
|
|
186846
|
+
exclude: ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"]
|
|
186847
|
+
});
|
|
186848
|
+
}
|
|
186826
186849
|
const lintCallback = await addLint(tree, options);
|
|
186827
186850
|
tasks.push(lintCallback);
|
|
186828
186851
|
await (0, import_devkit2.formatFiles)(tree);
|