znode-plugin 0.1.3 → 0.1.4
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 +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -41,11 +41,11 @@ npm init znode-plugin@latest my-theme
|
|
|
41
41
|
|
|
42
42
|
(`npm create znode-plugin@latest my-theme` and `npx create-znode-plugin@latest my-theme` do exactly the same.)
|
|
43
43
|
|
|
44
|
-
It asks **one question: where your webstore is**. Answer it
|
|
45
|
-
prompt offers Enter to skip:
|
|
44
|
+
It asks **one question: where your webstore is**. Answer it: `npm run dev` needs it.
|
|
46
45
|
|
|
47
46
|
```
|
|
48
|
-
|
|
47
|
+
Connect your Znode webstore (recommended: npm run dev needs it)
|
|
48
|
+
Webstore folder, the repo root that has tsconfig.base.json (e.g. D:\znode\webstore): D:\znode\webstore
|
|
49
49
|
Store: D:\znode\webstore
|
|
50
50
|
Plugin folder: D:\znode\runtime-plugins-store
|
|
51
51
|
Created My Theme in D:\themes\my-theme
|
|
@@ -56,7 +56,7 @@ linked D:\themes\my-theme\tsconfig.store.json to D:\znode\webstore\tsconfig.base
|
|
|
56
56
|
Give it the **root of the webstore repo** (not `apps/webstore`). The plugin folder is read from the store's own settings
|
|
57
57
|
for you. *Why both? See [Why connect a store](#why-connect-a-store).*
|
|
58
58
|
|
|
59
|
-
> No webstore on this machine yet?
|
|
59
|
+
> No webstore on this machine yet? Leave the answer empty to skip. The project is still created, but `npm run dev` cannot deploy until
|
|
60
60
|
> you connect it: `npm run link-store -- <webstore repo>` and a `znode.local.json` (see below).
|
|
61
61
|
|
|
62
62
|
### 2. Run it
|
package/package.json
CHANGED