lucid-package 0.0.10 → 0.0.11
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/package.json +4 -1
- package/src/editorextension.js +1 -1
- package/src/package.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lucid-package",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -29,5 +29,8 @@
|
|
|
29
29
|
"webpack": "^5.64.4",
|
|
30
30
|
"webpack-cli": "^4.9.1",
|
|
31
31
|
"ws": "^8.5.0"
|
|
32
|
+
},
|
|
33
|
+
"engines": {
|
|
34
|
+
"node": ">=14.0.0"
|
|
32
35
|
}
|
|
33
36
|
}
|
package/src/editorextension.js
CHANGED
|
@@ -21,7 +21,7 @@ async function createEditorExtension(name, isInternalTesting) {
|
|
|
21
21
|
'title': name,
|
|
22
22
|
'product': 'chart',
|
|
23
23
|
'codePath': `editorextensions/${name}/bin/extension.js`,
|
|
24
|
-
'scopes': ['READ', 'WRITE', 'DOWNLOAD', 'SHOW_MODAL', 'NETWORK'],
|
|
24
|
+
'scopes': ['READ', 'WRITE', 'DOWNLOAD', 'SHOW_MODAL', 'CUSTOM_UI', 'NETWORK'],
|
|
25
25
|
});
|
|
26
26
|
});
|
|
27
27
|
console.log(`Installing dependencies`);
|
package/src/package.js
CHANGED
|
@@ -18,7 +18,7 @@ function currentlyInPackage() {
|
|
|
18
18
|
return (fsOld.existsSync('editorextensions') && fsOld.existsSync('shapelibraries') && fsOld.existsSync('manifest.json'));
|
|
19
19
|
}
|
|
20
20
|
exports.currentlyInPackage = currentlyInPackage;
|
|
21
|
-
const allScopes = new Set(['DOWNLOAD', 'NETWORK', 'READ', 'SHOW_MODAL', 'WRITE']);
|
|
21
|
+
const allScopes = new Set(['DOWNLOAD', 'NETWORK', 'READ', 'SHOW_MODAL', 'CUSTOM_UI', 'WRITE']);
|
|
22
22
|
async function modifyManifest(callback) {
|
|
23
23
|
const manifest = await (0, packagemanifest_1.readManifest)();
|
|
24
24
|
await callback(manifest);
|