@storm-software/tsdown 0.27.11 → 0.27.12
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/README.md +7 -7
- package/dist/build.cjs +3 -3
- package/dist/build.js +2 -2
- package/dist/{chunk-45IJYPPM.cjs → chunk-HBRFPU3J.cjs} +21 -4
- package/dist/{chunk-YEFYKJEC.js → chunk-SRDH3VQ5.js} +33 -1
- package/dist/{chunk-CY7ZFUW7.js → chunk-WAL2QM22.js} +21 -4
- package/dist/{chunk-YR2YBZOB.cjs → chunk-YDB6OO6Q.cjs} +120 -88
- package/dist/clean.cjs +2 -2
- package/dist/clean.js +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<!-- markdownlint-disable -->
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
<div align="center"><img src="https://
|
|
6
|
+
<div align="center"><img src="https://public.storm-cdn.com/storm-banner.gif" width="100%" alt="Storm Software" /></div>
|
|
7
7
|
<br />
|
|
8
8
|
|
|
9
9
|
<div align="center">
|
|
@@ -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 -->
|
|
@@ -33,7 +33,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
33
33
|
<!-- prettier-ignore-end -->
|
|
34
34
|
|
|
35
35
|
<div align="center">
|
|
36
|
-
<b>Be sure to ⭐ this
|
|
36
|
+
<b>Be sure to ⭐ this <a href="https://github.com/storm-software/storm-ops" target="_blank">repository on GitHub</a> so you can keep up to date on any daily progress!</b>
|
|
37
37
|
</div>
|
|
38
38
|
|
|
39
39
|
<br />
|
|
@@ -226,7 +226,7 @@ specification. Contributions of any kind welcome!
|
|
|
226
226
|
<br />
|
|
227
227
|
|
|
228
228
|
<div align="center">
|
|
229
|
-
<img src="https://
|
|
229
|
+
<img src="https://public.storm-cdn.com/brand-banner.png" width="100%" alt="Storm Software" />
|
|
230
230
|
</div>
|
|
231
231
|
<br />
|
|
232
232
|
|
|
@@ -235,7 +235,7 @@ specification. Contributions of any kind welcome!
|
|
|
235
235
|
</div>
|
|
236
236
|
|
|
237
237
|
<div align="center">
|
|
238
|
-
<b>Fingerprint:</b>
|
|
238
|
+
<b>Fingerprint:</b> F47F 1853 BCAD DE9B 42C8 6316 9FDE EC95 47FE D106
|
|
239
239
|
</div>
|
|
240
240
|
<br />
|
|
241
241
|
|
|
@@ -258,9 +258,9 @@ channel!
|
|
|
258
258
|
|
|
259
259
|
<br />
|
|
260
260
|
|
|
261
|
-
<div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://
|
|
261
|
+
<div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://public.storm-cdn.com/icon-fill.png" alt="Storm Software" width="200px"/></a></div>
|
|
262
262
|
<br />
|
|
263
|
-
<div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://
|
|
263
|
+
<div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://public.storm-cdn.com/visit-us-text.svg" alt="Visit us at stormsoftware.com" height="90px"/></a></div>
|
|
264
264
|
|
|
265
265
|
<br />
|
|
266
266
|
|
package/dist/build.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkYDB6OO6Qcjs = require('./chunk-YDB6OO6Q.cjs');
|
|
5
|
+
require('./chunk-HBRFPU3J.cjs');
|
|
6
6
|
require('./chunk-DEWYQH4B.cjs');
|
|
7
7
|
require('./chunk-USNT2KNT.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.build =
|
|
11
|
+
exports.build = _chunkYDB6OO6Qcjs.build; exports.cleanOutputPath = _chunkYDB6OO6Qcjs.cleanOutputPath;
|
package/dist/build.js
CHANGED
|
@@ -29,15 +29,22 @@ var LogLevelLabel = {
|
|
|
29
29
|
// ../config/src/constants.ts
|
|
30
30
|
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
31
31
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
32
|
+
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
32
33
|
var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
|
|
33
34
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
34
|
-
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/
|
|
35
|
+
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
36
|
+
var STORM_DEFAULT_ACCOUNT_TWITTER = "StormSoftwareHQ";
|
|
37
|
+
var STORM_DEFAULT_ACCOUNT_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
38
|
+
var STORM_DEFAULT_ACCOUNT_TELEGRAM = "https://t.me/storm_software";
|
|
39
|
+
var STORM_DEFAULT_ACCOUNT_SLACK = "https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA";
|
|
40
|
+
var STORM_DEFAULT_ACCOUNT_MEDIUM = "https://medium.com/storm-software";
|
|
41
|
+
var STORM_DEFAULT_ACCOUNT_GITHUB = "https://github.com/storm-software";
|
|
35
42
|
var STORM_DEFAULT_RELEASE_FOOTER = `
|
|
36
|
-
|
|
43
|
+
Storm Software is an open source software development organization with the mission is to make software development more accessible. Our ideal future is one where anyone can create software without years of prior development experience serving as a barrier to entry. We hope to achieve this via LLMs, Generative AI, and intuitive, high-level data modeling/programming languages.
|
|
37
44
|
|
|
38
|
-
Join us on [Discord](
|
|
45
|
+
Join us on [Discord](${STORM_DEFAULT_ACCOUNT_DISCORD}) to chat with the team, receive release notifications, ask questions, and get involved.
|
|
39
46
|
|
|
40
|
-
If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](
|
|
47
|
+
If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](${STORM_DEFAULT_CONTACT}) or join our [Slack](${STORM_DEFAULT_ACCOUNT_SLACK}) channel!
|
|
41
48
|
`;
|
|
42
49
|
|
|
43
50
|
// ../config/src/schema.ts
|
|
@@ -134,6 +141,14 @@ var WorkspaceReleaseConfigSchema = _zod2.default.object({
|
|
|
134
141
|
header: _zod2.default.string().trim().optional().describe("A header message appended to the start of the workspace's release notes"),
|
|
135
142
|
footer: _zod2.default.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe("A footer message appended to the end of the workspace's release notes")
|
|
136
143
|
}).describe("The workspace's release config used during the release process");
|
|
144
|
+
var WorkspaceAccountConfigSchema = _zod2.default.object({
|
|
145
|
+
twitter: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_TWITTER).describe("A Twitter/X account associated with the organization/project"),
|
|
146
|
+
discord: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_DISCORD).describe("A Discord account associated with the organization/project"),
|
|
147
|
+
telegram: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_TELEGRAM).describe("A Telegram account associated with the organization/project"),
|
|
148
|
+
slack: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_SLACK).describe("A Slack account associated with the organization/project"),
|
|
149
|
+
medium: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_MEDIUM).describe("A Medium account associated with the organization/project"),
|
|
150
|
+
github: _zod2.default.string().trim().default(STORM_DEFAULT_ACCOUNT_GITHUB).describe("A GitHub account associated with the organization/project")
|
|
151
|
+
}).describe("The workspace's account config used to store various social media links");
|
|
137
152
|
var WorkspaceDirectoryConfigSchema = _zod2.default.object({
|
|
138
153
|
cache: _zod2.default.string().trim().optional().describe("The directory used to store the environment's cached file data"),
|
|
139
154
|
data: _zod2.default.string().trim().optional().describe("The directory used to store the environment's data files"),
|
|
@@ -153,11 +168,13 @@ var StormConfigSchema = _zod2.default.object({
|
|
|
153
168
|
homepage: _zod2.default.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
|
|
154
169
|
docs: _zod2.default.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
|
|
155
170
|
licensing: _zod2.default.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
|
|
171
|
+
contact: _zod2.default.string().trim().url().default(STORM_DEFAULT_CONTACT).describe("The base contact site for the workspace"),
|
|
156
172
|
branch: _zod2.default.string().trim().default("main").describe("The branch of the workspace"),
|
|
157
173
|
preid: _zod2.default.string().optional().describe("A tag specifying the version pre-release identifier"),
|
|
158
174
|
owner: _zod2.default.string().trim().default("@storm-software/admin").describe("The owner of the package"),
|
|
159
175
|
bot: WorkspaceBotConfigSchema,
|
|
160
176
|
release: WorkspaceReleaseConfigSchema,
|
|
177
|
+
account: WorkspaceAccountConfigSchema,
|
|
161
178
|
mode: _zod2.default.enum([
|
|
162
179
|
"development",
|
|
163
180
|
"staging",
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
writeSuccess,
|
|
21
21
|
writeTrace,
|
|
22
22
|
writeWarning
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WAL2QM22.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_BUILD_OPTIONS
|
|
26
26
|
} from "./chunk-PR5HLZXS.js";
|
|
@@ -324,12 +324,21 @@ var getConfigEnv = /* @__PURE__ */ __name(() => {
|
|
|
324
324
|
header: process.env[`${prefix}RELEASE_HEADER`] || void 0,
|
|
325
325
|
footer: process.env[`${prefix}RELEASE_FOOTER`] || void 0
|
|
326
326
|
},
|
|
327
|
+
account: {
|
|
328
|
+
twitter: process.env[`${prefix}ACCOUNT_TWITTER`] || void 0,
|
|
329
|
+
discord: process.env[`${prefix}ACCOUNT_DISCORD`] || void 0,
|
|
330
|
+
telegram: process.env[`${prefix}ACCOUNT_TELEGRAM`] || void 0,
|
|
331
|
+
slack: process.env[`${prefix}ACCOUNT_SLACK`] || void 0,
|
|
332
|
+
medium: process.env[`${prefix}ACCOUNT_MEDIUM`] || void 0,
|
|
333
|
+
github: process.env[`${prefix}ACCOUNT_GITHUB`] || void 0
|
|
334
|
+
},
|
|
327
335
|
organization: process.env[`${prefix}ORGANIZATION`] || void 0,
|
|
328
336
|
packageManager: process.env[`${prefix}PACKAGE_MANAGER`] || void 0,
|
|
329
337
|
license: process.env[`${prefix}LICENSE`] || void 0,
|
|
330
338
|
homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
|
|
331
339
|
docs: process.env[`${prefix}DOCS`] || void 0,
|
|
332
340
|
licensing: process.env[`${prefix}LICENSING`] || void 0,
|
|
341
|
+
contact: process.env[`${prefix}CONTACT`] || void 0,
|
|
333
342
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
334
343
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
335
344
|
configFile: process.env[`${prefix}CONFIG_FILE`] ? correctPaths(process.env[`${prefix}CONFIG_FILE`]) : void 0,
|
|
@@ -493,6 +502,26 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
|
|
|
493
502
|
process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
|
|
494
503
|
process.env[`${prefix}RELEASE_FOOTER`] = config.release.footer;
|
|
495
504
|
}
|
|
505
|
+
if (config.account) {
|
|
506
|
+
if (config.account.twitter) {
|
|
507
|
+
process.env[`${prefix}ACCOUNT_TWITTER`] = config.account.twitter;
|
|
508
|
+
}
|
|
509
|
+
if (config.account.discord) {
|
|
510
|
+
process.env[`${prefix}ACCOUNT_DISCORD`] = config.account.discord;
|
|
511
|
+
}
|
|
512
|
+
if (config.account.telegram) {
|
|
513
|
+
process.env[`${prefix}ACCOUNT_TELEGRAM`] = config.account.telegram;
|
|
514
|
+
}
|
|
515
|
+
if (config.account.slack) {
|
|
516
|
+
process.env[`${prefix}ACCOUNT_SLACK`] = config.account.slack;
|
|
517
|
+
}
|
|
518
|
+
if (config.account.medium) {
|
|
519
|
+
process.env[`${prefix}ACCOUNT_MEDIUM`] = config.account.medium;
|
|
520
|
+
}
|
|
521
|
+
if (config.account.github) {
|
|
522
|
+
process.env[`${prefix}ACCOUNT_GITHUB`] = config.account.github;
|
|
523
|
+
}
|
|
524
|
+
}
|
|
496
525
|
if (config.organization) {
|
|
497
526
|
process.env[`${prefix}ORGANIZATION`] = config.organization;
|
|
498
527
|
}
|
|
@@ -511,6 +540,9 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
|
|
|
511
540
|
if (config.licensing) {
|
|
512
541
|
process.env[`${prefix}LICENSING`] = config.licensing;
|
|
513
542
|
}
|
|
543
|
+
if (config.contact) {
|
|
544
|
+
process.env[`${prefix}CONTACT`] = config.contact;
|
|
545
|
+
}
|
|
514
546
|
if (config.timezone) {
|
|
515
547
|
process.env[`${prefix}TIMEZONE`] = config.timezone;
|
|
516
548
|
process.env.TZ = config.timezone;
|
|
@@ -29,15 +29,22 @@ var LogLevelLabel = {
|
|
|
29
29
|
// ../config/src/constants.ts
|
|
30
30
|
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
31
31
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
32
|
+
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
32
33
|
var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
|
|
33
34
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
34
|
-
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/
|
|
35
|
+
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
36
|
+
var STORM_DEFAULT_ACCOUNT_TWITTER = "StormSoftwareHQ";
|
|
37
|
+
var STORM_DEFAULT_ACCOUNT_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
38
|
+
var STORM_DEFAULT_ACCOUNT_TELEGRAM = "https://t.me/storm_software";
|
|
39
|
+
var STORM_DEFAULT_ACCOUNT_SLACK = "https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA";
|
|
40
|
+
var STORM_DEFAULT_ACCOUNT_MEDIUM = "https://medium.com/storm-software";
|
|
41
|
+
var STORM_DEFAULT_ACCOUNT_GITHUB = "https://github.com/storm-software";
|
|
35
42
|
var STORM_DEFAULT_RELEASE_FOOTER = `
|
|
36
|
-
|
|
43
|
+
Storm Software is an open source software development organization with the mission is to make software development more accessible. Our ideal future is one where anyone can create software without years of prior development experience serving as a barrier to entry. We hope to achieve this via LLMs, Generative AI, and intuitive, high-level data modeling/programming languages.
|
|
37
44
|
|
|
38
|
-
Join us on [Discord](
|
|
45
|
+
Join us on [Discord](${STORM_DEFAULT_ACCOUNT_DISCORD}) to chat with the team, receive release notifications, ask questions, and get involved.
|
|
39
46
|
|
|
40
|
-
If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](
|
|
47
|
+
If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](${STORM_DEFAULT_CONTACT}) or join our [Slack](${STORM_DEFAULT_ACCOUNT_SLACK}) channel!
|
|
41
48
|
`;
|
|
42
49
|
|
|
43
50
|
// ../config/src/schema.ts
|
|
@@ -134,6 +141,14 @@ var WorkspaceReleaseConfigSchema = z.object({
|
|
|
134
141
|
header: z.string().trim().optional().describe("A header message appended to the start of the workspace's release notes"),
|
|
135
142
|
footer: z.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe("A footer message appended to the end of the workspace's release notes")
|
|
136
143
|
}).describe("The workspace's release config used during the release process");
|
|
144
|
+
var WorkspaceAccountConfigSchema = z.object({
|
|
145
|
+
twitter: z.string().trim().default(STORM_DEFAULT_ACCOUNT_TWITTER).describe("A Twitter/X account associated with the organization/project"),
|
|
146
|
+
discord: z.string().trim().default(STORM_DEFAULT_ACCOUNT_DISCORD).describe("A Discord account associated with the organization/project"),
|
|
147
|
+
telegram: z.string().trim().default(STORM_DEFAULT_ACCOUNT_TELEGRAM).describe("A Telegram account associated with the organization/project"),
|
|
148
|
+
slack: z.string().trim().default(STORM_DEFAULT_ACCOUNT_SLACK).describe("A Slack account associated with the organization/project"),
|
|
149
|
+
medium: z.string().trim().default(STORM_DEFAULT_ACCOUNT_MEDIUM).describe("A Medium account associated with the organization/project"),
|
|
150
|
+
github: z.string().trim().default(STORM_DEFAULT_ACCOUNT_GITHUB).describe("A GitHub account associated with the organization/project")
|
|
151
|
+
}).describe("The workspace's account config used to store various social media links");
|
|
137
152
|
var WorkspaceDirectoryConfigSchema = z.object({
|
|
138
153
|
cache: z.string().trim().optional().describe("The directory used to store the environment's cached file data"),
|
|
139
154
|
data: z.string().trim().optional().describe("The directory used to store the environment's data files"),
|
|
@@ -153,11 +168,13 @@ var StormConfigSchema = z.object({
|
|
|
153
168
|
homepage: z.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
|
|
154
169
|
docs: z.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
|
|
155
170
|
licensing: z.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
|
|
171
|
+
contact: z.string().trim().url().default(STORM_DEFAULT_CONTACT).describe("The base contact site for the workspace"),
|
|
156
172
|
branch: z.string().trim().default("main").describe("The branch of the workspace"),
|
|
157
173
|
preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
|
|
158
174
|
owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
|
|
159
175
|
bot: WorkspaceBotConfigSchema,
|
|
160
176
|
release: WorkspaceReleaseConfigSchema,
|
|
177
|
+
account: WorkspaceAccountConfigSchema,
|
|
161
178
|
mode: z.enum([
|
|
162
179
|
"development",
|
|
163
180
|
"staging",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkHBRFPU3Jcjs = require('./chunk-HBRFPU3J.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
var _chunkDEWYQH4Bcjs = require('./chunk-DEWYQH4B.cjs');
|
|
@@ -79,8 +79,8 @@ var copyAssets = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, async (co
|
|
|
79
79
|
output: "src/"
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
|
-
|
|
83
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
82
|
+
_chunkHBRFPU3Jcjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
|
|
83
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkHBRFPU3Jcjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
|
|
84
84
|
const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
|
|
85
85
|
projectDir: projectRoot,
|
|
86
86
|
rootDir: config.workspaceRoot,
|
|
@@ -89,12 +89,12 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
89
89
|
});
|
|
90
90
|
await assetHandler.processAllAssetsOnce();
|
|
91
91
|
if (includeSrc === true) {
|
|
92
|
-
|
|
92
|
+
_chunkHBRFPU3Jcjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkHBRFPU3Jcjs.joinPaths.call(void 0, outputPath, "src")}`, config);
|
|
93
93
|
const files = await _glob.glob.call(void 0, [
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
94
|
+
_chunkHBRFPU3Jcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
95
|
+
_chunkHBRFPU3Jcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
96
|
+
_chunkHBRFPU3Jcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
97
|
+
_chunkHBRFPU3Jcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
98
98
|
]);
|
|
99
99
|
await Promise.allSettled(files.map(async (file) => _promises.writeFile.call(void 0, file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
|
|
100
100
|
|
|
@@ -117,7 +117,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void
|
|
|
117
117
|
for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && _optionalChain([dep, 'access', _ => _.node, 'access', _2 => _2.data, 'optionalAccess', _3 => _3.root]) !== projectRoot && _optionalChain([dep, 'access', _4 => _4.node, 'access', _5 => _5.data, 'optionalAccess', _6 => _6.root]) !== workspaceRoot)) {
|
|
118
118
|
const projectNode = project.node;
|
|
119
119
|
if (projectNode.data.root) {
|
|
120
|
-
const projectPackageJsonPath =
|
|
120
|
+
const projectPackageJsonPath = _chunkHBRFPU3Jcjs.joinPaths.call(void 0, workspaceRoot, projectNode.data.root, "package.json");
|
|
121
121
|
if (_fs.existsSync.call(void 0, projectPackageJsonPath)) {
|
|
122
122
|
const projectPackageJsonContent = await _promises.readFile.call(void 0, projectPackageJsonPath, "utf8");
|
|
123
123
|
const projectPackageJson = JSON.parse(projectPackageJsonContent);
|
|
@@ -128,8 +128,8 @@ var addPackageDependencies = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void
|
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
if (localPackages.length > 0) {
|
|
131
|
-
|
|
132
|
-
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
131
|
+
_chunkHBRFPU3Jcjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
|
|
132
|
+
const projectJsonFile = await _promises.readFile.call(void 0, _chunkHBRFPU3Jcjs.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
|
|
133
133
|
const projectJson = JSON.parse(projectJsonFile);
|
|
134
134
|
const projectName2 = projectJson.name;
|
|
135
135
|
const projectConfigurations = _projectgraph.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
@@ -138,7 +138,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void
|
|
|
138
138
|
}
|
|
139
139
|
const implicitDependencies = _optionalChain([projectConfigurations, 'access', _9 => _9.projects, 'optionalAccess', _10 => _10[projectName2], 'access', _11 => _11.implicitDependencies, 'optionalAccess', _12 => _12.reduce, 'call', _13 => _13((ret, dep) => {
|
|
140
140
|
if (_optionalChain([projectConfigurations, 'access', _14 => _14.projects, 'optionalAccess', _15 => _15[dep]])) {
|
|
141
|
-
const depPackageJsonPath =
|
|
141
|
+
const depPackageJsonPath = _chunkHBRFPU3Jcjs.joinPaths.call(void 0, workspaceRoot, projectConfigurations.projects[dep].root, "package.json");
|
|
142
142
|
if (_fs.existsSync.call(void 0, depPackageJsonPath)) {
|
|
143
143
|
const depPackageJsonContent = _fs.readFileSync.call(void 0, depPackageJsonPath, "utf8");
|
|
144
144
|
const depPackageJson = JSON.parse(depPackageJsonContent);
|
|
@@ -162,13 +162,13 @@ var addPackageDependencies = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void
|
|
|
162
162
|
return ret;
|
|
163
163
|
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
164
164
|
} else {
|
|
165
|
-
|
|
165
|
+
_chunkHBRFPU3Jcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
166
166
|
}
|
|
167
167
|
return packageJson;
|
|
168
168
|
}, "addPackageDependencies");
|
|
169
169
|
var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
170
|
-
const workspaceRoot = config.workspaceRoot ? config.workspaceRoot :
|
|
171
|
-
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
170
|
+
const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunkHBRFPU3Jcjs.findWorkspaceRoot.call(void 0, );
|
|
171
|
+
const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkHBRFPU3Jcjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
|
|
172
172
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
173
173
|
packageJson.type ??= "module";
|
|
174
174
|
packageJson.sideEffects ??= false;
|
|
@@ -177,7 +177,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.cal
|
|
|
177
177
|
if (distSrc.startsWith("/")) {
|
|
178
178
|
distSrc = distSrc.substring(1);
|
|
179
179
|
}
|
|
180
|
-
packageJson.source ??= `${
|
|
180
|
+
packageJson.source ??= `${_chunkHBRFPU3Jcjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
181
181
|
}
|
|
182
182
|
packageJson.files ??= [
|
|
183
183
|
"dist/**/*"
|
|
@@ -208,7 +208,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.cal
|
|
|
208
208
|
];
|
|
209
209
|
}
|
|
210
210
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
211
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
211
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkHBRFPU3Jcjs.joinPaths.call(void 0, "packages", projectName);
|
|
212
212
|
return packageJson;
|
|
213
213
|
}, "addWorkspacePackageJsonFields");
|
|
214
214
|
var addPackageJsonExport = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, (file, type = "module", sourceRoot) => {
|
|
@@ -236,7 +236,7 @@ var addPackageJsonExport = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0,
|
|
|
236
236
|
var _c12 = require('c12');
|
|
237
237
|
var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
|
|
238
238
|
var getConfigFileByName = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
|
|
239
|
-
const workspacePath = filePath ||
|
|
239
|
+
const workspacePath = filePath || _chunkHBRFPU3Jcjs.findWorkspaceRoot.call(void 0, filePath);
|
|
240
240
|
const configs = await Promise.all([
|
|
241
241
|
_c12.loadConfig.call(void 0, {
|
|
242
242
|
cwd: workspacePath,
|
|
@@ -245,7 +245,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0,
|
|
|
245
245
|
envName: _optionalChain([fileName, 'optionalAccess', _20 => _20.toUpperCase, 'call', _21 => _21()]),
|
|
246
246
|
jitiOptions: {
|
|
247
247
|
debug: false,
|
|
248
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
248
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkHBRFPU3Jcjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
|
|
249
249
|
},
|
|
250
250
|
...options
|
|
251
251
|
}),
|
|
@@ -256,7 +256,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0,
|
|
|
256
256
|
envName: _optionalChain([fileName, 'optionalAccess', _22 => _22.toUpperCase, 'call', _23 => _23()]),
|
|
257
257
|
jitiOptions: {
|
|
258
258
|
debug: false,
|
|
259
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
259
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkHBRFPU3Jcjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
|
|
260
260
|
},
|
|
261
261
|
configFile: fileName,
|
|
262
262
|
...options
|
|
@@ -265,12 +265,12 @@ var getConfigFileByName = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0,
|
|
|
265
265
|
return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
|
|
266
266
|
}, "getConfigFileByName");
|
|
267
267
|
var getConfigFile = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
|
|
268
|
-
const workspacePath = filePath ? filePath :
|
|
268
|
+
const workspacePath = filePath ? filePath : _chunkHBRFPU3Jcjs.findWorkspaceRoot.call(void 0, filePath);
|
|
269
269
|
const result = await getConfigFileByName("storm-workspace", workspacePath);
|
|
270
270
|
let config = result.config;
|
|
271
271
|
const configFile = result.configFile;
|
|
272
272
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
273
|
-
|
|
273
|
+
_chunkHBRFPU3Jcjs.writeTrace.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
|
|
274
274
|
logLevel: "all"
|
|
275
275
|
});
|
|
276
276
|
}
|
|
@@ -279,7 +279,7 @@ var getConfigFile = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, async
|
|
|
279
279
|
for (const result2 of results) {
|
|
280
280
|
if (_optionalChain([result2, 'optionalAccess', _24 => _24.config]) && _optionalChain([result2, 'optionalAccess', _25 => _25.configFile]) && Object.keys(result2.config).length > 0) {
|
|
281
281
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
282
|
-
|
|
282
|
+
_chunkHBRFPU3Jcjs.writeTrace.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
|
|
283
283
|
logLevel: "all"
|
|
284
284
|
});
|
|
285
285
|
}
|
|
@@ -324,23 +324,32 @@ var getConfigEnv = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, () => {
|
|
|
324
324
|
header: process.env[`${prefix}RELEASE_HEADER`] || void 0,
|
|
325
325
|
footer: process.env[`${prefix}RELEASE_FOOTER`] || void 0
|
|
326
326
|
},
|
|
327
|
+
account: {
|
|
328
|
+
twitter: process.env[`${prefix}ACCOUNT_TWITTER`] || void 0,
|
|
329
|
+
discord: process.env[`${prefix}ACCOUNT_DISCORD`] || void 0,
|
|
330
|
+
telegram: process.env[`${prefix}ACCOUNT_TELEGRAM`] || void 0,
|
|
331
|
+
slack: process.env[`${prefix}ACCOUNT_SLACK`] || void 0,
|
|
332
|
+
medium: process.env[`${prefix}ACCOUNT_MEDIUM`] || void 0,
|
|
333
|
+
github: process.env[`${prefix}ACCOUNT_GITHUB`] || void 0
|
|
334
|
+
},
|
|
327
335
|
organization: process.env[`${prefix}ORGANIZATION`] || void 0,
|
|
328
336
|
packageManager: process.env[`${prefix}PACKAGE_MANAGER`] || void 0,
|
|
329
337
|
license: process.env[`${prefix}LICENSE`] || void 0,
|
|
330
338
|
homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
|
|
331
339
|
docs: process.env[`${prefix}DOCS`] || void 0,
|
|
332
340
|
licensing: process.env[`${prefix}LICENSING`] || void 0,
|
|
341
|
+
contact: process.env[`${prefix}CONTACT`] || void 0,
|
|
333
342
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
334
343
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
335
|
-
configFile: process.env[`${prefix}CONFIG_FILE`] ?
|
|
336
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
344
|
+
configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkHBRFPU3Jcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
|
|
345
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkHBRFPU3Jcjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
337
346
|
directories: {
|
|
338
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
339
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
340
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
341
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
342
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
343
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
347
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkHBRFPU3Jcjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
|
|
348
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkHBRFPU3Jcjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
|
|
349
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkHBRFPU3Jcjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
|
|
350
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkHBRFPU3Jcjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
|
|
351
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkHBRFPU3Jcjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
|
|
352
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkHBRFPU3Jcjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
|
|
344
353
|
},
|
|
345
354
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
346
355
|
mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -363,24 +372,24 @@ var getConfigEnv = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, () => {
|
|
|
363
372
|
cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
|
|
364
373
|
container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
|
|
365
374
|
},
|
|
366
|
-
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ?
|
|
375
|
+
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? _chunkHBRFPU3Jcjs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
367
376
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
368
377
|
};
|
|
369
|
-
const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) &&
|
|
378
|
+
const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkHBRFPU3Jcjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
|
|
370
379
|
config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
|
|
371
380
|
ret[themeName] = getThemeColorConfigEnv(prefix, themeName);
|
|
372
381
|
return ret;
|
|
373
382
|
}, {}) : getThemeColorConfigEnv(prefix);
|
|
374
|
-
if (config.docs ===
|
|
375
|
-
if (config.homepage ===
|
|
376
|
-
config.docs = `${
|
|
383
|
+
if (config.docs === _chunkHBRFPU3Jcjs.STORM_DEFAULT_DOCS) {
|
|
384
|
+
if (config.homepage === _chunkHBRFPU3Jcjs.STORM_DEFAULT_HOMEPAGE) {
|
|
385
|
+
config.docs = `${_chunkHBRFPU3Jcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
|
|
377
386
|
} else {
|
|
378
387
|
config.docs = `${config.homepage}/docs`;
|
|
379
388
|
}
|
|
380
389
|
}
|
|
381
|
-
if (config.licensing ===
|
|
382
|
-
if (config.homepage ===
|
|
383
|
-
config.licensing = `${
|
|
390
|
+
if (config.licensing === _chunkHBRFPU3Jcjs.STORM_DEFAULT_LICENSING) {
|
|
391
|
+
if (config.homepage === _chunkHBRFPU3Jcjs.STORM_DEFAULT_HOMEPAGE) {
|
|
392
|
+
config.licensing = `${_chunkHBRFPU3Jcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
|
|
384
393
|
} else {
|
|
385
394
|
config.licensing = `${config.homepage}/docs`;
|
|
386
395
|
}
|
|
@@ -493,6 +502,26 @@ var setConfigEnv = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, (config
|
|
|
493
502
|
process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
|
|
494
503
|
process.env[`${prefix}RELEASE_FOOTER`] = config.release.footer;
|
|
495
504
|
}
|
|
505
|
+
if (config.account) {
|
|
506
|
+
if (config.account.twitter) {
|
|
507
|
+
process.env[`${prefix}ACCOUNT_TWITTER`] = config.account.twitter;
|
|
508
|
+
}
|
|
509
|
+
if (config.account.discord) {
|
|
510
|
+
process.env[`${prefix}ACCOUNT_DISCORD`] = config.account.discord;
|
|
511
|
+
}
|
|
512
|
+
if (config.account.telegram) {
|
|
513
|
+
process.env[`${prefix}ACCOUNT_TELEGRAM`] = config.account.telegram;
|
|
514
|
+
}
|
|
515
|
+
if (config.account.slack) {
|
|
516
|
+
process.env[`${prefix}ACCOUNT_SLACK`] = config.account.slack;
|
|
517
|
+
}
|
|
518
|
+
if (config.account.medium) {
|
|
519
|
+
process.env[`${prefix}ACCOUNT_MEDIUM`] = config.account.medium;
|
|
520
|
+
}
|
|
521
|
+
if (config.account.github) {
|
|
522
|
+
process.env[`${prefix}ACCOUNT_GITHUB`] = config.account.github;
|
|
523
|
+
}
|
|
524
|
+
}
|
|
496
525
|
if (config.organization) {
|
|
497
526
|
process.env[`${prefix}ORGANIZATION`] = config.organization;
|
|
498
527
|
}
|
|
@@ -511,6 +540,9 @@ var setConfigEnv = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, (config
|
|
|
511
540
|
if (config.licensing) {
|
|
512
541
|
process.env[`${prefix}LICENSING`] = config.licensing;
|
|
513
542
|
}
|
|
543
|
+
if (config.contact) {
|
|
544
|
+
process.env[`${prefix}CONTACT`] = config.contact;
|
|
545
|
+
}
|
|
514
546
|
if (config.timezone) {
|
|
515
547
|
process.env[`${prefix}TIMEZONE`] = config.timezone;
|
|
516
548
|
process.env.TZ = config.timezone;
|
|
@@ -523,31 +555,31 @@ var setConfigEnv = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, (config
|
|
|
523
555
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
524
556
|
}
|
|
525
557
|
if (config.configFile) {
|
|
526
|
-
process.env[`${prefix}CONFIG_FILE`] =
|
|
558
|
+
process.env[`${prefix}CONFIG_FILE`] = _chunkHBRFPU3Jcjs.correctPaths.call(void 0, config.configFile);
|
|
527
559
|
}
|
|
528
560
|
if (config.workspaceRoot) {
|
|
529
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
530
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
531
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
561
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkHBRFPU3Jcjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
562
|
+
process.env.NX_WORKSPACE_ROOT = _chunkHBRFPU3Jcjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
563
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkHBRFPU3Jcjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
532
564
|
}
|
|
533
565
|
if (config.directories) {
|
|
534
566
|
if (!config.skipCache && config.directories.cache) {
|
|
535
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
567
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkHBRFPU3Jcjs.correctPaths.call(void 0, config.directories.cache);
|
|
536
568
|
}
|
|
537
569
|
if (config.directories.data) {
|
|
538
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
570
|
+
process.env[`${prefix}DATA_DIR`] = _chunkHBRFPU3Jcjs.correctPaths.call(void 0, config.directories.data);
|
|
539
571
|
}
|
|
540
572
|
if (config.directories.config) {
|
|
541
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
573
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkHBRFPU3Jcjs.correctPaths.call(void 0, config.directories.config);
|
|
542
574
|
}
|
|
543
575
|
if (config.directories.temp) {
|
|
544
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
576
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkHBRFPU3Jcjs.correctPaths.call(void 0, config.directories.temp);
|
|
545
577
|
}
|
|
546
578
|
if (config.directories.log) {
|
|
547
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
579
|
+
process.env[`${prefix}LOG_DIR`] = _chunkHBRFPU3Jcjs.correctPaths.call(void 0, config.directories.log);
|
|
548
580
|
}
|
|
549
581
|
if (config.directories.build) {
|
|
550
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
582
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkHBRFPU3Jcjs.correctPaths.call(void 0, config.directories.build);
|
|
551
583
|
}
|
|
552
584
|
}
|
|
553
585
|
if (config.skipCache !== void 0) {
|
|
@@ -601,8 +633,8 @@ var setConfigEnv = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, (config
|
|
|
601
633
|
if (config.logLevel) {
|
|
602
634
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
603
635
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
604
|
-
process.env.NX_VERBOSE_LOGGING = String(
|
|
605
|
-
process.env.RUST_BACKTRACE =
|
|
636
|
+
process.env.NX_VERBOSE_LOGGING = String(_chunkHBRFPU3Jcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkHBRFPU3Jcjs.LogLevel.DEBUG ? true : false);
|
|
637
|
+
process.env.RUST_BACKTRACE = _chunkHBRFPU3Jcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkHBRFPU3Jcjs.LogLevel.DEBUG ? "full" : "none";
|
|
606
638
|
}
|
|
607
639
|
if (config.skipConfigLogging !== void 0) {
|
|
608
640
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(config.skipConfigLogging);
|
|
@@ -720,17 +752,17 @@ var createStormConfig = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, as
|
|
|
720
752
|
if (!_optionalChain([_static_cache, 'optionalAccess', _48 => _48.data]) || !_optionalChain([_static_cache, 'optionalAccess', _49 => _49.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
|
|
721
753
|
let _workspaceRoot = workspaceRoot;
|
|
722
754
|
if (!_workspaceRoot) {
|
|
723
|
-
_workspaceRoot =
|
|
755
|
+
_workspaceRoot = _chunkHBRFPU3Jcjs.findWorkspaceRoot.call(void 0, );
|
|
724
756
|
}
|
|
725
757
|
const configEnv = getConfigEnv();
|
|
726
|
-
const defaultConfig = await
|
|
758
|
+
const defaultConfig = await _chunkHBRFPU3Jcjs.getDefaultConfig.call(void 0, _workspaceRoot);
|
|
727
759
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
728
760
|
if (!configFile && !skipLogs) {
|
|
729
|
-
|
|
761
|
+
_chunkHBRFPU3Jcjs.writeWarning.call(void 0, "No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n", {
|
|
730
762
|
logLevel: "all"
|
|
731
763
|
});
|
|
732
764
|
}
|
|
733
|
-
result = await
|
|
765
|
+
result = await _chunkHBRFPU3Jcjs.StormConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
|
|
734
766
|
result.workspaceRoot ??= _workspaceRoot;
|
|
735
767
|
} else {
|
|
736
768
|
result = _static_cache.data;
|
|
@@ -765,8 +797,8 @@ var loadStormConfig = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, asyn
|
|
|
765
797
|
const config = await createStormConfig(void 0, void 0, workspaceRoot, skipLogs);
|
|
766
798
|
setConfigEnv(config);
|
|
767
799
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
768
|
-
|
|
769
|
-
${
|
|
800
|
+
_chunkHBRFPU3Jcjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm Workspace configuration:
|
|
801
|
+
${_chunkHBRFPU3Jcjs.formatLogMessage.call(void 0, config)}`, config);
|
|
770
802
|
}
|
|
771
803
|
return config;
|
|
772
804
|
}, "loadStormConfig");
|
|
@@ -779,7 +811,7 @@ var getConfig = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, (workspace
|
|
|
779
811
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
780
812
|
|
|
781
813
|
var getEntryPoints = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
782
|
-
const workspaceRoot = config.workspaceRoot ||
|
|
814
|
+
const workspaceRoot = config.workspaceRoot || _chunkHBRFPU3Jcjs.findWorkspaceRoot.call(void 0, );
|
|
783
815
|
const entryPoints = [];
|
|
784
816
|
if (entry) {
|
|
785
817
|
if (typeof entry === "string") {
|
|
@@ -791,7 +823,7 @@ var getEntryPoints = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, async
|
|
|
791
823
|
}
|
|
792
824
|
}
|
|
793
825
|
if (emitOnAll) {
|
|
794
|
-
entryPoints.push(
|
|
826
|
+
entryPoints.push(_chunkHBRFPU3Jcjs.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
|
|
795
827
|
}
|
|
796
828
|
const results = await Promise.all(entryPoints.map(async (entryPoint) => {
|
|
797
829
|
const paths = [];
|
|
@@ -803,9 +835,9 @@ var getEntryPoints = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, async
|
|
|
803
835
|
]
|
|
804
836
|
});
|
|
805
837
|
paths.push(...files.reduce((ret, filePath) => {
|
|
806
|
-
const result =
|
|
838
|
+
const result = _chunkHBRFPU3Jcjs.correctPaths.call(void 0, _chunkHBRFPU3Jcjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkHBRFPU3Jcjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkHBRFPU3Jcjs.correctPaths.call(void 0, projectRoot), ""));
|
|
807
839
|
if (result) {
|
|
808
|
-
|
|
840
|
+
_chunkHBRFPU3Jcjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkHBRFPU3Jcjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
|
|
809
841
|
if (!paths.includes(result)) {
|
|
810
842
|
paths.push(result);
|
|
811
843
|
}
|
|
@@ -861,12 +893,12 @@ var resolveOptions = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, async
|
|
|
861
893
|
throw new Error("Cannot find Nx workspace root");
|
|
862
894
|
}
|
|
863
895
|
const config = await getConfig(workspaceRoot.dir);
|
|
864
|
-
|
|
865
|
-
const stopwatch =
|
|
896
|
+
_chunkHBRFPU3Jcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
|
|
897
|
+
const stopwatch = _chunkHBRFPU3Jcjs.getStopwatch.call(void 0, "Build options resolution");
|
|
866
898
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
867
899
|
exitOnError: true
|
|
868
900
|
});
|
|
869
|
-
const projectJsonPath =
|
|
901
|
+
const projectJsonPath = _chunkHBRFPU3Jcjs.joinPaths.call(void 0, workspaceRoot.dir, projectRoot, "project.json");
|
|
870
902
|
if (!_fs.existsSync.call(void 0, projectJsonPath)) {
|
|
871
903
|
throw new Error("Cannot find project.json configuration");
|
|
872
904
|
}
|
|
@@ -880,7 +912,7 @@ var resolveOptions = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, async
|
|
|
880
912
|
const options = _defu2.default.call(void 0, userOptions, _chunkDEWYQH4Bcjs.DEFAULT_BUILD_OPTIONS);
|
|
881
913
|
options.name ??= `${projectName}-${options.format}`;
|
|
882
914
|
options.target ??= DEFAULT_TARGET;
|
|
883
|
-
const packageJsonPath =
|
|
915
|
+
const packageJsonPath = _chunkHBRFPU3Jcjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
|
|
884
916
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
885
917
|
throw new Error("Cannot find package.json configuration");
|
|
886
918
|
}
|
|
@@ -889,20 +921,20 @@ var resolveOptions = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, async
|
|
|
889
921
|
...options,
|
|
890
922
|
config,
|
|
891
923
|
...userOptions,
|
|
892
|
-
tsconfig:
|
|
924
|
+
tsconfig: _chunkHBRFPU3Jcjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
893
925
|
format: options.format || "cjs",
|
|
894
926
|
entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
|
|
895
927
|
"./src/index.ts"
|
|
896
928
|
], userOptions.emitOnAll),
|
|
897
|
-
outdir: userOptions.outputPath ||
|
|
929
|
+
outdir: userOptions.outputPath || _chunkHBRFPU3Jcjs.joinPaths.call(void 0, "dist", projectRoot),
|
|
898
930
|
plugins: [],
|
|
899
931
|
name: userOptions.name || projectName,
|
|
900
932
|
projectConfigurations,
|
|
901
933
|
projectName,
|
|
902
934
|
projectGraph,
|
|
903
|
-
sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot ||
|
|
935
|
+
sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkHBRFPU3Jcjs.joinPaths.call(void 0, projectRoot, "src"),
|
|
904
936
|
minify: userOptions.minify || !userOptions.debug,
|
|
905
|
-
verbose: userOptions.verbose ||
|
|
937
|
+
verbose: userOptions.verbose || _chunkHBRFPU3Jcjs.isVerbose.call(void 0, ) || userOptions.debug === true,
|
|
906
938
|
includeSrc: userOptions.includeSrc === true,
|
|
907
939
|
metafile: userOptions.metafile !== false,
|
|
908
940
|
generatePackageJson: userOptions.generatePackageJson !== false,
|
|
@@ -936,14 +968,14 @@ var resolveOptions = /* @__PURE__ */ _chunkUSNT2KNTcjs.__name.call(void 0, async
|
|
|
936
968
|
return result;
|
|
937
969
|
}, "resolveOptions");
|
|
938
970
|
async function generatePackageJson(options) {
|
|
939
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
940
|
-
|
|
941
|
-
const stopwatch =
|
|
942
|
-
const packageJsonPath =
|
|
971
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkHBRFPU3Jcjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
972
|
+
_chunkHBRFPU3Jcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
|
|
973
|
+
const stopwatch = _chunkHBRFPU3Jcjs.getStopwatch.call(void 0, "Write package.json file");
|
|
974
|
+
const packageJsonPath = _chunkHBRFPU3Jcjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
943
975
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
944
976
|
throw new Error("Cannot find package.json configuration");
|
|
945
977
|
}
|
|
946
|
-
const packageJsonFile = await _promises2.default.readFile(
|
|
978
|
+
const packageJsonFile = await _promises2.default.readFile(_chunkHBRFPU3Jcjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
|
|
947
979
|
if (!packageJsonFile) {
|
|
948
980
|
throw new Error("Cannot find package.json configuration file");
|
|
949
981
|
}
|
|
@@ -982,15 +1014,15 @@ async function generatePackageJson(options) {
|
|
|
982
1014
|
}
|
|
983
1015
|
return ret;
|
|
984
1016
|
}, packageJson.exports);
|
|
985
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
1017
|
+
await _devkit.writeJsonFile.call(void 0, _chunkHBRFPU3Jcjs.joinPaths.call(void 0, options.outdir, "package.json"), packageJson);
|
|
986
1018
|
stopwatch();
|
|
987
1019
|
}
|
|
988
1020
|
return options;
|
|
989
1021
|
}
|
|
990
1022
|
_chunkUSNT2KNTcjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
|
|
991
1023
|
async function executeTSDown(options) {
|
|
992
|
-
|
|
993
|
-
const stopwatch =
|
|
1024
|
+
_chunkHBRFPU3Jcjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
|
|
1025
|
+
const stopwatch = _chunkHBRFPU3Jcjs.getStopwatch.call(void 0, `${options.name} build`);
|
|
994
1026
|
await _tsdown.build.call(void 0, {
|
|
995
1027
|
...options,
|
|
996
1028
|
entry: options.entryPoints,
|
|
@@ -1002,30 +1034,30 @@ async function executeTSDown(options) {
|
|
|
1002
1034
|
}
|
|
1003
1035
|
_chunkUSNT2KNTcjs.__name.call(void 0, executeTSDown, "executeTSDown");
|
|
1004
1036
|
async function copyBuildAssets(options) {
|
|
1005
|
-
|
|
1006
|
-
const stopwatch =
|
|
1037
|
+
_chunkHBRFPU3Jcjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
|
|
1038
|
+
const stopwatch = _chunkHBRFPU3Jcjs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
1007
1039
|
await copyAssets(options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.sourceRoot, true, false);
|
|
1008
1040
|
stopwatch();
|
|
1009
1041
|
return options;
|
|
1010
1042
|
}
|
|
1011
1043
|
_chunkUSNT2KNTcjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
1012
1044
|
async function reportResults(options) {
|
|
1013
|
-
|
|
1045
|
+
_chunkHBRFPU3Jcjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
|
|
1014
1046
|
}
|
|
1015
1047
|
_chunkUSNT2KNTcjs.__name.call(void 0, reportResults, "reportResults");
|
|
1016
1048
|
async function cleanOutputPath(options) {
|
|
1017
1049
|
if (options.clean !== false && options.outdir) {
|
|
1018
|
-
|
|
1019
|
-
const stopwatch =
|
|
1020
|
-
await
|
|
1050
|
+
_chunkHBRFPU3Jcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outdir}`, options.config);
|
|
1051
|
+
const stopwatch = _chunkHBRFPU3Jcjs.getStopwatch.call(void 0, `${options.name} output clean`);
|
|
1052
|
+
await _chunkHBRFPU3Jcjs.cleanDirectories.call(void 0, options.name, options.outdir, options.config);
|
|
1021
1053
|
stopwatch();
|
|
1022
1054
|
}
|
|
1023
1055
|
return options;
|
|
1024
1056
|
}
|
|
1025
1057
|
_chunkUSNT2KNTcjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
|
|
1026
1058
|
async function build(options) {
|
|
1027
|
-
|
|
1028
|
-
const stopwatch =
|
|
1059
|
+
_chunkHBRFPU3Jcjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
|
|
1060
|
+
const stopwatch = _chunkHBRFPU3Jcjs.getStopwatch.call(void 0, "TSDown pipeline");
|
|
1029
1061
|
try {
|
|
1030
1062
|
const opts = Array.isArray(options) ? options : [
|
|
1031
1063
|
options
|
|
@@ -1043,11 +1075,11 @@ async function build(options) {
|
|
|
1043
1075
|
await reportResults(opt);
|
|
1044
1076
|
}));
|
|
1045
1077
|
} else {
|
|
1046
|
-
|
|
1078
|
+
_chunkHBRFPU3Jcjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
|
|
1047
1079
|
}
|
|
1048
|
-
|
|
1080
|
+
_chunkHBRFPU3Jcjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
|
|
1049
1081
|
} catch (error) {
|
|
1050
|
-
|
|
1082
|
+
_chunkHBRFPU3Jcjs.writeFatal.call(void 0, "Fatal errors that the build process could not recover from have occured. The build process has been terminated.");
|
|
1051
1083
|
throw error;
|
|
1052
1084
|
} finally {
|
|
1053
1085
|
stopwatch();
|
package/dist/clean.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkHBRFPU3Jcjs = require('./chunk-HBRFPU3J.cjs');
|
|
5
5
|
require('./chunk-USNT2KNT.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.clean =
|
|
9
|
+
exports.clean = _chunkHBRFPU3Jcjs.clean; exports.cleanDirectories = _chunkHBRFPU3Jcjs.cleanDirectories;
|
package/dist/clean.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkYDB6OO6Qcjs = require('./chunk-YDB6OO6Q.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkHBRFPU3Jcjs = require('./chunk-HBRFPU3J.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkDEWYQH4Bcjs = require('./chunk-DEWYQH4B.cjs');
|
|
@@ -17,4 +17,4 @@ require('./chunk-SFZRYJZ2.cjs');
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
exports.DEFAULT_BUILD_OPTIONS = _chunkDEWYQH4Bcjs.DEFAULT_BUILD_OPTIONS; exports.build =
|
|
20
|
+
exports.DEFAULT_BUILD_OPTIONS = _chunkDEWYQH4Bcjs.DEFAULT_BUILD_OPTIONS; exports.build = _chunkYDB6OO6Qcjs.build; exports.clean = _chunkHBRFPU3Jcjs.clean; exports.cleanDirectories = _chunkHBRFPU3Jcjs.cleanDirectories; exports.cleanOutputPath = _chunkYDB6OO6Qcjs.cleanOutputPath;
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
build,
|
|
3
3
|
cleanOutputPath
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SRDH3VQ5.js";
|
|
5
5
|
import {
|
|
6
6
|
clean,
|
|
7
7
|
cleanDirectories
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WAL2QM22.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_BUILD_OPTIONS
|
|
11
11
|
} from "./chunk-PR5HLZXS.js";
|