vite-plugin-zephyr 0.0.14 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +0 -1
- package/dist/lib/load_extra_files_from_dist.js +1 -0
- package/dist/lib/load_extra_files_from_dist.js.map +1 -1
- package/dist/lib/load_public_dir.js +1 -0
- package/dist/lib/load_public_dir.js.map +1 -1
- package/dist/lib/load_static_entries.js +1 -0
- package/dist/lib/load_static_entries.js.map +1 -1
- package/dist/lib/vite-plugin-zephyr-partial.d.ts +2 -2
- package/dist/lib/vite-plugin-zephyr-partial.js +21 -15
- package/dist/lib/vite-plugin-zephyr-partial.js.map +1 -1
- package/dist/lib/vite-plugin-zephyr.d.ts +1 -1
- package/dist/lib/vite-plugin-zephyr.js +17 -9
- package/dist/lib/vite-plugin-zephyr.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
@@ -1 +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;AAQtC,SAAsB,0BAA0B,
|
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;AAQtC,SAAsB,0BAA0B,CAAC,KAAoC;;QACnF,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,KAAK,CAAC,MAAM,CAAC,CAAC;QAClD,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,CAAC,CAAC,QAAQ,IAAI,MAAM,CAAC,EAAE,CAAC;oBAC1B,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;wBACb,gBAAgB,EAAE,IAAI;qBACvB,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;QACH,CAAC,CAAA,CAAC;QACF,MAAM,OAAO,CAAC,aAAa,CAAC,CAAC;QAE7B,OAAO,YAAY,CAAC;IACtB,CAAC;CAAA;AA7BD,gEA6BC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"load_public_dir.js","sourceRoot":"","sources":["../../src/lib/load_public_dir.ts"],"names":[],"mappings":";;;;AACA,qCAA0D;AAC1D,yCAAwD;AACxD,+BAAqC;AACrC,yCAAsC;AAOtC,SAAsB,eAAe,
|
1
|
+
{"version":3,"file":"load_public_dir.js","sourceRoot":"","sources":["../../src/lib/load_public_dir.ts"],"names":[],"mappings":";;;;AACA,qCAA0D;AAC1D,yCAAwD;AACxD,+BAAqC;AACrC,yCAAsC;AAOtC,SAAsB,eAAe,CAAC,KAA2B;;QAC/D,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG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C,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;wBACb,gBAAgB,EAAE,IAAI;qBACvB,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;QACH,CAAC,CAAA,CAAC;QACF,MAAM,OAAO,CAAC,aAAa,CAAC,CAAC;QAC7B,OAAO,YAAY,CAAC;IACtB,CAAC;CAAA;AA7BD,kDA6BC"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import type { NormalizedOutputOptions, OutputBundle } from 'rollup';
|
2
|
+
import type { ResolvedConfig } from 'vite';
|
3
3
|
export declare function withZephyrPartial(): {
|
4
4
|
name: string;
|
5
5
|
apply: string;
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.withZephyrPartial = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const isCI = require("is-ci");
|
6
|
-
const zephyr_edge_contract_1 = require("zephyr-edge-contract");
|
7
6
|
const zephyr_agent_1 = require("zephyr-agent");
|
8
|
-
const
|
7
|
+
const zephyr_edge_contract_1 = require("zephyr-edge-contract");
|
9
8
|
const load_extra_files_from_dist_1 = require("./load_extra_files_from_dist");
|
9
|
+
const load_public_dir_1 = require("./load_public_dir");
|
10
10
|
function withZephyrPartial() {
|
11
11
|
let bundle = {};
|
12
12
|
const vite_internal_options = {};
|
@@ -56,14 +56,13 @@ function _zephyr_partial(options) {
|
|
56
56
|
const packageJson = yield (0, zephyr_agent_1.getPackageJson)(path_to_execution_dir);
|
57
57
|
(0, zephyr_edge_contract_1.ze_log)('Loaded Package JSON', packageJson);
|
58
58
|
if (!packageJson)
|
59
|
-
return (0, zephyr_edge_contract_1.ze_error)(
|
59
|
+
return (0, zephyr_edge_contract_1.ze_error)('ERR_PACKAGE_JSON_NOT_FOUND');
|
60
60
|
const gitInfo = yield (0, zephyr_agent_1.getGitInfo)();
|
61
61
|
(0, zephyr_edge_contract_1.ze_log)('Loaded Git Info', gitInfo);
|
62
|
-
if (!gitInfo || !(gitInfo === null || gitInfo === void 0 ? void 0 : gitInfo.app.org) ||
|
63
|
-
|
64
|
-
return (0, zephyr_edge_contract_1.ze_error)("BU10016", `Could not get git info. Can you confirm the current directory has initialized as a git repository?`);
|
62
|
+
if (!gitInfo || !(gitInfo === null || gitInfo === void 0 ? void 0 : gitInfo.app.org) || !(gitInfo === null || gitInfo === void 0 ? void 0 : gitInfo.app.project))
|
63
|
+
return (0, zephyr_edge_contract_1.ze_error)('ERR_NO_GIT_INFO', 'Can you confirm the current directory has initialized as a git repository?');
|
65
64
|
if (!(packageJson === null || packageJson === void 0 ? void 0 : packageJson.name))
|
66
|
-
return (0, zephyr_edge_contract_1.ze_error)(
|
65
|
+
return (0, zephyr_edge_contract_1.ze_error)('ERR_PACKAGE_JSON_MUST_HAVE_NAME_VERSION', 'package.json must have a name and version.');
|
67
66
|
const application_uid = (0, zephyr_edge_contract_1.createApplicationUID)({
|
68
67
|
org: gitInfo.app.org,
|
69
68
|
project: gitInfo.app.project,
|
@@ -87,7 +86,7 @@ function _zephyr_partial(options) {
|
|
87
86
|
const { username, email, EDGE_URL } = appConfig;
|
88
87
|
(0, zephyr_edge_contract_1.ze_log)('Got application configuration', { username, email, EDGE_URL });
|
89
88
|
if (!buildId)
|
90
|
-
return (0, zephyr_edge_contract_1.ze_error)(
|
89
|
+
return (0, zephyr_edge_contract_1.ze_error)('ERR_GET_BUILD_ID');
|
91
90
|
const pluginOptions = {
|
92
91
|
pluginName: 'rollup-plugin-zephyr',
|
93
92
|
application_uid,
|
@@ -99,7 +98,7 @@ function _zephyr_partial(options) {
|
|
99
98
|
org: gitInfo.app.org,
|
100
99
|
project: gitInfo.app.project,
|
101
100
|
},
|
102
|
-
git: gitInfo
|
101
|
+
git: gitInfo.git,
|
103
102
|
isCI,
|
104
103
|
zeConfig: {
|
105
104
|
user: username,
|
@@ -110,15 +109,22 @@ function _zephyr_partial(options) {
|
|
110
109
|
};
|
111
110
|
(0, zephyr_edge_contract_1.ze_log)('\n--------\n zephyr agent started. \n ------ \n');
|
112
111
|
const logEvent = (0, zephyr_agent_1.logger)(pluginOptions);
|
112
|
+
logEvent({
|
113
|
+
level: 'info',
|
114
|
+
action: 'build:info:user',
|
115
|
+
message: `Hi ${(0, zephyr_edge_contract_1.cyanBright)(username)}!`,
|
116
|
+
}, {
|
117
|
+
level: 'info',
|
118
|
+
action: 'build:info:id',
|
119
|
+
message: `Building to ${(0, zephyr_edge_contract_1.blackBright)(application_uid)}${(0, zephyr_edge_contract_1.yellow)(`#${buildId}`)}`,
|
120
|
+
});
|
113
121
|
const zeStart = Date.now();
|
114
122
|
const extractBuffer = (asset) => {
|
115
123
|
switch (asset.type) {
|
116
124
|
case 'chunk':
|
117
125
|
return asset.code;
|
118
126
|
case 'asset':
|
119
|
-
return typeof asset.source === 'string'
|
120
|
-
? asset.source
|
121
|
-
: new TextDecoder().decode(asset.source);
|
127
|
+
return typeof asset.source === 'string' ? asset.source : new TextDecoder().decode(asset.source);
|
122
128
|
default:
|
123
129
|
return void 0;
|
124
130
|
}
|
@@ -145,7 +151,7 @@ function _zephyr_partial(options) {
|
|
145
151
|
username,
|
146
152
|
email,
|
147
153
|
});
|
148
|
-
yield (0, zephyr_agent_1.zeUploadSnapshot)(pluginOptions, snapshot).catch((err) => (0, zephyr_edge_contract_1.ze_error)(
|
154
|
+
yield (0, zephyr_agent_1.zeUploadSnapshot)({ pluginOptions, snapshot, appConfig }).catch((err) => (0, zephyr_edge_contract_1.ze_error)('ERR_FAILED_UPLOAD_SNAPSHOTS', 'Failed to upload snapshot.', err));
|
149
155
|
const missingAssets = (0, zephyr_agent_1.get_missing_assets)({ assetsMap, hash_set });
|
150
156
|
const assetsUploadSuccess = yield (0, zephyr_agent_1.zeUploadAssets)(pluginOptions, {
|
151
157
|
missingAssets,
|
@@ -153,7 +159,7 @@ function _zephyr_partial(options) {
|
|
153
159
|
count: Object.keys(assets).length,
|
154
160
|
});
|
155
161
|
if (!assetsUploadSuccess)
|
156
|
-
return (0, zephyr_edge_contract_1.ze_error)(
|
162
|
+
return (0, zephyr_edge_contract_1.ze_error)('ERR_FAILED_UPLOAD_ASSETS', assetsUploadSuccess);
|
157
163
|
if (missingAssets.length) {
|
158
164
|
yield (0, zephyr_agent_1.update_hash_list)(application_uid, assetsMap);
|
159
165
|
}
|
@@ -161,7 +167,7 @@ function _zephyr_partial(options) {
|
|
161
167
|
logEvent({
|
162
168
|
level: 'info',
|
163
169
|
action: 'build:deploy:done',
|
164
|
-
message: `
|
170
|
+
message: `Build deployed in ${(0, zephyr_edge_contract_1.yellow)(`${Date.now() - zeStart}`)}ms`,
|
165
171
|
});
|
166
172
|
});
|
167
173
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"vite-plugin-zephyr-partial.js","sourceRoot":"","sources":["../../src/lib/vite-plugin-zephyr-partial.ts"],"names":[],"mappings":";;;;
|
1
|
+
{"version":3,"file":"vite-plugin-zephyr-partial.js","sourceRoot":"","sources":["../../src/lib/vite-plugin-zephyr-partial.ts"],"names":[],"mappings":";;;;AAAA,8BAA8B;AAG9B,+CAcsB;AACtB,+DAW8B;AAC9B,6EAA0E;AAC1E,uDAAoD;AAGpD,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,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mCAAI,SAAS,EAAE,SAAS,CAAC,CAAC;QAErG,QAAQ,CAAC;YACP,KAAK,EAAE,MAAM;YACb,MAAM,EAAE,mBAAmB;YAC3B,OAAO,EAAE,qBAAqB,IAAA,6BAAM,EAAC,GAAG,IAAI,CAAC,GAAG,EAAE,GAAG,OAAO,EAAE,CAAC,IAAI;SACpE,CAAC,CAAC;IACL,CAAC;CAAA"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { Plugin } from 'vite';
|
1
|
+
import type { Plugin } from 'vite';
|
2
2
|
export declare function withZephyr(): Plugin;
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.withZephyr = void 0;
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const isCI = require("is-ci");
|
6
|
-
const zephyr_edge_contract_1 = require("zephyr-edge-contract");
|
7
6
|
const zephyr_agent_1 = require("zephyr-agent");
|
8
|
-
const
|
7
|
+
const zephyr_edge_contract_1 = require("zephyr-edge-contract");
|
9
8
|
const load_public_dir_1 = require("./load_public_dir");
|
9
|
+
const load_static_entries_1 = require("./load_static_entries");
|
10
10
|
function withZephyr() {
|
11
11
|
// todo: set correctly
|
12
12
|
let bundle = {};
|
@@ -54,13 +54,13 @@ function _zephyr(options) {
|
|
54
54
|
const packageJson = yield (0, zephyr_agent_1.getPackageJson)(path_to_execution_dir);
|
55
55
|
(0, zephyr_edge_contract_1.ze_log)('Loaded package.json.', packageJson);
|
56
56
|
if (!packageJson)
|
57
|
-
return (0, zephyr_edge_contract_1.ze_error)('
|
57
|
+
return (0, zephyr_edge_contract_1.ze_error)('ERR_PACKAGE_JSON_NOT_FOUND');
|
58
58
|
const gitInfo = yield (0, zephyr_agent_1.getGitInfo)();
|
59
59
|
(0, zephyr_edge_contract_1.ze_log)('Loaded Git Info.', gitInfo);
|
60
60
|
if (!gitInfo || !(gitInfo === null || gitInfo === void 0 ? void 0 : gitInfo.app.org) || !(gitInfo === null || gitInfo === void 0 ? void 0 : gitInfo.app.project))
|
61
|
-
return (0, zephyr_edge_contract_1.ze_error)('
|
61
|
+
return (0, zephyr_edge_contract_1.ze_error)('ERR_NO_GIT_INFO', 'Could not get git info. \n Can you confirm this directory has initialized as a git repository? ');
|
62
62
|
if (!(packageJson === null || packageJson === void 0 ? void 0 : packageJson.name))
|
63
|
-
return (0, zephyr_edge_contract_1.ze_error)('
|
63
|
+
return (0, zephyr_edge_contract_1.ze_error)('ERR_PACKAGE_JSON_MUST_HAVE_NAME_VERSION');
|
64
64
|
const application_uid = (0, zephyr_edge_contract_1.createApplicationUID)({
|
65
65
|
org: gitInfo.app.org,
|
66
66
|
project: gitInfo.app.project,
|
@@ -84,7 +84,7 @@ function _zephyr(options) {
|
|
84
84
|
const { username, email, EDGE_URL } = appConfig;
|
85
85
|
(0, zephyr_edge_contract_1.ze_log)('Got application configuration', { username, email, EDGE_URL });
|
86
86
|
if (!buildId)
|
87
|
-
return (0, zephyr_edge_contract_1.ze_error)('
|
87
|
+
return (0, zephyr_edge_contract_1.ze_error)('ERR_GET_BUILD_ID');
|
88
88
|
const pluginOptions = {
|
89
89
|
pluginName: 'rollup-plugin-zephyr',
|
90
90
|
application_uid,
|
@@ -107,6 +107,15 @@ function _zephyr(options) {
|
|
107
107
|
};
|
108
108
|
(0, zephyr_edge_contract_1.ze_log)('\nzephyr agent started.\n');
|
109
109
|
const logEvent = (0, zephyr_agent_1.logger)(pluginOptions);
|
110
|
+
logEvent({
|
111
|
+
level: 'info',
|
112
|
+
action: 'build:info:user',
|
113
|
+
message: `Hi ${(0, zephyr_edge_contract_1.cyanBright)(username)}!`,
|
114
|
+
}, {
|
115
|
+
level: 'info',
|
116
|
+
action: 'build:info:id',
|
117
|
+
message: `Building to ${(0, zephyr_edge_contract_1.blackBright)(application_uid)}${(0, zephyr_edge_contract_1.yellow)(`#${buildId}`)}`,
|
118
|
+
});
|
110
119
|
const zeStart = Date.now();
|
111
120
|
const partialAssetMap = yield (0, zephyr_edge_contract_1.getPartialAssetMap)(application_uid);
|
112
121
|
yield (0, zephyr_edge_contract_1.removePartialAssetMap)(application_uid);
|
@@ -121,6 +130,7 @@ function _zephyr(options) {
|
|
121
130
|
outputPath: vite_internal_options.outDir,
|
122
131
|
count: Object.keys(assets).length,
|
123
132
|
},
|
133
|
+
// @ts-expect-error TODO: fix this types to get legacy and current working
|
124
134
|
getDashData: zephyr_agent_1.zeGetDashData,
|
125
135
|
appConfig,
|
126
136
|
zeStart,
|
@@ -133,9 +143,7 @@ function extractBuffer(asset) {
|
|
133
143
|
case 'chunk':
|
134
144
|
return asset.code;
|
135
145
|
case 'asset':
|
136
|
-
return typeof asset.source === 'string'
|
137
|
-
? asset.source
|
138
|
-
: new TextDecoder().decode(asset.source);
|
146
|
+
return typeof asset.source === 'string' ? asset.source : new TextDecoder().decode(asset.source);
|
139
147
|
default:
|
140
148
|
return void 0;
|
141
149
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"vite-plugin-zephyr.js","sourceRoot":"","sources":["../../src/lib/vite-plugin-zephyr.ts"],"names":[],"mappings":";;;;
|
1
|
+
{"version":3,"file":"vite-plugin-zephyr.js","sourceRoot":"","sources":["../../src/lib/vite-plugin-zephyr.ts"],"names":[],"mappings":";;;;AAAA,8BAA8B;AAG9B,+CAYsB;AACtB,+DAW8B;AAC9B,uDAAoD;AACpD,+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,M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,OAAO;YACV,OAAO,OAAO,KAAK,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,WAAW,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAClG;YACE,OAAO,KAAK,CAAC,CAAC;IAClB,CAAC;AACH,CAAC;AAED,SAAS,YAAY,CAAC,KAAgC;IACpD,OAAO,KAAK,CAAC,IAAI,CAAC;AACpB,CAAC"}
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vite-plugin-zephyr",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.16",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -8,8 +8,8 @@
|
|
8
8
|
"vite": "^5",
|
9
9
|
"rollup": "^4",
|
10
10
|
"is-ci": "^3",
|
11
|
-
"zephyr-edge-contract": "0.0.
|
12
|
-
"zephyr-agent": "0.0.
|
11
|
+
"zephyr-edge-contract": "0.0.16",
|
12
|
+
"zephyr-agent": "0.0.16"
|
13
13
|
},
|
14
14
|
"devDependencies": {
|
15
15
|
"@types/is-ci": "^3.0.4"
|