@storm-software/workspace-tools 1.7.9 → 1.7.11
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 +15 -0
- package/index.js +9 -9
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +75 -19
- package/src/executors/tsup/get-config.js +54 -7
- package/src/executors/tsup/schema.d.ts +1 -0
- package/src/executors/tsup/schema.json +5 -0
- package/src/generators/node-library/generator.js +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
## [1.7.10](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.7.9...workspace-tools-v1.7.10) (2023-11-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Prevented empty headers from being added and resolved issue with project.json ([d1a1a5e](https://github.com/storm-software/storm-ops/commit/d1a1a5ec740dcfec1b8de26010bf532ddbcf38a1))
|
|
7
|
+
* **workspace-tools:** Renamed `fileHeading` to `banner` to align with existing ESBuild options ([a4c3ad0](https://github.com/storm-software/storm-ops/commit/a4c3ad08f6af7b2a9342f72083f31b9c6ab92552))
|
|
8
|
+
|
|
9
|
+
## [1.7.9](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.7.8...workspace-tools-v1.7.9) (2023-11-18)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **workspace-tools:** Update the sourceRoot value passed to getConfig in tsup executor ([5220d4d](https://github.com/storm-software/storm-ops/commit/5220d4d946ed01d27cda4ca1f2434eeff93a161c))
|
|
15
|
+
|
|
1
16
|
## [1.7.8](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.7.7...workspace-tools-v1.7.8) (2023-11-18)
|
|
2
17
|
|
|
3
18
|
|
package/index.js
CHANGED
|
@@ -186786,7 +186786,7 @@ async function nodeLibraryGenerator(tree, schema) {
|
|
|
186786
186786
|
(0, import_devkit5.addProjectConfiguration)(tree, options.name, {
|
|
186787
186787
|
root: options.directory,
|
|
186788
186788
|
projectType: "library",
|
|
186789
|
-
sourceRoot:
|
|
186789
|
+
sourceRoot: (0, import_devkit5.joinPathFragments)(options.directory, "src"),
|
|
186790
186790
|
targets: {
|
|
186791
186791
|
build: {
|
|
186792
186792
|
executor: "@storm-software/workspace-tools:tsup",
|
|
@@ -186795,14 +186795,14 @@ async function nodeLibraryGenerator(tree, schema) {
|
|
|
186795
186795
|
outputPath: getOutputPath(options),
|
|
186796
186796
|
tsConfig: (0, import_devkit5.joinPathFragments)(options.projectRoot, "tsconfig.json"),
|
|
186797
186797
|
project: (0, import_devkit5.joinPathFragments)(options.projectRoot, "package.json"),
|
|
186798
|
-
defaultConfiguration: "production"
|
|
186799
|
-
|
|
186800
|
-
|
|
186801
|
-
|
|
186802
|
-
|
|
186803
|
-
|
|
186804
|
-
|
|
186805
|
-
|
|
186798
|
+
defaultConfiguration: "production"
|
|
186799
|
+
},
|
|
186800
|
+
configurations: {
|
|
186801
|
+
production: {
|
|
186802
|
+
debug: false
|
|
186803
|
+
},
|
|
186804
|
+
development: {
|
|
186805
|
+
debug: true
|
|
186806
186806
|
}
|
|
186807
186807
|
}
|
|
186808
186808
|
},
|
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/utils/file-path-utils.ts":{"bytes":415,"imports":[{"path":"node:path","kind":"import-statement","external":true}],"format":"esm"},"packages/workspace-tools/src/executors/tsup/get-config.ts":{"bytes":2909,"imports":[{"path":"@nx/devkit","kind":"import-statement","external":true},{"path":"glob","kind":"import-statement","external":true},{"path":"tsup","kind":"import-statement","external":true},{"path":"packages/workspace-tools/src/utils/file-path-utils.ts","kind":"import-statement","original":"../../utils/file-path-utils"},{"path":"./schema","kind":"import-statement","external":true}],"format":"esm"},"packages/workspace-tools/src/executors/tsup/executor.ts":{"bytes":8891,"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","kind":"import-statement","external":true},{"path":"fs-extra","kind":"import-statement","external":true},{"path":"fs/promises","kind":"import-statement","external":true},{"path":"glob","kind":"import-statement","external":true},{"path":"node:events","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":"prettier","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/file-path-utils.ts","kind":"import-statement","original":"../../utils/file-path-utils"},{"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":630,"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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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":143,"imports":[{"path":"packages/workspace-tools/src/utils/apply-workspace-tokens.ts","kind":"import-statement","original":"./apply-workspace-tokens"},{"path":"packages/workspace-tools/src/utils/file-path-utils.ts","kind":"import-statement","original":"./file-path-utils"},{"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":"glob","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":"prettier","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":"glob","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.96_@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":8625618},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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":478},"packages/workspace-tools/src/utils/get-workspace-root.ts":{"bytesInOutput":81},"packages/workspace-tools/src/executors/tsup/get-config.ts":{"bytesInOutput":113},"packages/workspace-tools/src/generators/init/init.ts":{"bytesInOutput":491},"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":8786582},"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","kind":"require-call","external":true},{"path":"fs-extra","kind":"require-call","external":true},{"path":"fs/promises","kind":"require-call","external":true},{"path":"glob","kind":"require-call","external":true},{"path":"node:events","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":"prettier","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":"glob","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":8151},"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/file-path-utils.ts":{"bytesInOutput":139},"packages/workspace-tools/src/executors/tsup/get-config.ts":{"bytesInOutput":2602}},"bytes":13490},"dist/packages/workspace-tools/src/executors/tsup/get-config.js":{"imports":[{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"glob","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":2805},"packages/workspace-tools/src/utils/file-path-utils.ts":{"bytesInOutput":139}},"bytes":4046},"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":702},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":27}},"bytes":1791},"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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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},{"path":"node:path","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/workspace-tools/src/utils/index.ts","inputs":{"packages/workspace-tools/src/utils/index.ts":{"bytesInOutput":1039},"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/file-path-utils.ts":{"bytesInOutput":371},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":582}},"bytes":5023}}}
|
|
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/utils/file-path-utils.ts":{"bytes":415,"imports":[{"path":"node:path","kind":"import-statement","external":true}],"format":"esm"},"packages/workspace-tools/src/executors/tsup/get-config.ts":{"bytes":3519,"imports":[{"path":"@nx/devkit","kind":"import-statement","external":true},{"path":"glob","kind":"import-statement","external":true},{"path":"tsup","kind":"import-statement","external":true},{"path":"packages/workspace-tools/src/utils/file-path-utils.ts","kind":"import-statement","original":"../../utils/file-path-utils"},{"path":"./schema","kind":"import-statement","external":true}],"format":"esm"},"packages/workspace-tools/src/executors/tsup/executor.ts":{"bytes":9253,"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","kind":"import-statement","external":true},{"path":"fs-extra","kind":"import-statement","external":true},{"path":"fs/promises","kind":"import-statement","external":true},{"path":"glob","kind":"import-statement","external":true},{"path":"node:events","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":"prettier","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/file-path-utils.ts","kind":"import-statement","original":"../../utils/file-path-utils"},{"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":476,"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":630,"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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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":10100,"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.96_@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.96_@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":143,"imports":[{"path":"packages/workspace-tools/src/utils/apply-workspace-tokens.ts","kind":"import-statement","original":"./apply-workspace-tokens"},{"path":"packages/workspace-tools/src/utils/file-path-utils.ts","kind":"import-statement","original":"./file-path-utils"},{"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":"glob","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":"prettier","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":"glob","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.96_@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":8625618},"node_modules/.pnpm/@nx+eslint@17.0.3_@swc-node+register@1.6.8_@swc+core@1.3.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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":478},"packages/workspace-tools/src/utils/get-workspace-root.ts":{"bytesInOutput":81},"packages/workspace-tools/src/executors/tsup/get-config.ts":{"bytesInOutput":113},"packages/workspace-tools/src/generators/init/init.ts":{"bytesInOutput":491},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":582},"packages/workspace-tools/src/generators/node-library/generator.ts":{"bytesInOutput":9057},"packages/workspace-tools/src/generators/node-library/normalize-options.ts":{"bytesInOutput":1778},"packages/workspace-tools/src/generators/preset/generator.ts":{"bytesInOutput":44}},"bytes":8786603},"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","kind":"require-call","external":true},{"path":"fs-extra","kind":"require-call","external":true},{"path":"fs/promises","kind":"require-call","external":true},{"path":"glob","kind":"require-call","external":true},{"path":"node:events","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":"prettier","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":"glob","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":8535},"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/file-path-utils.ts":{"bytesInOutput":139},"packages/workspace-tools/src/executors/tsup/get-config.ts":{"bytesInOutput":2958}},"bytes":14230},"dist/packages/workspace-tools/src/executors/tsup/get-config.js":{"imports":[{"path":"@nx/devkit","kind":"require-call","external":true},{"path":"glob","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":3161},"packages/workspace-tools/src/utils/file-path-utils.ts":{"bytesInOutput":139}},"bytes":4402},"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":702},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":27}},"bytes":1791},"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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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.96_@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":9297},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":60},"packages/workspace-tools/src/generators/node-library/normalize-options.ts":{"bytesInOutput":1775}},"bytes":8783151},"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},{"path":"node:path","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/workspace-tools/src/utils/index.ts","inputs":{"packages/workspace-tools/src/utils/index.ts":{"bytesInOutput":1039},"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/file-path-utils.ts":{"bytesInOutput":371},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":582}},"bytes":5023}}}
|
package/package.json
CHANGED
|
@@ -90,7 +90,16 @@ var removeExtension = (filePath) => {
|
|
|
90
90
|
var import_devkit = require("@nx/devkit");
|
|
91
91
|
var import_glob = require("glob");
|
|
92
92
|
var import_tsup = require("tsup");
|
|
93
|
-
function modernConfig(
|
|
93
|
+
function modernConfig({
|
|
94
|
+
entry,
|
|
95
|
+
outDir,
|
|
96
|
+
tsconfig = "tsconfig.json",
|
|
97
|
+
debug = false,
|
|
98
|
+
external,
|
|
99
|
+
banner = {},
|
|
100
|
+
platform = "node",
|
|
101
|
+
options
|
|
102
|
+
}) {
|
|
94
103
|
return {
|
|
95
104
|
name: "modern",
|
|
96
105
|
entry,
|
|
@@ -110,14 +119,28 @@ function modernConfig(entry, outDir, tsconfig = "tsconfig.json", debug = false,
|
|
|
110
119
|
metafile: true,
|
|
111
120
|
shims: true,
|
|
112
121
|
minify: false,
|
|
122
|
+
external,
|
|
113
123
|
platform,
|
|
114
|
-
|
|
124
|
+
banner,
|
|
125
|
+
dts: {
|
|
126
|
+
entry,
|
|
127
|
+
only: false
|
|
128
|
+
},
|
|
115
129
|
sourcemap: debug,
|
|
116
130
|
clean: false,
|
|
117
131
|
outExtension
|
|
118
132
|
};
|
|
119
133
|
}
|
|
120
|
-
function legacyConfig(
|
|
134
|
+
function legacyConfig({
|
|
135
|
+
entry,
|
|
136
|
+
outDir,
|
|
137
|
+
tsconfig = "tsconfig.json",
|
|
138
|
+
debug = false,
|
|
139
|
+
external,
|
|
140
|
+
banner = {},
|
|
141
|
+
platform = "node",
|
|
142
|
+
options
|
|
143
|
+
}) {
|
|
121
144
|
return {
|
|
122
145
|
name: "legacy",
|
|
123
146
|
entry,
|
|
@@ -129,8 +152,13 @@ function legacyConfig(entry, outDir, tsconfig = "tsconfig.json", debug = false,
|
|
|
129
152
|
metafile: true,
|
|
130
153
|
shims: true,
|
|
131
154
|
minify: false,
|
|
155
|
+
external,
|
|
132
156
|
platform,
|
|
133
|
-
|
|
157
|
+
banner,
|
|
158
|
+
dts: {
|
|
159
|
+
entry,
|
|
160
|
+
only: false
|
|
161
|
+
},
|
|
134
162
|
sourcemap: debug,
|
|
135
163
|
clean: false,
|
|
136
164
|
outExtension
|
|
@@ -140,8 +168,9 @@ function getConfig(sourceRoot, {
|
|
|
140
168
|
outputPath,
|
|
141
169
|
tsConfig,
|
|
142
170
|
debug,
|
|
143
|
-
|
|
171
|
+
banner,
|
|
144
172
|
platform,
|
|
173
|
+
external,
|
|
145
174
|
options,
|
|
146
175
|
additionalEntryPoints
|
|
147
176
|
}) {
|
|
@@ -160,8 +189,26 @@ function getConfig(sourceRoot, {
|
|
|
160
189
|
return ret;
|
|
161
190
|
}, {});
|
|
162
191
|
return (0, import_tsup.defineConfig)([
|
|
163
|
-
modernConfig(
|
|
164
|
-
|
|
192
|
+
modernConfig({
|
|
193
|
+
entry,
|
|
194
|
+
outDir: outputPath,
|
|
195
|
+
tsconfig: tsConfig,
|
|
196
|
+
debug,
|
|
197
|
+
banner,
|
|
198
|
+
platform,
|
|
199
|
+
external,
|
|
200
|
+
options
|
|
201
|
+
}),
|
|
202
|
+
legacyConfig({
|
|
203
|
+
entry,
|
|
204
|
+
outDir: outputPath,
|
|
205
|
+
tsconfig: tsConfig,
|
|
206
|
+
debug,
|
|
207
|
+
banner,
|
|
208
|
+
platform,
|
|
209
|
+
external,
|
|
210
|
+
options
|
|
211
|
+
})
|
|
165
212
|
]);
|
|
166
213
|
}
|
|
167
214
|
var outExtension = ({ options, format: format2, pkgType }) => {
|
|
@@ -303,7 +350,7 @@ async function runExecutor(options, context) {
|
|
|
303
350
|
packageJson.types ??= "dist/legacy/index.d.ts";
|
|
304
351
|
packageJson.main ??= "dist/legacy/index.cjs";
|
|
305
352
|
packageJson.module ??= "dist/legacy/index.js";
|
|
306
|
-
options.platform !== "node" && (packageJson.browser ??= "dist/modern/index.global.js");
|
|
353
|
+
options.platform && options.platform !== "node" && (packageJson.browser ??= "dist/modern/index.global.js");
|
|
307
354
|
packageJson.sideEffects ??= false;
|
|
308
355
|
packageJson.files ??= ["dist", "src"];
|
|
309
356
|
packageJson.publishConfig ??= {
|
|
@@ -340,18 +387,26 @@ async function runExecutor(options, context) {
|
|
|
340
387
|
endOfLine: "lf"
|
|
341
388
|
})
|
|
342
389
|
);
|
|
343
|
-
const
|
|
344
|
-
|
|
345
|
-
(0,
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
390
|
+
const banner = options.banner ? options.banner : process.env.STORM_TS_FILE_HEADING;
|
|
391
|
+
if (banner) {
|
|
392
|
+
const files = (0, import_glob2.globSync)([
|
|
393
|
+
(0, import_devkit2.joinPathFragments)(context.root, outputPath, "src/**/*.ts"),
|
|
394
|
+
(0, import_devkit2.joinPathFragments)(context.root, outputPath, "src/**/*.tsx"),
|
|
395
|
+
(0, import_devkit2.joinPathFragments)(context.root, outputPath, "src/**/*.js"),
|
|
396
|
+
(0, import_devkit2.joinPathFragments)(context.root, outputPath, "src/**/*.jsx")
|
|
397
|
+
]);
|
|
398
|
+
await Promise.allSettled(
|
|
399
|
+
files.map(
|
|
400
|
+
(file) => (0, import_promises.writeFile)(
|
|
401
|
+
file,
|
|
402
|
+
`// ${banner}
|
|
351
403
|
|
|
352
|
-
${(0, import_fs.readFileSync)(file, "utf-8")}`,
|
|
353
|
-
|
|
354
|
-
|
|
404
|
+
${(0, import_fs.readFileSync)(file, "utf-8")}`,
|
|
405
|
+
"utf-8"
|
|
406
|
+
)
|
|
407
|
+
)
|
|
408
|
+
);
|
|
409
|
+
}
|
|
355
410
|
const eventEmitter = new import_node_events.EventEmitter({ captureRejections: true });
|
|
356
411
|
eventEmitter.on("message", (event) => {
|
|
357
412
|
console.log(`\u{1F4E2} Tsup build message:
|
|
@@ -359,6 +414,7 @@ ${(0, import_fs.readFileSync)(file, "utf-8")}`, "utf-8")
|
|
|
359
414
|
});
|
|
360
415
|
const config = getConfig(sourceRoot, {
|
|
361
416
|
...options,
|
|
417
|
+
banner: { js: `// ${banner}`, css: `/* ${banner} */` },
|
|
362
418
|
outputPath
|
|
363
419
|
});
|
|
364
420
|
if (typeof config === "function") {
|
|
@@ -34,7 +34,16 @@ var removeExtension = (filePath) => {
|
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
// packages/workspace-tools/src/executors/tsup/get-config.ts
|
|
37
|
-
function modernConfig(
|
|
37
|
+
function modernConfig({
|
|
38
|
+
entry,
|
|
39
|
+
outDir,
|
|
40
|
+
tsconfig = "tsconfig.json",
|
|
41
|
+
debug = false,
|
|
42
|
+
external,
|
|
43
|
+
banner = {},
|
|
44
|
+
platform = "node",
|
|
45
|
+
options
|
|
46
|
+
}) {
|
|
38
47
|
return {
|
|
39
48
|
name: "modern",
|
|
40
49
|
entry,
|
|
@@ -54,14 +63,28 @@ function modernConfig(entry, outDir, tsconfig = "tsconfig.json", debug = false,
|
|
|
54
63
|
metafile: true,
|
|
55
64
|
shims: true,
|
|
56
65
|
minify: false,
|
|
66
|
+
external,
|
|
57
67
|
platform,
|
|
58
|
-
|
|
68
|
+
banner,
|
|
69
|
+
dts: {
|
|
70
|
+
entry,
|
|
71
|
+
only: false
|
|
72
|
+
},
|
|
59
73
|
sourcemap: debug,
|
|
60
74
|
clean: false,
|
|
61
75
|
outExtension
|
|
62
76
|
};
|
|
63
77
|
}
|
|
64
|
-
function legacyConfig(
|
|
78
|
+
function legacyConfig({
|
|
79
|
+
entry,
|
|
80
|
+
outDir,
|
|
81
|
+
tsconfig = "tsconfig.json",
|
|
82
|
+
debug = false,
|
|
83
|
+
external,
|
|
84
|
+
banner = {},
|
|
85
|
+
platform = "node",
|
|
86
|
+
options
|
|
87
|
+
}) {
|
|
65
88
|
return {
|
|
66
89
|
name: "legacy",
|
|
67
90
|
entry,
|
|
@@ -73,8 +96,13 @@ function legacyConfig(entry, outDir, tsconfig = "tsconfig.json", debug = false,
|
|
|
73
96
|
metafile: true,
|
|
74
97
|
shims: true,
|
|
75
98
|
minify: false,
|
|
99
|
+
external,
|
|
76
100
|
platform,
|
|
77
|
-
|
|
101
|
+
banner,
|
|
102
|
+
dts: {
|
|
103
|
+
entry,
|
|
104
|
+
only: false
|
|
105
|
+
},
|
|
78
106
|
sourcemap: debug,
|
|
79
107
|
clean: false,
|
|
80
108
|
outExtension
|
|
@@ -84,8 +112,9 @@ function getConfig(sourceRoot, {
|
|
|
84
112
|
outputPath,
|
|
85
113
|
tsConfig,
|
|
86
114
|
debug,
|
|
87
|
-
|
|
115
|
+
banner,
|
|
88
116
|
platform,
|
|
117
|
+
external,
|
|
89
118
|
options,
|
|
90
119
|
additionalEntryPoints
|
|
91
120
|
}) {
|
|
@@ -104,8 +133,26 @@ function getConfig(sourceRoot, {
|
|
|
104
133
|
return ret;
|
|
105
134
|
}, {});
|
|
106
135
|
return (0, import_tsup.defineConfig)([
|
|
107
|
-
modernConfig(
|
|
108
|
-
|
|
136
|
+
modernConfig({
|
|
137
|
+
entry,
|
|
138
|
+
outDir: outputPath,
|
|
139
|
+
tsconfig: tsConfig,
|
|
140
|
+
debug,
|
|
141
|
+
banner,
|
|
142
|
+
platform,
|
|
143
|
+
external,
|
|
144
|
+
options
|
|
145
|
+
}),
|
|
146
|
+
legacyConfig({
|
|
147
|
+
entry,
|
|
148
|
+
outDir: outputPath,
|
|
149
|
+
tsconfig: tsConfig,
|
|
150
|
+
debug,
|
|
151
|
+
banner,
|
|
152
|
+
platform,
|
|
153
|
+
external,
|
|
154
|
+
options
|
|
155
|
+
})
|
|
109
156
|
]);
|
|
110
157
|
}
|
|
111
158
|
var outExtension = ({ options, format, pkgType }) => {
|
|
@@ -71,6 +71,11 @@
|
|
|
71
71
|
"enum": ["browser", "node", "neutral"],
|
|
72
72
|
"default": "node"
|
|
73
73
|
},
|
|
74
|
+
"banner": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"description": "A short heading added to the top of each typescript file added in the output folder's src directory.",
|
|
77
|
+
"default": "This code was developed by Storm Software (https://stormsoftware.org) and is licensed under the Apache License 2.0."
|
|
78
|
+
},
|
|
74
79
|
"options": {
|
|
75
80
|
"type": "object",
|
|
76
81
|
"description": "Additional options to pass to tsup. See https://paka.dev/npm/tsup@7.2.0/api#d35d54aca71eb26e.",
|
|
@@ -186709,7 +186709,7 @@ async function nodeLibraryGenerator(tree, schema) {
|
|
|
186709
186709
|
(0, import_devkit2.addProjectConfiguration)(tree, options.name, {
|
|
186710
186710
|
root: options.directory,
|
|
186711
186711
|
projectType: "library",
|
|
186712
|
-
sourceRoot:
|
|
186712
|
+
sourceRoot: (0, import_devkit2.joinPathFragments)(options.directory, "src"),
|
|
186713
186713
|
targets: {
|
|
186714
186714
|
build: {
|
|
186715
186715
|
executor: "@storm-software/workspace-tools:tsup",
|
|
@@ -186718,14 +186718,14 @@ async function nodeLibraryGenerator(tree, schema) {
|
|
|
186718
186718
|
outputPath: getOutputPath(options),
|
|
186719
186719
|
tsConfig: (0, import_devkit2.joinPathFragments)(options.projectRoot, "tsconfig.json"),
|
|
186720
186720
|
project: (0, import_devkit2.joinPathFragments)(options.projectRoot, "package.json"),
|
|
186721
|
-
defaultConfiguration: "production"
|
|
186722
|
-
|
|
186723
|
-
|
|
186724
|
-
|
|
186725
|
-
|
|
186726
|
-
|
|
186727
|
-
|
|
186728
|
-
|
|
186721
|
+
defaultConfiguration: "production"
|
|
186722
|
+
},
|
|
186723
|
+
configurations: {
|
|
186724
|
+
production: {
|
|
186725
|
+
debug: false
|
|
186726
|
+
},
|
|
186727
|
+
development: {
|
|
186728
|
+
debug: true
|
|
186729
186729
|
}
|
|
186730
186730
|
}
|
|
186731
186731
|
},
|