create-l5e 0.1.1-alpha.3 → 0.1.3
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 +15 -16
- package/package.json +1 -1
- package/templates/basic/package.json +1 -1
- package/templates/basic/src/views/actions/index.tsx +2 -2
- package/templates/basic/src/views/home/index.tsx +1 -1
- package/templates/minimal/package.json +1 -1
- package/templates/minimal/src/views/home/index.tsx +1 -1
package/README.md
CHANGED
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
Create a L5E app from the official starter template.
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
|
-
npm create l5e
|
|
6
|
+
npm create l5e my-app -- --template basic
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
Equivalent commands:
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
npx create-l5e
|
|
13
|
-
pnpm create l5e
|
|
14
|
-
bun create l5e
|
|
12
|
+
npx create-l5e my-app --template basic
|
|
13
|
+
pnpm create l5e my-app --template basic
|
|
14
|
+
bun create l5e my-app --template basic
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
Available templates:
|
|
@@ -22,23 +22,22 @@ Available templates:
|
|
|
22
22
|
Run the dev server immediately after install:
|
|
23
23
|
|
|
24
24
|
```sh
|
|
25
|
-
pnpm create l5e
|
|
25
|
+
pnpm create l5e my-app --template basic --dev
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
##
|
|
29
|
-
|
|
30
|
-
The package name must be `create-l5e`. npm maps `npm create l5e` to the
|
|
31
|
-
`create-l5e` package name.
|
|
28
|
+
## Pinning a version
|
|
32
29
|
|
|
33
|
-
|
|
30
|
+
By default the generator pulls the `latest` dist-tag. To track the alpha
|
|
31
|
+
channel or pin to a specific release:
|
|
34
32
|
|
|
35
33
|
```sh
|
|
36
|
-
|
|
34
|
+
npm create l5e@alpha my-app # follow the alpha channel
|
|
35
|
+
npm create l5e@0.1.2 my-app # pin to an exact version
|
|
37
36
|
```
|
|
38
37
|
|
|
39
|
-
|
|
38
|
+
## Publishing
|
|
40
39
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
The package name must be `create-l5e`. npm maps `npm create l5e` to the
|
|
41
|
+
`create-l5e` package name. Releases for this package go out together with
|
|
42
|
+
`@withl5e/l5e` and `@withl5e/richtext-payload` via the tag-driven release
|
|
43
|
+
workflow — see [`RELEASE.md`](../../RELEASE.md) in the repo root.
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Fragment, useClientJs, useCss } from '@withl5e/l5e/jsx-runtime';
|
|
2
2
|
|
|
3
3
|
export default function ActionsPage() {
|
|
4
|
-
useCss('
|
|
5
|
-
useClientJs('
|
|
4
|
+
useCss('/src/views/actions/actions.css');
|
|
5
|
+
useClientJs('/src/views/actions/client.ts');
|
|
6
6
|
|
|
7
7
|
return (
|
|
8
8
|
<Fragment>
|