@storm-software/workspace-tools 1.0.1 → 1.1.0
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 +7 -0
- package/README.md +13 -8
- package/generators.json +8 -1
- package/index.d.ts +3 -0
- package/index.js +7 -0
- package/index.js.map +1 -0
- package/package.json +14 -5
- package/src/executors/tsup/executor.d.ts +5 -0
- package/src/executors/tsup/executor.js +114 -0
- package/src/executors/tsup/executor.js.map +1 -0
- package/src/executors/tsup/get-config.d.ts +7 -0
- package/src/executors/tsup/get-config.js +28 -0
- package/src/executors/tsup/get-config.js.map +1 -0
- package/src/executors/tsup/hasher.js.map +1 -0
- package/src/executors/tsup/schema.d.ts +19 -0
- package/src/executors/tsup/schema.json +127 -0
- package/src/generators/init/init.d.ts +4 -0
- package/src/generators/init/init.js +36 -0
- package/src/generators/init/init.js.map +1 -0
- package/src/generators/init/schema.d.ts +3 -0
- package/src/generators/init/schema.json +16 -0
- package/src/generators/preset/files/.env.template +7 -7
- package/src/utils/apply-workspace-tokens.d.ts +2 -0
- package/src/utils/apply-workspace-tokens.js +42 -0
- package/src/utils/apply-workspace-tokens.js.map +1 -0
- package/src/utils/get-workspace-root.d.ts +1 -0
- package/src/utils/get-workspace-root.js +14 -0
- package/src/utils/get-workspace-root.js.map +1 -0
- package/src/utils/versions.d.ts +17 -0
- package/src/executors/build/executor.d.ts +0 -34
- package/src/executors/build/executor.js +0 -51
- package/src/executors/build/executor.js.map +0 -1
- package/src/executors/build/get-config.d.ts +0 -40
- package/src/executors/build/get-config.js +0 -45
- package/src/executors/build/get-config.js.map +0 -1
- package/src/executors/build/hasher.js.map +0 -1
- package/src/executors/build/schema.d.ts +0 -1
- package/src/executors/build/schema.json +0 -9
- package/src/index.d.ts +0 -1
- package/src/index.js +0 -5
- package/src/index.js.map +0 -1
- /package/src/executors/{build → tsup}/hasher.d.ts +0 -0
- /package/src/executors/{build → tsup}/hasher.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.0.1](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.0.0...workspace-tools-v1.0.1) (2023-11-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **git-tools:** Updated default README template files used by readme CLI ([77c7c59](https://github.com/storm-software/storm-ops/commit/77c7c5936b614f7a5d3072254ff8065e70ad4d25))
|
|
7
|
+
|
|
1
8
|
# [1.0.0](https://github.com/storm-software/storm-ops/compare/...workspace-tools-v1.0.0) (2023-11-06)
|
|
2
9
|
|
|
3
10
|
|
package/README.md
CHANGED
|
@@ -9,14 +9,16 @@
|
|
|
9
9
|
<a href="https://stormsoftware.org" target="_blank">Website</a> | <a href="https://stormsoftware.org/contact" target="_blank">Contact</a> | <a href="https://github.com/storm-software/stormstack" target="_blank">Repository</a> | <a href="https://stormstack.github.io/stormstack/" target="_blank">Documentation</a> | <a href="https://github.com/storm-software/stormstack/issues/new?assignees=&labels=bug&template=bug-report.yml&title=Bug Report%3A+">Report a Bug</a> | <a href="https://github.com/storm-software/stormstack/issues/new?assignees=&labels=enhancement&template=feature-request.yml&title=Feature Request%3A+">Request a Feature</a> | <a href="https://github.com/storm-software/stormstack/issues/new?assignees=&labels=documentation&template=documentation.yml&title=Documentation Request%3A+">Request Documentation</a> | <a href="https://github.com/storm-software/stormstack/discussions">Ask a Question</a>
|
|
10
10
|
</div>
|
|
11
11
|
|
|
12
|
-
<br />
|
|
12
|
+
<br />
|
|
13
13
|
This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages include CLI utility applications, tools, and various libraries used to create modern, scalable web applications.
|
|
14
14
|
<br />
|
|
15
15
|
|
|
16
|
-
<
|
|
16
|
+
<h3 align="center">💻 Visit <a href="https://stormsoftware.org" target="_blank">stormsoftware.org</a> to stay up to date with this developer</h3><br />
|
|
17
17
|
|
|
18
18
|
[](https://prettier.io/)
|
|
19
|
-
[](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://docusaurus.io/) 
|
|
20
|
+
|
|
21
|
+
<h3 align="center" bold="true">⚠️ <b>Attention</b> ⚠️ - This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be availible through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.</h3><br />
|
|
20
22
|
|
|
21
23
|
|
|
22
24
|
<!-- markdownlint-restore -->
|
|
@@ -100,15 +102,18 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
100
102
|
<table>
|
|
101
103
|
<tbody>
|
|
102
104
|
<tr>
|
|
103
|
-
<td align="center"><a href="http://www.sullypat.com/"><img src="https://avatars.githubusercontent.com/u/99053093?v=4?s=100" width="100px;" alt="Patrick Sullivan"/><br /><sub><b>Patrick Sullivan</b></sub></a><br /><a href="#design-sullivanpj" title="Design">🎨</a> <a href="https://github.com/storm-software/
|
|
104
|
-
<td align="center"><a href="https://tylerbenning.com/"><img src="https://avatars.githubusercontent.com/u/7265547?v=4?s=100" width="100px;" alt="Tyler Benning"/><br /><sub><b>Tyler Benning</b></sub></a><br /><a href="#design-tbenning" title="Design">🎨</a></td>
|
|
105
|
+
<td align="center" valign="top" width="14.28%"><a href="http://www.sullypat.com/"><img src="https://avatars.githubusercontent.com/u/99053093?v=4?s=100" width="100px;" alt="Patrick Sullivan"/><br /><sub><b>Patrick Sullivan</b></sub></a><br /><a href="#design-sullivanpj" title="Design">🎨</a> <a href="https://github.com/storm-software/storm-ops/commits?author=sullivanpj" title="Code">💻</a> <a href="#tool-sullivanpj" title="Tools">🔧</a> <a href="https://github.com/storm-software/storm-ops/commits?author=sullivanpj" title="Documentation">📖</a> <a href="https://github.com/storm-software/storm-ops/commits?author=sullivanpj" title="Tests">⚠️</a></td>
|
|
106
|
+
<td align="center" valign="top" width="14.28%"><a href="https://tylerbenning.com/"><img src="https://avatars.githubusercontent.com/u/7265547?v=4?s=100" width="100px;" alt="Tyler Benning"/><br /><sub><b>Tyler Benning</b></sub></a><br /><a href="#design-tbenning" title="Design">🎨</a></td>
|
|
107
|
+
<td align="center" valign="top" width="14.28%"><a href="http://stormsoftware.org"><img src="https://avatars.githubusercontent.com/u/149802440?v=4?s=100" width="100px;" alt="Stormie"/><br /><sub><b>Stormie</b></sub></a><br /><a href="#maintenance-stormie-bot" title="Maintenance">🚧</a></td>
|
|
105
108
|
</tr>
|
|
106
109
|
</tbody>
|
|
107
110
|
<tfoot>
|
|
108
111
|
<tr>
|
|
109
112
|
<td align="center" size="13px" colspan="7">
|
|
110
|
-
<
|
|
111
|
-
|
|
113
|
+
<img src="https://raw.githubusercontent.com/all-contributors/all-contributors-cli/1b8533af435da9854653492b1327a23a4dbd0a10/assets/logo-small.svg">
|
|
114
|
+
<a href="https://all-contributors.js.org/docs/en/bot/usage">Add your contributions</a>
|
|
115
|
+
</img>
|
|
116
|
+
</td>
|
|
112
117
|
</tr>
|
|
113
118
|
</tfoot>
|
|
114
119
|
</table>
|
|
@@ -130,7 +135,7 @@ This project follows the [all-contributors](https://github.com/all-contributors/
|
|
|
130
135
|
<p><b>Fingerprint:</b> 1BD2 7192 7770 2549 F4C9 F238 E6AD C420 DA5C 4C2D</p>
|
|
131
136
|
</div>
|
|
132
137
|
|
|
133
|
-
<
|
|
138
|
+
<h3 align="center">💻 Visit <a href="https://www.patsullivan.org" target="_blank">patsullivan.org</a> to stay up to date with this developer</h3><br /><br />
|
|
134
139
|
|
|
135
140
|
|
|
136
141
|
<!-- markdownlint-restore -->
|
package/generators.json
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"generators": {
|
|
3
|
+
"init": {
|
|
4
|
+
"factory": "./src/generators/init/init#stormInitGenerator",
|
|
5
|
+
"schema": "./src/generators/init/schema.json",
|
|
6
|
+
"description": "Initialize the `@storm-software/workspace-tools` plugin.",
|
|
7
|
+
"aliases": ["ng-add"],
|
|
8
|
+
"hidden": true
|
|
9
|
+
},
|
|
3
10
|
"preset": {
|
|
4
11
|
"factory": "./src/generators/preset/generator",
|
|
5
12
|
"schema": "./src/generators/preset/schema.json",
|
|
6
|
-
"description": "preset generator",
|
|
13
|
+
"description": "Storm workspace preset generator",
|
|
7
14
|
"x-use-standalone-layout": true
|
|
8
15
|
}
|
|
9
16
|
}
|
package/index.d.ts
ADDED
package/index.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./src/generators/init/init"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./src/generators/preset/generator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./src/utils/versions"), exports);
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../packages/workspace-tools/index.ts"],"names":[],"mappings":";;;AAAA,qEAA2C;AAC3C,4EAAkD;AAClD,+DAAqC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/workspace-tools",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
|
|
6
6
|
"keywords": [
|
|
@@ -29,15 +29,24 @@
|
|
|
29
29
|
"url": "https://stormsoftware.org"
|
|
30
30
|
},
|
|
31
31
|
"type": "commonjs",
|
|
32
|
-
"main": "./
|
|
33
|
-
"typings": "./
|
|
32
|
+
"main": "./index.js",
|
|
33
|
+
"typings": "./index.d.ts",
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@nx/devkit": "17.0.3",
|
|
36
36
|
"esbuild-plugin-file-path-extensions": "1.0.0",
|
|
37
|
-
"
|
|
38
|
-
|
|
37
|
+
"tslib": "2.6.2"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"tsup": "7.2.0"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
39
43
|
"tsup": "7.2.0"
|
|
40
44
|
},
|
|
45
|
+
"peerDependenciesMeta": {
|
|
46
|
+
"tsup": {
|
|
47
|
+
"optional": true
|
|
48
|
+
}
|
|
49
|
+
},
|
|
41
50
|
"publishConfig": {
|
|
42
51
|
"access": "public"
|
|
43
52
|
},
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const build_esbuild_options_1 = require("@nx/esbuild/src/executors/esbuild/lib/build-esbuild-options");
|
|
5
|
+
const get_extra_dependencies_1 = require("@nx/esbuild/src/executors/esbuild/lib/get-extra-dependencies");
|
|
6
|
+
const js_1 = require("@nx/js");
|
|
7
|
+
const path_1 = require("path");
|
|
8
|
+
const tsup_1 = require("tsup");
|
|
9
|
+
const apply_workspace_tokens_1 = require("../../utils/apply-workspace-tokens");
|
|
10
|
+
const get_workspace_root_1 = require("../../utils/get-workspace-root");
|
|
11
|
+
const get_config_1 = require("./get-config");
|
|
12
|
+
function runExecutor(options, context) {
|
|
13
|
+
var _a;
|
|
14
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
15
|
+
try {
|
|
16
|
+
console.log("⚡Running build executor on the workspace");
|
|
17
|
+
const workspaceRoot = (0, get_workspace_root_1.getWorkspaceRoot)();
|
|
18
|
+
const projectRoot = context.projectsConfigurations[context.projectName].root;
|
|
19
|
+
const sourceRoot = context.projectsConfigurations[context.projectName].sourceRoot;
|
|
20
|
+
const outputPath = (0, apply_workspace_tokens_1.applyWorkspaceTokens)(options.outputPath
|
|
21
|
+
? options.outputPath
|
|
22
|
+
: (0, path_1.join)(workspaceRoot, "dist", projectRoot), context);
|
|
23
|
+
const main = (0, apply_workspace_tokens_1.applyWorkspaceTokens)(options.main
|
|
24
|
+
? options.main
|
|
25
|
+
: (0, path_1.join)(sourceRoot, "**/*@(.js|.jsx|.ts|.tsx)"), context);
|
|
26
|
+
const assets = Array.from(options.assets);
|
|
27
|
+
assets.push({
|
|
28
|
+
glob: (0, path_1.join)(sourceRoot, "package.json"),
|
|
29
|
+
input: sourceRoot,
|
|
30
|
+
output: "."
|
|
31
|
+
});
|
|
32
|
+
assets.push({
|
|
33
|
+
glob: (0, path_1.join)(sourceRoot, "README.md"),
|
|
34
|
+
input: sourceRoot,
|
|
35
|
+
output: outputPath
|
|
36
|
+
});
|
|
37
|
+
assets.push({
|
|
38
|
+
glob: "",
|
|
39
|
+
input: "LICENSE",
|
|
40
|
+
output: "."
|
|
41
|
+
});
|
|
42
|
+
assets.push({
|
|
43
|
+
glob: "",
|
|
44
|
+
input: "assets/logo-light.png",
|
|
45
|
+
output: "."
|
|
46
|
+
});
|
|
47
|
+
assets.push({
|
|
48
|
+
glob: "",
|
|
49
|
+
input: "assets/logo-dark.png",
|
|
50
|
+
output: "."
|
|
51
|
+
});
|
|
52
|
+
const result = yield (0, js_1.copyAssets)({ assets, watch: options.watch, outputPath }, context);
|
|
53
|
+
if (!result.success) {
|
|
54
|
+
throw Error("The Build process failed trying to copy assets");
|
|
55
|
+
}
|
|
56
|
+
options.external = options.external || [];
|
|
57
|
+
const externalDependencies = options.external.reduce((acc, name) => {
|
|
58
|
+
const externalNode = context.projectGraph.externalNodes[`npm:${name}`];
|
|
59
|
+
if (externalNode) {
|
|
60
|
+
acc.push({
|
|
61
|
+
name,
|
|
62
|
+
outputs: [],
|
|
63
|
+
node: externalNode
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
return acc;
|
|
67
|
+
}, []);
|
|
68
|
+
const thirdPartyDependencies = (0, get_extra_dependencies_1.getExtraDependencies)(context.projectName, context.projectGraph);
|
|
69
|
+
for (const tpd of thirdPartyDependencies) {
|
|
70
|
+
options.external.push(tpd.node.data.packageName);
|
|
71
|
+
externalDependencies.push(tpd);
|
|
72
|
+
}
|
|
73
|
+
const cpjOptions = Object.assign(Object.assign({}, options), { generateLockfile: true, outputFileExtensionForCjs: (0, build_esbuild_options_1.getOutExtension)("cjs", Object.assign(Object.assign({ external: [] }, options), { singleEntry: ((_a = options.additionalEntryPoints) === null || _a === void 0 ? void 0 : _a.length) === 0, thirdParty: true, assets, userDefinedBuildOptions: {} })), excludeLibsInPackageJson: true, updateBuildableProjectDepsInPackageJson: externalDependencies.length > 0 });
|
|
74
|
+
// If we're bundling third-party packages, then any extra deps from external should be the only deps in package.json
|
|
75
|
+
if (externalDependencies.length > 0) {
|
|
76
|
+
cpjOptions.overrideDependencies = externalDependencies;
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
cpjOptions.extraDependencies = externalDependencies;
|
|
80
|
+
}
|
|
81
|
+
const packageJsonResult = yield (0, js_1.copyPackageJson)(cpjOptions, context);
|
|
82
|
+
if (!packageJsonResult.success) {
|
|
83
|
+
throw Error("The Build process failed trying to copy package.json");
|
|
84
|
+
}
|
|
85
|
+
const config = (0, get_config_1.getConfig)(Object.assign(Object.assign({}, options), { main, outputPath }));
|
|
86
|
+
if (typeof config === "function") {
|
|
87
|
+
yield build(yield Promise.resolve(config({})));
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
yield build(config);
|
|
91
|
+
}
|
|
92
|
+
console.log("⚡The Build process has completed successfully");
|
|
93
|
+
return {
|
|
94
|
+
success: true
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
catch (e) {
|
|
98
|
+
console.error(e);
|
|
99
|
+
return {
|
|
100
|
+
success: false
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
exports.default = runExecutor;
|
|
106
|
+
const build = (options) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
107
|
+
if (Array.isArray(options)) {
|
|
108
|
+
yield Promise.all(options.map(buildOptions => (0, tsup_1.build)(buildOptions)));
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
111
|
+
yield (0, tsup_1.build)(options);
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
//# sourceMappingURL=executor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../../../../packages/workspace-tools/src/executors/tsup/executor.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Options } from "tsup";
|
|
2
|
+
import { TsupExecutorSchema } from "./schema";
|
|
3
|
+
type Entry = string | string[] | Record<string, string>;
|
|
4
|
+
export declare function modernConfig(entry: Entry, outDir: string, tsConfig?: string, minify?: boolean, bundle?: boolean, platform?: string, clean?: boolean, options?: Options): Options;
|
|
5
|
+
export declare function legacyConfig(entry: Entry, outDir: string, tsConfig?: string, minify?: boolean, bundle?: boolean, platform?: string, clean?: boolean, options?: Options): Options;
|
|
6
|
+
export declare function getConfig({ outputPath, tsConfig, minify, bundle, platform, clean, options, main, additionalEntryPoints }: TsupExecutorSchema): Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getConfig = exports.legacyConfig = exports.modernConfig = void 0;
|
|
4
|
+
const esbuild_plugin_file_path_extensions_1 = require("esbuild-plugin-file-path-extensions");
|
|
5
|
+
const tsup_1 = require("tsup");
|
|
6
|
+
function modernConfig(entry, outDir, tsConfig = "tsconfig.lib.json", minify = true, bundle = true, platform = "node", clean = true, options = {}) {
|
|
7
|
+
return Object.assign(Object.assign({}, options), { entry, splitting: true, format: ["cjs", "esm"], target: ["chrome91", "firefox90", "edge91", "safari15", "ios15", "opera77"], tsconfig: tsConfig, outDir,
|
|
8
|
+
minify,
|
|
9
|
+
bundle,
|
|
10
|
+
platform, dts: true, sourcemap: true, clean, esbuildPlugins: [(0, esbuild_plugin_file_path_extensions_1.esbuildPluginFilePathExtensions)({ esmExtension: "js" })] });
|
|
11
|
+
}
|
|
12
|
+
exports.modernConfig = modernConfig;
|
|
13
|
+
function legacyConfig(entry, outDir, tsConfig = "tsconfig.lib.json", minify = true, bundle = true, platform = "node", clean = true, options = {}) {
|
|
14
|
+
return Object.assign(Object.assign({}, options), { entry, splitting: true, format: ["cjs", "esm"], target: ["es2020", "node16"], tsconfig: tsConfig, outDir,
|
|
15
|
+
minify,
|
|
16
|
+
bundle,
|
|
17
|
+
platform, dts: true, sourcemap: true, clean, esbuildPlugins: [(0, esbuild_plugin_file_path_extensions_1.esbuildPluginFilePathExtensions)({ esmExtension: "js" })] });
|
|
18
|
+
}
|
|
19
|
+
exports.legacyConfig = legacyConfig;
|
|
20
|
+
function getConfig({ outputPath, tsConfig, minify, bundle, platform, clean, options, main, additionalEntryPoints }) {
|
|
21
|
+
const entry = [main, ...(additionalEntryPoints !== null && additionalEntryPoints !== void 0 ? additionalEntryPoints : [])];
|
|
22
|
+
return (0, tsup_1.defineConfig)([
|
|
23
|
+
modernConfig(entry, outputPath, tsConfig, minify, bundle, platform, clean, options),
|
|
24
|
+
legacyConfig(entry, outputPath, tsConfig, minify, bundle, platform, clean, options)
|
|
25
|
+
]);
|
|
26
|
+
}
|
|
27
|
+
exports.getConfig = getConfig;
|
|
28
|
+
//# sourceMappingURL=get-config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-config.js","sourceRoot":"","sources":["../../../../../../packages/workspace-tools/src/executors/tsup/get-config.ts"],"names":[],"mappings":";;;AAAA,6FAAsF;AACtF,+BAA6C;AAK7C,SAAgB,YAAY,CAC1B,KAAY,EACZ,MAAc,EACd,QAAQ,GAAG,mBAAmB,EAC9B,MAAM,GAAG,IAAI,EACb,MAAM,GAAG,IAAI,EACb,QAAQ,GAAG,MAAM,EACjB,KAAK,GAAG,IAAI,EACZ,UAAmB,EAAE;IAErB,OAAO,gCACF,OAAO,KACV,KAAK,EACL,SAAS,EAAE,IAAI,EACf,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,EACtB,MAAM,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,CAAC,EAC3E,QAAQ,EAAE,QAAQ,EAClB,MAAM;QACN,MAAM;QACN,MAAM;QACN,QAAQ,EACR,GAAG,EAAE,IAAI,EACT,SAAS,EAAE,IAAI,EACf,KAAK,EACL,cAAc,EAAE,CAAC,IAAA,qEAA+B,EAAC,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC,GAC/D,CAAC;AACf,CAAC;AA1BD,oCA0BC;AAED,SAAgB,YAAY,CAC1B,KAAY,EACZ,MAAc,EACd,QAAQ,GAAG,mBAAmB,EAC9B,MAAM,GAAG,IAAI,EACb,MAAM,GAAG,IAAI,EACb,QAAQ,GAAG,MAAM,EACjB,KAAK,GAAG,IAAI,EACZ,UAAmB,EAAE;IAErB,OAAO,gCACF,OAAO,KACV,KAAK,EACL,SAAS,EAAE,IAAI,EACf,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,EACtB,MAAM,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAC5B,QAAQ,EAAE,QAAQ,EAClB,MAAM;QACN,MAAM;QACN,MAAM;QACN,QAAQ,EACR,GAAG,EAAE,IAAI,EACT,SAAS,EAAE,IAAI,EACf,KAAK,EACL,cAAc,EAAE,CAAC,IAAA,qEAA+B,EAAC,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC,GAC/D,CAAC;AACf,CAAC;AA1BD,oCA0BC;AAED,SAAgB,SAAS,CAAC,EACxB,UAAU,EACV,QAAQ,EACR,MAAM,EACN,MAAM,EACN,QAAQ,EACR,KAAK,EACL,OAAO,EACP,IAAI,EACJ,qBAAqB,EACF;IACnB,MAAM,KAAK,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,qBAAqB,aAArB,qBAAqB,cAArB,qBAAqB,GAAI,EAAE,CAAC,CAAC,CAAC;IAEvD,OAAO,IAAA,mBAAY,EAAC;QAClB,YAAY,CACV,KAAK,EACL,UAAU,EACV,QAAQ,EACR,MAAM,EACN,MAAM,EACN,QAAQ,EACR,KAAK,EACL,OAAO,CACR;QACD,YAAY,CACV,KAAK,EACL,UAAU,EACV,QAAQ,EACR,MAAM,EACN,MAAM,EACN,QAAQ,EACR,KAAK,EACL,OAAO,CACR;KACF,CAAC,CAAC;AACL,CAAC;AAnCD,8BAmCC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hasher.js","sourceRoot":"","sources":["../../../../../../packages/workspace-tools/src/executors/tsup/hasher.ts"],"names":[],"mappings":";;;;AAEA;;;;GAIG;AACI,MAAM,WAAW,GAAiB,CAAO,IAAI,EAAE,OAAO,EAAE,EAAE;IAC/D,OAAO,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;AAC1D,CAAC,CAAA,CAAC;AAFW,QAAA,WAAW,eAEtB;AAEF,kBAAe,mBAAW,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EsBuildExecutorOptions } from "@nx/esbuild/src/executors/esbuild/schema.d.ts";
|
|
2
|
+
import { Options } from "tsup";
|
|
3
|
+
|
|
4
|
+
export type TsupExecutorSchema = Omit<
|
|
5
|
+
EsBuildExecutorOptions,
|
|
6
|
+
| "outputFileName"
|
|
7
|
+
| "metafile"
|
|
8
|
+
| "generatePackageJson"
|
|
9
|
+
| "sourcemap"
|
|
10
|
+
| "format"
|
|
11
|
+
| "target"
|
|
12
|
+
| "thirdParty"
|
|
13
|
+
| "skipTypeCheck"
|
|
14
|
+
| "esbuildOptions"
|
|
15
|
+
| "esbuildConfig"
|
|
16
|
+
> & {
|
|
17
|
+
options: Options;
|
|
18
|
+
clean: boolean;
|
|
19
|
+
};
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"version": 2,
|
|
4
|
+
"title": "Build executor",
|
|
5
|
+
"description": "",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"properties": {
|
|
9
|
+
"main": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "The path to the entry file, relative to project.",
|
|
12
|
+
"alias": "entryFile",
|
|
13
|
+
"x-completion-type": "file",
|
|
14
|
+
"x-completion-glob": "**/*@(.js|.ts)",
|
|
15
|
+
"x-priority": "important",
|
|
16
|
+
"default": "{sourceRoot}/**/*@(.js|.jsx|.ts|.tsx)"
|
|
17
|
+
},
|
|
18
|
+
"outputPath": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "The output path of the generated files.",
|
|
21
|
+
"x-completion-type": "directory",
|
|
22
|
+
"x-priority": "important",
|
|
23
|
+
"default": "dist/{projectRoot}"
|
|
24
|
+
},
|
|
25
|
+
"tsConfig": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "The path to tsconfig file.",
|
|
28
|
+
"x-completion-type": "file",
|
|
29
|
+
"x-completion-glob": "tsconfig.*.json",
|
|
30
|
+
"x-priority": "important",
|
|
31
|
+
"default": "tsconfig.lib.json"
|
|
32
|
+
},
|
|
33
|
+
"additionalEntryPoints": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"description": "List of additional entry points.",
|
|
36
|
+
"items": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
"default": []
|
|
40
|
+
},
|
|
41
|
+
"external": {
|
|
42
|
+
"type": "array",
|
|
43
|
+
"description": "Mark one or more module as external. Can use * wildcards, such as '*.png'.",
|
|
44
|
+
"items": {
|
|
45
|
+
"type": "string"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"bundle": {
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"description": "Whether to bundle the main entry point and additional entry points. Set to false to keep individual output files.",
|
|
51
|
+
"default": true
|
|
52
|
+
},
|
|
53
|
+
"watch": {
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"description": "Enable re-building when files change.",
|
|
56
|
+
"default": false
|
|
57
|
+
},
|
|
58
|
+
"assets": {
|
|
59
|
+
"type": "array",
|
|
60
|
+
"description": "List of static assets.",
|
|
61
|
+
"default": [],
|
|
62
|
+
"items": {
|
|
63
|
+
"$ref": "#/definitions/assetPattern"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"clean": {
|
|
67
|
+
"type": "boolean",
|
|
68
|
+
"description": "Remove previous output before build.",
|
|
69
|
+
"alias": "deleteOutputPath",
|
|
70
|
+
"default": true
|
|
71
|
+
},
|
|
72
|
+
"minify": {
|
|
73
|
+
"type": "boolean",
|
|
74
|
+
"description": "Minifies outputs.",
|
|
75
|
+
"default": true
|
|
76
|
+
},
|
|
77
|
+
"platform": {
|
|
78
|
+
"type": "string",
|
|
79
|
+
"description": "Platform target for outputs.",
|
|
80
|
+
"enum": ["browser", "node", "neutral"],
|
|
81
|
+
"default": "node"
|
|
82
|
+
},
|
|
83
|
+
"options": {
|
|
84
|
+
"type": "object",
|
|
85
|
+
"description": "Additional options to pass to tsup. See https://paka.dev/npm/tsup@7.2.0/api#d35d54aca71eb26e.",
|
|
86
|
+
"additionalProperties": true,
|
|
87
|
+
"x-priority": "important"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"required": ["tsConfig", "main"],
|
|
91
|
+
"definitions": {
|
|
92
|
+
"assetPattern": {
|
|
93
|
+
"oneOf": [
|
|
94
|
+
{
|
|
95
|
+
"type": "object",
|
|
96
|
+
"properties": {
|
|
97
|
+
"glob": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"description": "The pattern to match."
|
|
100
|
+
},
|
|
101
|
+
"input": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"description": "The input directory path in which to apply `glob`. Defaults to the project root."
|
|
104
|
+
},
|
|
105
|
+
"output": {
|
|
106
|
+
"type": "string",
|
|
107
|
+
"description": "Relative path within the output folder."
|
|
108
|
+
},
|
|
109
|
+
"ignore": {
|
|
110
|
+
"description": "An array of globs to ignore.",
|
|
111
|
+
"type": "array",
|
|
112
|
+
"items": {
|
|
113
|
+
"type": "string"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
"additionalProperties": false,
|
|
118
|
+
"required": ["glob", "input", "output"]
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"type": "string"
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.stormInitGenerator = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const devkit_1 = require("@nx/devkit");
|
|
6
|
+
const versions_1 = require("../../utils/versions");
|
|
7
|
+
function stormInitGenerator(tree, schema) {
|
|
8
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
9
|
+
const task = (0, devkit_1.addDependenciesToPackageJson)(tree, {
|
|
10
|
+
"nx": versions_1.nxVersion,
|
|
11
|
+
"@nx/workspace": versions_1.nxVersion,
|
|
12
|
+
"tsup": versions_1.tsupVersion,
|
|
13
|
+
"prettier": versions_1.prettierVersion,
|
|
14
|
+
"prettier-plugin-packagejson": versions_1.prettierPackageJsonVersion,
|
|
15
|
+
"prettier-plugin-prisma": versions_1.prettierPrismaVersion,
|
|
16
|
+
"@swc/cli": versions_1.swcCliVersion,
|
|
17
|
+
"@swc/core": versions_1.swcCoreVersion,
|
|
18
|
+
"@swc/helpers": versions_1.swcHelpersVersion,
|
|
19
|
+
"@swc-node/register": versions_1.swcNodeVersion,
|
|
20
|
+
"tslib": versions_1.tsLibVersion,
|
|
21
|
+
"@types/node": versions_1.typesNodeVersion,
|
|
22
|
+
"verdaccio": versions_1.verdaccioVersion,
|
|
23
|
+
"typescript": versions_1.typescriptVersion,
|
|
24
|
+
"eslint": versions_1.eslintVersion,
|
|
25
|
+
"lint-staged": versions_1.lintStagedVersion,
|
|
26
|
+
"semantic-release": versions_1.semanticReleaseVersion
|
|
27
|
+
}, {});
|
|
28
|
+
if (!schema.skipFormat) {
|
|
29
|
+
yield (0, devkit_1.formatFiles)(tree);
|
|
30
|
+
}
|
|
31
|
+
return task;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
exports.stormInitGenerator = stormInitGenerator;
|
|
35
|
+
exports.default = stormInitGenerator;
|
|
36
|
+
//# sourceMappingURL=init.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init.js","sourceRoot":"","sources":["../../../../../../packages/workspace-tools/src/generators/init/init.ts"],"names":[],"mappings":";;;;AAAA,uCAA6E;AAC7E,mDAiB8B;AAG9B,SAAsB,kBAAkB,CAAC,IAAU,EAAE,MAAc;;QACjE,MAAM,IAAI,GAAG,IAAA,qCAA4B,EACvC,IAAI,EACJ;YACE,IAAI,EAAE,oBAAS;YACf,eAAe,EAAE,oBAAS;YAC1B,MAAM,EAAE,sBAAW;YACnB,UAAU,EAAE,0BAAe;YAC3B,6BAA6B,EAAE,qCAA0B;YACzD,wBAAwB,EAAE,gCAAqB;YAC/C,UAAU,EAAE,wBAAa;YACzB,WAAW,EAAE,yBAAc;YAC3B,cAAc,EAAE,4BAAiB;YACjC,oBAAoB,EAAE,yBAAc;YACpC,OAAO,EAAE,uBAAY;YACrB,aAAa,EAAE,2BAAgB;YAC/B,WAAW,EAAE,2BAAgB;YAC7B,YAAY,EAAE,4BAAiB;YAC/B,QAAQ,EAAE,wBAAa;YACvB,aAAa,EAAE,4BAAiB;YAChC,kBAAkB,EAAE,iCAAsB;SAC3C,EACD,EAAE,CACH,CAAC;QAEF,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE;YACtB,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;SACzB;QAED,OAAO,IAAI,CAAC;IACd,CAAC;CAAA;AA9BD,gDA8BC;AAED,kBAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "StormWorkspaceInit",
|
|
4
|
+
"cli": "nx",
|
|
5
|
+
"title": "Init Storm Workspace Plugin",
|
|
6
|
+
"description": "Init Storm Workspace Plugin.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"skipFormat": {
|
|
10
|
+
"description": "Skip formatting files.",
|
|
11
|
+
"type": "boolean",
|
|
12
|
+
"default": false
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"required": []
|
|
16
|
+
}
|
|
@@ -17,12 +17,12 @@ SENTRY_PROPERTIES="apps/web/shell"
|
|
|
17
17
|
DEFAULT_LOCALE="en_US"
|
|
18
18
|
DEFAULT_TIMEZONE="America/New_York"
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
STORM_REPO_OWNER="sullivanpj"
|
|
21
|
+
STORM_REPO_WORKER="🤖 Storm Bot"
|
|
22
|
+
STORM_REPO_NAME="<%= name %>"
|
|
23
|
+
STORM_REPO_URL="https://github.com/storm-software/<%= name %>"
|
|
24
|
+
STORM_BRANCH="main"
|
|
25
|
+
STORM_PRE_MAJOR=true
|
|
26
26
|
|
|
27
27
|
# OAUTH_GOOGLE_CLIENT_ID=
|
|
28
28
|
# OAUTH_GOOGLE_CLIENT_SECRET=
|
|
@@ -52,7 +52,7 @@ LOG_LEVEL="debug"
|
|
|
52
52
|
PNPM_VERSION="8.7.4"
|
|
53
53
|
|
|
54
54
|
DEV_EDITOR_ID="vscode"
|
|
55
|
-
|
|
55
|
+
STORM_REPO_ROOT="C:\\Development\\<%= name %>"
|
|
56
56
|
|
|
57
57
|
THEME_PRIMARY_COLOR="#1fb2a6"
|
|
58
58
|
THEME_BACKGROUND_COLOR="#1d232a"
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.applyWorkspaceTokens = void 0;
|
|
4
|
+
const get_workspace_root_1 = require("./get-workspace-root");
|
|
5
|
+
const applyWorkspaceTokens = (option, config) => {
|
|
6
|
+
let result = option;
|
|
7
|
+
if (!result) {
|
|
8
|
+
return result;
|
|
9
|
+
}
|
|
10
|
+
const workspaceRoot = (0, get_workspace_root_1.getWorkspaceRoot)();
|
|
11
|
+
let projectName;
|
|
12
|
+
let projectRoot;
|
|
13
|
+
let sourceRoot;
|
|
14
|
+
if ((config === null || config === void 0 ? void 0 : config.projectsConfigurations) &&
|
|
15
|
+
(config === null || config === void 0 ? void 0 : config.projectName)) {
|
|
16
|
+
const context = config;
|
|
17
|
+
projectName = context.projectName;
|
|
18
|
+
projectRoot = context.projectsConfigurations[projectName].root;
|
|
19
|
+
sourceRoot = context.projectsConfigurations[projectName].sourceRoot;
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
const projectConfig = config;
|
|
23
|
+
projectName = projectConfig.name;
|
|
24
|
+
projectRoot = projectConfig.root;
|
|
25
|
+
sourceRoot = projectConfig.sourceRoot;
|
|
26
|
+
}
|
|
27
|
+
if (result.includes("{projectName}")) {
|
|
28
|
+
result = result.replaceAll("{projectName}", projectName);
|
|
29
|
+
}
|
|
30
|
+
if (result.includes("{projectRoot}")) {
|
|
31
|
+
result = result.replaceAll("{projectRoot}", projectRoot);
|
|
32
|
+
}
|
|
33
|
+
if (result.includes("{sourceRoot}")) {
|
|
34
|
+
result = result.replaceAll("{sourceRoot}", sourceRoot);
|
|
35
|
+
}
|
|
36
|
+
if (result.includes("{workspaceRoot}")) {
|
|
37
|
+
result = result.replaceAll("{workspaceRoot}", workspaceRoot);
|
|
38
|
+
}
|
|
39
|
+
return result;
|
|
40
|
+
};
|
|
41
|
+
exports.applyWorkspaceTokens = applyWorkspaceTokens;
|
|
42
|
+
//# sourceMappingURL=apply-workspace-tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apply-workspace-tokens.js","sourceRoot":"","sources":["../../../../../packages/workspace-tools/src/utils/apply-workspace-tokens.ts"],"names":[],"mappings":";;;AACA,6DAAwD;AAEjD,MAAM,oBAAoB,GAAG,CAClC,MAAc,EACd,MAA8C,EACtC,EAAE;IACV,IAAI,MAAM,GAAG,MAAM,CAAC;IACpB,IAAI,CAAC,MAAM,EAAE;QACX,OAAO,MAAM,CAAC;KACf;IAED,MAAM,aAAa,GAAG,IAAA,qCAAgB,GAAE,CAAC;IAEzC,IAAI,WAAoB,CAAC;IACzB,IAAI,WAAoB,CAAC;IACzB,IAAI,UAAmB,CAAC;IACxB,IACE,CAAC,MAA0B,aAA1B,MAAM,uBAAN,MAAM,CAAsB,sBAAsB;SAClD,MAA0B,aAA1B,MAAM,uBAAN,MAAM,CAAsB,WAAW,CAAA,EACxC;QACA,MAAM,OAAO,GAAG,MAAyB,CAAC;QAC1C,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;QAClC,WAAW,GAAG,OAAO,CAAC,sBAAsB,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC;QAC/D,UAAU,GAAG,OAAO,CAAC,sBAAsB,CAAC,WAAW,CAAC,CAAC,UAAU,CAAC;KACrE;SAAM;QACL,MAAM,aAAa,GAAG,MAA8B,CAAC;QACrD,WAAW,GAAG,aAAa,CAAC,IAAI,CAAC;QACjC,WAAW,GAAG,aAAa,CAAC,IAAI,CAAC;QACjC,UAAU,GAAG,aAAa,CAAC,UAAU,CAAC;KACvC;IAED,IAAI,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC,EAAE;QACpC,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC;KAC1D;IACD,IAAI,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC,EAAE;QACpC,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,eAAe,EAAE,WAAW,CAAC,CAAC;KAC1D;IACD,IAAI,MAAM,CAAC,QAAQ,CAAC,cAAc,CAAC,EAAE;QACnC,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,CAAC;KACxD;IACD,IAAI,MAAM,CAAC,QAAQ,CAAC,iBAAiB,CAAC,EAAE;QACtC,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;KAC9D;IAED,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AA3CW,QAAA,oBAAoB,wBA2C/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getWorkspaceRoot: () => string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getWorkspaceRoot = void 0;
|
|
4
|
+
const find_workspace_root_js_1 = require("nx/src/utils/find-workspace-root.js");
|
|
5
|
+
const getWorkspaceRoot = () => {
|
|
6
|
+
var _a, _b;
|
|
7
|
+
var _c, _d;
|
|
8
|
+
const root = (0, find_workspace_root_js_1.findWorkspaceRoot)(process.cwd());
|
|
9
|
+
(_a = (_c = process.env).STORM_REPO_ROOT) !== null && _a !== void 0 ? _a : (_c.STORM_REPO_ROOT = root === null || root === void 0 ? void 0 : root.dir);
|
|
10
|
+
(_b = (_d = process.env).NX_WORKSPACE_ROOT_PATH) !== null && _b !== void 0 ? _b : (_d.NX_WORKSPACE_ROOT_PATH = root === null || root === void 0 ? void 0 : root.dir);
|
|
11
|
+
return root === null || root === void 0 ? void 0 : root.dir;
|
|
12
|
+
};
|
|
13
|
+
exports.getWorkspaceRoot = getWorkspaceRoot;
|
|
14
|
+
//# sourceMappingURL=get-workspace-root.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-workspace-root.js","sourceRoot":"","sources":["../../../../../packages/workspace-tools/src/utils/get-workspace-root.ts"],"names":[],"mappings":";;;AAAA,gFAAwE;AAEjE,MAAM,gBAAgB,GAAG,GAAG,EAAE;;;IACnC,MAAM,IAAI,GAAG,IAAA,0CAAiB,EAAC,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;IAC9C,YAAA,OAAO,CAAC,GAAG,EAAC,eAAe,uCAAf,eAAe,GAAK,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,GAAG,EAAC;IAC1C,YAAA,OAAO,CAAC,GAAG,EAAC,sBAAsB,uCAAtB,sBAAsB,GAAK,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,GAAG,EAAC;IAEjD,OAAO,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,GAAG,CAAC;AACnB,CAAC,CAAC;AANW,QAAA,gBAAgB,oBAM3B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const nxVersion: "^17.0.3";
|
|
2
|
+
export declare const tsupVersion = "^7.2.0";
|
|
3
|
+
export declare const prettierVersion = "^3.0.3";
|
|
4
|
+
export declare const prettierPackageJsonVersion = "2.4.6";
|
|
5
|
+
export declare const prettierPrismaVersion = "5.0.0";
|
|
6
|
+
export declare const prettierVersion = "^3.0.3";
|
|
7
|
+
export declare const swcCliVersion = "~0.1.62";
|
|
8
|
+
export declare const swcCoreVersion = "~1.3.95";
|
|
9
|
+
export declare const swcHelpersVersion = "~0.5.3";
|
|
10
|
+
export declare const swcNodeVersion = "1.6.8";
|
|
11
|
+
export declare const tsLibVersion = "2.6.2";
|
|
12
|
+
export declare const typesNodeVersion = "20.8.10";
|
|
13
|
+
export declare const verdaccioVersion = "5.27.0";
|
|
14
|
+
export declare const typescriptVersion = "~5.2.2";
|
|
15
|
+
export declare const eslintVersion = "~8.53.0";
|
|
16
|
+
export declare const lintStagedVersion = "15.0.2";
|
|
17
|
+
export declare const semanticReleaseVersion = "22.0.7";
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { BuildExecutorSchema } from "./schema";
|
|
2
|
-
export default function runExecutor(options: BuildExecutorSchema): Promise<{
|
|
3
|
-
success: boolean;
|
|
4
|
-
}>;
|
|
5
|
-
/**
|
|
6
|
-
* @param {Object} opts - Options for building configurations.
|
|
7
|
-
* @param {string[]} opts.entry - The entry array.
|
|
8
|
-
* @returns {import('tsup').Options}
|
|
9
|
-
*/
|
|
10
|
-
export declare function modernConfig(opts: any): {
|
|
11
|
-
entry: any;
|
|
12
|
-
format: string[];
|
|
13
|
-
target: string[];
|
|
14
|
-
outDir: string;
|
|
15
|
-
dts: boolean;
|
|
16
|
-
sourcemap: boolean;
|
|
17
|
-
clean: boolean;
|
|
18
|
-
esbuildPlugins: import("esbuild").Plugin[];
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* @param {Object} opts - Options for building configurations.
|
|
22
|
-
* @param {string[]} opts.entry - The entry array.
|
|
23
|
-
* @returns {import('tsup').Options}
|
|
24
|
-
*/
|
|
25
|
-
export declare function legacyConfig(opts: any): {
|
|
26
|
-
entry: any;
|
|
27
|
-
format: string[];
|
|
28
|
-
target: string[];
|
|
29
|
-
outDir: string;
|
|
30
|
-
dts: boolean;
|
|
31
|
-
sourcemap: boolean;
|
|
32
|
-
clean: boolean;
|
|
33
|
-
esbuildPlugins: import("esbuild").Plugin[];
|
|
34
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.legacyConfig = exports.modernConfig = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
|
-
function runExecutor(options) {
|
|
6
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
7
|
-
console.log("Executor ran for Build", options);
|
|
8
|
-
return {
|
|
9
|
-
success: true
|
|
10
|
-
};
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
exports.default = runExecutor;
|
|
14
|
-
const esbuild_plugin_file_path_extensions_1 = require("esbuild-plugin-file-path-extensions");
|
|
15
|
-
/**
|
|
16
|
-
* @param {Object} opts - Options for building configurations.
|
|
17
|
-
* @param {string[]} opts.entry - The entry array.
|
|
18
|
-
* @returns {import('tsup').Options}
|
|
19
|
-
*/
|
|
20
|
-
function modernConfig(opts) {
|
|
21
|
-
return {
|
|
22
|
-
entry: opts.entry,
|
|
23
|
-
format: ["cjs", "esm"],
|
|
24
|
-
target: ["chrome91", "firefox90", "edge91", "safari15", "ios15", "opera77"],
|
|
25
|
-
outDir: "build/modern",
|
|
26
|
-
dts: true,
|
|
27
|
-
sourcemap: true,
|
|
28
|
-
clean: true,
|
|
29
|
-
esbuildPlugins: [(0, esbuild_plugin_file_path_extensions_1.esbuildPluginFilePathExtensions)({ esmExtension: "js" })]
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
exports.modernConfig = modernConfig;
|
|
33
|
-
/**
|
|
34
|
-
* @param {Object} opts - Options for building configurations.
|
|
35
|
-
* @param {string[]} opts.entry - The entry array.
|
|
36
|
-
* @returns {import('tsup').Options}
|
|
37
|
-
*/
|
|
38
|
-
function legacyConfig(opts) {
|
|
39
|
-
return {
|
|
40
|
-
entry: opts.entry,
|
|
41
|
-
format: ["cjs", "esm"],
|
|
42
|
-
target: ["es2020", "node16"],
|
|
43
|
-
outDir: "build/legacy",
|
|
44
|
-
dts: true,
|
|
45
|
-
sourcemap: true,
|
|
46
|
-
clean: true,
|
|
47
|
-
esbuildPlugins: [(0, esbuild_plugin_file_path_extensions_1.esbuildPluginFilePathExtensions)({ esmExtension: "js" })]
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
exports.legacyConfig = legacyConfig;
|
|
51
|
-
//# sourceMappingURL=executor.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../../../../packages/workspace-tools/src/executors/build/executor.ts"],"names":[],"mappings":";;;;AAEA,SAA8B,WAAW,CAAC,OAA4B;;QACpE,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE,OAAO,CAAC,CAAC;QAC/C,OAAO;YACL,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;CAAA;AALD,8BAKC;AACD,6FAAsF;AAEtF;;;;GAIG;AACH,SAAgB,YAAY,CAAC,IAAI;IAC/B,OAAO;QACL,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QACtB,MAAM,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,CAAC;QAC3E,MAAM,EAAE,cAAc;QACtB,GAAG,EAAE,IAAI;QACT,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,IAAI;QACX,cAAc,EAAE,CAAC,IAAA,qEAA+B,EAAC,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC;KAC1E,CAAC;AACJ,CAAC;AAXD,oCAWC;AAED;;;;GAIG;AACH,SAAgB,YAAY,CAAC,IAAI;IAC/B,OAAO;QACL,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QACtB,MAAM,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;QAC5B,MAAM,EAAE,cAAc;QACtB,GAAG,EAAE,IAAI;QACT,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,IAAI;QACX,cAAc,EAAE,CAAC,IAAA,qEAA+B,EAAC,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC;KAC1E,CAAC;AACJ,CAAC;AAXD,oCAWC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @param {Object} opts - Options for building configurations.
|
|
3
|
-
* @param {string[]} opts.entry - The entry array.
|
|
4
|
-
* @returns {import('tsup').Options}
|
|
5
|
-
*/
|
|
6
|
-
export declare function modernConfig(opts: any): {
|
|
7
|
-
entry: any;
|
|
8
|
-
format: string[];
|
|
9
|
-
target: string[];
|
|
10
|
-
outDir: string;
|
|
11
|
-
dts: boolean;
|
|
12
|
-
sourcemap: boolean;
|
|
13
|
-
clean: boolean;
|
|
14
|
-
esbuildPlugins: import("esbuild").Plugin[];
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* @param {Object} opts - Options for building configurations.
|
|
18
|
-
* @param {string[]} opts.entry - The entry array.
|
|
19
|
-
* @returns {import('tsup').Options}
|
|
20
|
-
*/
|
|
21
|
-
export declare function legacyConfig(opts: any): {
|
|
22
|
-
entry: any;
|
|
23
|
-
format: string[];
|
|
24
|
-
target: string[];
|
|
25
|
-
outDir: string;
|
|
26
|
-
dts: boolean;
|
|
27
|
-
sourcemap: boolean;
|
|
28
|
-
clean: boolean;
|
|
29
|
-
esbuildPlugins: import("esbuild").Plugin[];
|
|
30
|
-
};
|
|
31
|
-
export declare function getConfig(opts: any): {
|
|
32
|
-
entry: any;
|
|
33
|
-
format: string[];
|
|
34
|
-
target: string[];
|
|
35
|
-
outDir: string;
|
|
36
|
-
dts: boolean;
|
|
37
|
-
sourcemap: boolean;
|
|
38
|
-
clean: boolean;
|
|
39
|
-
esbuildPlugins: import("esbuild").Plugin[];
|
|
40
|
-
}[];
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getConfig = exports.legacyConfig = exports.modernConfig = void 0;
|
|
4
|
-
const esbuild_plugin_file_path_extensions_1 = require("esbuild-plugin-file-path-extensions");
|
|
5
|
-
/**
|
|
6
|
-
* @param {Object} opts - Options for building configurations.
|
|
7
|
-
* @param {string[]} opts.entry - The entry array.
|
|
8
|
-
* @returns {import('tsup').Options}
|
|
9
|
-
*/
|
|
10
|
-
function modernConfig(opts) {
|
|
11
|
-
return {
|
|
12
|
-
entry: opts.entry,
|
|
13
|
-
format: ["cjs", "esm"],
|
|
14
|
-
target: ["chrome91", "firefox90", "edge91", "safari15", "ios15", "opera77"],
|
|
15
|
-
outDir: "build/modern",
|
|
16
|
-
dts: true,
|
|
17
|
-
sourcemap: true,
|
|
18
|
-
clean: true,
|
|
19
|
-
esbuildPlugins: [(0, esbuild_plugin_file_path_extensions_1.esbuildPluginFilePathExtensions)({ esmExtension: "js" })]
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
exports.modernConfig = modernConfig;
|
|
23
|
-
/**
|
|
24
|
-
* @param {Object} opts - Options for building configurations.
|
|
25
|
-
* @param {string[]} opts.entry - The entry array.
|
|
26
|
-
* @returns {import('tsup').Options}
|
|
27
|
-
*/
|
|
28
|
-
function legacyConfig(opts) {
|
|
29
|
-
return {
|
|
30
|
-
entry: opts.entry,
|
|
31
|
-
format: ["cjs", "esm"],
|
|
32
|
-
target: ["es2020", "node16"],
|
|
33
|
-
outDir: "build/legacy",
|
|
34
|
-
dts: true,
|
|
35
|
-
sourcemap: true,
|
|
36
|
-
clean: true,
|
|
37
|
-
esbuildPlugins: [(0, esbuild_plugin_file_path_extensions_1.esbuildPluginFilePathExtensions)({ esmExtension: "js" })]
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
exports.legacyConfig = legacyConfig;
|
|
41
|
-
function getConfig(opts) {
|
|
42
|
-
return [modernConfig(opts), legacyConfig(opts)];
|
|
43
|
-
}
|
|
44
|
-
exports.getConfig = getConfig;
|
|
45
|
-
//# sourceMappingURL=get-config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-config.js","sourceRoot":"","sources":["../../../../../../packages/workspace-tools/src/executors/build/get-config.ts"],"names":[],"mappings":";;;AAAA,6FAAsF;AAEtF;;;;GAIG;AACH,SAAgB,YAAY,CAAC,IAAI;IAC/B,OAAO;QACL,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QACtB,MAAM,EAAE,CAAC,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,CAAC;QAC3E,MAAM,EAAE,cAAc;QACtB,GAAG,EAAE,IAAI;QACT,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,IAAI;QACX,cAAc,EAAE,CAAC,IAAA,qEAA+B,EAAC,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC;KAC1E,CAAC;AACJ,CAAC;AAXD,oCAWC;AAED;;;;GAIG;AACH,SAAgB,YAAY,CAAC,IAAI;IAC/B,OAAO;QACL,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QACtB,MAAM,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;QAC5B,MAAM,EAAE,cAAc;QACtB,GAAG,EAAE,IAAI;QACT,SAAS,EAAE,IAAI;QACf,KAAK,EAAE,IAAI;QACX,cAAc,EAAE,CAAC,IAAA,qEAA+B,EAAC,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC;KAC1E,CAAC;AACJ,CAAC;AAXD,oCAWC;AAED,SAAgB,SAAS,CAAC,IAAI;IAC5B,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC;AAClD,CAAC;AAFD,8BAEC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hasher.js","sourceRoot":"","sources":["../../../../../../packages/workspace-tools/src/executors/build/hasher.ts"],"names":[],"mappings":";;;;AAEA;;;;GAIG;AACI,MAAM,WAAW,GAAiB,CAAO,IAAI,EAAE,OAAO,EAAE,EAAE;IAC/D,OAAO,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;AAC1D,CAAC,CAAA,CAAC;AAFW,QAAA,WAAW,eAEtB;AAEF,kBAAe,mBAAW,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export interface BuildExecutorSchema {} // eslint-disable-line
|
package/src/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./generators/preset/generator";
|
package/src/index.js
DELETED
package/src/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/workspace-tools/src/index.ts"],"names":[],"mappings":";;;AAAA,wEAA8C"}
|
|
File without changes
|
|
File without changes
|