@nodegx/preview 0.2.3 → 0.2.5
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 +5 -1
- package/bin/nodegx-deploy.js +3 -1
- package/bin/noodl-preview.js +3 -2
- package/dist/backend/LICENSE +21 -0
- package/dist/backend/cli.js +1487 -815
- package/dist/backend/folder/start.cmd +4 -0
- package/dist/backend/folder/start.js +378 -0
- package/dist/backend/folder/start.sh +4 -0
- package/dist/backend/vm/provision-app.sh +194 -0
- package/dist/browser/noodl-graph-target.js +95 -95
- package/dist/browser/noodl-preview-in-page.js +18 -18
- package/dist/external/deploy/index.html +13 -1
- package/dist/external/deploy/index.json +2 -1
- package/dist/external/deploy/noodl.deploy.js +1 -1
- package/dist/external/deploy/serve.js +339 -0
- package/dist/nodegx-deploy.cjs +46171 -5959
- package/dist/nodegx-deploy.inputs.json +590 -401
- package/dist/noodl-preview.cjs +2047 -1602
- package/dist/noodl-preview.inputs.json +405 -401
- package/dist/package.json +1 -1
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -154,9 +154,13 @@ worth it only once the payoff is proven. Deliberately not built here.
|
|
|
154
154
|
| `src/client.ts` | The injected browser script and diagnostics overlay |
|
|
155
155
|
| `src/watcher.ts` | Debounced chokidar watch |
|
|
156
156
|
|
|
157
|
-
Task spec: `dev-docs/tasks/phase-13-format-ai-substrate/SUB-009-LIVE-PREVIEW-HARNESS.md`
|
|
157
|
+
Task spec: `dev-docs/tasks-archive/phase-13-format-ai-substrate/SUB-009-LIVE-PREVIEW-HARNESS.md`
|
|
158
158
|
|
|
159
159
|
## Licence
|
|
160
160
|
|
|
161
161
|
The preview is licensed GPL-3.0-only because it bundles code from the NodeGX editor. The source is in
|
|
162
162
|
[The-Low-Code-Foundation/NodeGX](https://github.com/The-Low-Code-Foundation/NodeGX), under `packages/noodl-preview`.
|
|
163
|
+
|
|
164
|
+
The sites it deploys aren't under the GPL. Their pages, data and assets belong to whoever built them. The runtime
|
|
165
|
+
they run on is MIT, and so is the backend a full-stack folder carries in `backend/`, with its own `LICENSE`. Every
|
|
166
|
+
deployed folder holds a `NODEGX-LICENSE.txt` that says which licence covers which file.
|
package/bin/nodegx-deploy.js
CHANGED
|
@@ -13,7 +13,9 @@ const path = require('path');
|
|
|
13
13
|
const engine = path.join(__dirname, '..', 'dist', 'nodegx-deploy.cjs');
|
|
14
14
|
if (!fs.existsSync(engine)) {
|
|
15
15
|
process.stderr.write(
|
|
16
|
-
'nodegx-deploy: dist/nodegx-deploy.cjs is missing
|
|
16
|
+
'nodegx-deploy: dist/nodegx-deploy.cjs is missing, so this copy of @nodegx/preview is incomplete.\n' +
|
|
17
|
+
'Installed from npm: install it again (npx -y --package @nodegx/preview@latest nodegx-deploy …).\n' +
|
|
18
|
+
'In a NodeGX checkout: build it first, npm --prefix packages/noodl-preview run build\n'
|
|
17
19
|
);
|
|
18
20
|
process.exit(2);
|
|
19
21
|
}
|
package/bin/noodl-preview.js
CHANGED
|
@@ -5,8 +5,9 @@ const path = require('path');
|
|
|
5
5
|
const dist = path.join(__dirname, '..', 'dist', 'noodl-preview.cjs');
|
|
6
6
|
if (!fs.existsSync(dist)) {
|
|
7
7
|
process.stderr.write(
|
|
8
|
-
'noodl-preview: dist/noodl-preview.cjs is missing.\n' +
|
|
9
|
-
'
|
|
8
|
+
'noodl-preview: dist/noodl-preview.cjs is missing, so this copy of @nodegx/preview is incomplete.\n' +
|
|
9
|
+
'Installed from npm: install it again (npx -y @nodegx/preview@latest <project-dir>).\n' +
|
|
10
|
+
'In a NodeGX checkout: build it first, npm --prefix packages/noodl-preview run build\n' +
|
|
10
11
|
'(or run `npm run preview -- <project-dir>` from the repo root, which builds for you)\n'
|
|
11
12
|
);
|
|
12
13
|
process.exit(2);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) The NodeGX contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
16
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
17
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
18
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
|
19
|
+
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
20
|
+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
|
|
21
|
+
OR OTHER DEALINGS IN THE SOFTWARE.
|