create-astrale-domain 0.3.0-beta.165 → 0.3.0-beta.166

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 (2) hide show
  1. package/dist/index.js +10 -10
  2. package/package.json +5 -5
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@0.2.0-beta.45/node_modules/@astrale-os/kernel-dsl/dist/v1/addressing/patterns.js
786
+ // ../node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.46/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@0.2.0-beta.45/node_modules/@astrale-os/kernel-dsl/dist/v1/addressing/definition-ref.js
812
+ // ../node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.46/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@0.2.0-beta.45/node_modules/@astrale-os/kernel-dsl/dist/v1/addressing/key.js
848
+ // ../node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.46/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@0.2.0-beta.45/node_modules/@astrale-os/kernel-dsl/dist/v1/addressing/class-key.js
882
+ // ../node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.46/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)}.`);
@@ -898,8 +898,8 @@ function ClassKey(input) {
898
898
  function is(input) {
899
899
  if (typeof input !== "string" || !Key.is(input))
900
900
  return false;
901
- const separator = input.indexOf(":");
902
- return input.slice(separator + 1).startsWith("class.") && !input.includes(".property.") && !input.includes(".method.");
901
+ const coordinate = input.slice(input.indexOf(":") + 1);
902
+ return coordinate.startsWith("class.") && !coordinate.includes(".property.") && !coordinate.includes(".method.");
903
903
  }
904
904
  ClassKey2.is = is;
905
905
  function ref(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@0.2.0-beta.45/node_modules/@astrale-os/kernel-dsl/dist/v1/addressing/method-key.js
917
+ // ../node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.46/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)}.`);
@@ -933,8 +933,8 @@ function MethodKey(input) {
933
933
  function is(input) {
934
934
  if (typeof input !== "string" || !Key.is(input))
935
935
  return false;
936
- const coordinate = input.slice(input.indexOf(":") + 1);
937
- return coordinate.startsWith("class.") && coordinate.includes(".method.");
936
+ const [kind, , member] = input.slice(input.indexOf(":") + 1).split(".");
937
+ return kind === "class" && member === "method";
938
938
  }
939
939
  MethodKey2.is = is;
940
940
  function address(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@0.2.0-beta.45/node_modules/@astrale-os/kernel-dsl/dist/v1/addressing/property-key.js
958
+ // ../node_modules/.pnpm/@astrale-os+kernel-dsl@0.2.0-beta.46/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)}.`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-astrale-domain",
3
- "version": "0.3.0-beta.165",
3
+ "version": "0.3.0-beta.166",
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.165",
34
- "@astrale-os/adapter-cloudflare": "0.5.0-beta.172",
33
+ "@astrale-os/adapter-astrale": "0.5.0-beta.166",
34
+ "@astrale-os/adapter-cloudflare": "0.5.0-beta.173",
35
35
  "@clack/prompts": "^0.11.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@astrale-os/kernel-dsl": "0.2.0-beta.45",
38
+ "@astrale-os/kernel-dsl": "0.2.0-beta.46",
39
39
  "@astrale-os/ox": "0.1.4",
40
- "@astrale-os/sdk": "0.6.0-beta.17",
40
+ "@astrale-os/sdk": "0.6.0-beta.18",
41
41
  "@types/node": "^22.0.0",
42
42
  "esbuild": "^0.28.2",
43
43
  "oxfmt": "0.63.0",