@storm-software/projen 0.9.64 → 0.9.65
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 +1 -1
- package/dist/{chunk-5FBB3EXB.mjs → chunk-VDVL2MW5.mjs} +5 -5
- package/dist/{chunk-JP4LDPQU.js → chunk-XINAL634.js} +5 -5
- package/dist/generators.js +2 -2
- package/dist/generators.mjs +1 -1
- package/dist/index.js +3 -3
- package/dist/index.mjs +1 -1
- package/dist/src/generators/init/generator.js +2 -2
- package/dist/src/generators/init/generator.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Projen
|
|
4
4
|
|
|
5
|
+
## [0.9.65](https://github.com/storm-software/storm-ops/releases/tag/projen%400.9.65) (2025-04-29)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([f2e5028dd](https://github.com/storm-software/storm-ops/commit/f2e5028dd))
|
|
11
|
+
|
|
5
12
|
## [0.9.64](https://github.com/storm-software/storm-ops/releases/tag/projen%400.9.64) (2025-04-29)
|
|
6
13
|
|
|
7
14
|
### Miscellaneous
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -1956,6 +1956,7 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
1956
1956
|
keepNames: true,
|
|
1957
1957
|
metafile: false,
|
|
1958
1958
|
treeshake: true,
|
|
1959
|
+
splitting: true,
|
|
1959
1960
|
shims: false,
|
|
1960
1961
|
watch: false,
|
|
1961
1962
|
bundle: true,
|
|
@@ -2105,24 +2106,23 @@ async function resolveContext(userOptions) {
|
|
|
2105
2106
|
throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
|
|
2106
2107
|
}
|
|
2107
2108
|
const options = defu4(userOptions, DEFAULT_BUILD_OPTIONS);
|
|
2109
|
+
options.name ??= projectName;
|
|
2108
2110
|
const packageJsonPath = joinPaths(workspaceRoot3.dir, options.projectRoot, "package.json");
|
|
2109
2111
|
if (!existsSync5(packageJsonPath)) {
|
|
2110
2112
|
throw new Error("Cannot find package.json configuration");
|
|
2111
2113
|
}
|
|
2112
2114
|
const env = getEnv("esbuild", options);
|
|
2115
|
+
const define = defu4(options.define ?? {}, env ?? {});
|
|
2113
2116
|
const resolvedOptions = {
|
|
2114
|
-
name: projectName,
|
|
2115
2117
|
...options,
|
|
2116
2118
|
tsconfig: joinPaths(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
2117
2119
|
metafile: userOptions.mode === "development",
|
|
2118
2120
|
clean: false,
|
|
2119
|
-
splitting: options.format === "iife" ? false : options.treeshake === void 0 ? options.splitting : true,
|
|
2120
2121
|
env,
|
|
2121
2122
|
define: {
|
|
2122
2123
|
STORM_FORMAT: JSON.stringify(options.format),
|
|
2123
|
-
...
|
|
2124
|
-
|
|
2125
|
-
const value = JSON.stringify(env[key]);
|
|
2124
|
+
...Object.keys(define).filter((key) => define[key] !== void 0).reduce((res, key) => {
|
|
2125
|
+
const value = JSON.stringify(define[key]);
|
|
2126
2126
|
const safeKey = key.replaceAll("(", "").replaceAll(")", "");
|
|
2127
2127
|
return {
|
|
2128
2128
|
...res,
|
|
@@ -1955,6 +1955,7 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
1955
1955
|
keepNames: true,
|
|
1956
1956
|
metafile: false,
|
|
1957
1957
|
treeshake: true,
|
|
1958
|
+
splitting: true,
|
|
1958
1959
|
shims: false,
|
|
1959
1960
|
watch: false,
|
|
1960
1961
|
bundle: true,
|
|
@@ -2104,24 +2105,23 @@ async function resolveContext(userOptions) {
|
|
|
2104
2105
|
throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
|
|
2105
2106
|
}
|
|
2106
2107
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
2108
|
+
options.name ??= projectName;
|
|
2107
2109
|
const packageJsonPath = _chunkIND7PM3Ljs.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
|
|
2108
2110
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
2109
2111
|
throw new Error("Cannot find package.json configuration");
|
|
2110
2112
|
}
|
|
2111
2113
|
const env = getEnv("esbuild", options);
|
|
2114
|
+
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
2112
2115
|
const resolvedOptions = {
|
|
2113
|
-
name: projectName,
|
|
2114
2116
|
...options,
|
|
2115
2117
|
tsconfig: _chunkIND7PM3Ljs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
2116
2118
|
metafile: userOptions.mode === "development",
|
|
2117
2119
|
clean: false,
|
|
2118
|
-
splitting: options.format === "iife" ? false : options.treeshake === void 0 ? options.splitting : true,
|
|
2119
2120
|
env,
|
|
2120
2121
|
define: {
|
|
2121
2122
|
STORM_FORMAT: JSON.stringify(options.format),
|
|
2122
|
-
...
|
|
2123
|
-
|
|
2124
|
-
const value = JSON.stringify(env[key]);
|
|
2123
|
+
...Object.keys(define).filter((key) => define[key] !== void 0).reduce((res, key) => {
|
|
2124
|
+
const value = JSON.stringify(define[key]);
|
|
2125
2125
|
const safeKey = key.replaceAll("(", "").replaceAll(")", "");
|
|
2126
2126
|
return {
|
|
2127
2127
|
...res,
|
package/dist/generators.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-ZB4VUWHK.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkXINAL634js = require('./chunk-XINAL634.js');
|
|
5
5
|
require('./chunk-IND7PM3L.js');
|
|
6
6
|
require('./chunk-XIADWDXK.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.initGeneratorFn =
|
|
9
|
+
exports.initGeneratorFn = _chunkXINAL634js.initGeneratorFn;
|
package/dist/generators.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkO64Q2V3Cjs = require('./chunk-O64Q2V3C.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkXINAL634js = require('./chunk-XINAL634.js');
|
|
8
8
|
require('./chunk-IND7PM3L.js');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -16,10 +16,10 @@ var _chunkXIADWDXKjs = require('./chunk-XIADWDXK.js');
|
|
|
16
16
|
// index.ts
|
|
17
17
|
var index_exports = {};
|
|
18
18
|
_chunkXIADWDXKjs.__export.call(void 0, index_exports, {
|
|
19
|
-
initGeneratorFn: () =>
|
|
19
|
+
initGeneratorFn: () => _chunkXINAL634js.initGeneratorFn
|
|
20
20
|
});
|
|
21
21
|
_chunkXIADWDXKjs.init_cjs_shims.call(void 0, );
|
|
22
22
|
_chunkXIADWDXKjs.__reExport.call(void 0, index_exports, _chunkXIADWDXKjs.__toESM.call(void 0, _chunkO64Q2V3Cjs.require_components.call(void 0, )));
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
exports.initGeneratorFn =
|
|
25
|
+
exports.initGeneratorFn = _chunkXINAL634js.initGeneratorFn;
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkXINAL634js = require('../../../chunk-XINAL634.js');
|
|
5
5
|
require('../../../chunk-IND7PM3L.js');
|
|
6
6
|
require('../../../chunk-XIADWDXK.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.default =
|
|
10
|
+
exports.default = _chunkXINAL634js.generator_default; exports.initGeneratorFn = _chunkXINAL634js.initGeneratorFn;
|