create-astrale-domain 0.3.0-beta.76 → 0.3.0-beta.78
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 +24 -0
- package/package.json +4 -4
- package/template/CLAUDE.md +9 -6
- package/template/package.json +0 -2
- package/template/tsconfig.json +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.0-beta.78](https://github.com/astrale-os/sdk/compare/create-astrale-domain-v0.3.0-beta.77...create-astrale-domain-v0.3.0-beta.78) (2026-08-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* The following workspace dependencies were updated
|
|
9
|
+
* dependencies
|
|
10
|
+
* @astrale-os/adapter-astrale bumped to 0.5.0-beta.78
|
|
11
|
+
* @astrale-os/adapter-cloudflare bumped to 0.5.0-beta.85
|
|
12
|
+
* devDependencies
|
|
13
|
+
* @astrale-os/sdk bumped to 0.5.0-beta.82
|
|
14
|
+
|
|
15
|
+
## [0.3.0-beta.77](https://github.com/astrale-os/sdk/compare/create-astrale-domain-v0.3.0-beta.76...create-astrale-domain-v0.3.0-beta.77) (2026-08-29)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Dependencies
|
|
19
|
+
|
|
20
|
+
* The following workspace dependencies were updated
|
|
21
|
+
* dependencies
|
|
22
|
+
* @astrale-os/adapter-astrale bumped to 0.5.0-beta.77
|
|
23
|
+
* @astrale-os/adapter-cloudflare bumped to 0.5.0-beta.84
|
|
24
|
+
* devDependencies
|
|
25
|
+
* @astrale-os/sdk bumped to 0.5.0-beta.81
|
|
26
|
+
|
|
3
27
|
## [0.3.0-beta.76](https://github.com/astrale-os/sdk/compare/create-astrale-domain-v0.3.0-beta.75...create-astrale-domain-v0.3.0-beta.76) (2026-08-29)
|
|
4
28
|
|
|
5
29
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-astrale-domain",
|
|
3
|
-
"version": "0.3.0-beta.
|
|
3
|
+
"version": "0.3.0-beta.78",
|
|
4
4
|
"description": "Scaffold a standalone Astrale domain — npm create astrale-domain",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"astrale",
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"registry": "https://registry.npmjs.org/"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@astrale-os/adapter-astrale": "0.5.0-beta.
|
|
34
|
-
"@astrale-os/adapter-cloudflare": "0.5.0-beta.
|
|
33
|
+
"@astrale-os/adapter-astrale": "0.5.0-beta.78",
|
|
34
|
+
"@astrale-os/adapter-cloudflare": "0.5.0-beta.85",
|
|
35
35
|
"@clack/prompts": "^0.11.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@astrale-os/ox": "0.1.3",
|
|
39
|
-
"@astrale-os/sdk": "0.5.0-beta.
|
|
39
|
+
"@astrale-os/sdk": "0.5.0-beta.82",
|
|
40
40
|
"@types/node": "^22.0.0",
|
|
41
41
|
"esbuild": "^0.28.2",
|
|
42
42
|
"oxfmt": "0.63.0",
|
package/template/CLAUDE.md
CHANGED
|
@@ -15,12 +15,15 @@ registered package `#` imports across owners, and keep `runtime.ts` and `applica
|
|
|
15
15
|
their exact composition responsibilities.
|
|
16
16
|
Actions perform one semantic asynchronous operation; Workflows name every explicit multi-step operation.
|
|
17
17
|
|
|
18
|
-
Add
|
|
19
|
-
with real illegal transitions. Declare it once with `stateMachine`,
|
|
20
|
-
|
|
21
|
-
`mutation.transition`. Keep guards, authority, provider effects, retries, and deletion outside
|
|
22
|
-
|
|
23
|
-
layer.
|
|
18
|
+
Add `schema/modules/<module>/states/` only when a Schema business module owns a finite persisted
|
|
19
|
+
lifecycle with real illegal transitions. Declare it once with `stateMachine`, persist it with
|
|
20
|
+
`stateProperty(machine)`, initialize with `machine.initial`, and commit allowed decisions through
|
|
21
|
+
`mutation.transition`. Keep guards, authority, provider effects, retries, and deletion outside the
|
|
22
|
+
relation. The `states/` directory is optional organization inside the owning Schema module; there is
|
|
23
|
+
no top-level States layer or `#states` alias.
|
|
24
|
+
Schema declarations use a relative sibling import for the machine. Runtime layers in the same
|
|
25
|
+
business module use `#schema/modules/<module>/states` so Worker bundling retains the machine without
|
|
26
|
+
loading build-only Schema declarations.
|
|
24
27
|
|
|
25
28
|
`pnpm pack` runs the single `astrale-domain package` journey. The published package exposes its
|
|
26
29
|
Schema contract at the package root. Runtime, handlers, Providers, frontend code, and deployment
|
package/template/package.json
CHANGED
|
@@ -28,8 +28,6 @@
|
|
|
28
28
|
"#schema/*": "./schema/*/index.ts",
|
|
29
29
|
"#scripts": "./scripts/index.ts",
|
|
30
30
|
"#scripts/*": "./scripts/*/index.ts",
|
|
31
|
-
"#states": "./states/index.ts",
|
|
32
|
-
"#states/*": "./states/*/index.ts",
|
|
33
31
|
"#tests": "./tests/index.ts",
|
|
34
32
|
"#tests/*": "./tests/*/index.ts",
|
|
35
33
|
"#ui": "./ui/index.ts",
|
package/template/tsconfig.json
CHANGED
|
@@ -27,8 +27,6 @@
|
|
|
27
27
|
"#schema/*": ["./schema/*/index.ts"],
|
|
28
28
|
"#scripts": ["./scripts/index.ts"],
|
|
29
29
|
"#scripts/*": ["./scripts/*/index.ts"],
|
|
30
|
-
"#states": ["./states/index.ts"],
|
|
31
|
-
"#states/*": ["./states/*/index.ts"],
|
|
32
30
|
"#tests": ["./tests/index.ts"],
|
|
33
31
|
"#tests/*": ["./tests/*/index.ts"],
|
|
34
32
|
"#ui": ["./ui/index.ts"],
|
|
@@ -50,7 +48,6 @@
|
|
|
50
48
|
},
|
|
51
49
|
"include": [
|
|
52
50
|
"schema",
|
|
53
|
-
"states",
|
|
54
51
|
"rules",
|
|
55
52
|
"queries",
|
|
56
53
|
"routes",
|