lucid-package 0.0.137 → 0.0.139
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 +2 -2
- package/src/editorextension.js +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lucid-package",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.139",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"hjson": "^3.2.2",
|
|
33
33
|
"image-size": "^1.0.2",
|
|
34
34
|
"jszip": "3.10.1",
|
|
35
|
-
"lucid-extension-sdk": "^
|
|
35
|
+
"lucid-extension-sdk": "^1.1.0",
|
|
36
36
|
"password-prompt": "^1.1.2",
|
|
37
37
|
"ts-loader": "^9.2.6",
|
|
38
38
|
"webpack": "^5.88.2",
|
package/src/editorextension.js
CHANGED
|
@@ -9,7 +9,7 @@ exports.getAllExtensionNames = getAllExtensionNames;
|
|
|
9
9
|
const express = require("express");
|
|
10
10
|
const oldFs = require("fs");
|
|
11
11
|
const fs = require("fs/promises");
|
|
12
|
-
const
|
|
12
|
+
const lucid_extension_sdk_1 = require("lucid-extension-sdk");
|
|
13
13
|
const path = require("path");
|
|
14
14
|
const cors_1 = require("./cors");
|
|
15
15
|
const filesystemutil_1 = require("./filesystemutil");
|
|
@@ -88,14 +88,14 @@ async function watchEditorExtension(name, isInternal, packageManagerOptions, qui
|
|
|
88
88
|
// It's possible that `ignored` isn't defined yet, or is a single object
|
|
89
89
|
// So if needed, we create and modify objects, so they can be added to
|
|
90
90
|
// (For more info: https://webpack.js.org/configuration/watch/#watchoptionsignored)
|
|
91
|
-
if (!(0,
|
|
91
|
+
if (!(0, lucid_extension_sdk_1.isDef)(webpackConfig.watchOptions)) {
|
|
92
92
|
webpackConfig.watchOptions = {};
|
|
93
93
|
}
|
|
94
94
|
let directoriesToIgnore = webpackConfig.watchOptions.ignored;
|
|
95
|
-
if (!(0,
|
|
95
|
+
if (!(0, lucid_extension_sdk_1.isDef)(directoriesToIgnore)) {
|
|
96
96
|
directoriesToIgnore = [];
|
|
97
97
|
}
|
|
98
|
-
if (!(0,
|
|
98
|
+
if (!(0, lucid_extension_sdk_1.isArray)(directoriesToIgnore)) {
|
|
99
99
|
directoriesToIgnore = [directoriesToIgnore];
|
|
100
100
|
}
|
|
101
101
|
directoriesToIgnore = ['**/node_modules', ...directoriesToIgnore];
|