@storm-software/projen 0.9.63 → 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 +16 -0
- package/README.md +1 -1
- package/dist/{chunk-I66N6CFJ.mjs → chunk-VDVL2MW5.mjs} +78 -32
- package/dist/{chunk-4YRXHLL7.js → chunk-XINAL634.js} +78 -32
- 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,22 @@
|
|
|
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
|
+
|
|
12
|
+
## [0.9.64](https://github.com/storm-software/storm-ops/releases/tag/projen%400.9.64) (2025-04-29)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous
|
|
15
|
+
|
|
16
|
+
- **monorepo:** Regenerate README markdown files
|
|
17
|
+
([25750fcd9](https://github.com/storm-software/storm-ops/commit/25750fcd9))
|
|
18
|
+
- **monorepo:** Regenerate README markdown files
|
|
19
|
+
([87d08a499](https://github.com/storm-software/storm-ops/commit/87d08a499))
|
|
20
|
+
|
|
5
21
|
## [0.9.63](https://github.com/storm-software/storm-ops/releases/tag/projen%400.9.63) (2025-04-28)
|
|
6
22
|
|
|
7
23
|
### 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 -->
|
|
@@ -1679,7 +1679,6 @@ var DEFAULT_COMPILED_BANNER = `/*****************************************
|
|
|
1679
1679
|
*****************************************/
|
|
1680
1680
|
`;
|
|
1681
1681
|
var DEFAULT_ENVIRONMENT = "production";
|
|
1682
|
-
var DEFAULT_TARGET = "esnext";
|
|
1683
1682
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
1684
1683
|
|
|
1685
1684
|
// ../build-tools/src/plugins/index.ts
|
|
@@ -1948,9 +1947,7 @@ init_esm_shims();
|
|
|
1948
1947
|
var DEFAULT_BUILD_OPTIONS = {
|
|
1949
1948
|
assets: [],
|
|
1950
1949
|
platform: "node",
|
|
1951
|
-
target:
|
|
1952
|
-
"esnext"
|
|
1953
|
-
],
|
|
1950
|
+
target: "node22",
|
|
1954
1951
|
format: "esm",
|
|
1955
1952
|
tsconfig: "tsconfig.json",
|
|
1956
1953
|
mode: "production",
|
|
@@ -1959,9 +1956,11 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
1959
1956
|
keepNames: true,
|
|
1960
1957
|
metafile: false,
|
|
1961
1958
|
treeshake: true,
|
|
1959
|
+
splitting: true,
|
|
1962
1960
|
shims: false,
|
|
1963
1961
|
watch: false,
|
|
1964
1962
|
bundle: true,
|
|
1963
|
+
distDir: "dist",
|
|
1965
1964
|
loader: {
|
|
1966
1965
|
".aac": "file",
|
|
1967
1966
|
".css": "file",
|
|
@@ -2107,29 +2106,23 @@ async function resolveContext(userOptions) {
|
|
|
2107
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.");
|
|
2108
2107
|
}
|
|
2109
2108
|
const options = defu4(userOptions, DEFAULT_BUILD_OPTIONS);
|
|
2110
|
-
options.name ??=
|
|
2111
|
-
options.target ??= DEFAULT_TARGET;
|
|
2109
|
+
options.name ??= projectName;
|
|
2112
2110
|
const packageJsonPath = joinPaths(workspaceRoot3.dir, options.projectRoot, "package.json");
|
|
2113
2111
|
if (!existsSync5(packageJsonPath)) {
|
|
2114
2112
|
throw new Error("Cannot find package.json configuration");
|
|
2115
2113
|
}
|
|
2116
2114
|
const env = getEnv("esbuild", options);
|
|
2115
|
+
const define = defu4(options.define ?? {}, env ?? {});
|
|
2117
2116
|
const resolvedOptions = {
|
|
2118
2117
|
...options,
|
|
2119
2118
|
tsconfig: joinPaths(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
2120
|
-
distDir: "dist",
|
|
2121
|
-
name: projectName,
|
|
2122
2119
|
metafile: userOptions.mode === "development",
|
|
2123
|
-
...userOptions,
|
|
2124
2120
|
clean: false,
|
|
2125
|
-
target: userOptions.target || options.target,
|
|
2126
|
-
splitting: options.format === "iife" ? false : options.treeshake === void 0 ? options.splitting : true,
|
|
2127
2121
|
env,
|
|
2128
2122
|
define: {
|
|
2129
2123
|
STORM_FORMAT: JSON.stringify(options.format),
|
|
2130
|
-
...
|
|
2131
|
-
|
|
2132
|
-
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]);
|
|
2133
2126
|
const safeKey = key.replaceAll("(", "").replaceAll(")", "");
|
|
2134
2127
|
return {
|
|
2135
2128
|
...res,
|
|
@@ -2171,26 +2164,79 @@ async function generatePackageJson(context) {
|
|
|
2171
2164
|
if (context.options.entry) {
|
|
2172
2165
|
packageJson.exports ??= {};
|
|
2173
2166
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
2174
|
-
packageJson.exports["."] ??= `.${context.options.distDir ? `/${context.options.distDir}` : ""}/index.js`;
|
|
2175
2167
|
const entryPoints = Array.isArray(context.options.entry) ? context.options.entry : Object.keys(context.options.entry);
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2168
|
+
if (entryPoints.length > 0) {
|
|
2169
|
+
const defaultEntry = entryPoints.includes("index") ? `.${context.options.distDir ? `/${context.options.distDir}` : ""}/index` : `.${context.options.distDir ? `/${context.options.distDir}` : ""}/${entryPoints[0]}`;
|
|
2170
|
+
const isEsm = Array.isArray(context.options.format) ? context.options.format.includes("esm") : context.options.format === "esm";
|
|
2171
|
+
const isCjs = Array.isArray(context.options.format) ? context.options.format.includes("cjs") : context.options.format === "cjs";
|
|
2172
|
+
const isDts = context.options.dts || context.options.experimentalDts;
|
|
2173
|
+
packageJson.exports["."] ??= `${defaultEntry}.${isEsm ? "mjs" : isCjs ? "cjs" : "js"}`;
|
|
2174
|
+
for (const entryPoint of entryPoints) {
|
|
2175
|
+
packageJson.exports[`./${entryPoint}`] ??= {};
|
|
2176
|
+
if (isEsm) {
|
|
2177
|
+
if (isDts) {
|
|
2178
|
+
packageJson.exports[`./${entryPoint}`].import = {
|
|
2179
|
+
types: `./dist/${entryPoint}.d.mts`,
|
|
2180
|
+
default: `./dist/${entryPoint}.mjs`
|
|
2181
|
+
};
|
|
2182
|
+
} else {
|
|
2183
|
+
packageJson.exports[`./${entryPoint}`].import = `./dist/${entryPoint}.mjs`;
|
|
2184
|
+
}
|
|
2185
|
+
if (isDts) {
|
|
2186
|
+
packageJson.exports[`./${entryPoint}`].default = {
|
|
2187
|
+
types: `./dist/${entryPoint}.d.mts`,
|
|
2188
|
+
default: `./dist/${entryPoint}.mjs`
|
|
2189
|
+
};
|
|
2190
|
+
} else {
|
|
2191
|
+
packageJson.exports[`./${entryPoint}`].default = `./dist/${entryPoint}.mjs`;
|
|
2192
|
+
}
|
|
2193
|
+
}
|
|
2194
|
+
if (isCjs) {
|
|
2195
|
+
if (isDts) {
|
|
2196
|
+
packageJson.exports[`./${entryPoint}`].require = {
|
|
2197
|
+
types: `./dist/${entryPoint}.d.cts`,
|
|
2198
|
+
default: `./dist/${entryPoint}.cjs`
|
|
2199
|
+
};
|
|
2200
|
+
} else {
|
|
2201
|
+
packageJson.exports[`./${entryPoint}`].require = `./dist/${entryPoint}.cjs`;
|
|
2202
|
+
}
|
|
2203
|
+
if (!isEsm) {
|
|
2204
|
+
if (isDts) {
|
|
2205
|
+
packageJson.exports[`./${entryPoint}`].default = {
|
|
2206
|
+
types: `./dist/${entryPoint}.d.cts`,
|
|
2207
|
+
default: `./dist/${entryPoint}.cjs`
|
|
2208
|
+
};
|
|
2209
|
+
} else {
|
|
2210
|
+
packageJson.exports[`./${entryPoint}`].default = `./dist/${entryPoint}.cjs`;
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2213
|
+
}
|
|
2214
|
+
if (!isEsm && !isCjs) {
|
|
2215
|
+
if (isDts) {
|
|
2216
|
+
packageJson.exports[`./${entryPoint}`].default = {
|
|
2217
|
+
types: `./dist/${entryPoint}.d.ts`,
|
|
2218
|
+
default: `./dist/${entryPoint}.js`
|
|
2219
|
+
};
|
|
2220
|
+
} else {
|
|
2221
|
+
packageJson.exports[`./${entryPoint}`].default = `./dist/${entryPoint}.js`;
|
|
2222
|
+
}
|
|
2223
|
+
}
|
|
2180
2224
|
}
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
packageJson.exports = Object.keys(packageJson.exports).reduce((ret, key) => {
|
|
2189
|
-
if (key.endsWith("/index") && !ret[key.replace("/index", "")]) {
|
|
2190
|
-
ret[key.replace("/index", "")] = packageJson.exports[key];
|
|
2225
|
+
if (isEsm) {
|
|
2226
|
+
packageJson.module = `${defaultEntry}.mjs`;
|
|
2227
|
+
} else {
|
|
2228
|
+
packageJson.main = `${defaultEntry}.cjs`;
|
|
2229
|
+
}
|
|
2230
|
+
if (isDts) {
|
|
2231
|
+
packageJson.types = `${defaultEntry}.d.${isEsm ? "mts" : isCjs ? "cts" : "ts"}`;
|
|
2191
2232
|
}
|
|
2192
|
-
|
|
2193
|
-
|
|
2233
|
+
packageJson.exports = Object.keys(packageJson.exports).reduce((ret, key) => {
|
|
2234
|
+
if (key.endsWith("/index") && !ret[key.replace("/index", "")]) {
|
|
2235
|
+
ret[key.replace("/index", "")] = packageJson.exports[key];
|
|
2236
|
+
}
|
|
2237
|
+
return ret;
|
|
2238
|
+
}, packageJson.exports);
|
|
2239
|
+
}
|
|
2194
2240
|
}
|
|
2195
2241
|
await writeJsonFile(joinPaths(context.outputPath, "package.json"), packageJson);
|
|
2196
2242
|
stopwatch();
|
|
@@ -2203,7 +2249,7 @@ async function executeTsup(context) {
|
|
|
2203
2249
|
const stopwatch = getStopwatch(`${context.options.name} build`);
|
|
2204
2250
|
await tsup({
|
|
2205
2251
|
...context.options,
|
|
2206
|
-
outDir: context.outputPath,
|
|
2252
|
+
outDir: context.options.distDir ? joinPaths(context.outputPath, context.options.distDir) : context.outputPath,
|
|
2207
2253
|
workspaceConfig: context.workspaceConfig
|
|
2208
2254
|
});
|
|
2209
2255
|
stopwatch();
|
|
@@ -1678,7 +1678,6 @@ var DEFAULT_COMPILED_BANNER = `/*****************************************
|
|
|
1678
1678
|
*****************************************/
|
|
1679
1679
|
`;
|
|
1680
1680
|
var DEFAULT_ENVIRONMENT = "production";
|
|
1681
|
-
var DEFAULT_TARGET = "esnext";
|
|
1682
1681
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
1683
1682
|
|
|
1684
1683
|
// ../build-tools/src/plugins/index.ts
|
|
@@ -1947,9 +1946,7 @@ _chunkXIADWDXKjs.init_cjs_shims.call(void 0, );
|
|
|
1947
1946
|
var DEFAULT_BUILD_OPTIONS = {
|
|
1948
1947
|
assets: [],
|
|
1949
1948
|
platform: "node",
|
|
1950
|
-
target:
|
|
1951
|
-
"esnext"
|
|
1952
|
-
],
|
|
1949
|
+
target: "node22",
|
|
1953
1950
|
format: "esm",
|
|
1954
1951
|
tsconfig: "tsconfig.json",
|
|
1955
1952
|
mode: "production",
|
|
@@ -1958,9 +1955,11 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
1958
1955
|
keepNames: true,
|
|
1959
1956
|
metafile: false,
|
|
1960
1957
|
treeshake: true,
|
|
1958
|
+
splitting: true,
|
|
1961
1959
|
shims: false,
|
|
1962
1960
|
watch: false,
|
|
1963
1961
|
bundle: true,
|
|
1962
|
+
distDir: "dist",
|
|
1964
1963
|
loader: {
|
|
1965
1964
|
".aac": "file",
|
|
1966
1965
|
".css": "file",
|
|
@@ -2106,29 +2105,23 @@ async function resolveContext(userOptions) {
|
|
|
2106
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.");
|
|
2107
2106
|
}
|
|
2108
2107
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
2109
|
-
options.name ??=
|
|
2110
|
-
options.target ??= DEFAULT_TARGET;
|
|
2108
|
+
options.name ??= projectName;
|
|
2111
2109
|
const packageJsonPath = _chunkIND7PM3Ljs.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
|
|
2112
2110
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
2113
2111
|
throw new Error("Cannot find package.json configuration");
|
|
2114
2112
|
}
|
|
2115
2113
|
const env = getEnv("esbuild", options);
|
|
2114
|
+
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
2116
2115
|
const resolvedOptions = {
|
|
2117
2116
|
...options,
|
|
2118
2117
|
tsconfig: _chunkIND7PM3Ljs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
2119
|
-
distDir: "dist",
|
|
2120
|
-
name: projectName,
|
|
2121
2118
|
metafile: userOptions.mode === "development",
|
|
2122
|
-
...userOptions,
|
|
2123
2119
|
clean: false,
|
|
2124
|
-
target: userOptions.target || options.target,
|
|
2125
|
-
splitting: options.format === "iife" ? false : options.treeshake === void 0 ? options.splitting : true,
|
|
2126
2120
|
env,
|
|
2127
2121
|
define: {
|
|
2128
2122
|
STORM_FORMAT: JSON.stringify(options.format),
|
|
2129
|
-
...
|
|
2130
|
-
|
|
2131
|
-
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]);
|
|
2132
2125
|
const safeKey = key.replaceAll("(", "").replaceAll(")", "");
|
|
2133
2126
|
return {
|
|
2134
2127
|
...res,
|
|
@@ -2170,26 +2163,79 @@ async function generatePackageJson(context) {
|
|
|
2170
2163
|
if (context.options.entry) {
|
|
2171
2164
|
packageJson.exports ??= {};
|
|
2172
2165
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
2173
|
-
packageJson.exports["."] ??= `.${context.options.distDir ? `/${context.options.distDir}` : ""}/index.js`;
|
|
2174
2166
|
const entryPoints = Array.isArray(context.options.entry) ? context.options.entry : Object.keys(context.options.entry);
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2167
|
+
if (entryPoints.length > 0) {
|
|
2168
|
+
const defaultEntry = entryPoints.includes("index") ? `.${context.options.distDir ? `/${context.options.distDir}` : ""}/index` : `.${context.options.distDir ? `/${context.options.distDir}` : ""}/${entryPoints[0]}`;
|
|
2169
|
+
const isEsm = Array.isArray(context.options.format) ? context.options.format.includes("esm") : context.options.format === "esm";
|
|
2170
|
+
const isCjs = Array.isArray(context.options.format) ? context.options.format.includes("cjs") : context.options.format === "cjs";
|
|
2171
|
+
const isDts = context.options.dts || context.options.experimentalDts;
|
|
2172
|
+
packageJson.exports["."] ??= `${defaultEntry}.${isEsm ? "mjs" : isCjs ? "cjs" : "js"}`;
|
|
2173
|
+
for (const entryPoint of entryPoints) {
|
|
2174
|
+
packageJson.exports[`./${entryPoint}`] ??= {};
|
|
2175
|
+
if (isEsm) {
|
|
2176
|
+
if (isDts) {
|
|
2177
|
+
packageJson.exports[`./${entryPoint}`].import = {
|
|
2178
|
+
types: `./dist/${entryPoint}.d.mts`,
|
|
2179
|
+
default: `./dist/${entryPoint}.mjs`
|
|
2180
|
+
};
|
|
2181
|
+
} else {
|
|
2182
|
+
packageJson.exports[`./${entryPoint}`].import = `./dist/${entryPoint}.mjs`;
|
|
2183
|
+
}
|
|
2184
|
+
if (isDts) {
|
|
2185
|
+
packageJson.exports[`./${entryPoint}`].default = {
|
|
2186
|
+
types: `./dist/${entryPoint}.d.mts`,
|
|
2187
|
+
default: `./dist/${entryPoint}.mjs`
|
|
2188
|
+
};
|
|
2189
|
+
} else {
|
|
2190
|
+
packageJson.exports[`./${entryPoint}`].default = `./dist/${entryPoint}.mjs`;
|
|
2191
|
+
}
|
|
2192
|
+
}
|
|
2193
|
+
if (isCjs) {
|
|
2194
|
+
if (isDts) {
|
|
2195
|
+
packageJson.exports[`./${entryPoint}`].require = {
|
|
2196
|
+
types: `./dist/${entryPoint}.d.cts`,
|
|
2197
|
+
default: `./dist/${entryPoint}.cjs`
|
|
2198
|
+
};
|
|
2199
|
+
} else {
|
|
2200
|
+
packageJson.exports[`./${entryPoint}`].require = `./dist/${entryPoint}.cjs`;
|
|
2201
|
+
}
|
|
2202
|
+
if (!isEsm) {
|
|
2203
|
+
if (isDts) {
|
|
2204
|
+
packageJson.exports[`./${entryPoint}`].default = {
|
|
2205
|
+
types: `./dist/${entryPoint}.d.cts`,
|
|
2206
|
+
default: `./dist/${entryPoint}.cjs`
|
|
2207
|
+
};
|
|
2208
|
+
} else {
|
|
2209
|
+
packageJson.exports[`./${entryPoint}`].default = `./dist/${entryPoint}.cjs`;
|
|
2210
|
+
}
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2213
|
+
if (!isEsm && !isCjs) {
|
|
2214
|
+
if (isDts) {
|
|
2215
|
+
packageJson.exports[`./${entryPoint}`].default = {
|
|
2216
|
+
types: `./dist/${entryPoint}.d.ts`,
|
|
2217
|
+
default: `./dist/${entryPoint}.js`
|
|
2218
|
+
};
|
|
2219
|
+
} else {
|
|
2220
|
+
packageJson.exports[`./${entryPoint}`].default = `./dist/${entryPoint}.js`;
|
|
2221
|
+
}
|
|
2222
|
+
}
|
|
2179
2223
|
}
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
packageJson.exports = Object.keys(packageJson.exports).reduce((ret, key) => {
|
|
2188
|
-
if (key.endsWith("/index") && !ret[key.replace("/index", "")]) {
|
|
2189
|
-
ret[key.replace("/index", "")] = packageJson.exports[key];
|
|
2224
|
+
if (isEsm) {
|
|
2225
|
+
packageJson.module = `${defaultEntry}.mjs`;
|
|
2226
|
+
} else {
|
|
2227
|
+
packageJson.main = `${defaultEntry}.cjs`;
|
|
2228
|
+
}
|
|
2229
|
+
if (isDts) {
|
|
2230
|
+
packageJson.types = `${defaultEntry}.d.${isEsm ? "mts" : isCjs ? "cts" : "ts"}`;
|
|
2190
2231
|
}
|
|
2191
|
-
|
|
2192
|
-
|
|
2232
|
+
packageJson.exports = Object.keys(packageJson.exports).reduce((ret, key) => {
|
|
2233
|
+
if (key.endsWith("/index") && !ret[key.replace("/index", "")]) {
|
|
2234
|
+
ret[key.replace("/index", "")] = packageJson.exports[key];
|
|
2235
|
+
}
|
|
2236
|
+
return ret;
|
|
2237
|
+
}, packageJson.exports);
|
|
2238
|
+
}
|
|
2193
2239
|
}
|
|
2194
2240
|
await _devkit.writeJsonFile.call(void 0, _chunkIND7PM3Ljs.joinPaths.call(void 0, context.outputPath, "package.json"), packageJson);
|
|
2195
2241
|
stopwatch();
|
|
@@ -2202,7 +2248,7 @@ async function executeTsup(context) {
|
|
|
2202
2248
|
const stopwatch = getStopwatch(`${context.options.name} build`);
|
|
2203
2249
|
await _tsup.build.call(void 0, {
|
|
2204
2250
|
...context.options,
|
|
2205
|
-
outDir: context.outputPath,
|
|
2251
|
+
outDir: context.options.distDir ? _chunkIND7PM3Ljs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
|
|
2206
2252
|
workspaceConfig: context.workspaceConfig
|
|
2207
2253
|
});
|
|
2208
2254
|
stopwatch();
|
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;
|