vite-plugin-zephyr 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- package/.eslintrc.json +25 -0
- package/LICENSE +39 -0
- package/README.md +0 -9
- package/dist/index.js.map +1 -0
- package/dist/lib/load_extra_files_from_dist.js.map +1 -0
- package/dist/lib/load_public_dir.js.map +1 -0
- package/dist/lib/load_static_entries.js.map +1 -0
- package/{src → dist}/lib/vite-plugin-zephyr-partial.js +22 -19
- package/dist/lib/vite-plugin-zephyr-partial.js.map +1 -0
- package/dist/lib/vite-plugin-zephyr.d.ts +2 -0
- package/{src → dist}/lib/vite-plugin-zephyr.js +30 -27
- package/dist/lib/vite-plugin-zephyr.js.map +1 -0
- package/dist/lib/zephyr-internal-options.js.map +1 -0
- package/dist/package.json +21 -0
- package/jest.config.ts +11 -0
- package/package.json +10 -7
- package/project.json +34 -0
- package/tsconfig.json +22 -0
- package/tsconfig.lib.json +11 -0
- package/tsconfig.spec.json +14 -0
- package/src/index.js.map +0 -1
- package/src/lib/load_extra_files_from_dist.js.map +0 -1
- package/src/lib/load_public_dir.js.map +0 -1
- package/src/lib/load_static_entries.js.map +0 -1
- package/src/lib/vite-plugin-zephyr-partial.js.map +0 -1
- package/src/lib/vite-plugin-zephyr.d.ts +0 -9
- package/src/lib/vite-plugin-zephyr.js.map +0 -1
- package/src/lib/zephyr-internal-options.js.map +0 -1
- /package/{src → dist}/index.d.ts +0 -0
- /package/{src → dist}/index.js +0 -0
- /package/{src → dist}/lib/load_extra_files_from_dist.d.ts +0 -0
- /package/{src → dist}/lib/load_extra_files_from_dist.js +0 -0
- /package/{src → dist}/lib/load_public_dir.d.ts +0 -0
- /package/{src → dist}/lib/load_public_dir.js +0 -0
- /package/{src → dist}/lib/load_static_entries.d.ts +0 -0
- /package/{src → dist}/lib/load_static_entries.js +0 -0
- /package/{src → dist}/lib/vite-plugin-zephyr-partial.d.ts +0 -0
- /package/{src → dist}/lib/zephyr-internal-options.d.ts +0 -0
- /package/{src → dist}/lib/zephyr-internal-options.js +0 -0
package/.eslintrc.json
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"extends": ["../../.eslintrc.json"],
|
3
|
+
"ignorePatterns": ["!**/*"],
|
4
|
+
"overrides": [
|
5
|
+
{
|
6
|
+
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
7
|
+
"rules": {}
|
8
|
+
},
|
9
|
+
{
|
10
|
+
"files": ["*.ts", "*.tsx"],
|
11
|
+
"rules": {}
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"files": ["*.js", "*.jsx"],
|
15
|
+
"rules": {}
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"files": ["*.json"],
|
19
|
+
"parser": "jsonc-eslint-parser",
|
20
|
+
"rules": {
|
21
|
+
"@nx/dependency-checks": "error"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
]
|
25
|
+
}
|
package/LICENSE
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
Apache License
|
2
|
+
Version 2.0, January 2004
|
3
|
+
http://www.apache.org/licenses/
|
4
|
+
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
|
+
|
7
|
+
1. Definitions.
|
8
|
+
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
11
|
+
|
12
|
+
...
|
13
|
+
|
14
|
+
END OF TERMS AND CONDITIONS
|
15
|
+
|
16
|
+
APPENDIX: How to apply the Apache License to your work.
|
17
|
+
|
18
|
+
To apply the Apache License to your work, attach the following
|
19
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
20
|
+
replaced with your own identifying information. (Don't include
|
21
|
+
the brackets!) The text should be enclosed in the appropriate
|
22
|
+
comment syntax for the file format. We also recommend that a
|
23
|
+
file or class name and description of purpose be included on the
|
24
|
+
same line as the copyright notice for each file. The "copyright"
|
25
|
+
word should be left as is (without quotes).
|
26
|
+
|
27
|
+
Copyright [2023] [Zephyr Cloud]
|
28
|
+
|
29
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
30
|
+
you may not use this file except in compliance with the License.
|
31
|
+
You may obtain a copy of the License at
|
32
|
+
|
33
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
34
|
+
|
35
|
+
Unless required by applicable law or agreed to in writing, software
|
36
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
37
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
38
|
+
See the License for the specific language governing permissions and
|
39
|
+
limitations under the License.
|
package/README.md
CHANGED
@@ -1,11 +1,2 @@
|
|
1
1
|
# vite-plugin-zephyr
|
2
2
|
|
3
|
-
This library was generated with [Nx](https://nx.dev).
|
4
|
-
|
5
|
-
## Building
|
6
|
-
|
7
|
-
Run `nx build vite-plugin-zephyr` to build the library.
|
8
|
-
|
9
|
-
## Running unit tests
|
10
|
-
|
11
|
-
Run `nx test vite-plugin-zephyr` to execute the unit tests via [Jest](https://jestjs.io).
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,+DAAsD;AAA7C,gHAAA,UAAU,OAAA;AACnB,+EAAqE;AAA5D,+HAAA,iBAAiB,OAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"load_extra_files_from_dist.js","sourceRoot":"","sources":["../../src/lib/load_extra_files_from_dist.ts"],"names":[],"mappings":";;;;AACA,yCAA8C;AAC9C,qCAA0D;AAC1D,+BAAqC;AACrC,yCAAsC;AAOtC,SAAsB,0BAA0B,CAC9C,KAAoC;;QAEpC,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;QAC/B,MAAM,YAAY,GAAkB,EAAE,CAAC;QAEvC,MAAM,aAAa,GAAG,IAAA,mBAAO,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,CAAO,OAAe,EAAE,E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CACpB,CAAC;AAEF,SAAsB,mBAAmB,CACvC,KAA+B;;QAE/B,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;QAC/B,MAAM,YAAY,GAAkB,EAAE,CAAC;QAEvC,MAAM,aAAa,GAAG,IAAA,mBAAO,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAE5C,MAAM,OAAO,GAAG,CAAO,OAAe,EAAE,EAAE;YACxC,KAAK,MAAM,IAAI,IAAI,IAAA,qBAAW,EAAC,OAAO,CAAC,EAAE,CAAC;gBACxC,MAAM,QAAQ,GAAG,IAAA,mBAAO,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;gBACxC,MAAM,IAAI,GAAG,IAAA,kBAAQ,EAAC,QAAQ,CAAC,CAAC;gBAChC,IAAI,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC;oBACvB,MAAM,OAAO,CAAC,QAAQ,CAAC,CAAC;oBACxB,SAAS;gBACX,CAAC;gBACD,MAAM,QAAQ,GAAG,IAAA,oBAAa,EAAC,IAAA,oBAAQ,EAAC,aAAa,EAAE,QAAQ,CAAC,CAAC,CAAC;gBAClE,IAAI,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC;oBACxB,YAAY,CAAC,IAAI,CAAC;wBAChB,QAAQ;wBACR,IAAI,EAAE,IAAI;wBACV,kBAAkB,EAAE,KAAK;wBACzB,MAAM,EAAE,MAAM,IAAA,qBAAS,EAAC,kBAAQ,CAAC,CAAC,QAAQ,CAAC;wBAC3C,IAAI,EAAE,OAAO;qBACd,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;QACH,CAAC,CAAA,CAAC;QACF,MAAM,OAAO,CAAC,aAAa,CAAC,CAAC;QAC7B,OAAO,YAAY,CAAC;IACtB,CAAC;CAAA;AA9BD,kDA8BC"}
|
@@ -52,38 +52,39 @@ function _zephyr_partial(options) {
|
|
52
52
|
const { assets, vite_internal_options } = options;
|
53
53
|
const path_to_execution_dir = vite_internal_options.root;
|
54
54
|
(0, zephyr_edge_contract_1.ze_log)('Configuring with Zephyr');
|
55
|
-
const packageJson = (0, zephyr_agent_1.getPackageJson)(path_to_execution_dir);
|
55
|
+
const packageJson = yield (0, zephyr_agent_1.getPackageJson)(path_to_execution_dir);
|
56
56
|
(0, zephyr_edge_contract_1.ze_log)('Loaded Package JSON', packageJson);
|
57
57
|
if (!packageJson)
|
58
58
|
return (0, zephyr_edge_contract_1.ze_error)('Could not find package json');
|
59
|
-
const gitInfo = (0, zephyr_agent_1.getGitInfo)();
|
59
|
+
const gitInfo = yield (0, zephyr_agent_1.getGitInfo)();
|
60
60
|
(0, zephyr_edge_contract_1.ze_log)('Loaded Git Info', gitInfo);
|
61
61
|
if (!gitInfo ||
|
62
62
|
!(gitInfo === null || gitInfo === void 0 ? void 0 : gitInfo.app.org) ||
|
63
63
|
!(gitInfo === null || gitInfo === void 0 ? void 0 : gitInfo.app.project) ||
|
64
64
|
!(packageJson === null || packageJson === void 0 ? void 0 : packageJson.name))
|
65
65
|
return (0, zephyr_edge_contract_1.ze_error)('Could not get git info');
|
66
|
-
const application_uid = (0, zephyr_edge_contract_1.
|
66
|
+
const application_uid = (0, zephyr_edge_contract_1.createApplicationUID)({
|
67
67
|
org: gitInfo.app.org,
|
68
68
|
project: gitInfo.app.project,
|
69
69
|
name: packageJson === null || packageJson === void 0 ? void 0 : packageJson.name,
|
70
70
|
});
|
71
71
|
(0, zephyr_edge_contract_1.ze_log)('Going to check auth token or get it');
|
72
72
|
yield (0, zephyr_agent_1.checkAuth)();
|
73
|
-
(0, zephyr_edge_contract_1.ze_log)('Got auth token, going to get application configuration');
|
74
|
-
const
|
75
|
-
application_uid,
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
level: 'error',
|
82
|
-
action: 'build:get-build-id:error',
|
83
|
-
message: `error receiving build number for '${email}'\n
|
73
|
+
(0, zephyr_edge_contract_1.ze_log)('Got auth token, going to get application configuration and build id');
|
74
|
+
const [appConfig, buildId, hash_set] = yield Promise.all([
|
75
|
+
(0, zephyr_agent_1.getApplicationConfiguration)({ application_uid }),
|
76
|
+
(0, zephyr_agent_1.getBuildId)(application_uid).catch((err) => {
|
77
|
+
logEvent({
|
78
|
+
level: 'error',
|
79
|
+
action: 'build:get-build-id:error',
|
80
|
+
message: `error receiving build number for '${email}'\n
|
84
81
|
${err.message}\n`,
|
85
|
-
|
86
|
-
|
82
|
+
});
|
83
|
+
}),
|
84
|
+
(0, zephyr_agent_1.get_hash_list)(application_uid),
|
85
|
+
]);
|
86
|
+
const { username, email, EDGE_URL } = appConfig;
|
87
|
+
(0, zephyr_edge_contract_1.ze_log)('Got application configuration', { username, email, EDGE_URL });
|
87
88
|
if (!buildId)
|
88
89
|
return (0, zephyr_edge_contract_1.ze_error)('[zephyr]: Could not get build id');
|
89
90
|
const pluginOptions = {
|
@@ -143,9 +144,8 @@ function _zephyr_partial(options) {
|
|
143
144
|
username,
|
144
145
|
email,
|
145
146
|
});
|
146
|
-
|
147
|
-
|
148
|
-
return (0, zephyr_edge_contract_1.ze_error)('Snapshot upload gave no result, exiting');
|
147
|
+
yield (0, zephyr_agent_1.zeUploadSnapshot)(pluginOptions, snapshot).catch((err) => (0, zephyr_edge_contract_1.ze_error)('Failed to upload snapshot.', err));
|
148
|
+
const missingAssets = (0, zephyr_agent_1.get_missing_assets)({ assetsMap, hash_set });
|
149
149
|
const assetsUploadSuccess = yield (0, zephyr_agent_1.zeUploadAssets)(pluginOptions, {
|
150
150
|
missingAssets,
|
151
151
|
assetsMap,
|
@@ -153,6 +153,9 @@ function _zephyr_partial(options) {
|
|
153
153
|
});
|
154
154
|
if (!assetsUploadSuccess)
|
155
155
|
return (0, zephyr_edge_contract_1.ze_error)('Failed to upload assets.', assetsUploadSuccess);
|
156
|
+
if (missingAssets.length) {
|
157
|
+
yield (0, zephyr_agent_1.update_hash_list)(application_uid, assetsMap);
|
158
|
+
}
|
156
159
|
yield (0, zephyr_edge_contract_1.savePartialAssetMap)(application_uid, (_a = vite_internal_options.configFile) !== null && _a !== void 0 ? _a : 'partial', assetsMap);
|
157
160
|
logEvent({
|
158
161
|
level: 'info',
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"vite-plugin-zephyr-partial.js","sourceRoot":"","sources":["../../src/lib/vite-plugin-zephyr-partial.ts"],"names":[],"mappings":";;;;AAOA,8BAA8B;AAE9B,+DAM8B;AAC9B,+CAcsB;AAEtB,uDAAoD;AACpD,6EAA0E;AAG1E,SAAgB,iBAAiB;IAC/B,IAAI,MAAM,GAAiB,EAAE,CAAC;IAC9B,MAAM,qBAAqB,GAAG,EAA2B,CAAC;IAE1D,OAAO;QACL,IAAI,EAAE,qBAAqB;QAC3B,KAAK,EAAE,OAAO;QACd,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,CAAO,MAAsB,EAAE,EAAE;YAC/C,MAAM,CAAC,MAAM,CAAC,qBAAqB,EAAE;gBACnC,IAAI,EAAE,MAAM,CAAC,IAAI;gBACjB,UAAU,EAAE,MAAM,CAAC,UAAU;gBAC7B,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM;gBAC3B,SAAS,EAAE,MAAM,CAAC,SAAS;aAC5B,CAAC,CAAC;QACL,CAAC,CAAA;QAED,WAAW,EAAE,CACX,OAAgC,EAChC,OAAqB,EACrB,EAAE;YACF,qBAAqB,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;YACxC,MAAM,GAAG,OAAO,CAAC;QACnB,CAAC,CAAA;QAED,WAAW,EAAE,GAAS,EAAE;YACtB,MAAM,YAAY,GAAkB,EAAE,CAAC;YAEvC,IAAI,qBAAqB,CAAC,SAAS,EAAE,CAAC;gBACpC,MAAM,cAAc,GAAG,MAAM,IAAA,iCAAe,EAAC;oBAC3C,MAAM,EAAE,qBAAqB,CAAC,MAAM;oBACpC,SAAS,EAAE,qBAAqB,CAAC,SAAS;iBAC3C,CAAC,CAAC;gBACH,YAAY,CAAC,IAAI,CAAC,GA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IAAI,aAAa,CAAC,MAAM,EAAE,CAAC;YACzB,MAAM,IAAA,+BAAgB,EAAC,eAAe,EAAE,SAAS,CAAC,CAAC;QACrD,CAAC;QAED,MAAM,IAAA,0CAAmB,EACvB,eAAe,EACf,MAAA,qBAAqB,CAAC,UAAU,mCAAI,SAAS,EAC7C,SAAS,CACV,CAAC;QAEF,QAAQ,CAAC;YACP,KAAK,EAAE,MAAM;YACb,MAAM,EAAE,mBAAmB;YAC3B,OAAO,EAAE,qBAAqB,IAAI,CAAC,GAAG,EAAE,GAAG,OAAO,IAAI;SACvD,CAAC,CAAC;IACL,CAAC;CAAA"}
|
@@ -39,41 +39,42 @@ function withZephyr() {
|
|
39
39
|
exports.withZephyr = withZephyr;
|
40
40
|
function _zephyr(options) {
|
41
41
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
42
|
-
const { assets, vite_internal_options } = options;
|
42
|
+
const { assets: _assets, vite_internal_options } = options;
|
43
43
|
const path_to_execution_dir = vite_internal_options.root;
|
44
44
|
(0, zephyr_edge_contract_1.ze_log)('Configuring with Zephyr');
|
45
|
-
const packageJson = (0, zephyr_agent_1.getPackageJson)(path_to_execution_dir);
|
45
|
+
const packageJson = yield (0, zephyr_agent_1.getPackageJson)(path_to_execution_dir);
|
46
46
|
(0, zephyr_edge_contract_1.ze_log)('Loaded Package JSON', packageJson);
|
47
47
|
if (!packageJson)
|
48
48
|
return (0, zephyr_edge_contract_1.ze_error)('Could not find package json');
|
49
|
-
const gitInfo = (0, zephyr_agent_1.getGitInfo)();
|
49
|
+
const gitInfo = yield (0, zephyr_agent_1.getGitInfo)();
|
50
50
|
(0, zephyr_edge_contract_1.ze_log)('Loaded Git Info', gitInfo);
|
51
51
|
if (!gitInfo ||
|
52
52
|
!(gitInfo === null || gitInfo === void 0 ? void 0 : gitInfo.app.org) ||
|
53
53
|
!(gitInfo === null || gitInfo === void 0 ? void 0 : gitInfo.app.project) ||
|
54
54
|
!(packageJson === null || packageJson === void 0 ? void 0 : packageJson.name))
|
55
55
|
return (0, zephyr_edge_contract_1.ze_error)('Could not get git info');
|
56
|
-
const application_uid = (0, zephyr_edge_contract_1.
|
56
|
+
const application_uid = (0, zephyr_edge_contract_1.createApplicationUID)({
|
57
57
|
org: gitInfo.app.org,
|
58
58
|
project: gitInfo.app.project,
|
59
59
|
name: packageJson === null || packageJson === void 0 ? void 0 : packageJson.name,
|
60
60
|
});
|
61
61
|
(0, zephyr_edge_contract_1.ze_log)('Going to check auth token or get it');
|
62
62
|
yield (0, zephyr_agent_1.checkAuth)();
|
63
|
-
(0, zephyr_edge_contract_1.ze_log)('Got auth token, going to get application configuration');
|
64
|
-
const
|
65
|
-
application_uid,
|
66
|
-
|
63
|
+
(0, zephyr_edge_contract_1.ze_log)('Got auth token, going to get application configuration and build id');
|
64
|
+
const [appConfig, buildId, hash_set] = yield Promise.all([
|
65
|
+
(0, zephyr_agent_1.getApplicationConfiguration)({ application_uid }),
|
66
|
+
(0, zephyr_agent_1.getBuildId)(application_uid).catch((err) => {
|
67
|
+
logEvent({
|
68
|
+
level: 'error',
|
69
|
+
action: 'build:get-build-id:error',
|
70
|
+
message: `error receiving build number for '${email}'\n
|
71
|
+
${err.message}\n`,
|
72
|
+
});
|
73
|
+
}),
|
74
|
+
(0, zephyr_agent_1.get_hash_list)(application_uid),
|
75
|
+
]);
|
76
|
+
const { username, email, EDGE_URL } = appConfig;
|
67
77
|
(0, zephyr_edge_contract_1.ze_log)('Got application configuration', { username, email, EDGE_URL });
|
68
|
-
(0, zephyr_edge_contract_1.ze_log)('Going to get build id');
|
69
|
-
const buildId = yield (0, zephyr_agent_1.getBuildId)(application_uid).catch((err) => {
|
70
|
-
logEvent({
|
71
|
-
level: 'error',
|
72
|
-
action: 'build:get-build-id:error',
|
73
|
-
message: `error receiving build number for '${email}'\n
|
74
|
-
${err.message}\n`,
|
75
|
-
});
|
76
|
-
});
|
77
78
|
if (!buildId)
|
78
79
|
return (0, zephyr_edge_contract_1.ze_error)('[zephyr]: Could not get build id');
|
79
80
|
const pluginOptions = {
|
@@ -112,6 +113,9 @@ function _zephyr(options) {
|
|
112
113
|
}
|
113
114
|
};
|
114
115
|
const getAssetType = (asset) => asset.type;
|
116
|
+
const partialAssetMap = yield (0, zephyr_edge_contract_1.getPartialAssetMap)(application_uid);
|
117
|
+
yield (0, zephyr_edge_contract_1.removePartialAssetMap)(application_uid);
|
118
|
+
const assets = Object.assign({}, _assets, ...Object.values(partialAssetMap !== null && partialAssetMap !== void 0 ? partialAssetMap : {}));
|
115
119
|
const assetsMap = Object.keys(assets).reduce((memo, filepath) => {
|
116
120
|
const asset = assets[filepath];
|
117
121
|
const buffer = extractBuffer(asset);
|
@@ -128,17 +132,14 @@ function _zephyr(options) {
|
|
128
132
|
memo[assetMap.hash] = assetMap;
|
129
133
|
return memo;
|
130
134
|
}, {});
|
131
|
-
const partialAssetMap = yield (0, zephyr_edge_contract_1.getPartialAssetMap)(application_uid);
|
132
|
-
yield (0, zephyr_edge_contract_1.removePartialAssetMap)(application_uid);
|
133
135
|
const snapshot = (0, zephyr_agent_1.createSnapshot)({
|
134
136
|
options: pluginOptions,
|
135
137
|
assets: Object.assign({}, assetsMap, ...Object.values(partialAssetMap !== null && partialAssetMap !== void 0 ? partialAssetMap : {})),
|
136
138
|
username,
|
137
139
|
email,
|
138
140
|
});
|
139
|
-
|
140
|
-
|
141
|
-
return (0, zephyr_edge_contract_1.ze_error)('Snapshot upload gave no result, exiting');
|
141
|
+
yield (0, zephyr_agent_1.zeUploadSnapshot)(pluginOptions, snapshot).catch((err) => (0, zephyr_edge_contract_1.ze_error)('Failed to upload snapshot.', err));
|
142
|
+
const missingAssets = (0, zephyr_agent_1.get_missing_assets)({ assetsMap, hash_set });
|
142
143
|
const assetsUploadSuccess = yield (0, zephyr_agent_1.zeUploadAssets)(pluginOptions, {
|
143
144
|
missingAssets,
|
144
145
|
assetsMap,
|
@@ -146,6 +147,9 @@ function _zephyr(options) {
|
|
146
147
|
});
|
147
148
|
if (!assetsUploadSuccess)
|
148
149
|
return (0, zephyr_edge_contract_1.ze_error)('Failed to upload assets.', assetsUploadSuccess);
|
150
|
+
if (missingAssets.length) {
|
151
|
+
yield (0, zephyr_agent_1.update_hash_list)(application_uid, assetsMap);
|
152
|
+
}
|
149
153
|
const version = (0, zephyr_edge_contract_1.createSnapshotId)(pluginOptions);
|
150
154
|
const dashData = {
|
151
155
|
id: pluginOptions.application_uid,
|
@@ -201,11 +205,10 @@ function _zephyr(options) {
|
|
201
205
|
const envs = yield (0, zephyr_agent_1.zeUploadBuildStats)(dashData);
|
202
206
|
if (!envs)
|
203
207
|
return (0, zephyr_edge_contract_1.ze_error)('Did not receive envs from build stats upload. Exiting.');
|
204
|
-
yield (0, zephyr_agent_1.zeEnableSnapshotOnEdge)(
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
message: `build deployed in ${Date.now() - zeStart}ms`,
|
208
|
+
yield (0, zephyr_agent_1.zeEnableSnapshotOnEdge)({
|
209
|
+
pluginOptions,
|
210
|
+
envs_jwt: envs.value,
|
211
|
+
zeStart,
|
209
212
|
});
|
210
213
|
});
|
211
214
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"vite-plugin-zephyr.js","sourceRoot":"","sources":["../../src/lib/vite-plugin-zephyr.ts"],"names":[],"mappings":";;;;AAMA,8BAA8B;AAG9B,+DAQ8B;AAC9B,+CAgBsB;AAEtB,+DAA4D;AAU5D,SAAgB,UAAU;IACxB,sBAAsB;IACtB,IAAI,MAAM,GAAiB,EAAE,CAAC;IAE9B,MAAM,qBAAqB,GAAG,EAAkC,CAAC;IAEjE,OAAO;QACL,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,CAAO,MAAsB,EAAE,EAAE;YAC/C,MAAM,CAAC,MAAM,CAAC,qBAAqB,EAAE;gBACnC,IAAI,EAAE,MAAM,CAAC,IAAI;gBACjB,UAAU,EAAE,MAAM,CAAC,UAAU;gBAC7B,MA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P,IAAI,EAAE,aAAa,CAAC,IAAI;aACzB;YACD,YAAY,EAAE,EAAE;YAChB,eAAe,EAAE,EAAE;YACnB,oBAAoB,EAAE,EAAE;YACxB,QAAQ,EAAE,EAAE;YACZ,SAAS,EAAE;YACT;;;;;;;;;;;;;gBAaI;aACL;YACD,QAAQ,EAAE,EAAE;YACZ,OAAO,EAAE;YACP;;;;;;;;yBAQa;aACd;YACD,GAAG,EAAE,aAAa,CAAC,GAAG,CAAC,MAAM;YAC7B,mBAAmB;YACnB,SAAS,EAAE,aAAa,CAAC,GAAG,CAAC,MAAM;SACpC,CAAC;QAEF,MAAM,IAAI,GAAG,MAAM,IAAA,iCAAkB,EAAC,QAAQ,CAAC,CAAC;QAChD,IAAI,CAAC,IAAI;YACP,OAAO,IAAA,+BAAQ,EAAC,wDAAwD,CAAC,CAAC;QAE5E,MAAM,IAAA,qCAAsB,EAAC;YAC3B,aAAa;YACb,QAAQ,EAAE,IAAI,CAAC,KAAK;YACpB,OAAO;SACR,CAAC,CAAC;IACL,CAAC;CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"zephyr-internal-options.js","sourceRoot":"","sources":["../../src/lib/zephyr-internal-options.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"name": "vite-plugin-zephyr",
|
3
|
+
"version": "0.0.12",
|
4
|
+
"license": "Apache-2.0",
|
5
|
+
"main": "dist/index.js",
|
6
|
+
"types": "dist/index.d.ts",
|
7
|
+
"scripts": {
|
8
|
+
"build": "nx run vite-plugin-zephyr:build"
|
9
|
+
},
|
10
|
+
"dependencies": {
|
11
|
+
"vite": "^5",
|
12
|
+
"rollup": "^4",
|
13
|
+
"is-ci": "^3.0.1",
|
14
|
+
"zephyr-edge-contract": "workspace:*",
|
15
|
+
"zephyr-agent": "workspace:*"
|
16
|
+
},
|
17
|
+
"devDependencies": {
|
18
|
+
"@types/is-ci": "^3.0.4"
|
19
|
+
},
|
20
|
+
"type": "commonjs"
|
21
|
+
}
|
package/jest.config.ts
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
export default {
|
3
|
+
displayName: 'vite-plugin-zephyr',
|
4
|
+
preset: '../../jest.preset.js',
|
5
|
+
testEnvironment: 'node',
|
6
|
+
transform: {
|
7
|
+
'^.+\\.[tj]s$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
|
8
|
+
},
|
9
|
+
moduleFileExtensions: ['ts', 'js', 'html'],
|
10
|
+
coverageDirectory: '../../coverage/libs/vite-plugin-zephyr',
|
11
|
+
};
|
package/package.json
CHANGED
@@ -1,17 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"name": "vite-plugin-zephyr",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.13",
|
4
4
|
"license": "Apache-2.0",
|
5
|
+
"main": "dist/index.js",
|
6
|
+
"types": "dist/index.d.ts",
|
5
7
|
"dependencies": {
|
6
8
|
"vite": "^5",
|
7
9
|
"rollup": "^4",
|
8
|
-
"is-ci": "^3
|
9
|
-
"zephyr-edge-contract": "
|
10
|
-
"zephyr-agent": "
|
10
|
+
"is-ci": "^3",
|
11
|
+
"zephyr-edge-contract": "0.0.13",
|
12
|
+
"zephyr-agent": "0.0.13"
|
11
13
|
},
|
12
14
|
"devDependencies": {
|
13
15
|
"@types/is-ci": "^3.0.4"
|
14
16
|
},
|
15
|
-
"
|
16
|
-
|
17
|
-
}
|
17
|
+
"scripts": {
|
18
|
+
"build": "nx run vite-plugin-zephyr:build"
|
19
|
+
}
|
20
|
+
}
|
package/project.json
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
{
|
2
|
+
"name": "vite-plugin-zephyr",
|
3
|
+
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
4
|
+
"sourceRoot": "libs/vite-plugin-zephyr/src",
|
5
|
+
"projectType": "library",
|
6
|
+
"tags": [],
|
7
|
+
"targets": {
|
8
|
+
"build": {
|
9
|
+
"executor": "@nx/js:tsc",
|
10
|
+
"outputs": ["{options.outputPath}"],
|
11
|
+
"options": {
|
12
|
+
"rootDir": "libs/vite-plugin-zephyr/src",
|
13
|
+
"outputPath": "libs/vite-plugin-zephyr/dist",
|
14
|
+
"tsConfig": "libs/vite-plugin-zephyr/tsconfig.lib.json",
|
15
|
+
"main": "libs/vite-plugin-zephyr/src/index.ts"
|
16
|
+
}
|
17
|
+
},
|
18
|
+
"nx-release-publish": {
|
19
|
+
"options": {
|
20
|
+
"packageRoot": "dist\\{projectRoot}"
|
21
|
+
}
|
22
|
+
},
|
23
|
+
"lint": {
|
24
|
+
"executor": "@nx/eslint:lint"
|
25
|
+
},
|
26
|
+
"test": {
|
27
|
+
"executor": "@nx/jest:jest",
|
28
|
+
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
29
|
+
"options": {
|
30
|
+
"jestConfig": "libs/vite-plugin-zephyr/jest.config.ts"
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
package/tsconfig.json
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"extends": "../../tsconfig.base.json",
|
3
|
+
"compilerOptions": {
|
4
|
+
"module": "commonjs",
|
5
|
+
"forceConsistentCasingInFileNames": true,
|
6
|
+
"strict": true,
|
7
|
+
"noImplicitOverride": true,
|
8
|
+
"noPropertyAccessFromIndexSignature": true,
|
9
|
+
"noImplicitReturns": true,
|
10
|
+
"noFallthroughCasesInSwitch": true
|
11
|
+
},
|
12
|
+
"files": [],
|
13
|
+
"include": [],
|
14
|
+
"references": [
|
15
|
+
{
|
16
|
+
"path": "./tsconfig.lib.json"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"path": "./tsconfig.spec.json"
|
20
|
+
}
|
21
|
+
]
|
22
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{
|
2
|
+
"extends": "./tsconfig.json",
|
3
|
+
"compilerOptions": {
|
4
|
+
"module": "commonjs",
|
5
|
+
"outDir": "../../dist/out-tsc",
|
6
|
+
"declaration": true,
|
7
|
+
"types": ["node"]
|
8
|
+
},
|
9
|
+
"exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"],
|
10
|
+
"include": ["src/**/*.ts"]
|
11
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
{
|
2
|
+
"extends": "./tsconfig.json",
|
3
|
+
"compilerOptions": {
|
4
|
+
"outDir": "../../dist/out-tsc",
|
5
|
+
"module": "commonjs",
|
6
|
+
"types": ["jest", "node"]
|
7
|
+
},
|
8
|
+
"include": [
|
9
|
+
"jest.config.ts",
|
10
|
+
"src/**/*.test.ts",
|
11
|
+
"src/**/*.spec.ts",
|
12
|
+
"src/**/*.d.ts"
|
13
|
+
]
|
14
|
+
}
|
package/src/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/vite-plugin-zephyr/src/index.ts"],"names":[],"mappings":";;;AAAA,+DAAsD;AAA7C,gHAAA,UAAU,OAAA;AACnB,+EAAqE;AAA5D,+HAAA,iBAAiB,OAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"load_extra_files_from_dist.js","sourceRoot":"","sources":["../../../../../libs/vite-plugin-zephyr/src/lib/load_extra_files_from_dist.ts"],"names":[],"mappings":";;;;AACA,yCAA8C;AAC9C,qCAA0D;AAC1D,+BAAqC;AACrC,yCAAsC;AAOtC,SAAsB,0BAA0B,CAC9C,KAAoC;;QAEpC,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;QAC/B,MAAM,YAAY,GAAkB,EAAE,CAAC;QAEvC,MAAM,aAAa,GAAG,IAAA,mBAAO,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAC5C,MAAM,OAAO,GAAG,CAAO,OAAe,EAAE,EAAE;YACxC,KAAK,MAAM,IAAI,IAAI,IAAA,qBAAW,EAAC,OAAO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BAAW,EAAC,MAAM,CAAC,EAAE,CAAC;gBACvC,MAAM,OAAO,GAAG,IAAA,mBAAO,EAAC,MAAM,EAAE,IAAI,CAAC,CAAC;gBACtC,IAAI,OAAO,KAAK,OAAO,EAAE,CAAC;oBACxB,SAAS;gBACX,CAAC;gBACD,MAAM,QAAQ,GAAG,IAAA,mBAAO,EAAC,OAAO,EAAE,IAAI,CAAC,CAAC;gBACxC,MAAM,IAAI,GAAG,IAAA,kBAAQ,EAAC,OAAO,CAAC,CAAC;gBAC/B,IAAI,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC;oBACvB,OAAO,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;gBAC7B,CAAC;qBAAM,CAAC;oBACN,YAAY,CAAC,IAAI,CAAC;wBAChB,QAAQ,EAAE,IAAA,oBAAa,EAAC,IAAA,oBAAQ,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;wBACnD,IAAI,EAAE,IAAA,oBAAQ,EAAC,IAAI,CAAC;wBACpB,kBAAkB,EAAE,KAAK;wBACzB,MAAM,EAAE,MAAM,IAAA,qBAAS,EAAC,kBAAQ,CAAC,CAAC,OAAO,CAAC;wBAC1C,IAAI,EAAE,OAAO;qBACd,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;QACH,CAAC,CAAA,CAAC;QACF,MAAM,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;QACjC,OAAO,YAAY,CAAC;IACtB,CAAC;CAAA;AA7BD,0CA6BC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"load_static_entries.js","sourceRoot":"","sources":["../../../../../libs/vite-plugin-zephyr/src/lib/load_static_entries.ts"],"names":[],"mappings":";;;;AACA,yCAA8C;AAC9C,qCAA0D;AAC1D,+BAAqC;AACrC,yCAAsC;AAOtC,MAAM,aAAa,GAA4B;IAC7C,YAAY,EAAE,IAAI;IAClB,UAAU,EAAE,IAAI;IAChB,aAAa,EAAE,IAAI;CACpB,CAAC;AAE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
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { NormalizedOutputOptions, OutputBundle } from 'rollup';
|
2
|
-
import { ResolvedConfig } from 'vite';
|
3
|
-
export declare function withZephyr(): {
|
4
|
-
name: string;
|
5
|
-
enforce: string;
|
6
|
-
configResolved: (config: ResolvedConfig) => Promise<void>;
|
7
|
-
writeBundle: (options: NormalizedOutputOptions, _bundle: OutputBundle) => Promise<void>;
|
8
|
-
closeBundle: () => Promise<void>;
|
9
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"vite-plugin-zephyr.js","sourceRoot":"","sources":["../../../../../libs/vite-plugin-zephyr/src/lib/vite-plugin-zephyr.ts"],"names":[],"mappings":";;;;AAMA,8BAA8B;AAG9B,+DAQ8B;AAC9B,+CAasB;AAEtB,+DAA4D;AAU5D,SAAgB,UAAU;IACxB,sBAAsB;IACtB,IAAI,MAAM,GAAiB,EAAE,CAAC;IAE9B,MAAM,qBAAqB,GAAG,EAAkC,CAAC;IAEjE,OAAO;QACL,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,MAAM;QACf,cAAc,EAAE,CAAO,MAAsB,EAAE,EAAE;YAC/C,MAAM,CAAC,MAAM,CAAC,qBAAqB,EAAE;gBACnC,IAAI,EAAE,MAAM,CAAC,IAAI;gBACjB,UAAU,EAAE,MAAM,CAAC,UAAU;gBAC7B,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM;gBAC3B,SAAS,EAAE,MAAM,CAAC,SAAS;aAC5B,CAAC,CAAC;QACL,CAAC,CAAA;QACD,WAAW,EAAE,CACX,OAAgC,EAChC,OAAqB,EACrB,EAAE;YACF,MAAM,GAAG,OAAO,CAAC;QACnB,CAAC,CAAA;QACD,WAAW,EAAE,GAAS,EAAE;YACtB,MAAM,YAAY,GAAkB,EAAE,CAAC;YAEvC,MAAM,cAAc,GAAG,MAAM,IAAA,yCAAmB,EAAC;gBAC/C,IAAI,EAAE,qBAAqB,CAAC,IAAI;gBAChC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I;SACvD,CAAC,CAAC;IACL,CAAC;CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"zephyr-internal-options.js","sourceRoot":"","sources":["../../../../../libs/vite-plugin-zephyr/src/lib/zephyr-internal-options.ts"],"names":[],"mappings":""}
|
/package/{src → dist}/index.d.ts
RENAMED
File without changes
|
/package/{src → dist}/index.js
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|