rollup-plugin-zephyr 0.0.10
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/README.md +11 -0
- package/package.json +16 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +6 -0
- package/src/index.js.map +1 -0
- package/src/lib/rollup-plugin-zephyr.d.ts +5 -0
- package/src/lib/rollup-plugin-zephyr.js +188 -0
- package/src/lib/rollup-plugin-zephyr.js.map +1 -0
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# rollup-plugin-zephyr
|
|
2
|
+
|
|
3
|
+
This library was generated with [Nx](https://nx.dev).
|
|
4
|
+
|
|
5
|
+
## Building
|
|
6
|
+
|
|
7
|
+
Run `nx build rollup-plugin-zephyr` to build the library.
|
|
8
|
+
|
|
9
|
+
## Running unit tests
|
|
10
|
+
|
|
11
|
+
Run `nx test rollup-plugin-zephyr` to execute the unit tests via [Jest](https://jestjs.io).
|
package/package.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rollup-plugin-zephyr",
|
|
3
|
+
"version": "0.0.10",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"dependencies": {
|
|
6
|
+
"zephyr-agent": "^0.0.10",
|
|
7
|
+
"tslib": "^2",
|
|
8
|
+
"rollup": "^4",
|
|
9
|
+
"zephyr-edge-contract": "^0.0.10"
|
|
10
|
+
},
|
|
11
|
+
"devDependencies": {
|
|
12
|
+
"@types/is-ci": "^3.0.4"
|
|
13
|
+
},
|
|
14
|
+
"main": "./src/index.js",
|
|
15
|
+
"type": "commonjs"
|
|
16
|
+
}
|
package/src/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { withZephyr } from './lib/rollup-plugin-zephyr';
|
package/src/index.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.withZephyr = void 0;
|
|
4
|
+
var rollup_plugin_zephyr_1 = require("./lib/rollup-plugin-zephyr");
|
|
5
|
+
Object.defineProperty(exports, "withZephyr", { enumerable: true, get: function () { return rollup_plugin_zephyr_1.withZephyr; } });
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/rollup-plugin-zephyr/src/index.ts"],"names":[],"mappings":";;;AAAA,mEAAwD;AAA/C,kHAAA,UAAU,OAAA"}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.withZephyr = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const zephyr_edge_contract_1 = require("zephyr-edge-contract");
|
|
6
|
+
const zephyr_agent_1 = require("zephyr-agent");
|
|
7
|
+
function withZephyr() {
|
|
8
|
+
return {
|
|
9
|
+
name: 'with-zephyr',
|
|
10
|
+
writeBundle: (options, bundle) => tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
11
|
+
const isCI = false;
|
|
12
|
+
const _zephyrOptions = { wait_for_index_html: false };
|
|
13
|
+
const path_to_execution_dir = options.dir;
|
|
14
|
+
const assets = bundle;
|
|
15
|
+
/* hacks end */
|
|
16
|
+
(0, zephyr_edge_contract_1.ze_log)('Configuring with Zephyr');
|
|
17
|
+
const packageJson = (0, zephyr_agent_1.getPackageJson)(path_to_execution_dir);
|
|
18
|
+
(0, zephyr_edge_contract_1.ze_log)('Loaded Package JSON', packageJson);
|
|
19
|
+
if (!packageJson)
|
|
20
|
+
return (0, zephyr_edge_contract_1.ze_error)('Could not find package json');
|
|
21
|
+
const gitInfo = (0, zephyr_agent_1.getGitInfo)();
|
|
22
|
+
(0, zephyr_edge_contract_1.ze_log)('Loaded Git Info', gitInfo);
|
|
23
|
+
if (!gitInfo ||
|
|
24
|
+
!(gitInfo === null || gitInfo === void 0 ? void 0 : gitInfo.app.org) ||
|
|
25
|
+
!(gitInfo === null || gitInfo === void 0 ? void 0 : gitInfo.app.project) ||
|
|
26
|
+
!(packageJson === null || packageJson === void 0 ? void 0 : packageJson.name))
|
|
27
|
+
return (0, zephyr_edge_contract_1.ze_error)('Could not get git info');
|
|
28
|
+
const application_uid = (0, zephyr_edge_contract_1.createFullAppName)({
|
|
29
|
+
org: gitInfo.app.org,
|
|
30
|
+
project: gitInfo.app.project,
|
|
31
|
+
name: packageJson === null || packageJson === void 0 ? void 0 : packageJson.name,
|
|
32
|
+
});
|
|
33
|
+
(0, zephyr_edge_contract_1.ze_log)('Going to check auth token or get it');
|
|
34
|
+
yield (0, zephyr_agent_1.checkAuth)();
|
|
35
|
+
(0, zephyr_edge_contract_1.ze_log)('Got auth token, going to get application configuration');
|
|
36
|
+
const { username, email, EDGE_URL } = yield (0, zephyr_agent_1.getApplicationConfiguration)({
|
|
37
|
+
application_uid,
|
|
38
|
+
});
|
|
39
|
+
(0, zephyr_edge_contract_1.ze_log)('Got application configuration', { username, email, EDGE_URL });
|
|
40
|
+
(0, zephyr_edge_contract_1.ze_log)('Going to get build id');
|
|
41
|
+
const buildId = yield (0, zephyr_agent_1.getBuildId)(application_uid).catch((err) => {
|
|
42
|
+
logEvent({
|
|
43
|
+
level: 'error',
|
|
44
|
+
action: 'build:get-build-id:error',
|
|
45
|
+
message: `error receiving build number for '${email}'\n
|
|
46
|
+
${err.message}\n`,
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
if (!buildId)
|
|
50
|
+
return (0, zephyr_edge_contract_1.ze_error)('Could not get build id');
|
|
51
|
+
const pluginOptions = {
|
|
52
|
+
pluginName: 'rollup-plugin-zephyr',
|
|
53
|
+
application_uid,
|
|
54
|
+
// todo: isCI
|
|
55
|
+
buildEnv: 'local',
|
|
56
|
+
username,
|
|
57
|
+
app: {
|
|
58
|
+
name: packageJson.name,
|
|
59
|
+
version: packageJson.version,
|
|
60
|
+
org: gitInfo.app.org,
|
|
61
|
+
project: gitInfo.app.project,
|
|
62
|
+
},
|
|
63
|
+
git: gitInfo === null || gitInfo === void 0 ? void 0 : gitInfo.git,
|
|
64
|
+
isCI: isCI,
|
|
65
|
+
zeConfig: {
|
|
66
|
+
user: username,
|
|
67
|
+
edge_url: EDGE_URL,
|
|
68
|
+
buildId: buildId,
|
|
69
|
+
},
|
|
70
|
+
mfConfig: void 0,
|
|
71
|
+
wait_for_index_html: _zephyrOptions === null || _zephyrOptions === void 0 ? void 0 : _zephyrOptions.wait_for_index_html,
|
|
72
|
+
};
|
|
73
|
+
(0, zephyr_edge_contract_1.ze_log)('zephyr agent started.');
|
|
74
|
+
const logEvent = (0, zephyr_agent_1.logger)(pluginOptions);
|
|
75
|
+
const zeStart = Date.now();
|
|
76
|
+
// const assetsMap = await zeBuildAssetsMap(pluginOptions, assets);
|
|
77
|
+
(0, zephyr_edge_contract_1.ze_log)('Building assets map from webpack assets.');
|
|
78
|
+
const extractBuffer = (asset) => {
|
|
79
|
+
switch (asset.type) {
|
|
80
|
+
case 'chunk':
|
|
81
|
+
return asset.code;
|
|
82
|
+
case 'asset':
|
|
83
|
+
return typeof asset.source === 'string'
|
|
84
|
+
? asset.source
|
|
85
|
+
: new TextDecoder().decode(asset.source);
|
|
86
|
+
default:
|
|
87
|
+
return void 0;
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
const getAssetType = (asset) => asset.type;
|
|
91
|
+
const assetsMap = Object.keys(assets).reduce((memo, filepath) => {
|
|
92
|
+
const asset = assets[filepath];
|
|
93
|
+
const buffer = extractBuffer(asset);
|
|
94
|
+
if (!buffer) {
|
|
95
|
+
logEvent({
|
|
96
|
+
action: 'ze:build:assets:unknown-asset-type',
|
|
97
|
+
level: 'error',
|
|
98
|
+
message: `unknown asset type: ${getAssetType(asset)}`,
|
|
99
|
+
});
|
|
100
|
+
1;
|
|
101
|
+
return memo;
|
|
102
|
+
}
|
|
103
|
+
const assetMap = (0, zephyr_agent_1.getZeBuildAsset)({ filepath, content: buffer });
|
|
104
|
+
memo[assetMap.hash] = assetMap;
|
|
105
|
+
return memo;
|
|
106
|
+
}, {});
|
|
107
|
+
const snapshot = (0, zephyr_agent_1.createSnapshot)({
|
|
108
|
+
options: pluginOptions,
|
|
109
|
+
assets: assetsMap,
|
|
110
|
+
username,
|
|
111
|
+
email,
|
|
112
|
+
});
|
|
113
|
+
const missingAssets = yield (0, zephyr_agent_1.zeUploadSnapshot)(pluginOptions, snapshot).catch((err) => (0, zephyr_edge_contract_1.ze_error)('Failed to upload snapshot.', err));
|
|
114
|
+
if (typeof missingAssets === 'undefined')
|
|
115
|
+
return (0, zephyr_edge_contract_1.ze_error)('Snapshot upload gave no result, exiting');
|
|
116
|
+
const assetsUploadSuccess = yield (0, zephyr_agent_1.zeUploadAssets)(pluginOptions, {
|
|
117
|
+
missingAssets,
|
|
118
|
+
assetsMap,
|
|
119
|
+
count: Object.keys(assets).length,
|
|
120
|
+
});
|
|
121
|
+
if (!assetsUploadSuccess)
|
|
122
|
+
return (0, zephyr_edge_contract_1.ze_error)('Failed to upload assets.', assetsUploadSuccess);
|
|
123
|
+
const version = (0, zephyr_edge_contract_1.createSnapshotId)(pluginOptions);
|
|
124
|
+
const dashData = {
|
|
125
|
+
id: pluginOptions.application_uid,
|
|
126
|
+
name: packageJson.name,
|
|
127
|
+
// name: pluginOptions.mfConfig?.name,
|
|
128
|
+
edge: { url: EDGE_URL },
|
|
129
|
+
app: Object.assign({}, pluginOptions.app, {
|
|
130
|
+
buildId: pluginOptions.zeConfig.buildId,
|
|
131
|
+
}),
|
|
132
|
+
version,
|
|
133
|
+
git: pluginOptions.git,
|
|
134
|
+
// remote: pluginOptions.mfConfig?.filename,
|
|
135
|
+
// remotes: Object.keys(pluginOptions.mfConfig?.remotes || {}),
|
|
136
|
+
context: {
|
|
137
|
+
isCI: pluginOptions.isCI,
|
|
138
|
+
},
|
|
139
|
+
dependencies: [],
|
|
140
|
+
devDependencies: [],
|
|
141
|
+
optionalDependencies: [],
|
|
142
|
+
metadata: {},
|
|
143
|
+
overrides: [
|
|
144
|
+
/* {
|
|
145
|
+
"id": "react-dom",
|
|
146
|
+
"name": "react-dom",
|
|
147
|
+
"version": "18.2.0",
|
|
148
|
+
"location": "react-dom",
|
|
149
|
+
"applicationID": "react-dom"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"id": "react",
|
|
153
|
+
"name": "react",
|
|
154
|
+
"version": "18.2.0",
|
|
155
|
+
"location": "react",
|
|
156
|
+
"applicationID": "react"
|
|
157
|
+
}*/
|
|
158
|
+
],
|
|
159
|
+
consumes: [],
|
|
160
|
+
modules: [
|
|
161
|
+
/* {
|
|
162
|
+
"id": "GreenRecos:GreenRecos",
|
|
163
|
+
"name": "GreenRecos",
|
|
164
|
+
"applicationID": "GreenRecos",
|
|
165
|
+
"requires": [
|
|
166
|
+
"react"
|
|
167
|
+
],
|
|
168
|
+
"file": "./src/app/team-green-recos.tsx"
|
|
169
|
+
}*/
|
|
170
|
+
],
|
|
171
|
+
sha: pluginOptions.git.commit,
|
|
172
|
+
// todo: @deprecate
|
|
173
|
+
buildHash: pluginOptions.git.commit,
|
|
174
|
+
};
|
|
175
|
+
const envs = yield (0, zephyr_agent_1.zeUploadBuildStats)(dashData);
|
|
176
|
+
if (!envs)
|
|
177
|
+
return (0, zephyr_edge_contract_1.ze_error)('Did not receive envs from build stats upload. Exiting.');
|
|
178
|
+
yield (0, zephyr_agent_1.zeEnableSnapshotOnEdge)(pluginOptions, snapshot, envs.value);
|
|
179
|
+
logEvent({
|
|
180
|
+
level: 'info',
|
|
181
|
+
action: 'build:deploy:done',
|
|
182
|
+
message: `build deployed in ${Date.now() - zeStart}ms`,
|
|
183
|
+
});
|
|
184
|
+
}),
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
exports.withZephyr = withZephyr;
|
|
188
|
+
//# sourceMappingURL=rollup-plugin-z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