@nuasite/nua 0.47.4 → 0.47.5
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 +7 -7
- package/src/integration.ts +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuasite/nua",
|
|
3
|
-
"version": "0.47.
|
|
3
|
+
"version": "0.47.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"module": "src/index.ts",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"@astrojs/check": "0.9.8",
|
|
39
39
|
"@astrojs/mdx": "5.0.3",
|
|
40
40
|
"@astrojs/sitemap": "3.7.2",
|
|
41
|
-
"@nuasite/checks": "0.47.
|
|
42
|
-
"@nuasite/llm-enhancements": "0.47.
|
|
43
|
-
"@nuasite/cli": "0.47.
|
|
44
|
-
"@nuasite/cms": "0.47.
|
|
45
|
-
"@nuasite/components": "0.47.
|
|
46
|
-
"@nuasite/core": "0.47.
|
|
41
|
+
"@nuasite/checks": "0.47.5",
|
|
42
|
+
"@nuasite/llm-enhancements": "0.47.5",
|
|
43
|
+
"@nuasite/cli": "0.47.5",
|
|
44
|
+
"@nuasite/cms": "0.47.5",
|
|
45
|
+
"@nuasite/components": "0.47.5",
|
|
46
|
+
"@nuasite/core": "0.47.5",
|
|
47
47
|
"@tailwindcss/vite": "^4.2.2",
|
|
48
48
|
"@tailwindcss/typography": "^0.5.19",
|
|
49
49
|
"astro": "6.1.4",
|
package/src/integration.ts
CHANGED
|
@@ -100,6 +100,15 @@ export default function nua(options: NuaIntegrationOptions = {}): AstroIntegrati
|
|
|
100
100
|
},
|
|
101
101
|
vite: {
|
|
102
102
|
plugins: vitePlugins,
|
|
103
|
+
ssr: {
|
|
104
|
+
// Without this, dev-mode SSR externalizes the package and its
|
|
105
|
+
// TS barrel is loaded by the runtime instead of Vite. Under Bun
|
|
106
|
+
// (the nua CLI runtime) the nested `.astro` imports then resolve
|
|
107
|
+
// to file-path strings via Bun's file loader, and Astro renders
|
|
108
|
+
// the components as literal path-named tags — `<Form>` loses its
|
|
109
|
+
// `<form>` wrapper and submits silently do nothing.
|
|
110
|
+
noExternal: ['@nuasite/components'],
|
|
111
|
+
},
|
|
103
112
|
},
|
|
104
113
|
integrations,
|
|
105
114
|
})
|