create-hyper-effect 0.1.0-alpha.0 → 0.1.0
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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Creates a hyper-effect app from `template/`: one page with sign-in, live shared state, a validated form, regions, crease/ui components, Story and HTTP tests, and a Playwright browser check.
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
|
-
npm create hyper-effect
|
|
6
|
+
npm create hyper-effect my-app # anywhere → ./my-app, then npm install
|
|
7
7
|
npm run create -- my-app --title "My App" # at the monorepo root → apps/my-app
|
|
8
8
|
npm install # links the new workspace
|
|
9
9
|
cd apps/my-app && npm start # http://localhost:4000
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
-
Outside the monorepo, `npm create hyper-effect
|
|
12
|
+
Outside the monorepo, `npm create hyper-effect my-app` creates `./my-app`, depending on the `@hyper-effect/core` version published with it, with the hyper-effect agent skill in `.claude/skills`. Inside the monorepo the app goes to `apps/<name>` (a workspace on the local packages). `--core <version>` overrides the dependency (`file:<tarball>` for a packed build) and `--dir` the target.
|
|
13
13
|
|
|
14
14
|
The template is a working app, not a stub: `apps/starter` is generated from it, and its tests and browser check run with the rest. Change the template, regenerate `starter` (or apply the change to it), and run `npm run check` there.
|
|
15
15
|
|
package/package.json
CHANGED