@potentiajs/core 0.1.0-preview.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +23 -16
  3. package/package.json +3 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0
4
+
5
+ ### First public foundation
6
+
7
+ - Added the PotentiaJS application kernel.
8
+ - Added route declarations and route collections.
9
+ - Added contract projection for params, query, headers, body, and responses.
10
+ - Added action definitions and action projection.
11
+ - Added form state and form metadata projection.
12
+ - Added server-side HTML form rendering through `@potentiajs/core/forms`.
13
+ - Added file-routing generation through `@potentiajs/core/file-routing`.
14
+ - Added the `potentia routes generate` and `potentia routes check` CLI.
15
+ - Added public examples for file routing, form rendering, and full-flow usage.
16
+ - Published the package to npm and JSR.
17
+
18
+ ### Notes
19
+
20
+ - PotentiaJS remains experimental under ZeroVer.
21
+ - `0.1.0` is not a 1.0 stability guarantee.
22
+ - JSX is intentionally not part of the official framework direction.
23
+
24
+ ## 0.1.0-preview.1
25
+
26
+ ### Registry hygiene
27
+
28
+ - Tightened the JSR artifact to exclude repo-only files.
29
+ - Preserved public JSR exports for root, file-routing, and forms.
30
+ - Added npm preview dist-tag verification posture.
31
+ - Preserved internal post-publish verification docs as project audit trail.
32
+
3
33
  ## 0.1.0-preview.0
4
34
 
5
35
  Experimental public preview for `@potentiajs/core`.
package/README.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # PotentiaJS
2
2
 
3
- PotentiaJS is an experimental Bun-first JavaScript framework kernel for explicit, contract-driven request handling.
3
+ PotentiaJS is an experimental, contract-driven JavaScript framework kernel for building server-first applications with explicit routing, actions, form metadata, and file-routing projection.
4
4
 
5
- It is **not production-ready** and has **no stable public API** yet.
5
+ `0.1.0` is the first serious public foundation under ZeroVer. PotentiaJS is usable and externally installable, but it is **not production-ready**, **not a 1.0 stability guarantee**, and still has **no permanent public API** commitment.
6
6
 
7
7
  ## Current status
8
8
 
9
9
  - Package: `@potentiajs/core`
10
- - Version: `0.1.0-preview.0`
11
- - Visibility: public preview package candidate
10
+ - Version: `0.1.0`
11
+ - Visibility: first public ZeroVer foundation
12
12
  - License: MIT
13
13
  - Runtime: Bun
14
14
  - Source: plain JavaScript ES modules
@@ -24,7 +24,13 @@ Request → Route Match → Contract Boundary → Effect Execution → Result No
24
24
 
25
25
  ## Install / local usage
26
26
 
27
- Once registry visibility is confirmed, the preview package install shape is:
27
+ Install from npm:
28
+
29
+ ```bash
30
+ npm install @potentiajs/core
31
+ ```
32
+
33
+ With Bun:
28
34
 
29
35
  ```bash
30
36
  bun add @potentiajs/core
@@ -39,7 +45,7 @@ bun run check
39
45
  bun run check:preview
40
46
  ```
41
47
 
42
- If the registry install command fails, check the post-release verification notes: the registry artifact may not be visible yet even though release metadata is prepared.
48
+ The package is published as `@potentiajs/core` on npm and JSR.
43
49
 
44
50
  ## Minimal route
45
51
 
@@ -212,7 +218,7 @@ import { createRouteManifest, projectContract, projectRoute, projectRoutes } fro
212
218
  const contract = projectContract(UserResponse);
213
219
  const single = projectRoute(route('GET', '/users/:id', handler, { response: UserResponse }));
214
220
  const collection = projectRoutes(app);
215
- const manifest = createRouteManifest(app, { packageName: '@potentiajs/core', packageVersion: '0.1.0-preview.0' });
221
+ const manifest = createRouteManifest(app, { packageName: '@potentiajs/core', packageVersion: '0.1.0' });
216
222
  ```
217
223
 
218
224
  `projectContract()` reports honest metadata such as capability, opacity, schema, field summaries, required fields, and optional fields. Generic function/parse/check contracts remain opaque. SigilJS contracts expose richer metadata only where SigilJS safely provides it.
@@ -255,7 +261,7 @@ return fail(createFormState({
255
261
  }), 409);
256
262
  ```
257
263
 
258
- Potentia also includes an experimental optional server-side HTML string renderer on the forms subpath. Rendering is metadata-driven, escaped by default, and state-aware. It does not add a frontend runtime, JSX, hydration, custom renderer system, client SDK, OpenAPI generator, session/flash helper, or multipart/file upload helper.
264
+ Potentia is HTML-first and server-first. It includes an experimental optional server-side HTML string renderer on the forms subpath. Rendering is metadata-driven, escaped by default, and state-aware. It does not add a frontend runtime, JSX, hydration, custom renderer system, client SDK, OpenAPI generator, session/flash helper, or multipart/file upload helper. JSX is intentionally not part of the official framework direction.
259
265
 
260
266
  ```js
261
267
  import { createFormState, projectForm } from '@potentiajs/core';
@@ -362,7 +368,7 @@ Each example exports `app` for smoke tests and only starts `Bun.serve()` when ru
362
368
  bun run test # test suite
363
369
  bun run check # current local check
364
370
  bun run check:preview # tests + check + npm pack dry-run
365
- bun run check:release # preview release check alias
371
+ bun run check:release # release gate alias
366
372
  bun run check:file-routing # internal file-routing projection tests
367
373
  potentia routes generate # experimental file-route generation CLI after package install/link
368
374
  potentia routes check # verify generated file-route output is current without writing
@@ -374,8 +380,8 @@ bun run pack:dry # npm pack --dry-run --json
374
380
 
375
381
  Deferred intentionally:
376
382
 
377
- - stable public APIs
378
- - registry visibility may lag or require release verification
383
+ - stable 1.0 public APIs
384
+ - production-readiness guarantee
379
385
  - stable public file-based routing API and route auto-discovery beyond the experimental `@potentiajs/core/file-routing` generation subpath
380
386
  - nested layout routing
381
387
  - frontend rendering and hydration
@@ -413,20 +419,21 @@ Lower-level implementation helpers such as request-context construction, effect
413
419
  Experimental package subpaths:
414
420
 
415
421
  - file routing generation: `@potentiajs/core/file-routing` exports `generateFileRoutes`
422
+ - form rendering: `@potentiajs/core/forms` exports `renderForm`
416
423
 
417
424
  ## Release / publish status
418
425
 
419
- Prepared for public preview dry-run verification:
426
+ Prepared as the first public ZeroVer foundation:
420
427
 
421
- - package metadata targets `@potentiajs/core@0.1.0-preview.0`
428
+ - package metadata targets `@potentiajs/core@0.1.0`
422
429
  - license is MIT
423
430
  - repository metadata targets `https://github.com/antistructured/potentiajs`
424
431
  - package is configured as public
425
432
  - `CHANGELOG.md` and conservative declarations are included
426
- - no public API is stable
427
- - registry visibility is verified during post-release checks
433
+ - no 1.0 stability guarantee is implied
434
+ - npm and JSR registry publication should be verified after release
428
435
 
429
- Post-release verification should confirm the registry package is visible before sharing install instructions widely.
436
+ Post-release verification should confirm npm and JSR registry visibility after the publish workflow completes.
430
437
 
431
438
  ## License
432
439
 
package/package.json CHANGED
@@ -1,15 +1,14 @@
1
1
  {
2
2
  "name": "@potentiajs/core",
3
- "version": "0.1.0-preview.0",
3
+ "version": "0.1.0",
4
4
  "private": false,
5
- "description": "Experimental Bun-first JavaScript framework kernel for contract-driven routing, actions, and form metadata.",
5
+ "description": "JavaScript framework kernel for contract-driven routing, actions, and form metadata.",
6
6
  "type": "module",
7
7
  "main": "./src/index.js",
8
8
  "module": "./src/index.js",
9
9
  "types": "./src/index.d.ts",
10
10
  "publishConfig": {
11
- "access": "public",
12
- "tag": "preview"
11
+ "access": "public"
13
12
  },
14
13
  "bin": {
15
14
  "potentia": "./bin/potentia.js"