@storm-software/workspace-tools 1.6.34 → 1.6.36
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 -90
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/executors/tsup/executor.js +22 -45
- package/src/executors/tsup/get-config.js +11 -35
- package/src/generators/init/init.js +1 -0
- package/src/generators/node-library/generator.js +23 -90
- package/src/generators/preset/files/.vscode/settings.json +10 -0
- package/src/generators/preset/generator.js +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## [1.6.35](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.6.34...workspace-tools-v1.6.35) (2023-11-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **workspace-tools:** Further required updates to the tsup config ([d075188](https://github.com/storm-software/storm-ops/commit/d07518857d56eff163f70118e955c6d5348ef2cf))
|
|
7
|
+
* **workspace-tools:** Included funding in package.json of monorepo packages ([338677c](https://github.com/storm-software/storm-ops/commit/338677ce3ec9ca3179de732c96795db39fbb34a3))
|
|
8
|
+
* **workspace-tools:** Remove unneeded plugin from tsup config ([e205c7a](https://github.com/storm-software/storm-ops/commit/e205c7a9ec94b09e03a8b3ced2369c03c3c26e97))
|
|
9
|
+
|
|
10
|
+
## [1.6.34](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.6.33...workspace-tools-v1.6.34) (2023-11-15)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **workspace-tools:** Remove .d.ts from extensions config ([fd342ce](https://github.com/storm-software/storm-ops/commit/fd342cee8fa5d1ed3f4ffb2a5d25e1c8f554f7e2))
|
|
16
|
+
|
|
1
17
|
## [1.6.33](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.6.32...workspace-tools-v1.6.33) (2023-11-15)
|
|
2
18
|
|
|
3
19
|
|
package/index.js
CHANGED
|
@@ -186677,6 +186677,7 @@ async function stormInitGenerator(tree, schema) {
|
|
|
186677
186677
|
{
|
|
186678
186678
|
"nx": nxVersion,
|
|
186679
186679
|
"@nx/workspace": nxVersion,
|
|
186680
|
+
"terser": "^5.24.0",
|
|
186680
186681
|
"@storm-software/testing-tools": "latest",
|
|
186681
186682
|
"@storm-software/git-tools": "latest",
|
|
186682
186683
|
"@storm-software/linting-tools": "latest"
|
|
@@ -186822,39 +186823,14 @@ async function nodeLibraryGenerator(tree, schema) {
|
|
|
186822
186823
|
buildable: options.bundler && options.bundler !== "none",
|
|
186823
186824
|
hasUnitTestRunner: options.unitTestRunner !== "none"
|
|
186824
186825
|
});
|
|
186825
|
-
let bugs = {
|
|
186826
|
-
url: "https://stormsoftware.org/support",
|
|
186827
|
-
email: "support@stormsoftware.org"
|
|
186828
|
-
};
|
|
186829
186826
|
let repository = {
|
|
186830
186827
|
type: "github",
|
|
186831
186828
|
url: "https://github.com/storm-software/storm-stack.git"
|
|
186832
186829
|
};
|
|
186833
|
-
let homepage = "https://stormsoftware.org";
|
|
186834
|
-
let license = "Apache License 2.0";
|
|
186835
|
-
let author = {
|
|
186836
|
-
"name": "Storm Software",
|
|
186837
|
-
"email": "contact@stormsoftware.org",
|
|
186838
|
-
"url": "https://stormsoftware.org"
|
|
186839
|
-
};
|
|
186840
|
-
let keywords = [
|
|
186841
|
-
"storm",
|
|
186842
|
-
"storm-ops",
|
|
186843
|
-
"stormstack",
|
|
186844
|
-
"storm-stack",
|
|
186845
|
-
"sullivanpj",
|
|
186846
|
-
"open-system",
|
|
186847
|
-
"monorepo"
|
|
186848
|
-
];
|
|
186849
186830
|
let description = "\u26A1 A Storm package used to create modern, scalable web applications.";
|
|
186850
186831
|
if (tree.exists("package.json")) {
|
|
186851
186832
|
const packageJson = (0, import_devkit5.readJson)(tree, "package.json");
|
|
186852
|
-
packageJson?.bugs && (bugs = packageJson.bugs);
|
|
186853
186833
|
packageJson?.repository && (repository = packageJson.repository);
|
|
186854
|
-
packageJson?.homepage && (homepage = packageJson.homepage);
|
|
186855
|
-
packageJson?.license && (license = packageJson.license);
|
|
186856
|
-
packageJson?.author && (author = packageJson.author);
|
|
186857
|
-
packageJson?.keywords && (keywords = packageJson.keywords);
|
|
186858
186834
|
packageJson?.description && (description = packageJson.description);
|
|
186859
186835
|
}
|
|
186860
186836
|
const packageJsonPath = (0, import_devkit5.joinPathFragments)(
|
|
@@ -186872,41 +186848,11 @@ async function nodeLibraryGenerator(tree, schema) {
|
|
|
186872
186848
|
...json,
|
|
186873
186849
|
version: "0.0.1",
|
|
186874
186850
|
description,
|
|
186875
|
-
bugs,
|
|
186876
186851
|
repository: {
|
|
186877
186852
|
...repository,
|
|
186878
186853
|
directory: options.projectRoot
|
|
186879
186854
|
},
|
|
186880
|
-
homepage,
|
|
186881
|
-
license,
|
|
186882
|
-
author,
|
|
186883
|
-
keywords,
|
|
186884
|
-
files: [
|
|
186885
|
-
(0, import_devkit5.joinPathFragments)(
|
|
186886
|
-
(0, import_devkit5.offsetFromRoot)(options.projectRoot),
|
|
186887
|
-
"dist",
|
|
186888
|
-
options.projectRoot,
|
|
186889
|
-
"src"
|
|
186890
|
-
)
|
|
186891
|
-
],
|
|
186892
186855
|
type: "module",
|
|
186893
|
-
types: "build/legacy/index.d.ts",
|
|
186894
|
-
main: "build/legacy/index.cjs",
|
|
186895
|
-
module: "build/legacy/index.js",
|
|
186896
|
-
exports: {
|
|
186897
|
-
".": {
|
|
186898
|
-
import: {
|
|
186899
|
-
types: "./build/modern/index.d.ts",
|
|
186900
|
-
default: "./build/modern/index.js"
|
|
186901
|
-
},
|
|
186902
|
-
require: {
|
|
186903
|
-
types: "./build/modern/index.d.cts",
|
|
186904
|
-
default: "./build/modern/index.cjs"
|
|
186905
|
-
}
|
|
186906
|
-
},
|
|
186907
|
-
"./package.json": "./package.json"
|
|
186908
|
-
},
|
|
186909
|
-
sideEffects: false,
|
|
186910
186856
|
dependencies: {
|
|
186911
186857
|
...json.dependencies
|
|
186912
186858
|
},
|
|
@@ -186920,47 +186866,12 @@ async function nodeLibraryGenerator(tree, schema) {
|
|
|
186920
186866
|
name: options.importPath,
|
|
186921
186867
|
version: "0.0.1",
|
|
186922
186868
|
description,
|
|
186923
|
-
bugs,
|
|
186924
186869
|
repository: {
|
|
186925
186870
|
...repository,
|
|
186926
186871
|
directory: options.projectRoot
|
|
186927
186872
|
},
|
|
186928
|
-
homepage,
|
|
186929
|
-
license,
|
|
186930
|
-
author,
|
|
186931
|
-
keywords,
|
|
186932
186873
|
private: !options.publishable || options.rootProject,
|
|
186933
|
-
files: [
|
|
186934
|
-
(0, import_devkit5.joinPathFragments)(
|
|
186935
|
-
(0, import_devkit5.offsetFromRoot)(options.projectRoot),
|
|
186936
|
-
"dist",
|
|
186937
|
-
options.projectRoot,
|
|
186938
|
-
"src"
|
|
186939
|
-
)
|
|
186940
|
-
],
|
|
186941
186874
|
type: "module",
|
|
186942
|
-
types: "build/legacy/index.d.ts",
|
|
186943
|
-
main: "build/legacy/index.cjs",
|
|
186944
|
-
module: "build/legacy/index.js",
|
|
186945
|
-
exports: {
|
|
186946
|
-
".": {
|
|
186947
|
-
import: {
|
|
186948
|
-
types: "./build/modern/index.d.ts",
|
|
186949
|
-
default: "./build/modern/index.js"
|
|
186950
|
-
},
|
|
186951
|
-
require: {
|
|
186952
|
-
types: "./build/modern/index.d.cts",
|
|
186953
|
-
default: "./build/modern/index.cjs"
|
|
186954
|
-
}
|
|
186955
|
-
},
|
|
186956
|
-
"./package.json": "./package.json"
|
|
186957
|
-
},
|
|
186958
|
-
sideEffects: false,
|
|
186959
|
-
devDependencies: {
|
|
186960
|
-
"@storm-software/workspace-tools": "latest",
|
|
186961
|
-
"@storm-software/testing-tools": "latest",
|
|
186962
|
-
"@types/node": typesNodeVersion
|
|
186963
|
-
},
|
|
186964
186875
|
publishConfig: {
|
|
186965
186876
|
access: "public"
|
|
186966
186877
|
}
|
|
@@ -186988,6 +186899,29 @@ async function nodeLibraryGenerator(tree, schema) {
|
|
|
186988
186899
|
(0, import_js2.addTsConfigPath)(tree, (0, import_devkit5.joinPathFragments)(options.importPath, "/*"), [
|
|
186989
186900
|
(0, import_devkit5.joinPathFragments)(options.projectRoot, "./src", "/*")
|
|
186990
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
|
+
}
|
|
186991
186925
|
const lintCallback = await addLint(tree, options);
|
|
186992
186926
|
tasks.push(lintCallback);
|
|
186993
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":3725,"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":6901,"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":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.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":11766,"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":8541,"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":491},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":582},"packages/workspace-tools/src/generators/node-library/generator.ts":{"bytesInOutput":10624},"packages/workspace-tools/src/generators/node-library/normalize-options.ts":{"bytesInOutput":1778},"packages/workspace-tools/src/generators/preset/generator.ts":{"bytesInOutput":44}},"bytes":8788059},"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":5983},"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":3346}},"bytes":11869},"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":3562}},"bytes":4544},"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.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":10864},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":60},"packages/workspace-tools/src/generators/node-library/normalize-options.ts":{"bytesInOutput":1775}},"bytes":8784718},"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":8311},"packages/workspace-tools/src/utils/versions.ts":{"bytesInOutput":91}},"bytes":9963},"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":3486,"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":2883}},"bytes":11466},"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":3099}},"bytes":4081},"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
|
@@ -80,7 +80,7 @@ var applyWorkspaceTokens = (option, config) => {
|
|
|
80
80
|
var import_devkit = require("@nx/devkit");
|
|
81
81
|
var import_esbuild_plugin_file_path_extensions = require("esbuild-plugin-file-path-extensions");
|
|
82
82
|
var import_tsup = require("tsup");
|
|
83
|
-
function modernConfig(entry, outDir,
|
|
83
|
+
function modernConfig(entry, outDir, tsconfig = "tsconfig.json", debug = false, bundle = true, platform = "neutral", options = {}) {
|
|
84
84
|
return {
|
|
85
85
|
...options,
|
|
86
86
|
entry,
|
|
@@ -99,19 +99,18 @@ function modernConfig(entry, outDir, tsConfig = "tsconfig.json", debug = false,
|
|
|
99
99
|
"opera77",
|
|
100
100
|
"esnext"
|
|
101
101
|
] : ["esnext", "edge91", "node18"],
|
|
102
|
-
tsconfig
|
|
103
|
-
outDir: (0, import_devkit.joinPathFragments)(outDir, "
|
|
102
|
+
tsconfig,
|
|
103
|
+
outDir: (0, import_devkit.joinPathFragments)(outDir, "dist", "modern"),
|
|
104
104
|
metafile: true,
|
|
105
105
|
minify: !debug ? "terser" : false,
|
|
106
106
|
terserOptions: !debug ? {
|
|
107
107
|
mangle: true,
|
|
108
|
-
module: true,
|
|
109
108
|
compress: true,
|
|
110
109
|
format: {
|
|
111
110
|
comments: false
|
|
112
111
|
},
|
|
113
112
|
ecma: 2020,
|
|
114
|
-
keep_classnames:
|
|
113
|
+
keep_classnames: true,
|
|
115
114
|
keep_fnames: true
|
|
116
115
|
} : void 0,
|
|
117
116
|
minifyWhitespace: !debug,
|
|
@@ -121,18 +120,11 @@ function modernConfig(entry, outDir, tsConfig = "tsconfig.json", debug = false,
|
|
|
121
120
|
platform,
|
|
122
121
|
dts: true,
|
|
123
122
|
sourcemap: debug,
|
|
124
|
-
cjsInterop: true,
|
|
125
123
|
clean: false,
|
|
126
|
-
|
|
127
|
-
esbuildPlugins: [
|
|
128
|
-
(0, import_esbuild_plugin_file_path_extensions.esbuildPluginFilePathExtensions)({
|
|
129
|
-
esmExtension: "js",
|
|
130
|
-
cjsExtension: "cjs"
|
|
131
|
-
})
|
|
132
|
-
]
|
|
124
|
+
esbuildPlugins: [(0, import_esbuild_plugin_file_path_extensions.esbuildPluginFilePathExtensions)({ esmExtension: "js" })]
|
|
133
125
|
};
|
|
134
126
|
}
|
|
135
|
-
function legacyConfig(entry, outDir,
|
|
127
|
+
function legacyConfig(entry, outDir, tsconfig = "tsconfig.json", debug = false, bundle = true, platform = "neutral", options = {}) {
|
|
136
128
|
return {
|
|
137
129
|
...options,
|
|
138
130
|
entry,
|
|
@@ -143,20 +135,20 @@ function legacyConfig(entry, outDir, tsConfig = "tsconfig.json", debug = false,
|
|
|
143
135
|
},
|
|
144
136
|
format: ["cjs", "esm"],
|
|
145
137
|
target: ["es2022", "node18"],
|
|
146
|
-
tsconfig
|
|
147
|
-
outDir: (0, import_devkit.joinPathFragments)(outDir, "
|
|
138
|
+
tsconfig,
|
|
139
|
+
outDir: (0, import_devkit.joinPathFragments)(outDir, "dist", "legacy"),
|
|
148
140
|
metafile: true,
|
|
149
141
|
minify: !debug ? "terser" : false,
|
|
150
142
|
terserOptions: !debug ? {
|
|
151
143
|
mangle: true,
|
|
152
|
-
module: true,
|
|
153
144
|
compress: true,
|
|
154
145
|
format: {
|
|
155
146
|
comments: false
|
|
156
147
|
},
|
|
157
148
|
ecma: 2020,
|
|
158
149
|
keep_classnames: false,
|
|
159
|
-
keep_fnames: true
|
|
150
|
+
keep_fnames: true,
|
|
151
|
+
safari10: true
|
|
160
152
|
} : void 0,
|
|
161
153
|
minifyWhitespace: !debug,
|
|
162
154
|
minifyIdentifiers: !debug,
|
|
@@ -165,15 +157,8 @@ function legacyConfig(entry, outDir, tsConfig = "tsconfig.json", debug = false,
|
|
|
165
157
|
platform,
|
|
166
158
|
dts: true,
|
|
167
159
|
sourcemap: debug,
|
|
168
|
-
cjsInterop: true,
|
|
169
160
|
clean: false,
|
|
170
|
-
|
|
171
|
-
esbuildPlugins: [
|
|
172
|
-
(0, import_esbuild_plugin_file_path_extensions.esbuildPluginFilePathExtensions)({
|
|
173
|
-
esmExtension: "js",
|
|
174
|
-
cjsExtension: "cjs"
|
|
175
|
-
})
|
|
176
|
-
]
|
|
161
|
+
esbuildPlugins: [(0, import_esbuild_plugin_file_path_extensions.esbuildPluginFilePathExtensions)({ esmExtension: "js" })]
|
|
177
162
|
};
|
|
178
163
|
}
|
|
179
164
|
function getConfig(sourceRoot, {
|
|
@@ -195,15 +180,6 @@ function getConfig(sourceRoot, {
|
|
|
195
180
|
legacyConfig(entry, outputPath, tsConfig, debug, bundle, platform, options)
|
|
196
181
|
]);
|
|
197
182
|
}
|
|
198
|
-
var esbuildOptions = (options, context) => {
|
|
199
|
-
if (context.format === "esm") {
|
|
200
|
-
options.outExtension = {
|
|
201
|
-
".js": ".js"
|
|
202
|
-
};
|
|
203
|
-
} else if (context.format === "cjs") {
|
|
204
|
-
options.outExtension = { ".js": ".cjs" };
|
|
205
|
-
}
|
|
206
|
-
};
|
|
207
183
|
|
|
208
184
|
// packages/workspace-tools/src/executors/tsup/executor.ts
|
|
209
185
|
async function runExecutor(options, context) {
|
|
@@ -292,24 +268,25 @@ async function runExecutor(options, context) {
|
|
|
292
268
|
}
|
|
293
269
|
});
|
|
294
270
|
packageJson.type ??= "module";
|
|
295
|
-
packageJson.exports
|
|
271
|
+
packageJson.exports ??= {
|
|
296
272
|
".": {
|
|
297
273
|
"import": {
|
|
298
|
-
"types": "./
|
|
299
|
-
"default": "./
|
|
274
|
+
"types": "./dist/modern/index.d.ts",
|
|
275
|
+
"default": "./dist/modern/index.js"
|
|
300
276
|
},
|
|
301
277
|
"require": {
|
|
302
|
-
"types": "./
|
|
303
|
-
"default": "./
|
|
278
|
+
"types": "./dist/modern/index.d.cts",
|
|
279
|
+
"default": "./dist/modern/index.cjs"
|
|
304
280
|
}
|
|
305
281
|
},
|
|
306
282
|
"./package.json": "./package.json"
|
|
307
283
|
};
|
|
308
|
-
packageJson.
|
|
309
|
-
packageJson.
|
|
310
|
-
packageJson.
|
|
284
|
+
packageJson.funding ??= workspacePackageJson.funding;
|
|
285
|
+
packageJson.main ??= "dist/legacy/index.cjs";
|
|
286
|
+
packageJson.module ??= "dist/legacy/index.js";
|
|
287
|
+
packageJson.types ??= "dist/legacy/index.d.ts";
|
|
311
288
|
packageJson.sideEffects ??= false;
|
|
312
|
-
packageJson.files ??= ["
|
|
289
|
+
packageJson.files ??= ["dist", "src"];
|
|
313
290
|
packageJson.publishConfig ??= {
|
|
314
291
|
"access": "public"
|
|
315
292
|
};
|
|
@@ -320,7 +297,7 @@ async function runExecutor(options, context) {
|
|
|
320
297
|
packageJson.license ??= workspacePackageJson.license;
|
|
321
298
|
packageJson.keywords ??= workspacePackageJson.keywords;
|
|
322
299
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
323
|
-
packageJson.repository.directory
|
|
300
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : `packages/${context.projectName}`;
|
|
324
301
|
(0, import_devkit2.writeJsonFile)(`${options.outputPath}/package.json`, packageJson);
|
|
325
302
|
console.log("Getting Tsup build config");
|
|
326
303
|
const config = getConfig(sourceRoot, { ...options, outputPath });
|
|
@@ -27,7 +27,7 @@ module.exports = __toCommonJS(get_config_exports);
|
|
|
27
27
|
var import_devkit = require("@nx/devkit");
|
|
28
28
|
var import_esbuild_plugin_file_path_extensions = require("esbuild-plugin-file-path-extensions");
|
|
29
29
|
var import_tsup = require("tsup");
|
|
30
|
-
function modernConfig(entry, outDir,
|
|
30
|
+
function modernConfig(entry, outDir, tsconfig = "tsconfig.json", debug = false, bundle = true, platform = "neutral", options = {}) {
|
|
31
31
|
return {
|
|
32
32
|
...options,
|
|
33
33
|
entry,
|
|
@@ -46,19 +46,18 @@ function modernConfig(entry, outDir, tsConfig = "tsconfig.json", debug = false,
|
|
|
46
46
|
"opera77",
|
|
47
47
|
"esnext"
|
|
48
48
|
] : ["esnext", "edge91", "node18"],
|
|
49
|
-
tsconfig
|
|
50
|
-
outDir: (0, import_devkit.joinPathFragments)(outDir, "
|
|
49
|
+
tsconfig,
|
|
50
|
+
outDir: (0, import_devkit.joinPathFragments)(outDir, "dist", "modern"),
|
|
51
51
|
metafile: true,
|
|
52
52
|
minify: !debug ? "terser" : false,
|
|
53
53
|
terserOptions: !debug ? {
|
|
54
54
|
mangle: true,
|
|
55
|
-
module: true,
|
|
56
55
|
compress: true,
|
|
57
56
|
format: {
|
|
58
57
|
comments: false
|
|
59
58
|
},
|
|
60
59
|
ecma: 2020,
|
|
61
|
-
keep_classnames:
|
|
60
|
+
keep_classnames: true,
|
|
62
61
|
keep_fnames: true
|
|
63
62
|
} : void 0,
|
|
64
63
|
minifyWhitespace: !debug,
|
|
@@ -68,18 +67,11 @@ function modernConfig(entry, outDir, tsConfig = "tsconfig.json", debug = false,
|
|
|
68
67
|
platform,
|
|
69
68
|
dts: true,
|
|
70
69
|
sourcemap: debug,
|
|
71
|
-
cjsInterop: true,
|
|
72
70
|
clean: false,
|
|
73
|
-
|
|
74
|
-
esbuildPlugins: [
|
|
75
|
-
(0, import_esbuild_plugin_file_path_extensions.esbuildPluginFilePathExtensions)({
|
|
76
|
-
esmExtension: "js",
|
|
77
|
-
cjsExtension: "cjs"
|
|
78
|
-
})
|
|
79
|
-
]
|
|
71
|
+
esbuildPlugins: [(0, import_esbuild_plugin_file_path_extensions.esbuildPluginFilePathExtensions)({ esmExtension: "js" })]
|
|
80
72
|
};
|
|
81
73
|
}
|
|
82
|
-
function legacyConfig(entry, outDir,
|
|
74
|
+
function legacyConfig(entry, outDir, tsconfig = "tsconfig.json", debug = false, bundle = true, platform = "neutral", options = {}) {
|
|
83
75
|
return {
|
|
84
76
|
...options,
|
|
85
77
|
entry,
|
|
@@ -90,20 +82,20 @@ function legacyConfig(entry, outDir, tsConfig = "tsconfig.json", debug = false,
|
|
|
90
82
|
},
|
|
91
83
|
format: ["cjs", "esm"],
|
|
92
84
|
target: ["es2022", "node18"],
|
|
93
|
-
tsconfig
|
|
94
|
-
outDir: (0, import_devkit.joinPathFragments)(outDir, "
|
|
85
|
+
tsconfig,
|
|
86
|
+
outDir: (0, import_devkit.joinPathFragments)(outDir, "dist", "legacy"),
|
|
95
87
|
metafile: true,
|
|
96
88
|
minify: !debug ? "terser" : false,
|
|
97
89
|
terserOptions: !debug ? {
|
|
98
90
|
mangle: true,
|
|
99
|
-
module: true,
|
|
100
91
|
compress: true,
|
|
101
92
|
format: {
|
|
102
93
|
comments: false
|
|
103
94
|
},
|
|
104
95
|
ecma: 2020,
|
|
105
96
|
keep_classnames: false,
|
|
106
|
-
keep_fnames: true
|
|
97
|
+
keep_fnames: true,
|
|
98
|
+
safari10: true
|
|
107
99
|
} : void 0,
|
|
108
100
|
minifyWhitespace: !debug,
|
|
109
101
|
minifyIdentifiers: !debug,
|
|
@@ -112,15 +104,8 @@ function legacyConfig(entry, outDir, tsConfig = "tsconfig.json", debug = false,
|
|
|
112
104
|
platform,
|
|
113
105
|
dts: true,
|
|
114
106
|
sourcemap: debug,
|
|
115
|
-
cjsInterop: true,
|
|
116
107
|
clean: false,
|
|
117
|
-
|
|
118
|
-
esbuildPlugins: [
|
|
119
|
-
(0, import_esbuild_plugin_file_path_extensions.esbuildPluginFilePathExtensions)({
|
|
120
|
-
esmExtension: "js",
|
|
121
|
-
cjsExtension: "cjs"
|
|
122
|
-
})
|
|
123
|
-
]
|
|
108
|
+
esbuildPlugins: [(0, import_esbuild_plugin_file_path_extensions.esbuildPluginFilePathExtensions)({ esmExtension: "js" })]
|
|
124
109
|
};
|
|
125
110
|
}
|
|
126
111
|
function getConfig(sourceRoot, {
|
|
@@ -142,15 +127,6 @@ function getConfig(sourceRoot, {
|
|
|
142
127
|
legacyConfig(entry, outputPath, tsConfig, debug, bundle, platform, options)
|
|
143
128
|
]);
|
|
144
129
|
}
|
|
145
|
-
var esbuildOptions = (options, context) => {
|
|
146
|
-
if (context.format === "esm") {
|
|
147
|
-
options.outExtension = {
|
|
148
|
-
".js": ".js"
|
|
149
|
-
};
|
|
150
|
-
} else if (context.format === "cjs") {
|
|
151
|
-
options.outExtension = { ".js": ".cjs" };
|
|
152
|
-
}
|
|
153
|
-
};
|
|
154
130
|
// Annotate the CommonJS export names for ESM import in node:
|
|
155
131
|
0 && (module.exports = {
|
|
156
132
|
getConfig,
|
|
@@ -35,6 +35,7 @@ async function stormInitGenerator(tree, schema) {
|
|
|
35
35
|
{
|
|
36
36
|
"nx": nxVersion,
|
|
37
37
|
"@nx/workspace": nxVersion,
|
|
38
|
+
"terser": "^5.24.0",
|
|
38
39
|
"@storm-software/testing-tools": "latest",
|
|
39
40
|
"@storm-software/git-tools": "latest",
|
|
40
41
|
"@storm-software/linting-tools": "latest"
|
|
@@ -186747,39 +186747,14 @@ async function nodeLibraryGenerator(tree, schema) {
|
|
|
186747
186747
|
buildable: options.bundler && options.bundler !== "none",
|
|
186748
186748
|
hasUnitTestRunner: options.unitTestRunner !== "none"
|
|
186749
186749
|
});
|
|
186750
|
-
let bugs = {
|
|
186751
|
-
url: "https://stormsoftware.org/support",
|
|
186752
|
-
email: "support@stormsoftware.org"
|
|
186753
|
-
};
|
|
186754
186750
|
let repository = {
|
|
186755
186751
|
type: "github",
|
|
186756
186752
|
url: "https://github.com/storm-software/storm-stack.git"
|
|
186757
186753
|
};
|
|
186758
|
-
let homepage = "https://stormsoftware.org";
|
|
186759
|
-
let license = "Apache License 2.0";
|
|
186760
|
-
let author = {
|
|
186761
|
-
"name": "Storm Software",
|
|
186762
|
-
"email": "contact@stormsoftware.org",
|
|
186763
|
-
"url": "https://stormsoftware.org"
|
|
186764
|
-
};
|
|
186765
|
-
let keywords = [
|
|
186766
|
-
"storm",
|
|
186767
|
-
"storm-ops",
|
|
186768
|
-
"stormstack",
|
|
186769
|
-
"storm-stack",
|
|
186770
|
-
"sullivanpj",
|
|
186771
|
-
"open-system",
|
|
186772
|
-
"monorepo"
|
|
186773
|
-
];
|
|
186774
186754
|
let description = "\u26A1 A Storm package used to create modern, scalable web applications.";
|
|
186775
186755
|
if (tree.exists("package.json")) {
|
|
186776
186756
|
const packageJson = (0, import_devkit2.readJson)(tree, "package.json");
|
|
186777
|
-
packageJson?.bugs && (bugs = packageJson.bugs);
|
|
186778
186757
|
packageJson?.repository && (repository = packageJson.repository);
|
|
186779
|
-
packageJson?.homepage && (homepage = packageJson.homepage);
|
|
186780
|
-
packageJson?.license && (license = packageJson.license);
|
|
186781
|
-
packageJson?.author && (author = packageJson.author);
|
|
186782
|
-
packageJson?.keywords && (keywords = packageJson.keywords);
|
|
186783
186758
|
packageJson?.description && (description = packageJson.description);
|
|
186784
186759
|
}
|
|
186785
186760
|
const packageJsonPath = (0, import_devkit2.joinPathFragments)(
|
|
@@ -186797,41 +186772,11 @@ async function nodeLibraryGenerator(tree, schema) {
|
|
|
186797
186772
|
...json,
|
|
186798
186773
|
version: "0.0.1",
|
|
186799
186774
|
description,
|
|
186800
|
-
bugs,
|
|
186801
186775
|
repository: {
|
|
186802
186776
|
...repository,
|
|
186803
186777
|
directory: options.projectRoot
|
|
186804
186778
|
},
|
|
186805
|
-
homepage,
|
|
186806
|
-
license,
|
|
186807
|
-
author,
|
|
186808
|
-
keywords,
|
|
186809
|
-
files: [
|
|
186810
|
-
(0, import_devkit2.joinPathFragments)(
|
|
186811
|
-
(0, import_devkit2.offsetFromRoot)(options.projectRoot),
|
|
186812
|
-
"dist",
|
|
186813
|
-
options.projectRoot,
|
|
186814
|
-
"src"
|
|
186815
|
-
)
|
|
186816
|
-
],
|
|
186817
186779
|
type: "module",
|
|
186818
|
-
types: "build/legacy/index.d.ts",
|
|
186819
|
-
main: "build/legacy/index.cjs",
|
|
186820
|
-
module: "build/legacy/index.js",
|
|
186821
|
-
exports: {
|
|
186822
|
-
".": {
|
|
186823
|
-
import: {
|
|
186824
|
-
types: "./build/modern/index.d.ts",
|
|
186825
|
-
default: "./build/modern/index.js"
|
|
186826
|
-
},
|
|
186827
|
-
require: {
|
|
186828
|
-
types: "./build/modern/index.d.cts",
|
|
186829
|
-
default: "./build/modern/index.cjs"
|
|
186830
|
-
}
|
|
186831
|
-
},
|
|
186832
|
-
"./package.json": "./package.json"
|
|
186833
|
-
},
|
|
186834
|
-
sideEffects: false,
|
|
186835
186780
|
dependencies: {
|
|
186836
186781
|
...json.dependencies
|
|
186837
186782
|
},
|
|
@@ -186845,47 +186790,12 @@ async function nodeLibraryGenerator(tree, schema) {
|
|
|
186845
186790
|
name: options.importPath,
|
|
186846
186791
|
version: "0.0.1",
|
|
186847
186792
|
description,
|
|
186848
|
-
bugs,
|
|
186849
186793
|
repository: {
|
|
186850
186794
|
...repository,
|
|
186851
186795
|
directory: options.projectRoot
|
|
186852
186796
|
},
|
|
186853
|
-
homepage,
|
|
186854
|
-
license,
|
|
186855
|
-
author,
|
|
186856
|
-
keywords,
|
|
186857
186797
|
private: !options.publishable || options.rootProject,
|
|
186858
|
-
files: [
|
|
186859
|
-
(0, import_devkit2.joinPathFragments)(
|
|
186860
|
-
(0, import_devkit2.offsetFromRoot)(options.projectRoot),
|
|
186861
|
-
"dist",
|
|
186862
|
-
options.projectRoot,
|
|
186863
|
-
"src"
|
|
186864
|
-
)
|
|
186865
|
-
],
|
|
186866
186798
|
type: "module",
|
|
186867
|
-
types: "build/legacy/index.d.ts",
|
|
186868
|
-
main: "build/legacy/index.cjs",
|
|
186869
|
-
module: "build/legacy/index.js",
|
|
186870
|
-
exports: {
|
|
186871
|
-
".": {
|
|
186872
|
-
import: {
|
|
186873
|
-
types: "./build/modern/index.d.ts",
|
|
186874
|
-
default: "./build/modern/index.js"
|
|
186875
|
-
},
|
|
186876
|
-
require: {
|
|
186877
|
-
types: "./build/modern/index.d.cts",
|
|
186878
|
-
default: "./build/modern/index.cjs"
|
|
186879
|
-
}
|
|
186880
|
-
},
|
|
186881
|
-
"./package.json": "./package.json"
|
|
186882
|
-
},
|
|
186883
|
-
sideEffects: false,
|
|
186884
|
-
devDependencies: {
|
|
186885
|
-
"@storm-software/workspace-tools": "latest",
|
|
186886
|
-
"@storm-software/testing-tools": "latest",
|
|
186887
|
-
"@types/node": typesNodeVersion
|
|
186888
|
-
},
|
|
186889
186799
|
publishConfig: {
|
|
186890
186800
|
access: "public"
|
|
186891
186801
|
}
|
|
@@ -186913,6 +186823,29 @@ async function nodeLibraryGenerator(tree, schema) {
|
|
|
186913
186823
|
(0, import_js.addTsConfigPath)(tree, (0, import_devkit2.joinPathFragments)(options.importPath, "/*"), [
|
|
186914
186824
|
(0, import_devkit2.joinPathFragments)(options.projectRoot, "./src", "/*")
|
|
186915
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
|
+
}
|
|
186916
186849
|
const lintCallback = await addLint(tree, options);
|
|
186917
186850
|
tasks.push(lintCallback);
|
|
186918
186851
|
await (0, import_devkit2.formatFiles)(tree);
|
|
@@ -6,6 +6,16 @@
|
|
|
6
6
|
"relay.rootDirectory": "../",
|
|
7
7
|
"relay.pathToConfig": "@storm-software/graphql-tools/config/relay.config.js",
|
|
8
8
|
|
|
9
|
+
/******************************
|
|
10
|
+
* JSON Schemas
|
|
11
|
+
******************************/
|
|
12
|
+
"json.schemas": [
|
|
13
|
+
{
|
|
14
|
+
"url": "https://cdn.jsdelivr.net/npm/tsup/schema.json",
|
|
15
|
+
"fileMatch": ["package.json", "tsup.config.json"]
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
|
|
9
19
|
/******************************
|
|
10
20
|
* VS Code Search
|
|
11
21
|
******************************/
|
|
@@ -95,6 +95,10 @@ async function generator_default(tree, options) {
|
|
|
95
95
|
email: "contact@stormsoftware.org",
|
|
96
96
|
url: "https://stormsoftware.org"
|
|
97
97
|
};
|
|
98
|
+
json.funding ??= {
|
|
99
|
+
type: "github",
|
|
100
|
+
url: "https://github.com/sponsors/storm-software"
|
|
101
|
+
};
|
|
98
102
|
json.namespace ??= `@${options.namespace}`;
|
|
99
103
|
json.description ??= options.description;
|
|
100
104
|
options.repositoryUrl ??= `https://github.com/${options.organization}/${options.name}}`;
|
|
@@ -226,6 +230,7 @@ async function generator_default(tree, options) {
|
|
|
226
230
|
"ts-jest": "^29.1.1",
|
|
227
231
|
"ts-node": "^10.9.1",
|
|
228
232
|
"tslib": "^2.6.2",
|
|
233
|
+
"terser": "^5.24.0",
|
|
229
234
|
"typescript": typescriptVersion,
|
|
230
235
|
"verdaccio": "^5.27.0"
|
|
231
236
|
};
|