@storm-software/cloudflare-tools 0.63.48 → 0.63.51
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 +47 -0
- package/README.md +1 -1
- package/dist/{chunk-IFBO5YTL.mjs → chunk-4EESYLWN.mjs} +3 -3
- package/dist/{chunk-NHG6EZHS.js → chunk-57WTY3UY.js} +3 -3
- package/dist/{chunk-4BNYLCUN.mjs → chunk-ADVG6LVE.mjs} +1 -1
- package/dist/{chunk-MKPMUQLP.js → chunk-AOAXSMD4.js} +118 -118
- package/dist/{chunk-YBEYUZYA.mjs → chunk-AZSS2TUS.mjs} +8 -4
- package/dist/{chunk-AE2T23TV.mjs → chunk-BRPTGDS4.mjs} +1 -1
- package/dist/{chunk-PYRV5ZYJ.js → chunk-DFCU3FEM.js} +2 -2
- package/dist/{chunk-Q5D3SQSD.js → chunk-KDRIR55G.js} +10 -6
- package/dist/{chunk-FGLRV4K6.mjs → chunk-KRPDGACD.mjs} +4 -4
- package/dist/{chunk-DADPPALG.mjs → chunk-OWO7A5PU.mjs} +1 -1
- package/dist/{chunk-SNPJFGSK.mjs → chunk-Q5XL7K7Z.mjs} +3 -3
- package/dist/{chunk-SRLYXDLP.mjs → chunk-QIXB77P5.mjs} +3 -3
- package/dist/{chunk-EGOX3ATY.js → chunk-SKFYFYS4.js} +12 -12
- package/dist/{chunk-GQNUZ2XY.js → chunk-UOEUE2GI.js} +44 -44
- package/dist/{chunk-YDKLGL5J.mjs → chunk-WHJIOTPA.mjs} +1 -1
- package/dist/{chunk-CBV5OIDF.js → chunk-X2ML265T.js} +16 -16
- 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 +13 -13
|
@@ -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 _chunk57WTY3UYjs = require('./chunk-57WTY3UY.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkNU34IEWNjs = require('./chunk-NU34IEWN.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkUOEUE2GIjs = require('./chunk-UOEUE2GI.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkKDRIR55Gjs = require('./chunk-KDRIR55G.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 = _chunkKDRIR55Gjs.findWorkspaceRoot.call(void 0, );
|
|
43
|
+
const config = await _chunkUOEUE2GIjs.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 = _chunkNU34IEWNjs.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
|
+
_chunkKDRIR55Gjs.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
|
+
_chunkKDRIR55Gjs.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 _chunk57WTY3UYjs.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
|
+
_chunkKDRIR55Gjs.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
|
+
_chunkKDRIR55Gjs.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
|
+
_chunkKDRIR55Gjs.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
|
+
_chunkKDRIR55Gjs.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
|
+
_chunkKDRIR55Gjs.writeInfo.call(void 0, `Generating meta.json file:
|
|
162
162
|
${metaJson}`);
|
|
163
|
-
await
|
|
163
|
+
await _chunk57WTY3UYjs.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) => _chunk57WTY3UYjs.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
|
+
_chunkKDRIR55Gjs.writeSuccess.call(void 0,
|
|
191
191
|
`Successfully uploaded the ${projectName} component to the Cyclone Registry`,
|
|
192
192
|
config
|
|
193
193
|
);
|
package/dist/executors.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";require('./chunk-XO66D74Z.js');
|
|
2
2
|
require('./chunk-IRORGRVZ.js');
|
|
3
|
-
require('./chunk-
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
require('./chunk-AOAXSMD4.js');
|
|
4
|
+
require('./chunk-X2ML265T.js');
|
|
5
|
+
require('./chunk-57WTY3UY.js');
|
|
6
6
|
require('./chunk-NU34IEWN.js');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-UOEUE2GI.js');
|
|
8
|
+
require('./chunk-KDRIR55G.js');
|
|
9
9
|
require('./chunk-MCKGQKYU.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
|
-
import "./chunk-
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-WHJIOTPA.mjs";
|
|
3
|
+
import "./chunk-4EESYLWN.mjs";
|
|
4
|
+
import "./chunk-Q5XL7K7Z.mjs";
|
|
5
|
+
import "./chunk-BRPTGDS4.mjs";
|
|
6
6
|
import "./chunk-PH3DHY4Q.mjs";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-ADVG6LVE.mjs";
|
|
8
|
+
import "./chunk-AZSS2TUS.mjs";
|
|
9
|
+
import "./chunk-OWO7A5PU.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkSKFYFYS4js = require('./chunk-SKFYFYS4.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
9
|
+
var _chunkDFCU3FEMjs = require('./chunk-DFCU3FEM.js');
|
|
10
|
+
require('./chunk-UOEUE2GI.js');
|
|
11
|
+
require('./chunk-KDRIR55G.js');
|
|
12
12
|
require('./chunk-MCKGQKYU.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.applicationGenerator =
|
|
18
|
+
exports.applicationGenerator = _chunkSKFYFYS4js.applicationGenerator; exports.applicationSchematic = _chunkSKFYFYS4js.applicationSchematic; exports.initGenerator = _chunkDFCU3FEMjs.initGenerator; exports.initSchematic = _chunkDFCU3FEMjs.initSchematic;
|
package/dist/generators.mjs
CHANGED
|
@@ -2,14 +2,14 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
applicationGenerator,
|
|
4
4
|
applicationSchematic
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KRPDGACD.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-QIXB77P5.mjs";
|
|
10
|
+
import "./chunk-ADVG6LVE.mjs";
|
|
11
|
+
import "./chunk-AZSS2TUS.mjs";
|
|
12
|
+
import "./chunk-OWO7A5PU.mjs";
|
|
13
13
|
export {
|
|
14
14
|
applicationGenerator,
|
|
15
15
|
applicationSchematic,
|
package/dist/index.js
CHANGED
|
@@ -3,25 +3,25 @@ require('./chunk-DHBG5ASJ.js');
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkSKFYFYS4js = require('./chunk-SKFYFYS4.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkDFCU3FEMjs = require('./chunk-DFCU3FEM.js');
|
|
11
11
|
require('./chunk-CVGPWUNP.js');
|
|
12
12
|
require('./chunk-IRORGRVZ.js');
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-AOAXSMD4.js');
|
|
14
|
+
require('./chunk-X2ML265T.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunk57WTY3UYjs = require('./chunk-57WTY3UY.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
var _chunkNU34IEWNjs = require('./chunk-NU34IEWN.js');
|
|
23
|
-
require('./chunk-
|
|
24
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-UOEUE2GI.js');
|
|
24
|
+
require('./chunk-KDRIR55G.js');
|
|
25
25
|
require('./chunk-MCKGQKYU.js');
|
|
26
26
|
|
|
27
27
|
// src/plugins/index.ts
|
|
@@ -162,4 +162,4 @@ function createPackageJson(projectJsonPath, workspaceRoot) {
|
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
|
|
165
|
-
exports.applicationGenerator =
|
|
165
|
+
exports.applicationGenerator = _chunkSKFYFYS4js.applicationGenerator; exports.applicationSchematic = _chunkSKFYFYS4js.applicationSchematic; exports.createNodesV2 = createNodesV2; exports.getInternalDependencies = _chunk57WTY3UYjs.getInternalDependencies; exports.initGenerator = _chunkDFCU3FEMjs.initGenerator; exports.initSchematic = _chunkDFCU3FEMjs.initSchematic; exports.name = name; exports.r2UploadFile = _chunk57WTY3UYjs.r2UploadFile;
|
package/dist/index.mjs
CHANGED
|
@@ -3,26 +3,26 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
3
3
|
import {
|
|
4
4
|
applicationGenerator,
|
|
5
5
|
applicationSchematic
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KRPDGACD.mjs";
|
|
7
7
|
import {
|
|
8
8
|
initGenerator,
|
|
9
9
|
initSchematic
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QIXB77P5.mjs";
|
|
11
11
|
import "./chunk-7Z5PILRU.mjs";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-WHJIOTPA.mjs";
|
|
13
|
+
import "./chunk-4EESYLWN.mjs";
|
|
14
|
+
import "./chunk-Q5XL7K7Z.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getInternalDependencies,
|
|
17
17
|
r2UploadFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BRPTGDS4.mjs";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTagConstants,
|
|
21
21
|
addProjectTag
|
|
22
22
|
} from "./chunk-PH3DHY4Q.mjs";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-ADVG6LVE.mjs";
|
|
24
|
+
import "./chunk-AZSS2TUS.mjs";
|
|
25
|
+
import "./chunk-OWO7A5PU.mjs";
|
|
26
26
|
|
|
27
27
|
// src/plugins/index.ts
|
|
28
28
|
import {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
var _chunkIRORGRVZjs = require('../../../chunk-IRORGRVZ.js');
|
|
4
|
-
require('../../../chunk-
|
|
4
|
+
require('../../../chunk-AOAXSMD4.js');
|
|
5
5
|
require('../../../chunk-NU34IEWN.js');
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-UOEUE2GI.js');
|
|
7
|
+
require('../../../chunk-KDRIR55G.js');
|
|
8
8
|
require('../../../chunk-MCKGQKYU.js');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-WHJIOTPA.mjs";
|
|
4
|
+
import "../../../chunk-4EESYLWN.mjs";
|
|
5
5
|
import "../../../chunk-PH3DHY4Q.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-ADVG6LVE.mjs";
|
|
7
|
+
import "../../../chunk-AZSS2TUS.mjs";
|
|
8
|
+
import "../../../chunk-OWO7A5PU.mjs";
|
|
9
9
|
export {
|
|
10
10
|
runExecutor as default
|
|
11
11
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
3
|
+
var _chunkX2ML265Tjs = require('../../../chunk-X2ML265T.js');
|
|
4
|
+
require('../../../chunk-57WTY3UY.js');
|
|
5
5
|
require('../../../chunk-NU34IEWN.js');
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-UOEUE2GI.js');
|
|
7
|
+
require('../../../chunk-KDRIR55G.js');
|
|
8
8
|
require('../../../chunk-MCKGQKYU.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkX2ML265Tjs.runExecutor;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import "../../../chunk-
|
|
3
|
+
} from "../../../chunk-Q5XL7K7Z.mjs";
|
|
4
|
+
import "../../../chunk-BRPTGDS4.mjs";
|
|
5
5
|
import "../../../chunk-PH3DHY4Q.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-ADVG6LVE.mjs";
|
|
7
|
+
import "../../../chunk-AZSS2TUS.mjs";
|
|
8
|
+
import "../../../chunk-OWO7A5PU.mjs";
|
|
9
9
|
export {
|
|
10
10
|
runExecutor as default
|
|
11
11
|
};
|
|
@@ -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 _chunkAOAXSMD4js = require('../../../chunk-AOAXSMD4.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkNU34IEWNjs = require('../../../chunk-NU34IEWN.js');
|
|
7
|
-
require('../../../chunk-
|
|
8
|
-
require('../../../chunk-
|
|
7
|
+
require('../../../chunk-UOEUE2GI.js');
|
|
8
|
+
require('../../../chunk-KDRIR55G.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
var _chunkMCKGQKYUjs = require('../../../chunk-MCKGQKYU.js');
|
|
@@ -55,7 +55,7 @@ async function* serveExecutor(options, context, config) {
|
|
|
55
55
|
success: true
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
var executor_default =
|
|
58
|
+
var executor_default = _chunkAOAXSMD4js.withRunExecutor.call(void 0,
|
|
59
59
|
"Cloudflare Serve executor",
|
|
60
60
|
serveExecutor,
|
|
61
61
|
{
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRunExecutor
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-4EESYLWN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCliOptions
|
|
6
6
|
} from "../../../chunk-PH3DHY4Q.mjs";
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-ADVG6LVE.mjs";
|
|
8
|
+
import "../../../chunk-AZSS2TUS.mjs";
|
|
9
9
|
import {
|
|
10
10
|
__require
|
|
11
|
-
} from "../../../chunk-
|
|
11
|
+
} from "../../../chunk-OWO7A5PU.mjs";
|
|
12
12
|
|
|
13
13
|
// src/executors/serve/executor.ts
|
|
14
14
|
import { createAsyncIterable } from "@nx/devkit/src/utils/async-iterable";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkDFCU3FEMjs = require('../../../chunk-DFCU3FEM.js');
|
|
6
6
|
require('../../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = _chunkDFCU3FEMjs.generator_default; exports.initGenerator = _chunkDFCU3FEMjs.initGenerator; exports.initSchematic = _chunkDFCU3FEMjs.initSchematic;
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
generator_default,
|
|
3
3
|
initGenerator,
|
|
4
4
|
initSchematic
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-QIXB77P5.mjs";
|
|
6
|
+
import "../../../chunk-OWO7A5PU.mjs";
|
|
7
7
|
export {
|
|
8
8
|
generator_default as default,
|
|
9
9
|
initGenerator,
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
8
|
-
require('../../../chunk-
|
|
5
|
+
var _chunkSKFYFYS4js = require('../../../chunk-SKFYFYS4.js');
|
|
6
|
+
require('../../../chunk-DFCU3FEM.js');
|
|
7
|
+
require('../../../chunk-UOEUE2GI.js');
|
|
8
|
+
require('../../../chunk-KDRIR55G.js');
|
|
9
9
|
require('../../../chunk-MCKGQKYU.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.applicationGenerator =
|
|
14
|
+
exports.applicationGenerator = _chunkSKFYFYS4js.applicationGenerator; exports.applicationSchematic = _chunkSKFYFYS4js.applicationSchematic; exports.default = _chunkSKFYFYS4js.generator_default;
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
applicationGenerator,
|
|
3
3
|
applicationSchematic,
|
|
4
4
|
generator_default
|
|
5
|
-
} from "../../../chunk-
|
|
6
|
-
import "../../../chunk-
|
|
7
|
-
import "../../../chunk-
|
|
8
|
-
import "../../../chunk-
|
|
9
|
-
import "../../../chunk-
|
|
5
|
+
} from "../../../chunk-KRPDGACD.mjs";
|
|
6
|
+
import "../../../chunk-QIXB77P5.mjs";
|
|
7
|
+
import "../../../chunk-ADVG6LVE.mjs";
|
|
8
|
+
import "../../../chunk-AZSS2TUS.mjs";
|
|
9
|
+
import "../../../chunk-OWO7A5PU.mjs";
|
|
10
10
|
export {
|
|
11
11
|
applicationGenerator,
|
|
12
12
|
applicationSchematic,
|
package/dist/src/utils/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../../chunk-
|
|
5
|
+
var _chunk57WTY3UYjs = require('../../chunk-57WTY3UY.js');
|
|
6
|
+
require('../../chunk-KDRIR55G.js');
|
|
7
7
|
require('../../chunk-MCKGQKYU.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.getInternalDependencies =
|
|
11
|
+
exports.getInternalDependencies = _chunk57WTY3UYjs.getInternalDependencies; exports.r2UploadFile = _chunk57WTY3UYjs.r2UploadFile;
|
package/dist/src/utils/index.mjs
CHANGED
|
@@ -2,9 +2,9 @@ import "../../chunk-7Z5PILRU.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
getInternalDependencies,
|
|
4
4
|
r2UploadFile
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-BRPTGDS4.mjs";
|
|
6
|
+
import "../../chunk-AZSS2TUS.mjs";
|
|
7
|
+
import "../../chunk-OWO7A5PU.mjs";
|
|
8
8
|
export {
|
|
9
9
|
getInternalDependencies,
|
|
10
10
|
r2UploadFile
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
4
|
+
var _chunk57WTY3UYjs = require('../../chunk-57WTY3UY.js');
|
|
5
|
+
require('../../chunk-KDRIR55G.js');
|
|
6
6
|
require('../../chunk-MCKGQKYU.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.getInternalDependencies =
|
|
10
|
+
exports.getInternalDependencies = _chunk57WTY3UYjs.getInternalDependencies; exports.r2UploadFile = _chunk57WTY3UYjs.r2UploadFile;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getInternalDependencies,
|
|
3
3
|
r2UploadFile
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-BRPTGDS4.mjs";
|
|
5
|
+
import "../../chunk-AZSS2TUS.mjs";
|
|
6
|
+
import "../../chunk-OWO7A5PU.mjs";
|
|
7
7
|
export {
|
|
8
8
|
getInternalDependencies,
|
|
9
9
|
r2UploadFile
|
package/dist/tsup.config.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/cloudflare-tools",
|
|
3
|
-
"version": "0.63.
|
|
3
|
+
"version": "0.63.51",
|
|
4
4
|
"description": "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|
|
@@ -113,14 +113,14 @@
|
|
|
113
113
|
"sullivanpj"
|
|
114
114
|
],
|
|
115
115
|
"peerDependencies": {
|
|
116
|
-
"@nx/devkit": "21.
|
|
117
|
-
"@nx/js": "21.
|
|
118
|
-
"@nx/node": "21.
|
|
119
|
-
"@nx/web": "21.
|
|
116
|
+
"@nx/devkit": "^21.3.10",
|
|
117
|
+
"@nx/js": "^21.3.10",
|
|
118
|
+
"@nx/node": "^21.3.10",
|
|
119
|
+
"@nx/web": "^21.3.10",
|
|
120
120
|
"@storm-software/config": "1.113.5",
|
|
121
121
|
"@storm-software/config-tools": "1.163.5",
|
|
122
122
|
"@storm-software/workspace-tools": "1.267.0",
|
|
123
|
-
"nx": "21.
|
|
123
|
+
"nx": "^21.3.10",
|
|
124
124
|
"tsup": "8.4.0",
|
|
125
125
|
"wrangler": ">=3.58.0"
|
|
126
126
|
},
|
|
@@ -134,17 +134,17 @@
|
|
|
134
134
|
},
|
|
135
135
|
"dependencies": { "@aws-sdk/client-s3": "3.47.0", "glob": "^11.0.1" },
|
|
136
136
|
"devDependencies": {
|
|
137
|
-
"@nx/devkit": "21.
|
|
138
|
-
"@nx/node": "21.
|
|
139
|
-
"@nx/web": "21.
|
|
140
|
-
"@nx/webpack": "21.
|
|
141
|
-
"nx": "21.
|
|
137
|
+
"@nx/devkit": "^21.3.10",
|
|
138
|
+
"@nx/node": "^21.3.10",
|
|
139
|
+
"@nx/web": "^21.3.10",
|
|
140
|
+
"@nx/webpack": "^21.3.10",
|
|
141
|
+
"nx": "^21.3.10",
|
|
142
142
|
"tsup": "8.4.0",
|
|
143
143
|
"untyped": "^1.5.2",
|
|
144
|
-
"wrangler": "^4.
|
|
144
|
+
"wrangler": "^4.27.0"
|
|
145
145
|
},
|
|
146
146
|
"publishConfig": { "access": "public" },
|
|
147
147
|
"executors": "./executors.json",
|
|
148
148
|
"generators": "./generators.json",
|
|
149
|
-
"gitHead": "
|
|
149
|
+
"gitHead": "cc140afa49466e39f555922878718b7cb860d73b"
|
|
150
150
|
}
|