@evjs/create-app 0.2.9 → 0.2.10
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/dist/index.js +1 -0
- package/package.json +1 -1
- package/templates/api-routes/package.json +1 -1
- package/templates/basic/package.json +1 -1
- package/templates/complex-routing/package.json +1 -1
- package/templates/custom-ws-transport/package.json +1 -1
- package/templates/mpa/package.json +1 -1
- package/templates/plugin-authoring/README.md +5 -1
- package/templates/plugin-authoring/ev.config.ts +1 -1
- package/templates/plugin-authoring/package.json +1 -1
- package/templates/with-sqlite/package.json +1 -1
- package/templates/with-tailwind/package.json +1 -1
- package/templates/with-trpc/package.json +1 -1
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
# plugin-authoring
|
|
2
2
|
|
|
3
|
-
Demonstrates the evjs plugin
|
|
3
|
+
Demonstrates the evjs plugin lifecycle hooks used by ordinary build-time
|
|
4
|
+
extensions:
|
|
4
5
|
|
|
5
6
|
- **`bundlerConfig`** — modify the underlying bundler config (type-safe via `utoopack()` helper)
|
|
6
7
|
- **`buildStart`** — run logic before compilation begins
|
|
7
8
|
- **`buildEnd`** — run logic after compilation completes
|
|
8
9
|
- **`transformHtml`** — modify the parsed HTML document after asset injection with current HTML context
|
|
9
10
|
|
|
11
|
+
For plugins that need to declare generated `.ev` artifacts and attach them to
|
|
12
|
+
framework slots, see the generated contributions documentation.
|
|
13
|
+
|
|
10
14
|
## Run
|
|
11
15
|
|
|
12
16
|
```bash
|
|
@@ -4,7 +4,7 @@ import { defineConfig } from "@evjs/ev";
|
|
|
4
4
|
/**
|
|
5
5
|
* Example: evjs plugin system.
|
|
6
6
|
*
|
|
7
|
-
* Demonstrates
|
|
7
|
+
* Demonstrates common lifecycle hooks:
|
|
8
8
|
* - `config` — update framework config before defaults are resolved
|
|
9
9
|
* - `bundlerConfig` — modify the underlying bundler config (type-safe via utoopack() helper)
|
|
10
10
|
* - `buildStart` — run logic before compilation begins
|