@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 CHANGED
@@ -12,6 +12,7 @@ const templateCopyExcludedBasenames = new Set([
12
12
  "dist",
13
13
  ".turbo",
14
14
  ".turbopack",
15
+ ".ev",
15
16
  ".evjs",
16
17
  "route-types.d.ts",
17
18
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evjs/create-app",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "description": "Scaffold a new evjs project",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-api-routes",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "ev dev",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-basic",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "ev dev",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-complex-routing",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "ev dev",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-custom-ws-transport",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "ev dev",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-mpa",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "ev dev",
@@ -1,12 +1,16 @@
1
1
  # plugin-authoring
2
2
 
3
- Demonstrates the evjs plugin system with all available hooks:
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 all available plugin hooks:
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-plugin-authoring",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "ev dev",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-with-sqlite",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "ev dev",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-with-tailwind",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "ev dev",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "example-with-trpc",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "ev dev",