create-typeser 2.0.0-rc.1 → 2.0.0
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# create-typeser
|
|
2
2
|
|
|
3
|
-
The wizard installs the matching TypeSer version as a normal dependency.
|
|
3
|
+
The wizard installs the matching TypeSer version as a normal dependency. To create an application with the Warehouse demo from npm, run `npm create typeser my-app -- --with-demo`. `--platform-version` accepts an exact version or npm tag. Use `--platform` for a local archive.
|
|
4
4
|
|
|
5
5
|
## Try the unpublished packages
|
|
6
6
|
|
|
@@ -9,11 +9,11 @@ Run `npm run pack:create` in the TypeSer checkout. If you also need a platform a
|
|
|
9
9
|
In a separate npm project, install the local initializer once. The following example assumes that this project and the TypeSer checkout are siblings.
|
|
10
10
|
|
|
11
11
|
~~~sh
|
|
12
|
-
npm install --no-save ../TypeSer/.local/npm-release/create-typeser-2.0.0
|
|
13
|
-
npm create typeser ../my-typeser-app -- --with-demo --platform ../TypeSer/.local/npm-release/typeser-2.0.0
|
|
12
|
+
npm install --no-save ../TypeSer/.local/npm-release/create-typeser-2.0.0.tgz
|
|
13
|
+
npm create typeser ../my-typeser-app -- --with-demo --platform ../TypeSer/.local/npm-release/typeser-2.0.0.tgz
|
|
14
14
|
~~~
|
|
15
15
|
|
|
16
|
-
Use the unversioned initializer name for the local test.
|
|
16
|
+
Use the unversioned initializer name for the local test. From npm, `npm create typeser` (or `npm create typeser@latest`) selects the published initializer. Omit the directory to enter it at the prompt. Pass a local archive with `--platform`. Without that flag the wizard downloads the matching platform version from npm.
|
|
17
17
|
|
|
18
18
|
On Windows PowerShell use `npm.cmd` to forward the arguments after `--`. Choose a configuration identifier and whether to connect the Warehouse demo, or supply `--with-demo` / `--no-demo`. The optional demo uses the copy in the platform dependency and its own PostgreSQL schema. QR and MCP modules are included with it.
|
|
19
19
|
|