@storm-software/cloudflare-tools 0.62.7 → 0.63.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 +13 -0
- package/README.md +1 -1
- package/dist/{chunk-VPZXQH7S.mjs → chunk-2BTH7LON.mjs} +1 -1
- package/dist/{chunk-RIUVF72K.js → chunk-2HJQOPBD.js} +3 -3
- package/dist/{chunk-2SPHXGUN.mjs → chunk-5M3ADTI2.mjs} +3 -3
- package/dist/{chunk-GPAI4NHQ.mjs → chunk-7H2K6PT4.mjs} +12 -5
- package/dist/{chunk-PNHYOFJH.js → chunk-APB3HUAN.js} +12 -12
- package/dist/{chunk-P3LN6TP3.js → chunk-F3SWUKOS.js} +2 -2
- package/dist/{chunk-IXU6D3AC.mjs → chunk-FMTD7H3D.mjs} +4 -4
- package/dist/{chunk-MV24QW26.mjs → chunk-GOL5LHR6.mjs} +52 -15
- package/dist/{chunk-FABNT5TZ.mjs → chunk-JHXH6ZN3.mjs} +1 -1
- package/dist/{chunk-DPAEOWHQ.mjs → chunk-OJTXF2HH.mjs} +1 -1
- package/dist/{chunk-HBASMEU5.js → chunk-OL65RB72.js} +50 -43
- package/dist/{chunk-FUSFC5AM.js → chunk-Q6WFFOSW.js} +16 -16
- package/dist/{chunk-FL2QPQC4.mjs → chunk-QFLZSWVY.mjs} +4 -4
- package/dist/{chunk-JZJDF2HT.mjs → chunk-QKV3MDW3.mjs} +3 -3
- package/dist/{chunk-PZ5CI56F.js → chunk-SQUJ3SXL.js} +55 -18
- package/dist/{chunk-FF4AKPZG.js → chunk-UWFMN677.js} +116 -116
- package/dist/executors.js +5 -5
- package/dist/executors.mjs +7 -7
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +5 -5
- package/dist/index.js +8 -8
- package/dist/index.mjs +9 -9
- package/dist/src/executors/cloudflare-publish/executor.js +3 -3
- package/dist/src/executors/cloudflare-publish/executor.mjs +5 -5
- package/dist/src/executors/r2-upload-publish/executor.js +5 -5
- package/dist/src/executors/r2-upload-publish/executor.mjs +5 -5
- package/dist/src/executors/serve/executor.js +4 -4
- package/dist/src/executors/serve/executor.mjs +4 -4
- package/dist/src/generators/init/generator.js +2 -2
- package/dist/src/generators/init/generator.mjs +2 -2
- package/dist/src/generators/worker/generator.js +5 -5
- package/dist/src/generators/worker/generator.mjs +5 -5
- package/dist/src/utils/index.js +3 -3
- package/dist/src/utils/index.mjs +3 -3
- package/dist/src/utils/r2-bucket-helpers.js +3 -3
- package/dist/src/utils/r2-bucket-helpers.mjs +3 -3
- package/dist/tsup.config.mjs +1 -1
- package/package.json +2 -2
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk2HJQOPBDjs = require('./chunk-2HJQOPBD.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkKTFMIXUNjs = require('./chunk-KTFMIXUN.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkOL65RB72js = require('./chunk-OL65RB72.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkSQUJ3SXLjs = require('./chunk-SQUJ3SXL.js');
|
|
19
19
|
|
|
20
20
|
// src/executors/r2-upload-publish/executor.ts
|
|
21
21
|
var _clients3 = require('@aws-sdk/client-s3');
|
|
@@ -39,8 +39,8 @@ async function runExecutor(options, context) {
|
|
|
39
39
|
throw new Error("The executor requires projectsConfigurations.");
|
|
40
40
|
}
|
|
41
41
|
try {
|
|
42
|
-
const workspaceRoot =
|
|
43
|
-
const config = await
|
|
42
|
+
const workspaceRoot = _chunkSQUJ3SXLjs.findWorkspaceRoot.call(void 0, );
|
|
43
|
+
const config = await _chunkOL65RB72js.getConfig.call(void 0, workspaceRoot);
|
|
44
44
|
const sourceRoot = _nullishCoalesce(_optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'access', _9 => _9[context.projectName], 'optionalAccess', _10 => _10.sourceRoot]), () => ( workspaceRoot));
|
|
45
45
|
const projectName = _nullishCoalesce(_optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'access', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.name]), () => ( context.projectName));
|
|
46
46
|
const projectDetails = _chunkKTFMIXUNjs.getPackageInfo.call(void 0,
|
|
@@ -79,7 +79,7 @@ async function runExecutor(options, context) {
|
|
|
79
79
|
"The executor failed because the project graph is not available. Please run the build command again."
|
|
80
80
|
);
|
|
81
81
|
}
|
|
82
|
-
|
|
82
|
+
_chunkSQUJ3SXLjs.writeInfo.call(void 0,
|
|
83
83
|
`Publishing ${context.projectName} to the Storm Registry at ${endpoint}`
|
|
84
84
|
);
|
|
85
85
|
const s3Client = new (0, _clients3.S3)({
|
|
@@ -91,12 +91,12 @@ async function runExecutor(options, context) {
|
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
93
|
const version = _optionalChain([projectDetails, 'access', _18 => _18.content, 'optionalAccess', _19 => _19.version]);
|
|
94
|
-
|
|
94
|
+
_chunkSQUJ3SXLjs.writeInfo.call(void 0, `Generated component version: ${version}`);
|
|
95
95
|
const files = await _glob.glob.call(void 0, _devkit.joinPathFragments.call(void 0, sourceRoot, "**/*"), {
|
|
96
96
|
ignore: "**/{*.stories.tsx,*.stories.ts,*.spec.tsx,*.spec.ts}"
|
|
97
97
|
});
|
|
98
98
|
const projectPath = `registry/${context.projectName}`;
|
|
99
|
-
const internalDependencies = await
|
|
99
|
+
const internalDependencies = await _chunk2HJQOPBDjs.getInternalDependencies.call(void 0,
|
|
100
100
|
context.projectName,
|
|
101
101
|
projectGraph
|
|
102
102
|
);
|
|
@@ -109,14 +109,14 @@ async function runExecutor(options, context) {
|
|
|
109
109
|
return ret;
|
|
110
110
|
}, _nullishCoalesce(projectDetails.content.dependencies, () => ( {})));
|
|
111
111
|
const release = _nullishCoalesce(options.tag, () => ( _child_process.execSync.call(void 0, "npm config get tag").toString().trim()));
|
|
112
|
-
|
|
112
|
+
_chunkSQUJ3SXLjs.writeInfo.call(void 0, `Clearing out existing items in ${projectPath}`);
|
|
113
113
|
if (!isDryRun) {
|
|
114
114
|
const response = await s3Client.listObjects({
|
|
115
115
|
Bucket: options.bucketId,
|
|
116
116
|
Prefix: projectPath
|
|
117
117
|
});
|
|
118
118
|
if (_optionalChain([response, 'optionalAccess', _20 => _20.Contents]) && response.Contents.length > 0) {
|
|
119
|
-
|
|
119
|
+
_chunkSQUJ3SXLjs.writeDebug.call(void 0,
|
|
120
120
|
`Deleting the following existing items from the component registry: ${response.Contents.map((item) => item.Key).join(", ")}`
|
|
121
121
|
);
|
|
122
122
|
await Promise.all(
|
|
@@ -135,12 +135,12 @@ async function runExecutor(options, context) {
|
|
|
135
135
|
)
|
|
136
136
|
);
|
|
137
137
|
} else {
|
|
138
|
-
|
|
138
|
+
_chunkSQUJ3SXLjs.writeDebug.call(void 0,
|
|
139
139
|
`No existing items to delete in the component registry path ${projectPath}`
|
|
140
140
|
);
|
|
141
141
|
}
|
|
142
142
|
} else {
|
|
143
|
-
|
|
143
|
+
_chunkSQUJ3SXLjs.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
|
|
144
144
|
}
|
|
145
145
|
const meta = {
|
|
146
146
|
name: context.projectName,
|
|
@@ -158,9 +158,9 @@ async function runExecutor(options, context) {
|
|
|
158
158
|
meta.devDependencies = projectDetails.content.devDependencies;
|
|
159
159
|
}
|
|
160
160
|
const metaJson = JSON.stringify(meta);
|
|
161
|
-
|
|
161
|
+
_chunkSQUJ3SXLjs.writeInfo.call(void 0, `Generating meta.json file:
|
|
162
162
|
${metaJson}`);
|
|
163
|
-
await
|
|
163
|
+
await _chunk2HJQOPBDjs.r2UploadFile.call(void 0,
|
|
164
164
|
s3Client,
|
|
165
165
|
options.bucketId,
|
|
166
166
|
projectPath,
|
|
@@ -174,7 +174,7 @@ ${metaJson}`);
|
|
|
174
174
|
files.map((file) => {
|
|
175
175
|
const fileName = file.replaceAll("\\", "/").replace(sourceRoot.replaceAll("\\", "/"), "");
|
|
176
176
|
return _promises.readFile.call(void 0, file, { encoding: "utf8" }).then(
|
|
177
|
-
(fileContent) =>
|
|
177
|
+
(fileContent) => _chunk2HJQOPBDjs.r2UploadFile.call(void 0,
|
|
178
178
|
s3Client,
|
|
179
179
|
options.bucketId,
|
|
180
180
|
projectPath,
|
|
@@ -187,7 +187,7 @@ ${metaJson}`);
|
|
|
187
187
|
);
|
|
188
188
|
})
|
|
189
189
|
);
|
|
190
|
-
|
|
190
|
+
_chunkSQUJ3SXLjs.writeSuccess.call(void 0,
|
|
191
191
|
`Successfully uploaded the ${projectName} component to the Cyclone Registry`,
|
|
192
192
|
config
|
|
193
193
|
);
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
getConfig,
|
|
7
7
|
getWorkspaceConfig
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7H2K6PT4.mjs";
|
|
9
9
|
import {
|
|
10
10
|
findWorkspaceRoot,
|
|
11
11
|
formatLogMessage,
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
writeSuccess,
|
|
20
20
|
writeTrace,
|
|
21
21
|
writeWarning
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GOL5LHR6.mjs";
|
|
23
23
|
import {
|
|
24
24
|
__dirname,
|
|
25
25
|
__require
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-OJTXF2HH.mjs";
|
|
27
27
|
|
|
28
28
|
// ../config-tools/src/utilities/apply-workspace-tokens.ts
|
|
29
29
|
var applyWorkspaceBaseTokens = async (option, tokenParams) => {
|
|
@@ -2766,7 +2766,7 @@ var typescript_build_executor_untyped_default = defineUntypedSchema4({
|
|
|
2766
2766
|
]
|
|
2767
2767
|
},
|
|
2768
2768
|
$default: "esnext",
|
|
2769
|
-
$resolve: (val = "esnext") => val.toLowerCase()
|
|
2769
|
+
$resolve: (val = "esnext") => typeof val === "string" ? val.toLowerCase() : val
|
|
2770
2770
|
},
|
|
2771
2771
|
format: {
|
|
2772
2772
|
$schema: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__commonJS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OJTXF2HH.mjs";
|
|
4
4
|
|
|
5
5
|
// package.json
|
|
6
6
|
var require_package = __commonJS({
|
|
7
7
|
"package.json"(exports, module) {
|
|
8
8
|
module.exports = {
|
|
9
9
|
name: "@storm-software/cloudflare-tools",
|
|
10
|
-
version: "0.62.
|
|
10
|
+
version: "0.62.8",
|
|
11
11
|
description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
12
12
|
repository: {
|
|
13
13
|
type: "github",
|
|
@@ -175,7 +175,7 @@ var require_package = __commonJS({
|
|
|
175
175
|
nx: "catalog:",
|
|
176
176
|
tsup: "catalog:",
|
|
177
177
|
untyped: "catalog:",
|
|
178
|
-
wrangler: "^4.
|
|
178
|
+
wrangler: "^4.16.1"
|
|
179
179
|
},
|
|
180
180
|
publishConfig: {
|
|
181
181
|
access: "public"
|
|
@@ -243,10 +243,10 @@ var LogLevelLabel = {
|
|
|
243
243
|
};
|
|
244
244
|
|
|
245
245
|
// ../config/src/constants.ts
|
|
246
|
-
var STORM_DEFAULT_DOCS = "https://
|
|
246
|
+
var STORM_DEFAULT_DOCS = "https://stormsoftware.com/docs";
|
|
247
247
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
248
248
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
249
|
-
var STORM_DEFAULT_LICENSING = "https://
|
|
249
|
+
var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
|
|
250
250
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
251
251
|
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
252
252
|
var STORM_DEFAULT_ACCOUNT_TWITTER = "StormSoftwareHQ";
|
|
@@ -420,10 +420,13 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
|
|
|
420
420
|
organization: _zod2.default.string().trim().default("storm-software").describe("The organization of the workspace"),
|
|
421
421
|
repository: _zod2.default.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
|
|
422
422
|
license: _zod2.default.string().trim().default("Apache-2.0").describe("The license type of the package"),
|
|
423
|
-
homepage: _zod2.default.string().trim().url().
|
|
424
|
-
docs: _zod2.default.string().trim().url().
|
|
425
|
-
licensing: _zod2.default.string().trim().url().
|
|
426
|
-
contact: _zod2.default.string().trim().url().
|
|
423
|
+
homepage: _zod2.default.string().trim().url().optional().describe("The homepage of the workspace"),
|
|
424
|
+
docs: _zod2.default.string().trim().url().optional().describe("The documentation site for the workspace"),
|
|
425
|
+
licensing: _zod2.default.string().trim().url().optional().describe("The licensing site for the workspace"),
|
|
426
|
+
contact: _zod2.default.string().trim().url().optional().describe("The contact site for the workspace"),
|
|
427
|
+
support: _zod2.default.string().trim().url().optional().describe(
|
|
428
|
+
"The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
|
|
429
|
+
),
|
|
427
430
|
branch: _zod2.default.string().trim().default("main").describe("The branch of the workspace"),
|
|
428
431
|
preid: _zod2.default.string().optional().describe("A tag specifying the version pre-release identifier"),
|
|
429
432
|
owner: _zod2.default.string().trim().default("@storm-software/admin").describe("The owner of the package"),
|
|
@@ -522,9 +525,10 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
522
525
|
negative: "#dc2626"
|
|
523
526
|
}
|
|
524
527
|
};
|
|
525
|
-
|
|
528
|
+
async function getPackageJsonConfig(root) {
|
|
526
529
|
let license = STORM_DEFAULT_LICENSE;
|
|
527
|
-
let homepage =
|
|
530
|
+
let homepage = void 0;
|
|
531
|
+
let support = void 0;
|
|
528
532
|
let name = void 0;
|
|
529
533
|
let namespace = void 0;
|
|
530
534
|
let repository = void 0;
|
|
@@ -555,6 +559,13 @@ var getDefaultConfig = async (root) => {
|
|
|
555
559
|
if (packageJson.homepage) {
|
|
556
560
|
homepage = packageJson.homepage;
|
|
557
561
|
}
|
|
562
|
+
if (packageJson.bugs) {
|
|
563
|
+
if (typeof packageJson.bugs === "string") {
|
|
564
|
+
support = packageJson.bugs;
|
|
565
|
+
} else if (packageJson.bugs.url) {
|
|
566
|
+
support = packageJson.bugs.url;
|
|
567
|
+
}
|
|
568
|
+
}
|
|
558
569
|
}
|
|
559
570
|
}
|
|
560
571
|
return {
|
|
@@ -564,13 +575,38 @@ var getDefaultConfig = async (root) => {
|
|
|
564
575
|
repository,
|
|
565
576
|
license,
|
|
566
577
|
homepage,
|
|
567
|
-
|
|
568
|
-
licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license`,
|
|
569
|
-
error: {
|
|
570
|
-
url: `${homepage || STORM_DEFAULT_HOMEPAGE}/errors`
|
|
571
|
-
}
|
|
578
|
+
support
|
|
572
579
|
};
|
|
573
|
-
}
|
|
580
|
+
}
|
|
581
|
+
function applyDefaultConfig(config) {
|
|
582
|
+
if (!config.support && config.contact) {
|
|
583
|
+
config.support = config.contact;
|
|
584
|
+
}
|
|
585
|
+
if (!config.contact && config.support) {
|
|
586
|
+
config.contact = config.support;
|
|
587
|
+
}
|
|
588
|
+
if (config.homepage) {
|
|
589
|
+
if (!config.docs) {
|
|
590
|
+
config.docs = `${config.homepage}/docs`;
|
|
591
|
+
}
|
|
592
|
+
if (!config.license) {
|
|
593
|
+
config.license = `${config.homepage}/license`;
|
|
594
|
+
}
|
|
595
|
+
if (!config.support) {
|
|
596
|
+
config.support = `${config.homepage}/support`;
|
|
597
|
+
}
|
|
598
|
+
if (!config.contact) {
|
|
599
|
+
config.contact = `${config.homepage}/contact`;
|
|
600
|
+
}
|
|
601
|
+
if (!_optionalChain([config, 'access', _2 => _2.error, 'optionalAccess', _3 => _3.codesFile]) || !_optionalChain([config, 'optionalAccess', _4 => _4.error, 'optionalAccess', _5 => _5.url])) {
|
|
602
|
+
config.error ??= { codesFile: STORM_DEFAULT_ERROR_CODES_FILE };
|
|
603
|
+
if (config.homepage) {
|
|
604
|
+
config.error.url ??= `${config.homepage}/errors`;
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
}
|
|
608
|
+
return config;
|
|
609
|
+
}
|
|
574
610
|
|
|
575
611
|
// ../config-tools/src/logger/chalk.ts
|
|
576
612
|
var _chalk2 = require('chalk'); var _chalk3 = _interopRequireDefault(_chalk2);
|
|
@@ -595,7 +631,7 @@ var chalkDefault = {
|
|
|
595
631
|
};
|
|
596
632
|
var getChalk = () => {
|
|
597
633
|
let _chalk = _chalk3.default;
|
|
598
|
-
if (!_optionalChain([_chalk, 'optionalAccess',
|
|
634
|
+
if (!_optionalChain([_chalk, 'optionalAccess', _6 => _6.hex]) || !_optionalChain([_chalk, 'optionalAccess', _7 => _7.bold, 'optionalAccess', _8 => _8.hex]) || !_optionalChain([_chalk, 'optionalAccess', _9 => _9.bgHex]) || !_optionalChain([_chalk, 'optionalAccess', _10 => _10.whiteBright])) {
|
|
599
635
|
_chalk = chalkDefault;
|
|
600
636
|
}
|
|
601
637
|
return _chalk;
|
|
@@ -683,7 +719,7 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
683
719
|
|
|
684
720
|
// ../config-tools/src/logger/console.ts
|
|
685
721
|
var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
686
|
-
const colors = !_optionalChain([config, 'access',
|
|
722
|
+
const colors = !_optionalChain([config, 'access', _11 => _11.colors, 'optionalAccess', _12 => _12.dark]) && !_optionalChain([config, 'access', _13 => _13.colors, 'optionalAccess', _14 => _14["base"]]) && !_optionalChain([config, 'access', _15 => _15.colors, 'optionalAccess', _16 => _16["base"], 'optionalAccess', _17 => _17.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _18 => _18.colors, 'optionalAccess', _19 => _19.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _20 => _20.colors, 'optionalAccess', _21 => _21["base"], 'optionalAccess', _22 => _22.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _23 => _23.colors, 'optionalAccess', _24 => _24["base"]]) ? _optionalChain([config, 'access', _25 => _25.colors, 'optionalAccess', _26 => _26["base"]]) : DEFAULT_COLOR_CONFIG;
|
|
687
723
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
688
724
|
if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
|
|
689
725
|
return (_) => {
|
|
@@ -799,7 +835,7 @@ ${Object.keys(message).filter((key) => !skip.includes(key)).map(
|
|
|
799
835
|
};
|
|
800
836
|
var _isFunction = (value) => {
|
|
801
837
|
try {
|
|
802
|
-
return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess',
|
|
838
|
+
return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _27 => _27.constructor]) && _optionalChain([value, 'optionalAccess', _28 => _28.call]) && _optionalChain([value, 'optionalAccess', _29 => _29.apply]));
|
|
803
839
|
} catch (e) {
|
|
804
840
|
return false;
|
|
805
841
|
}
|
|
@@ -827,4 +863,5 @@ var _isFunction = (value) => {
|
|
|
827
863
|
|
|
828
864
|
|
|
829
865
|
|
|
830
|
-
|
|
866
|
+
|
|
867
|
+
exports.LogLevel = LogLevel; exports.STORM_DEFAULT_DOCS = STORM_DEFAULT_DOCS; exports.STORM_DEFAULT_HOMEPAGE = STORM_DEFAULT_HOMEPAGE; exports.STORM_DEFAULT_LICENSING = STORM_DEFAULT_LICENSING; exports.stormWorkspaceConfigSchema = stormWorkspaceConfigSchema; exports.COLOR_KEYS = COLOR_KEYS; exports.correctPaths = correctPaths; exports.joinPaths = joinPaths; exports.findWorkspaceRoot = findWorkspaceRoot; exports.getPackageJsonConfig = getPackageJsonConfig; exports.applyDefaultConfig = applyDefaultConfig; exports.getLogLevel = getLogLevel; exports.getLogLevelLabel = getLogLevelLabel; exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.writeTrace = writeTrace; exports.getStopwatch = getStopwatch; exports.formatLogMessage = formatLogMessage;
|