create-waygraph 0.0.5 → 0.0.6
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 +8 -2
- package/bin/create-waygraph.js +6 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
# create-waygraph
|
|
2
2
|
|
|
3
|
+
**Deprecated.** This was always the identical scaffold as `npx waygraph init <name>`
|
|
4
|
+
(waygraph >= 0.12.7) - a second package to install and keep in sync for no actual benefit.
|
|
5
|
+
Use `npx waygraph init <name>` instead. This package still works (unpublishing would break
|
|
6
|
+
anyone with it pinned), but gets no further updates and is no longer linked from waygraph's
|
|
7
|
+
own docs/GitHub Pages.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
3
11
|
Scaffolds a new [waygraph](https://github.com/deviate-dv8/waygraph) **offline** project -
|
|
4
12
|
one fixed shape, no prompts, no template picker.
|
|
5
13
|
|
|
6
|
-
This is the scaffold command linked from
|
|
7
|
-
[waygraph GitHub Pages](https://deviate-dv8.github.io/waygraph/) (`npx create-waygraph`).
|
|
8
14
|
Same template as `npx waygraph init` (waygraph >= 0.12.6). For a live saucedemo walkthrough
|
|
9
15
|
without creating a folder in your cwd, use `npx waygraph try demo` instead.
|
|
10
16
|
|
package/bin/create-waygraph.js
CHANGED
|
@@ -3,6 +3,12 @@ import { fileURLToPath } from "node:url";
|
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
|
|
6
|
+
console.error(
|
|
7
|
+
"create-waygraph is deprecated - it's the exact same scaffold as `npx waygraph init <name>`\n" +
|
|
8
|
+
"(waygraph >= 0.12.7), just as a second package to install/maintain for no benefit.\n" +
|
|
9
|
+
"Use `npx waygraph init <name>` instead. This still works for now.\n",
|
|
10
|
+
);
|
|
11
|
+
|
|
6
12
|
const projectName = process.argv[2];
|
|
7
13
|
|
|
8
14
|
if (!projectName) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-waygraph",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.6",
|
|
4
|
+
"description": "Deprecated - identical to `npx waygraph init <name>`. Use that instead.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|