@beatzball/create-litro 0.1.0 → 0.1.2
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/CHANGELOG.md +12 -0
- package/README.md +6 -6
- package/dist/recipes/11ty-blog/template/app.ts +2 -2
- package/dist/recipes/11ty-blog/template/package.json +1 -1
- package/dist/recipes/fullstack/template/app.ts +2 -2
- package/dist/recipes/fullstack/template/package.json +1 -1
- package/package.json +1 -1
- package/recipes/11ty-blog/template/app.ts +2 -2
- package/recipes/11ty-blog/template/package.json +1 -1
- package/recipes/fullstack/template/app.ts +2 -2
- package/recipes/fullstack/template/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# create-litro
|
|
2
2
|
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 19f4909: Fix recipe templates using unscoped `litro/runtime/...` imports instead of `@beatzball/litro/runtime/...`, and bump `nitropack` devDependency to `^2.13.1`.
|
|
8
|
+
|
|
9
|
+
## 0.1.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 6a8da0e: Update all README references to use `@beatzball` scoped package names following the rename in v0.1.0. Fixes install commands, `pnpm --filter` flags, `npm create` commands, and import paths.
|
|
14
|
+
|
|
3
15
|
## 0.1.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -5,24 +5,24 @@ Scaffold a new [Litro](https://github.com/beatzball/litro) app.
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm create litro@latest my-app
|
|
8
|
+
npm create @beatzball/litro@latest my-app
|
|
9
9
|
# or
|
|
10
|
-
pnpm create litro my-app
|
|
10
|
+
pnpm create @beatzball/litro my-app
|
|
11
11
|
# or
|
|
12
|
-
yarn create litro my-app
|
|
12
|
+
yarn create @beatzball/litro my-app
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Follow the interactive prompts to choose a recipe and rendering mode, or pass flags directly to skip them:
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
18
|
# Fullstack SSR app (default)
|
|
19
|
-
npm create litro@latest my-app --recipe fullstack --mode ssr
|
|
19
|
+
npm create @beatzball/litro@latest my-app --recipe fullstack --mode ssr
|
|
20
20
|
|
|
21
21
|
# 11ty-compatible blog (SSG or SSR)
|
|
22
|
-
npm create litro@latest my-app --recipe 11ty-blog --mode ssg
|
|
22
|
+
npm create @beatzball/litro@latest my-app --recipe 11ty-blog --mode ssg
|
|
23
23
|
|
|
24
24
|
# List all available recipes
|
|
25
|
-
npm create litro@latest -- --list-recipes
|
|
25
|
+
npm create @beatzball/litro@latest -- --list-recipes
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
## Recipes
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import '@lit-labs/ssr-client/lit-element-hydrate-support.js';
|
|
3
3
|
|
|
4
4
|
// Client runtime: router outlet and link custom elements.
|
|
5
|
-
import 'litro/runtime/LitroOutlet.js';
|
|
6
|
-
import 'litro/runtime/LitroLink.js';
|
|
5
|
+
import '@beatzball/litro/runtime/LitroOutlet.js';
|
|
6
|
+
import '@beatzball/litro/runtime/LitroLink.js';
|
|
7
7
|
|
|
8
8
|
// Routes generated by the page scanner before each vite build.
|
|
9
9
|
import { routes } from './routes.generated.js';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import '@lit-labs/ssr-client/lit-element-hydrate-support.js';
|
|
3
3
|
|
|
4
4
|
// Client runtime: router outlet and link custom elements.
|
|
5
|
-
import 'litro/runtime/LitroOutlet.js';
|
|
6
|
-
import 'litro/runtime/LitroLink.js';
|
|
5
|
+
import '@beatzball/litro/runtime/LitroOutlet.js';
|
|
6
|
+
import '@beatzball/litro/runtime/LitroLink.js';
|
|
7
7
|
|
|
8
8
|
// Routes generated by the page scanner before each vite build.
|
|
9
9
|
// routes.generated.ts lives at the project root (not in dist/) so Vite's
|
package/package.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import '@lit-labs/ssr-client/lit-element-hydrate-support.js';
|
|
3
3
|
|
|
4
4
|
// Client runtime: router outlet and link custom elements.
|
|
5
|
-
import 'litro/runtime/LitroOutlet.js';
|
|
6
|
-
import 'litro/runtime/LitroLink.js';
|
|
5
|
+
import '@beatzball/litro/runtime/LitroOutlet.js';
|
|
6
|
+
import '@beatzball/litro/runtime/LitroLink.js';
|
|
7
7
|
|
|
8
8
|
// Routes generated by the page scanner before each vite build.
|
|
9
9
|
import { routes } from './routes.generated.js';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import '@lit-labs/ssr-client/lit-element-hydrate-support.js';
|
|
3
3
|
|
|
4
4
|
// Client runtime: router outlet and link custom elements.
|
|
5
|
-
import 'litro/runtime/LitroOutlet.js';
|
|
6
|
-
import 'litro/runtime/LitroLink.js';
|
|
5
|
+
import '@beatzball/litro/runtime/LitroOutlet.js';
|
|
6
|
+
import '@beatzball/litro/runtime/LitroLink.js';
|
|
7
7
|
|
|
8
8
|
// Routes generated by the page scanner before each vite build.
|
|
9
9
|
// routes.generated.ts lives at the project root (not in dist/) so Vite's
|