@hile/cli 3.0.4 → 4.0.1

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.
Files changed (2) hide show
  1. package/AI.md +8 -1
  2. package/package.json +6 -5
package/AI.md CHANGED
@@ -173,6 +173,8 @@ next Next.js + Hile controllers on one port
173
173
  micro-http Microservice plus HTTP endpoint
174
174
  micro Pure microservice
175
175
  micro-http-next Next.js + microservice + HTTP
176
+ rsc-host Single public Next host for internal RSC plugins
177
+ rsc-plugin Independently built RSC plugin service without HTTP
176
178
  monorepo Lerna + pnpm workspace
177
179
  ```
178
180
 
@@ -213,12 +215,14 @@ The CLI entrypoint exports a `create` command. Application code does not import
213
215
  - HTTP templates use `@hile/core` and `@hile/http`.
214
216
  - Next templates use `@hile/http-next` and `@hile/model`.
215
217
  - Micro templates use `@hile/micro` and `@hile/message-loader`.
218
+ - RSC host/plugin templates compose `@hile/rsc`, `@hile/http-next`, and `@hile/micro` as separate architecture roles.
219
+ - The RSC host template exposes a domain-free `/plugins/[pluginId]/[[...path]]` catch-all; plugin ID, active build, and route path are resolved at request time.
216
220
 
217
221
  ## Runtime And Lifecycle Notes
218
222
 
219
223
  - Templates use `_env`, `_env.prod`, and `_gitignore`; creation renames them to dotfiles.
220
224
  - The CLI prompts for a template and optional dependency installation.
221
- - The package manager preference is `pnpm`, then `yarn`, then `npm`.
225
+ - Generated templates use pnpm consistently; install pnpm before running `create-hile` without `--skip-install`.
222
226
 
223
227
  ## Anti-Patterns
224
228
 
@@ -231,6 +235,9 @@ The CLI entrypoint exports a `create` command. Application code does not import
231
235
  - New project has `"type": "module"`.
232
236
  - Dev script runs `hile start --dev`.
233
237
  - Production script runs `hile start` after build.
238
+ - `rsc-host` is the only public HTTP owner; `rsc-plugin` starts only an internal micro listener.
239
+ - RSC templates pin React 19.2.8 exactly and verify plugin artifacts before startup.
240
+ - The RSC plugin template does not install Next; only the host pins the supported Next adapter version.
234
241
  - Boot files default-export `defineService(...)`.
235
242
 
236
243
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hile/cli",
3
- "version": "3.0.4",
3
+ "version": "4.0.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
@@ -24,16 +24,17 @@
24
24
  "node": ">=20.12.0"
25
25
  },
26
26
  "devDependencies": {
27
+ "@types/node": "^26.2.0",
27
28
  "fix-esm-import-path": "^1.10.3",
28
29
  "vitest": "^4.0.18"
29
30
  },
30
31
  "dependencies": {
31
- "@hile/bootstrap": "^3.0.0",
32
- "@hile/logger": "^3.0.0",
33
- "@hile/micro": "^3.0.6",
32
+ "@hile/bootstrap": "^4.0.0",
33
+ "@hile/logger": "^4.0.0",
34
+ "@hile/micro": "^4.0.0",
34
35
  "commander": "^14.0.3",
35
36
  "pino-pretty": "^13.1.3",
36
37
  "yaml": "^2.9.0"
37
38
  },
38
- "gitHead": "f0ca6e772602138dd50bf5acd2f9d940b4fe505e"
39
+ "gitHead": "afde9a1fd6cce7427a7c56fb9930763a7a9c5c8f"
39
40
  }