@storm-software/cloudflare-tools 0.71.41 → 0.71.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/{chunk-UIJO3L53.js → chunk-EEHCZLIG.js} +175 -168
- package/dist/{chunk-NFHONUD4.mjs → chunk-F2CBLWHI.mjs} +3 -3
- package/dist/{chunk-D2C4YN2P.mjs → chunk-FJC6NTFV.mjs} +1 -1
- package/dist/{chunk-WRQN6TUO.js → chunk-FZGJMP4V.js} +5 -5
- package/dist/{chunk-QJJBMXLH.js → chunk-HARJVDEM.js} +3 -3
- package/dist/{chunk-B3DTG4AE.mjs → chunk-IWAZPNUS.mjs} +11 -7
- package/dist/{chunk-CET7FSBB.mjs → chunk-KP72CV3N.mjs} +31 -0
- package/dist/{chunk-ENJ4VPTU.js → chunk-KVWVWY7S.js} +17 -13
- package/dist/{chunk-ZNZEZZQ3.mjs → chunk-LRWE7JIO.mjs} +1 -1
- package/dist/{chunk-F62R4VXI.mjs → chunk-RH3QEZJL.mjs} +16 -9
- package/dist/{chunk-APKXT2II.js → chunk-U63JI4YT.js} +34 -34
- package/dist/{chunk-OVTCUMRN.js → chunk-WKCHZUJS.js} +18 -18
- package/dist/{chunk-JC5YYXOF.mjs → chunk-XTJO7LT5.mjs} +3 -3
- package/dist/{chunk-J756GE67.js → chunk-ZVAXGNHM.js} +36 -5
- package/dist/executors.js +5 -5
- package/dist/executors.mjs +5 -5
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +4 -4
- package/dist/index.js +8 -8
- package/dist/index.mjs +7 -7
- package/dist/src/executors/cloudflare-publish/executor.js +3 -3
- package/dist/src/executors/cloudflare-publish/executor.mjs +3 -3
- package/dist/src/executors/r2-upload-publish/executor.js +5 -5
- package/dist/src/executors/r2-upload-publish/executor.mjs +4 -4
- package/dist/src/executors/serve/executor.js +4 -4
- package/dist/src/executors/serve/executor.mjs +3 -3
- package/dist/src/generators/init/generator.js +2 -2
- package/dist/src/generators/init/generator.mjs +1 -1
- package/dist/src/generators/worker/generator.js +5 -5
- package/dist/src/generators/worker/generator.mjs +4 -4
- package/dist/src/utils/index.js +3 -3
- package/dist/src/utils/index.mjs +2 -2
- package/dist/src/utils/r2-bucket-helpers.js +3 -3
- package/dist/src/utils/r2-bucket-helpers.mjs +2 -2
- package/package.json +4 -4
|
@@ -5,7 +5,7 @@ var _chunkKUGEZPUOjs = require('./chunk-KUGEZPUO.js');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkFZGJMP4Vjs = require('./chunk-FZGJMP4V.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -13,7 +13,7 @@ var _chunkN7FW365Qjs = require('./chunk-N7FW365Q.js');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkU63JI4YTjs = require('./chunk-U63JI4YT.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
@@ -21,7 +21,7 @@ var _chunkAPKXT2IIjs = require('./chunk-APKXT2II.js');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkZVAXGNHMjs = require('./chunk-ZVAXGNHM.js');
|
|
25
25
|
|
|
26
26
|
// src/executors/r2-upload-publish/executor.ts
|
|
27
27
|
|
|
@@ -53,8 +53,8 @@ async function runExecutor(options, context) {
|
|
|
53
53
|
throw new Error("The executor requires projectsConfigurations.");
|
|
54
54
|
}
|
|
55
55
|
try {
|
|
56
|
-
const workspaceRoot =
|
|
57
|
-
const config = await
|
|
56
|
+
const workspaceRoot = _chunkU63JI4YTjs.findWorkspaceRoot.call(void 0, );
|
|
57
|
+
const config = await _chunkU63JI4YTjs.getConfig.call(void 0, workspaceRoot);
|
|
58
58
|
const projectName = _nullishCoalesce(_optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'access', _9 => _9[context.projectName], 'optionalAccess', _10 => _10.name]), () => ( context.projectName));
|
|
59
59
|
const projectDetails = _chunkN7FW365Qjs.getPackageInfo.call(void 0,
|
|
60
60
|
context.projectsConfigurations.projects[context.projectName]
|
|
@@ -92,7 +92,7 @@ async function runExecutor(options, context) {
|
|
|
92
92
|
"The executor failed because the project graph is not available. Please run the build command again."
|
|
93
93
|
);
|
|
94
94
|
}
|
|
95
|
-
|
|
95
|
+
_chunkZVAXGNHMjs.writeDebug.call(void 0,
|
|
96
96
|
`Publishing ${context.projectName} to the ${bucketId} R2 Bucket (at ${registry})`
|
|
97
97
|
);
|
|
98
98
|
const client = new (0, _clients3.S3Client)({
|
|
@@ -108,13 +108,13 @@ async function runExecutor(options, context) {
|
|
|
108
108
|
});
|
|
109
109
|
const version = _optionalChain([projectDetails, 'optionalAccess', _13 => _13.content, 'optionalAccess', _14 => _14.version]);
|
|
110
110
|
if (version) {
|
|
111
|
-
|
|
111
|
+
_chunkZVAXGNHMjs.writeDebug.call(void 0, `Starting upload version ${version}`);
|
|
112
112
|
}
|
|
113
113
|
const basePath = options.path;
|
|
114
|
-
const files = await _glob.glob.call(void 0,
|
|
114
|
+
const files = await _glob.glob.call(void 0, _chunkZVAXGNHMjs.joinPaths.call(void 0, basePath, "**/*"), {
|
|
115
115
|
ignore: "**/{*.stories.tsx,*.stories.ts,*.spec.tsx,*.spec.ts}"
|
|
116
116
|
});
|
|
117
|
-
const internalDependencies = await
|
|
117
|
+
const internalDependencies = await _chunkFZGJMP4Vjs.getInternalDependencies.call(void 0,
|
|
118
118
|
context.projectName,
|
|
119
119
|
projectGraph
|
|
120
120
|
);
|
|
@@ -128,7 +128,7 @@ async function runExecutor(options, context) {
|
|
|
128
128
|
}, _nullishCoalesce(_optionalChain([projectDetails, 'optionalAccess', _15 => _15.content, 'access', _16 => _16.dependencies]), () => ( {})));
|
|
129
129
|
const release = _nullishCoalesce(options.tag, () => ( _child_process.execSync.call(void 0, "npm config get tag").toString().trim()));
|
|
130
130
|
if (options.clean === true) {
|
|
131
|
-
|
|
131
|
+
_chunkZVAXGNHMjs.writeDebug.call(void 0, `Clearing out existing items in ${bucketPath}`);
|
|
132
132
|
if (!isDryRun) {
|
|
133
133
|
const response = await client.send(
|
|
134
134
|
new (0, _clients3.ListObjectsCommand)({
|
|
@@ -137,7 +137,7 @@ async function runExecutor(options, context) {
|
|
|
137
137
|
})
|
|
138
138
|
);
|
|
139
139
|
if (_optionalChain([response, 'optionalAccess', _17 => _17.Contents]) && response.Contents.length > 0) {
|
|
140
|
-
|
|
140
|
+
_chunkZVAXGNHMjs.writeTrace.call(void 0,
|
|
141
141
|
`Deleting the following existing items from the R2 bucket path ${bucketPath}: ${response.Contents.map((item) => item.Key).join(", ")}`
|
|
142
142
|
);
|
|
143
143
|
await client.send(
|
|
@@ -152,12 +152,12 @@ async function runExecutor(options, context) {
|
|
|
152
152
|
})
|
|
153
153
|
);
|
|
154
154
|
} else {
|
|
155
|
-
|
|
155
|
+
_chunkZVAXGNHMjs.writeDebug.call(void 0,
|
|
156
156
|
`No existing items to delete in the R2 bucket path ${bucketPath}`
|
|
157
157
|
);
|
|
158
158
|
}
|
|
159
159
|
} else {
|
|
160
|
-
|
|
160
|
+
_chunkZVAXGNHMjs.writeWarning.call(void 0, "[Dry run]: Skipping R2 bucket clean.");
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
if (options.writeMetaJson === true) {
|
|
@@ -178,7 +178,7 @@ async function runExecutor(options, context) {
|
|
|
178
178
|
if (_optionalChain([projectDetails, 'optionalAccess', _22 => _22.type]) === "package.json") {
|
|
179
179
|
meta.devDependencies = _optionalChain([projectDetails, 'optionalAccess', _23 => _23.content, 'optionalAccess', _24 => _24.devDependencies]);
|
|
180
180
|
}
|
|
181
|
-
await
|
|
181
|
+
await _chunkFZGJMP4Vjs.uploadFile.call(void 0,
|
|
182
182
|
client,
|
|
183
183
|
bucketId,
|
|
184
184
|
bucketPath,
|
|
@@ -194,22 +194,22 @@ async function runExecutor(options, context) {
|
|
|
194
194
|
if (_optionalChain([_fs.statSync.call(void 0, file, {
|
|
195
195
|
throwIfNoEntry: false
|
|
196
196
|
}), 'optionalAccess', _25 => _25.isFile, 'call', _26 => _26()])) {
|
|
197
|
-
const name =
|
|
197
|
+
const name = _chunkZVAXGNHMjs.correctPaths.call(void 0, file).replace(_chunkZVAXGNHMjs.correctPaths.call(void 0, basePath), "");
|
|
198
198
|
const type = _mimetypes2.default.lookup(name) || "application/octet-stream";
|
|
199
|
-
await
|
|
199
|
+
await _chunkFZGJMP4Vjs.uploadFile.call(void 0,
|
|
200
200
|
client,
|
|
201
201
|
bucketId,
|
|
202
202
|
bucketPath,
|
|
203
203
|
name,
|
|
204
204
|
version,
|
|
205
|
-
await _promises.readFile.call(void 0, file,
|
|
205
|
+
await _promises.readFile.call(void 0, file, _chunkFZGJMP4Vjs.getEncoding.call(void 0, type)),
|
|
206
206
|
type,
|
|
207
207
|
isDryRun
|
|
208
208
|
);
|
|
209
209
|
}
|
|
210
210
|
})
|
|
211
211
|
);
|
|
212
|
-
|
|
212
|
+
_chunkZVAXGNHMjs.writeSuccess.call(void 0,
|
|
213
213
|
`Successfully uploaded the ${projectName} project to the Cloudflare R2 bucket.`,
|
|
214
214
|
config
|
|
215
215
|
);
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getEncoding,
|
|
6
6
|
getInternalDependencies,
|
|
7
7
|
uploadFile
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FJC6NTFV.mjs";
|
|
9
9
|
import {
|
|
10
10
|
createCliOptions,
|
|
11
11
|
getPackageInfo
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
findWorkspaceRoot,
|
|
15
15
|
getConfig
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LRWE7JIO.mjs";
|
|
17
17
|
import {
|
|
18
18
|
correctPaths,
|
|
19
19
|
joinPaths,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
writeSuccess,
|
|
22
22
|
writeTrace,
|
|
23
23
|
writeWarning
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KP72CV3N.mjs";
|
|
25
25
|
|
|
26
26
|
// src/executors/r2-upload-publish/executor.ts
|
|
27
27
|
import {
|
|
@@ -62,6 +62,35 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
62
62
|
gradient: ["#1fb2a6", "#db2777", "#818cf8"]
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
|
+
function getColors(config) {
|
|
66
|
+
if (!_optionalChain([config, 'optionalAccess', _2 => _2.colors]) || typeof config.colors !== "object" || !config.colors["dark"] && (!config.colors["base"] || typeof config.colors !== "object" || !_optionalChain([config, 'access', _3 => _3.colors, 'access', _4 => _4["base"], 'optionalAccess', _5 => _5["dark"]]))) {
|
|
67
|
+
return DEFAULT_COLOR_CONFIG;
|
|
68
|
+
}
|
|
69
|
+
if (config.colors["base"]) {
|
|
70
|
+
if (typeof config.colors["base"]["dark"] === "object") {
|
|
71
|
+
return config.colors["base"]["dark"];
|
|
72
|
+
} else if (config.colors["base"]["dark"] === "string") {
|
|
73
|
+
return config.colors["base"];
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
if (typeof config.colors["dark"] === "object") {
|
|
77
|
+
return config.colors["dark"];
|
|
78
|
+
}
|
|
79
|
+
return _nullishCoalesce(config.colors, () => ( DEFAULT_COLOR_CONFIG));
|
|
80
|
+
}
|
|
81
|
+
function getColor(key, config) {
|
|
82
|
+
const colors = getColors(config);
|
|
83
|
+
const result = (typeof colors["dark"] === "object" ? colors["dark"][key] : colors[key]) || DEFAULT_COLOR_CONFIG["dark"][key] || DEFAULT_COLOR_CONFIG[key];
|
|
84
|
+
if (result) {
|
|
85
|
+
return result;
|
|
86
|
+
}
|
|
87
|
+
if (key === "link" || key === "debug") {
|
|
88
|
+
return getColor("info", config);
|
|
89
|
+
} else if (key === "fatal") {
|
|
90
|
+
return getColor("danger", config);
|
|
91
|
+
}
|
|
92
|
+
return getColor("brand", config);
|
|
93
|
+
}
|
|
65
94
|
|
|
66
95
|
// ../config-tools/src/logger/chalk.ts
|
|
67
96
|
var _chalk2 = require('chalk'); var _chalk3 = _interopRequireDefault(_chalk2);
|
|
@@ -90,7 +119,7 @@ var chalkDefault = {
|
|
|
90
119
|
};
|
|
91
120
|
var getChalk = () => {
|
|
92
121
|
let _chalk = _chalk3.default;
|
|
93
|
-
if (!_optionalChain([_chalk, 'optionalAccess',
|
|
122
|
+
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]) || !_optionalChain([_chalk, 'optionalAccess', _11 => _11.white])) {
|
|
94
123
|
_chalk = chalkDefault;
|
|
95
124
|
}
|
|
96
125
|
return _chalk;
|
|
@@ -178,7 +207,7 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
178
207
|
|
|
179
208
|
// ../config-tools/src/logger/console.ts
|
|
180
209
|
var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
181
|
-
const colors = !_optionalChain([config, 'access',
|
|
210
|
+
const colors = !_optionalChain([config, 'access', _12 => _12.colors, 'optionalAccess', _13 => _13.dark]) && !_optionalChain([config, 'access', _14 => _14.colors, 'optionalAccess', _15 => _15["base"]]) && !_optionalChain([config, 'access', _16 => _16.colors, 'optionalAccess', _17 => _17["base"], 'optionalAccess', _18 => _18.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _19 => _19.colors, 'optionalAccess', _20 => _20.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _21 => _21.colors, 'optionalAccess', _22 => _22["base"], 'optionalAccess', _23 => _23.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _24 => _24.colors, 'optionalAccess', _25 => _25["base"]]) ? _optionalChain([config, 'access', _26 => _26.colors, 'optionalAccess', _27 => _27["base"]]) : DEFAULT_COLOR_CONFIG;
|
|
182
211
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
183
212
|
if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
|
|
184
213
|
return (_) => {
|
|
@@ -323,11 +352,12 @@ ${Object.keys(message).filter((key) => !skip.includes(key)).map(
|
|
|
323
352
|
};
|
|
324
353
|
var _isFunction = (value) => {
|
|
325
354
|
try {
|
|
326
|
-
return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess',
|
|
355
|
+
return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _28 => _28.constructor]) && _optionalChain([value, 'optionalAccess', _29 => _29.call]) && _optionalChain([value, 'optionalAccess', _30 => _30.apply]));
|
|
327
356
|
} catch (e) {
|
|
328
357
|
return false;
|
|
329
358
|
}
|
|
330
359
|
};
|
|
360
|
+
var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("\u{1F5F2}");
|
|
331
361
|
|
|
332
362
|
// ../config-tools/src/utilities/correct-paths.ts
|
|
333
363
|
var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
|
|
@@ -346,7 +376,7 @@ var correctPaths = function(path) {
|
|
|
346
376
|
return ".";
|
|
347
377
|
}
|
|
348
378
|
path = normalizeWindowsPath(path);
|
|
349
|
-
const isUNCPath = _optionalChain([path, 'optionalAccess',
|
|
379
|
+
const isUNCPath = _optionalChain([path, 'optionalAccess', _31 => _31.match, 'call', _32 => _32(_UNC_REGEX)]);
|
|
350
380
|
const isPathAbsolute = isAbsolute(path);
|
|
351
381
|
const trailingSeparator = path[path.length - 1] === "/";
|
|
352
382
|
path = normalizeString(path, !isPathAbsolute);
|
|
@@ -512,4 +542,5 @@ var relative = function(from, to) {
|
|
|
512
542
|
|
|
513
543
|
|
|
514
544
|
|
|
515
|
-
|
|
545
|
+
|
|
546
|
+
exports.LogLevel = LogLevel; 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; exports.brandIcon = brandIcon; exports.correctPaths = correctPaths; exports.joinPaths = joinPaths; exports.isAbsolute = isAbsolute; exports.relative = relative;
|
package/dist/executors.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";require('./chunk-XO66D74Z.js');
|
|
2
|
-
require('./chunk-
|
|
2
|
+
require('./chunk-WKCHZUJS.js');
|
|
3
3
|
require('./chunk-KUGEZPUO.js');
|
|
4
|
-
require('./chunk-
|
|
4
|
+
require('./chunk-FZGJMP4V.js');
|
|
5
5
|
require('./chunk-QBD2OGUY.js');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-EEHCZLIG.js');
|
|
7
7
|
require('./chunk-N7FW365Q.js');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-U63JI4YT.js');
|
|
9
|
+
require('./chunk-ZVAXGNHM.js');
|
|
10
10
|
require('./chunk-MCKGQKYU.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-XTJO7LT5.mjs";
|
|
3
3
|
import "./chunk-SWYYMID7.mjs";
|
|
4
|
-
import "./chunk-
|
|
4
|
+
import "./chunk-FJC6NTFV.mjs";
|
|
5
5
|
import "./chunk-NEU7F2AO.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-RH3QEZJL.mjs";
|
|
7
7
|
import "./chunk-3MAI3FU2.mjs";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-LRWE7JIO.mjs";
|
|
9
|
+
import "./chunk-KP72CV3N.mjs";
|
|
10
10
|
import "./chunk-N5UXWPB6.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkKVWVWY7Sjs = require('./chunk-KVWVWY7S.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
9
|
+
var _chunkHARJVDEMjs = require('./chunk-HARJVDEM.js');
|
|
10
|
+
require('./chunk-U63JI4YT.js');
|
|
11
|
+
require('./chunk-ZVAXGNHM.js');
|
|
12
12
|
require('./chunk-MCKGQKYU.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.applicationGenerator =
|
|
18
|
+
exports.applicationGenerator = _chunkKVWVWY7Sjs.applicationGenerator; exports.applicationSchematic = _chunkKVWVWY7Sjs.applicationSchematic; exports.initGenerator = _chunkHARJVDEMjs.initGenerator; exports.initSchematic = _chunkHARJVDEMjs.initSchematic;
|
package/dist/generators.mjs
CHANGED
|
@@ -2,13 +2,13 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
applicationGenerator,
|
|
4
4
|
applicationSchematic
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IWAZPNUS.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-F2CBLWHI.mjs";
|
|
10
|
+
import "./chunk-LRWE7JIO.mjs";
|
|
11
|
+
import "./chunk-KP72CV3N.mjs";
|
|
12
12
|
import "./chunk-N5UXWPB6.mjs";
|
|
13
13
|
export {
|
|
14
14
|
applicationGenerator,
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }require('./chunk-XO66D74Z.js');
|
|
2
|
-
require('./chunk-
|
|
2
|
+
require('./chunk-WKCHZUJS.js');
|
|
3
3
|
require('./chunk-DHBG5ASJ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkKVWVWY7Sjs = require('./chunk-KVWVWY7S.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkHARJVDEMjs = require('./chunk-HARJVDEM.js');
|
|
12
12
|
require('./chunk-KUGEZPUO.js');
|
|
13
13
|
require('./chunk-CVGPWUNP.js');
|
|
14
14
|
|
|
@@ -16,15 +16,15 @@ require('./chunk-CVGPWUNP.js');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkFZGJMP4Vjs = require('./chunk-FZGJMP4V.js');
|
|
20
20
|
require('./chunk-QBD2OGUY.js');
|
|
21
|
-
require('./chunk-
|
|
21
|
+
require('./chunk-EEHCZLIG.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
var _chunkN7FW365Qjs = require('./chunk-N7FW365Q.js');
|
|
26
|
-
require('./chunk-
|
|
27
|
-
require('./chunk-
|
|
26
|
+
require('./chunk-U63JI4YT.js');
|
|
27
|
+
require('./chunk-ZVAXGNHM.js');
|
|
28
28
|
require('./chunk-MCKGQKYU.js');
|
|
29
29
|
|
|
30
30
|
// src/plugins/index.ts
|
|
@@ -160,4 +160,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
|
160
160
|
|
|
161
161
|
|
|
162
162
|
|
|
163
|
-
exports.applicationGenerator =
|
|
163
|
+
exports.applicationGenerator = _chunkKVWVWY7Sjs.applicationGenerator; exports.applicationSchematic = _chunkKVWVWY7Sjs.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getEncoding = _chunkFZGJMP4Vjs.getEncoding; exports.getInternalDependencies = _chunkFZGJMP4Vjs.getInternalDependencies; exports.initGenerator = _chunkHARJVDEMjs.initGenerator; exports.initSchematic = _chunkHARJVDEMjs.initSchematic; exports.isTextFile = _chunkFZGJMP4Vjs.isTextFile; exports.name = name; exports.uploadFile = _chunkFZGJMP4Vjs.uploadFile;
|
package/dist/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-XTJO7LT5.mjs";
|
|
3
3
|
import "./chunk-3J7KBHMJ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
applicationGenerator,
|
|
6
6
|
applicationSchematic
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IWAZPNUS.mjs";
|
|
8
8
|
import {
|
|
9
9
|
initGenerator,
|
|
10
10
|
initSchematic
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-F2CBLWHI.mjs";
|
|
12
12
|
import "./chunk-SWYYMID7.mjs";
|
|
13
13
|
import "./chunk-7Z5PILRU.mjs";
|
|
14
14
|
import {
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
getInternalDependencies,
|
|
17
17
|
isTextFile,
|
|
18
18
|
uploadFile
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FJC6NTFV.mjs";
|
|
20
20
|
import "./chunk-NEU7F2AO.mjs";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-RH3QEZJL.mjs";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTagConstants,
|
|
24
24
|
addProjectTag
|
|
25
25
|
} from "./chunk-3MAI3FU2.mjs";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-LRWE7JIO.mjs";
|
|
27
|
+
import "./chunk-KP72CV3N.mjs";
|
|
28
28
|
import "./chunk-N5UXWPB6.mjs";
|
|
29
29
|
|
|
30
30
|
// src/plugins/index.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
var _chunkQBD2OGUYjs = require('../../../chunk-QBD2OGUY.js');
|
|
4
|
-
require('../../../chunk-
|
|
4
|
+
require('../../../chunk-EEHCZLIG.js');
|
|
5
5
|
require('../../../chunk-N7FW365Q.js');
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-U63JI4YT.js');
|
|
7
|
+
require('../../../chunk-ZVAXGNHM.js');
|
|
8
8
|
require('../../../chunk-MCKGQKYU.js');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
3
|
} from "../../../chunk-NEU7F2AO.mjs";
|
|
4
|
-
import "../../../chunk-
|
|
4
|
+
import "../../../chunk-RH3QEZJL.mjs";
|
|
5
5
|
import "../../../chunk-3MAI3FU2.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-LRWE7JIO.mjs";
|
|
7
|
+
import "../../../chunk-KP72CV3N.mjs";
|
|
8
8
|
import "../../../chunk-N5UXWPB6.mjs";
|
|
9
9
|
export {
|
|
10
10
|
runExecutor as default
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkWKCHZUJSjs = require('../../../chunk-WKCHZUJS.js');
|
|
4
4
|
require('../../../chunk-KUGEZPUO.js');
|
|
5
|
-
require('../../../chunk-
|
|
5
|
+
require('../../../chunk-FZGJMP4V.js');
|
|
6
6
|
require('../../../chunk-N7FW365Q.js');
|
|
7
|
-
require('../../../chunk-
|
|
8
|
-
require('../../../chunk-
|
|
7
|
+
require('../../../chunk-U63JI4YT.js');
|
|
8
|
+
require('../../../chunk-ZVAXGNHM.js');
|
|
9
9
|
require('../../../chunk-MCKGQKYU.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.default =
|
|
12
|
+
exports.default = _chunkWKCHZUJSjs.runExecutor;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-XTJO7LT5.mjs";
|
|
4
4
|
import "../../../chunk-SWYYMID7.mjs";
|
|
5
|
-
import "../../../chunk-
|
|
5
|
+
import "../../../chunk-FJC6NTFV.mjs";
|
|
6
6
|
import "../../../chunk-3MAI3FU2.mjs";
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-LRWE7JIO.mjs";
|
|
8
|
+
import "../../../chunk-KP72CV3N.mjs";
|
|
9
9
|
import "../../../chunk-N5UXWPB6.mjs";
|
|
10
10
|
export {
|
|
11
11
|
runExecutor as default
|
|
@@ -1,11 +1,11 @@
|
|
|
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
|
-
var
|
|
3
|
+
var _chunkEEHCZLIGjs = require('../../../chunk-EEHCZLIG.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkN7FW365Qjs = require('../../../chunk-N7FW365Q.js');
|
|
7
|
-
require('../../../chunk-
|
|
8
|
-
require('../../../chunk-
|
|
7
|
+
require('../../../chunk-U63JI4YT.js');
|
|
8
|
+
require('../../../chunk-ZVAXGNHM.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkMCKGQKYUjs = require('../../../chunk-MCKGQKYU.js');
|
|
@@ -55,7 +55,7 @@ async function* serveExecutor(options, context) {
|
|
|
55
55
|
success: true
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
var executor_default =
|
|
58
|
+
var executor_default = _chunkEEHCZLIGjs.withRunExecutor.call(void 0,
|
|
59
59
|
"Cloudflare Serve executor",
|
|
60
60
|
serveExecutor,
|
|
61
61
|
{
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-RH3QEZJL.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCliOptions
|
|
6
6
|
} from "../../../chunk-3MAI3FU2.mjs";
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-LRWE7JIO.mjs";
|
|
8
|
+
import "../../../chunk-KP72CV3N.mjs";
|
|
9
9
|
import {
|
|
10
10
|
__require
|
|
11
11
|
} from "../../../chunk-N5UXWPB6.mjs";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkHARJVDEMjs = require('../../../chunk-HARJVDEM.js');
|
|
6
6
|
require('../../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkHARJVDEMjs.generator_default; exports.initGenerator = _chunkHARJVDEMjs.initGenerator; exports.initSchematic = _chunkHARJVDEMjs.initSchematic;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
8
|
-
require('../../../chunk-
|
|
5
|
+
var _chunkKVWVWY7Sjs = require('../../../chunk-KVWVWY7S.js');
|
|
6
|
+
require('../../../chunk-HARJVDEM.js');
|
|
7
|
+
require('../../../chunk-U63JI4YT.js');
|
|
8
|
+
require('../../../chunk-ZVAXGNHM.js');
|
|
9
9
|
require('../../../chunk-MCKGQKYU.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.applicationGenerator =
|
|
14
|
+
exports.applicationGenerator = _chunkKVWVWY7Sjs.applicationGenerator; exports.applicationSchematic = _chunkKVWVWY7Sjs.applicationSchematic; exports.default = _chunkKVWVWY7Sjs.generator_default;
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
applicationGenerator,
|
|
3
3
|
applicationSchematic,
|
|
4
4
|
generator_default
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-IWAZPNUS.mjs";
|
|
6
|
+
import "../../../chunk-F2CBLWHI.mjs";
|
|
7
|
+
import "../../../chunk-LRWE7JIO.mjs";
|
|
8
|
+
import "../../../chunk-KP72CV3N.mjs";
|
|
9
9
|
import "../../../chunk-N5UXWPB6.mjs";
|
|
10
10
|
export {
|
|
11
11
|
applicationGenerator,
|
package/dist/src/utils/index.js
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('../../chunk-
|
|
7
|
+
var _chunkFZGJMP4Vjs = require('../../chunk-FZGJMP4V.js');
|
|
8
|
+
require('../../chunk-ZVAXGNHM.js');
|
|
9
9
|
require('../../chunk-MCKGQKYU.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.getEncoding =
|
|
15
|
+
exports.getEncoding = _chunkFZGJMP4Vjs.getEncoding; exports.getInternalDependencies = _chunkFZGJMP4Vjs.getInternalDependencies; exports.isTextFile = _chunkFZGJMP4Vjs.isTextFile; exports.uploadFile = _chunkFZGJMP4Vjs.uploadFile;
|
package/dist/src/utils/index.mjs
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
getInternalDependencies,
|
|
5
5
|
isTextFile,
|
|
6
6
|
uploadFile
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
} from "../../chunk-FJC6NTFV.mjs";
|
|
8
|
+
import "../../chunk-KP72CV3N.mjs";
|
|
9
9
|
import "../../chunk-N5UXWPB6.mjs";
|
|
10
10
|
export {
|
|
11
11
|
getEncoding,
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('../../chunk-
|
|
6
|
+
var _chunkFZGJMP4Vjs = require('../../chunk-FZGJMP4V.js');
|
|
7
|
+
require('../../chunk-ZVAXGNHM.js');
|
|
8
8
|
require('../../chunk-MCKGQKYU.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.getEncoding =
|
|
14
|
+
exports.getEncoding = _chunkFZGJMP4Vjs.getEncoding; exports.getInternalDependencies = _chunkFZGJMP4Vjs.getInternalDependencies; exports.isTextFile = _chunkFZGJMP4Vjs.isTextFile; exports.uploadFile = _chunkFZGJMP4Vjs.uploadFile;
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
getInternalDependencies,
|
|
4
4
|
isTextFile,
|
|
5
5
|
uploadFile
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
6
|
+
} from "../../chunk-FJC6NTFV.mjs";
|
|
7
|
+
import "../../chunk-KP72CV3N.mjs";
|
|
8
8
|
import "../../chunk-N5UXWPB6.mjs";
|
|
9
9
|
export {
|
|
10
10
|
getEncoding,
|