create-astrale-domain 0.3.0-beta.6 → 0.3.0-beta.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-astrale-domain",
3
- "version": "0.3.0-beta.6",
3
+ "version": "0.3.0-beta.7",
4
4
  "description": "Scaffold a standalone Astrale domain — npm create astrale-domain",
5
5
  "keywords": [
6
6
  "astrale",
@@ -22,8 +22,8 @@
22
22
  "type": "module",
23
23
  "dependencies": {
24
24
  "@clack/prompts": "^0.11.0",
25
- "@astrale-os/adapter-astrale": "^0.5.0-beta.6",
26
- "@astrale-os/adapter-cloudflare": "^0.5.0-beta.13"
25
+ "@astrale-os/adapter-astrale": "^0.5.0-beta.7",
26
+ "@astrale-os/adapter-cloudflare": "^0.5.0-beta.14"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@astrale-os/ox": ">=0.1.0 <1.0.0",
@@ -34,7 +34,7 @@
34
34
  "oxlint": "latest",
35
35
  "typescript": "~6.0.1-rc",
36
36
  "vitest": "^3.0.0",
37
- "@astrale-os/sdk": "^0.5.0-beta.10"
37
+ "@astrale-os/sdk": "^0.5.0-beta.11"
38
38
  },
39
39
  "engines": {
40
40
  "node": ">=22"
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "astrale-frontend",
3
+ "private": true,
4
+ "type": "module"
5
+ }
@@ -1,10 +1,23 @@
1
1
  import tailwindcss from '@tailwindcss/vite'
2
2
  import { tanstackRouter } from '@tanstack/router-plugin/vite'
3
3
  import react from '@vitejs/plugin-react'
4
+ import { fileURLToPath } from 'node:url'
4
5
  import { defineConfig } from 'vite'
5
6
 
6
7
  export default defineConfig({
7
8
  root: 'frontend',
9
+ resolve: {
10
+ alias: [
11
+ {
12
+ find: /^#schema$/,
13
+ replacement: fileURLToPath(new URL('./schema/index.ts', import.meta.url)),
14
+ },
15
+ {
16
+ find: /^#ui\//,
17
+ replacement: fileURLToPath(new URL('./ui/', import.meta.url)),
18
+ },
19
+ ],
20
+ },
8
21
  plugins: [
9
22
  tanstackRouter({
10
23
  target: 'react',
@@ -1,3 +1,6 @@
1
+ packages:
2
+ - 'frontend'
3
+
1
4
  # pnpm blocks dependency build scripts by default; these need their postinstall
2
5
  # to run (workerd is wrangler's runtime — without it `pnpm dev`/`pnpm prod`
3
6
  # fail). Internal guarded preinstalls are explicitly denied because they are