create-astrale-domain 0.3.0-beta.95 → 0.3.0-beta.98
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 +45 -0
- package/package.json +4 -4
- package/template/tests/datasets/demo.ts +21 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.0-beta.98](https://github.com/astrale-os/sdk/compare/create-astrale-domain-v0.3.0-beta.97...create-astrale-domain-v0.3.0-beta.98) (2026-09-02)
|
|
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.98
|
|
11
|
+
* @astrale-os/adapter-cloudflare bumped to 0.5.0-beta.105
|
|
12
|
+
* devDependencies
|
|
13
|
+
* @astrale-os/sdk bumped to 0.5.0-beta.102
|
|
14
|
+
|
|
15
|
+
## [0.3.0-beta.97](https://github.com/astrale-os/sdk/compare/create-astrale-domain-v0.3.0-beta.96...create-astrale-domain-v0.3.0-beta.97) (2026-09-02)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### ⚠ BREAKING CHANGES
|
|
19
|
+
|
|
20
|
+
* require defineProject and add demo Datasets ([#387](https://github.com/astrale-os/sdk/issues/387))
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* require defineProject and add demo Datasets ([#387](https://github.com/astrale-os/sdk/issues/387)) ([106cf90](https://github.com/astrale-os/sdk/commit/106cf9019c75a85c413249748da07778a672aeca))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Dependencies
|
|
28
|
+
|
|
29
|
+
* The following workspace dependencies were updated
|
|
30
|
+
* dependencies
|
|
31
|
+
* @astrale-os/adapter-astrale bumped to 0.5.0-beta.97
|
|
32
|
+
* @astrale-os/adapter-cloudflare bumped to 0.5.0-beta.104
|
|
33
|
+
* devDependencies
|
|
34
|
+
* @astrale-os/sdk bumped to 0.5.0-beta.101
|
|
35
|
+
|
|
36
|
+
## [0.3.0-beta.96](https://github.com/astrale-os/sdk/compare/create-astrale-domain-v0.3.0-beta.95...create-astrale-domain-v0.3.0-beta.96) (2026-09-02)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Dependencies
|
|
40
|
+
|
|
41
|
+
* The following workspace dependencies were updated
|
|
42
|
+
* dependencies
|
|
43
|
+
* @astrale-os/adapter-astrale bumped to 0.5.0-beta.96
|
|
44
|
+
* @astrale-os/adapter-cloudflare bumped to 0.5.0-beta.103
|
|
45
|
+
* devDependencies
|
|
46
|
+
* @astrale-os/sdk bumped to 0.5.0-beta.100
|
|
47
|
+
|
|
3
48
|
## [0.3.0-beta.95](https://github.com/astrale-os/sdk/compare/create-astrale-domain-v0.3.0-beta.94...create-astrale-domain-v0.3.0-beta.95) (2026-09-01)
|
|
4
49
|
|
|
5
50
|
|
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.98",
|
|
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.98",
|
|
34
|
+
"@astrale-os/adapter-cloudflare": "0.5.0-beta.105",
|
|
35
35
|
"@clack/prompts": "^0.11.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@astrale-os/kernel-dsl": "0.2.0-beta.23",
|
|
39
39
|
"@astrale-os/ox": "0.1.3",
|
|
40
|
-
"@astrale-os/sdk": "0.5.0-beta.
|
|
40
|
+
"@astrale-os/sdk": "0.5.0-beta.102",
|
|
41
41
|
"@types/node": "^22.0.0",
|
|
42
42
|
"esbuild": "^0.28.2",
|
|
43
43
|
"oxfmt": "0.63.0",
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { defineDataset } from '@astrale-os/sdk/testing'
|
|
2
|
+
|
|
3
|
+
import { schema } from '#schema'
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Demo facts the Domain Studio renders while you build the domain. Declared under `tests/` and
|
|
7
|
+
* referenced lazily from `astrale.config.ts`, so they never reach a Build, a Release, or an
|
|
8
|
+
* installation. Author them with the resolved Classes of `schema`, for example:
|
|
9
|
+
*
|
|
10
|
+
* graph({ classes: { Item, contains }, node, edge }) {
|
|
11
|
+
* const first = node(Item, { props: { name: 'First item' } })
|
|
12
|
+
* const second = node(Item, { props: { name: 'Second item' } })
|
|
13
|
+
* edge(contains, first, second)
|
|
14
|
+
* return { first }
|
|
15
|
+
* }
|
|
16
|
+
*/
|
|
17
|
+
export default defineDataset(schema, {
|
|
18
|
+
id: 'demo',
|
|
19
|
+
title: 'Demo data',
|
|
20
|
+
graph() {},
|
|
21
|
+
})
|