@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.
Files changed (2) hide show
  1. package/mod.ts +6 -5
  2. 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 (batteries included)
168
- // Note: This is exported as a function that dynamically imports the build module
169
- // to avoid top-level await issues when SSR loading modules that import from @useavalon/avalon
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
- const { build: buildFn } = await import('../../scripts/build.ts');
172
- return buildFn();
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.0",
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": "github:useAvalon/Avalon",
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": {