@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 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.
@@ -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.\n' + 'Build it first: npm --prefix packages/noodl-preview run build\n'
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
  }
@@ -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
- 'Build it first: npm --prefix packages/noodl-preview run build\n' +
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.