create-astrale-domain 0.3.0-beta.183 → 0.3.0-beta.185
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/dist/index.js +9 -9
- package/package.json +5 -5
- package/template/CLAUDE.md +2 -2
package/dist/index.js
CHANGED
|
@@ -783,7 +783,7 @@ var Y2 = ({ indicator: t = "dots" } = {}) => {
|
|
|
783
783
|
import { existsSync as existsSync2 } from "node:fs";
|
|
784
784
|
import { relative as relative2, resolve as resolve2 } from "node:path";
|
|
785
785
|
|
|
786
|
-
// ../node_modules/.pnpm/@astrale-os+kernel-dsl@1.0.0-beta.
|
|
786
|
+
// ../node_modules/.pnpm/@astrale-os+kernel-dsl@1.0.0-beta.6/node_modules/@astrale-os/kernel-dsl/dist/v1/addressing/patterns.js
|
|
787
787
|
var DOMAIN_ORIGIN_PATTERN = /^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$/u;
|
|
788
788
|
var MEMBER_NAME_PATTERN = /^[A-Za-z][A-Za-z0-9_]*$/u;
|
|
789
789
|
var DEPENDENCY_ALIAS_PATTERN = /^[a-z][A-Za-z0-9]*$/u;
|
|
@@ -809,7 +809,7 @@ var patterns = Object.freeze({
|
|
|
809
809
|
revisionFullMatch: DOMAIN_REVISION_FULL_MATCH
|
|
810
810
|
});
|
|
811
811
|
|
|
812
|
-
// ../node_modules/.pnpm/@astrale-os+kernel-dsl@1.0.0-beta.
|
|
812
|
+
// ../node_modules/.pnpm/@astrale-os+kernel-dsl@1.0.0-beta.6/node_modules/@astrale-os/kernel-dsl/dist/v1/addressing/definition-ref.js
|
|
813
813
|
var DEFINITION_KINDS = /* @__PURE__ */ new Set([
|
|
814
814
|
"class",
|
|
815
815
|
"function",
|
|
@@ -845,7 +845,7 @@ function definitionNameMatches(kind, name) {
|
|
|
845
845
|
return kind === "core" ? CORE_SLUG_PATTERN.test(name) : MEMBER_NAME_PATTERN.test(name);
|
|
846
846
|
}
|
|
847
847
|
|
|
848
|
-
// ../node_modules/.pnpm/@astrale-os+kernel-dsl@1.0.0-beta.
|
|
848
|
+
// ../node_modules/.pnpm/@astrale-os+kernel-dsl@1.0.0-beta.6/node_modules/@astrale-os/kernel-dsl/dist/v1/addressing/key.js
|
|
849
849
|
var DEFINITION_KEY = /^(?:class|function|policy|view)\.([A-Za-z][A-Za-z0-9_]*)$/u;
|
|
850
850
|
var CORE_KEY = /^core\.([a-z][a-z0-9-]{0,99})$/u;
|
|
851
851
|
var MEMBER_KEY = /^class\.([A-Za-z][A-Za-z0-9_]*)\.(property|method)\.([A-Za-z][A-Za-z0-9_]*)$/u;
|
|
@@ -879,7 +879,7 @@ function isCanonicalCoordinate(input) {
|
|
|
879
879
|
return DEFINITION_KEY.test(input) || CORE_KEY.test(input) || MEMBER_KEY.test(input);
|
|
880
880
|
}
|
|
881
881
|
|
|
882
|
-
// ../node_modules/.pnpm/@astrale-os+kernel-dsl@1.0.0-beta.
|
|
882
|
+
// ../node_modules/.pnpm/@astrale-os+kernel-dsl@1.0.0-beta.6/node_modules/@astrale-os/kernel-dsl/dist/v1/addressing/class-key.js
|
|
883
883
|
function ClassKey(input) {
|
|
884
884
|
if (!ClassKey.is(input)) {
|
|
885
885
|
throw new TypeError(`Invalid canonical ClassKey: ${JSON.stringify(input)}.`);
|
|
@@ -914,7 +914,7 @@ function ClassKey(input) {
|
|
|
914
914
|
ClassKey2.ref = ref;
|
|
915
915
|
})(ClassKey || (ClassKey = {}));
|
|
916
916
|
|
|
917
|
-
// ../node_modules/.pnpm/@astrale-os+kernel-dsl@1.0.0-beta.
|
|
917
|
+
// ../node_modules/.pnpm/@astrale-os+kernel-dsl@1.0.0-beta.6/node_modules/@astrale-os/kernel-dsl/dist/v1/addressing/method-key.js
|
|
918
918
|
function MethodKey(input) {
|
|
919
919
|
if (!MethodKey.is(input)) {
|
|
920
920
|
throw new TypeError(`Invalid canonical MethodKey: ${JSON.stringify(input)}.`);
|
|
@@ -955,7 +955,7 @@ function MethodKey(input) {
|
|
|
955
955
|
MethodKey2.address = address;
|
|
956
956
|
})(MethodKey || (MethodKey = {}));
|
|
957
957
|
|
|
958
|
-
// ../node_modules/.pnpm/@astrale-os+kernel-dsl@1.0.0-beta.
|
|
958
|
+
// ../node_modules/.pnpm/@astrale-os+kernel-dsl@1.0.0-beta.6/node_modules/@astrale-os/kernel-dsl/dist/v1/addressing/property-key.js
|
|
959
959
|
function PropertyKey(input) {
|
|
960
960
|
if (!PropertyKey.is(input)) {
|
|
961
961
|
throw new TypeError(`Invalid canonical PropertyKey: ${JSON.stringify(input)}.`);
|
|
@@ -1413,7 +1413,7 @@ var FRONTENDS = [
|
|
|
1413
1413
|
{
|
|
1414
1414
|
value: "react",
|
|
1415
1415
|
label: "React",
|
|
1416
|
-
hint: "
|
|
1416
|
+
hint: "Vite React application with TanStack Router; Shell integration is optional"
|
|
1417
1417
|
},
|
|
1418
1418
|
{
|
|
1419
1419
|
value: "custom",
|
|
@@ -1502,9 +1502,9 @@ async function main() {
|
|
|
1502
1502
|
}
|
|
1503
1503
|
let pm = flags.pm;
|
|
1504
1504
|
if (!pm) {
|
|
1505
|
-
const detected = detectPm();
|
|
1506
1505
|
if (headless) pm = "pnpm";
|
|
1507
1506
|
else {
|
|
1507
|
+
const detected = detectPm();
|
|
1508
1508
|
const answer = await ve({
|
|
1509
1509
|
message: "Package manager",
|
|
1510
1510
|
initialValue: detected ?? "pnpm",
|
|
@@ -1591,7 +1591,7 @@ function parseFlags(argv) {
|
|
|
1591
1591
|
else if (a === "--instance" || a.startsWith("--instance="))
|
|
1592
1592
|
throw new TypeError(INSTANCE_REMOVED);
|
|
1593
1593
|
else if (a.startsWith("-")) throw new TypeError(`Unknown option "${a}".`);
|
|
1594
|
-
else
|
|
1594
|
+
else flags.positional.push(a);
|
|
1595
1595
|
}
|
|
1596
1596
|
return flags;
|
|
1597
1597
|
}
|
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.185",
|
|
4
4
|
"description": "Scaffold a standalone Astrale domain — npm create astrale-domain",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"astrale",
|
|
@@ -30,14 +30,14 @@
|
|
|
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.185",
|
|
34
|
+
"@astrale-os/adapter-cloudflare": "0.5.0-beta.192",
|
|
35
35
|
"@clack/prompts": "^0.11.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@astrale-os/kernel-dsl": "1.0.0-beta.
|
|
38
|
+
"@astrale-os/kernel-dsl": "1.0.0-beta.6",
|
|
39
39
|
"@astrale-os/ox": "0.1.4",
|
|
40
|
-
"@astrale-os/sdk": "0.6.0-beta.
|
|
40
|
+
"@astrale-os/sdk": "0.6.0-beta.37",
|
|
41
41
|
"@types/node": "^24.0.0",
|
|
42
42
|
"esbuild": "^0.28.2",
|
|
43
43
|
"oxfmt": "0.63.0",
|
package/template/CLAUDE.md
CHANGED
|
@@ -44,8 +44,8 @@ with the Cloudflare adapter they live in the platform's dispatch namespace, wher
|
|
|
44
44
|
deploys. Do not add a parallel tunnel, install loop, frontend watcher, or shutdown uninstall. Do not
|
|
45
45
|
declare `installation` on a Project Environment, nor `instance`, `signingIdentity`, or `organization`
|
|
46
46
|
in `astrale()`:
|
|
47
|
-
each is refused.
|
|
48
|
-
`
|
|
47
|
+
each is refused. `cloudflare()` requires `namespace` and refuses `signingIdentity`, `route` and
|
|
48
|
+
`workerName`: do not add them.
|
|
49
49
|
|
|
50
50
|
Domain projects do not contain `.spec` directories. Do not add one: public SDK types, package
|
|
51
51
|
facades, the Domain knowledge rules, and executable tests are the contract guardrails. Import Core
|