lucid-package 0.0.128 → 0.0.129
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 +3 -3
- package/src/angularframeworkutils.d.ts +2 -1
- package/src/angularframeworkutils.js +8 -5
- package/src/dataconnector.d.ts +2 -1
- package/src/dataconnector.js +3 -3
- package/src/editorextension.d.ts +6 -5
- package/src/editorextension.js +14 -13
- package/src/filesystemutil.d.ts +16 -3
- package/src/filesystemutil.js +40 -8
- package/src/index.js +41 -12
- package/src/installationutil.d.ts +16 -3
- package/src/installationutil.js +34 -8
- package/src/package.d.ts +5 -3
- package/src/package.js +30 -11
- package/src/reactframeworkutils.d.ts +2 -1
- package/src/reactframeworkutils.js +8 -5
- package/src/shapelibrary.js +2 -2
- package/templates/dataconnector/package-lock.json +103 -15
- package/templates/dataconnector/pnpm-lock.yaml +1163 -0
- package/templates/dataconnector/pnpm-workspace.yaml +1 -0
- package/templates/dataconnector/tsconfig.json +1 -0
- package/templates/editorextension/angular/skeleton/pnpm-lock.yaml +847 -0
- package/templates/editorextension/angular/skeleton/pnpm-workspace.yaml +1 -0
- package/templates/editorextension/angular/skeleton/tsconfig.json +1 -0
- package/templates/editorextension/angular/skeleton/webpack.config.js +4 -4
- package/templates/editorextension/react/skeleton/pnpm-lock.yaml +847 -0
- package/templates/editorextension/react/skeleton/pnpm-workspace.yaml +1 -0
- package/templates/editorextension/react/skeleton/tsconfig.json +1 -0
- package/templates/editorextension/react/skeleton/webpack.config.js +4 -4
- package/templates/editorextension/vanilla/pnpm-lock.yaml +847 -0
- package/templates/editorextension/vanilla/pnpm-workspace.yaml +1 -0
- package/templates/editorextension/vanilla/tsconfig.json +1 -0
- package/templates/package/package.json +9 -9
- package/templates/package/pnpm-lock.yaml +9 -0
- package/templates/package/pnpm-workspace.yaml +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# This file exists so this package can be independent from other pnpm workspaces
|
|
@@ -31,8 +31,8 @@ module.exports = {
|
|
|
31
31
|
},
|
|
32
32
|
plugins: [
|
|
33
33
|
new WebpackShellPluginNext({
|
|
34
|
-
// Run during execution of `
|
|
35
|
-
// Beforehand, the user must manually first run `
|
|
34
|
+
// Run during execution of `pnpm dlx lucid-package@latest test-editor-extension`.
|
|
35
|
+
// Beforehand, the user must manually first run `pnpm dlx react-scripts start`,
|
|
36
36
|
// from within the React app's directory and in another console, and leave it running.
|
|
37
37
|
onWatchRun: {
|
|
38
38
|
scripts: reactTargets.map((target) => async () => {
|
|
@@ -60,14 +60,14 @@ module.exports = {
|
|
|
60
60
|
}),
|
|
61
61
|
blocking: true,
|
|
62
62
|
},
|
|
63
|
-
// Run during execution of `
|
|
63
|
+
// Run during execution of `pnpm dlx lucid-package@latest bundle`.
|
|
64
64
|
onBeforeNormalRun: {
|
|
65
65
|
scripts: reactTargets.map((target) => () => {
|
|
66
66
|
// Executed by WebpackShellPluginNext from within each _extension's_ directory.
|
|
67
67
|
fs.mkdirSync(`../../public/${target.name}`, {recursive: true});
|
|
68
68
|
|
|
69
69
|
process.chdir(`${target.name}`);
|
|
70
|
-
child_process.execSync('
|
|
70
|
+
child_process.execSync('<<reactbuildcommand>>', {stdio: 'inherit'});
|
|
71
71
|
|
|
72
72
|
// In the React app's bundled HTML, enable links to other React assets,
|
|
73
73
|
// by having those links explicitly point to the extension's bundle
|