@fierst/c7t 1.0.0-beta.1 → 1.0.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/CHANGELOG.md +3 -3
- package/README.md +2 -2
- package/bin/create.mjs +7 -0
- package/docs/reference.md +1 -1
- package/llms.txt +2 -2
- package/package.json +3 -4
- package/template/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,9 +4,9 @@ All notable changes to **`@fierst/c7t` ("Construct")** are documented in this fi
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
## [1.0.0
|
|
7
|
+
## [1.0.0] - 2026-11-30
|
|
8
8
|
|
|
9
|
-
Initial
|
|
9
|
+
Initial release of **`c7t` ("Construct" — `@fierst/c7t`)** — Fierst LLC's full-stack generator meta-framework built on `@fierst/blokd` (`>=1.3.0`), Hono, and Vite+ (`vp`).
|
|
10
10
|
|
|
11
11
|
### Added
|
|
12
12
|
|
|
@@ -35,4 +35,4 @@ Initial public beta release of **`c7t` ("Construct" — `@fierst/c7t`)** — Fie
|
|
|
35
35
|
- `@fierst/c7t/ssg` (`prerenderApp`) supporting hybrid `export const prerender = true | false | (() => [...])` and full static `mode: "all"`, cascading `prerender` & `csr` inheritance (`c7t()` config -> `layout.tsx` -> leaf route), automatic `csr: "auto"` default (0 `<script>` tags when 0 islands render; automatic lazy revival when 1+ islands render) plus `csr: "islands"` MPA mode, `<a href>` link crawling, broken-link detection, `__c7t.json` static receipt sidecars, static XML/RSS endpoints, and build-time dynamic cookie guardrails.
|
|
36
36
|
- Unified `c7t` CLI (`c7t create`, `c7t build`, `c7t start`) and programmatic `buildApp()` pipeline.
|
|
37
37
|
- Official adapters: `@fierst/c7t/node`, `@fierst/c7t/cloudflare`, `@fierst/c7t/vercel` (Build Output API v3), `@fierst/c7t/bun`, and `@fierst/c7t/static`.
|
|
38
|
-
- Complete documentation suite (`docs/guides/01–
|
|
38
|
+
- Complete documentation suite (`docs/guides/01–07`, `docs/reference.md`, and generated `llms.txt` handbook) plus end-to-end Chromium production smoke test (`npm run test:smoke`).
|
package/README.md
CHANGED
|
@@ -48,11 +48,11 @@ Browse the [documentation index](./docs/README.md), jump straight into a guide,
|
|
|
48
48
|
7. [07. Databases, `defineDb()`, and Drizzle ORM](./docs/guides/07-databases-and-drizzle.md)
|
|
49
49
|
|
|
50
50
|
- [Complete API Reference & Troubleshooting](./docs/reference.md)
|
|
51
|
-
- [Changelog (`v1.0.0
|
|
51
|
+
- [Changelog (`v1.0.0`)](./CHANGELOG.md)
|
|
52
52
|
|
|
53
53
|
---
|
|
54
54
|
|
|
55
|
-
## Repository Commands
|
|
55
|
+
## Repository Commands
|
|
56
56
|
|
|
57
57
|
```bash
|
|
58
58
|
npm run check # Oxfmt + Oxlint + TypeScript type-check (0 warnings, 0 errors)
|
package/bin/create.mjs
CHANGED
|
@@ -14,6 +14,7 @@ import { basename, dirname, join, resolve } from "node:path";
|
|
|
14
14
|
import { fileURLToPath } from "node:url";
|
|
15
15
|
|
|
16
16
|
const pkgRoot = resolve(dirname(fileURLToPath(import.meta.url)), "..");
|
|
17
|
+
const selfPkg = JSON.parse(readFileSync(join(pkgRoot, "package.json"), "utf-8"));
|
|
17
18
|
const VALID_DB_PRESETS = new Set(["sqlite", "postgres", "d1"]);
|
|
18
19
|
|
|
19
20
|
function parseFlag(args, prefix) {
|
|
@@ -297,6 +298,12 @@ export function scaffoldProject(targetDir, options = {}) {
|
|
|
297
298
|
.replace(/^-+|-+$/g, "") || "c7t-app";
|
|
298
299
|
const pkg = JSON.parse(readFileSync(pkgJsonPath, "utf-8"));
|
|
299
300
|
pkg.name = rawName;
|
|
301
|
+
if (pkg.dependencies?.["@fierst/c7t"]) {
|
|
302
|
+
pkg.dependencies["@fierst/c7t"] = `^${selfPkg.version}`;
|
|
303
|
+
}
|
|
304
|
+
if (pkg.dependencies?.["@fierst/blokd"] && selfPkg.dependencies?.["@fierst/blokd"]) {
|
|
305
|
+
pkg.dependencies["@fierst/blokd"] = selfPkg.dependencies["@fierst/blokd"];
|
|
306
|
+
}
|
|
300
307
|
if (options.db) {
|
|
301
308
|
writeDbFiles(absTarget, rawName, options.db, pkg);
|
|
302
309
|
}
|
package/docs/reference.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# `@fierst/c7t` API Reference
|
|
2
2
|
|
|
3
|
-
`@fierst/c7t` is an ESM-first TypeScript package requiring **Node.js >= 20.19.0** (or Bun / Cloudflare `workerd` with `nodejs_als`) and `@fierst/blokd >= 1.3.0
|
|
3
|
+
`@fierst/c7t` is an ESM-first TypeScript package requiring **Node.js >= 20.19.0** (or Bun / Cloudflare `workerd` with `nodejs_als`) and `@fierst/blokd >= 1.3.0`.
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
package/llms.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# c7t (Construct — @fierst/c7t) 1.0.0
|
|
1
|
+
# c7t (Construct — @fierst/c7t) 1.0.0
|
|
2
2
|
|
|
3
3
|
---
|
|
4
4
|
|
|
@@ -1515,7 +1515,7 @@ Need the raw unwrapped instance for `instanceof` checks or driver plugins? Acces
|
|
|
1515
1515
|
|
|
1516
1516
|
# `@fierst/c7t` API Reference
|
|
1517
1517
|
|
|
1518
|
-
`@fierst/c7t` is an ESM-first TypeScript package requiring **Node.js >= 20.19.0** (or Bun / Cloudflare `workerd` with `nodejs_als`) and `@fierst/blokd >= 1.3.0
|
|
1518
|
+
`@fierst/c7t` is an ESM-first TypeScript package requiring **Node.js >= 20.19.0** (or Bun / Cloudflare `workerd` with `nodejs_als`) and `@fierst/blokd >= 1.3.0`.
|
|
1519
1519
|
|
|
1520
1520
|
---
|
|
1521
1521
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fierst/c7t",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "c7t (Construct) — Full-stack generator meta-framework built on @fierst/blokd, Hono, and Vite+ with deterministic State Receipts, dual-protocol server() callables, hybrid SSG, and bidirectional NDJSON streaming.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blokd",
|
|
@@ -92,8 +92,7 @@
|
|
|
92
92
|
"./create": "./bin/create.mjs"
|
|
93
93
|
},
|
|
94
94
|
"publishConfig": {
|
|
95
|
-
"access": "public"
|
|
96
|
-
"tag": "beta"
|
|
95
|
+
"access": "public"
|
|
97
96
|
},
|
|
98
97
|
"scripts": {
|
|
99
98
|
"pack": "vp pack",
|
|
@@ -106,7 +105,7 @@
|
|
|
106
105
|
"fmt": "vp fmt"
|
|
107
106
|
},
|
|
108
107
|
"dependencies": {
|
|
109
|
-
"@fierst/blokd": "^1.3.0
|
|
108
|
+
"@fierst/blokd": "^1.3.0",
|
|
110
109
|
"hono": "^4.7.0",
|
|
111
110
|
"oxc-parser": "0.159.0"
|
|
112
111
|
},
|
package/template/package.json
CHANGED