@useavalon/avalon 0.1.0 → 0.1.1
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/mod.ts +6 -5
- package/package.json +6 -2
package/mod.ts
CHANGED
|
@@ -164,12 +164,13 @@ export { asIsland } from './src/types/as-island.ts';
|
|
|
164
164
|
export { generateIslandTypes, watchAndGenerateTypes } from './src/build/island-types-generator.ts';
|
|
165
165
|
export type { IslandTypeGeneratorOptions, TypeGenerationResult } from './src/build/island-types-generator.ts';
|
|
166
166
|
|
|
167
|
-
// Build command
|
|
168
|
-
// Note:
|
|
169
|
-
//
|
|
167
|
+
// Build command
|
|
168
|
+
// Note: The build function is only available in the monorepo development environment.
|
|
169
|
+
// End users should use the CLI or Vite build commands directly.
|
|
170
170
|
export async function build(_options?: Record<string, unknown>) {
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
throw new Error(
|
|
172
|
+
'avalon build() is not available in the published package. Use `vite build` or the Avalon CLI instead.',
|
|
173
|
+
);
|
|
173
174
|
}
|
|
174
175
|
|
|
175
176
|
// Middleware system (Nitro-aligned)
|
package/package.json
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useavalon/avalon",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Multi-framework islands architecture for the modern web",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"repository":
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/useAvalon/Avalon.git",
|
|
10
|
+
"directory": "packages/avalon"
|
|
11
|
+
},
|
|
8
12
|
"homepage": "https://useavalon.dev",
|
|
9
13
|
"keywords": ["avalon", "islands", "ssr", "vite", "preact", "multi-framework", "hydration"],
|
|
10
14
|
"exports": {
|