Skip to content

Remove unnecessary arizona-svelte JS files from template#23

Merged
williamthome merged 1 commit intomainfrom
feat/remove-unnecessary-svelte-template-files
Sep 29, 2025
Merged

Remove unnecessary arizona-svelte JS files from template#23
williamthome merged 1 commit intomainfrom
feat/remove-unnecessary-svelte-template-files

Conversation

@williamthome
Copy link
Member

These JavaScript files are now provided by the arizona-framework/svelte npm package, making them redundant in the template.

These JavaScript files are now provided by the @arizona-framework/svelte
npm package, making them redundant in the template:

Removed files:
- arizona-svelte.js - Core ArizonaSvelte class
- arizona-svelte-discovery.js - Component discovery system
- arizona-svelte-lifecycle.js - Component lifecycle management
- arizona-svelte-registry.js - Component registry system
- Static build artifacts (app.css, app.js, app.js.map)

Benefits:
- Template is now significantly lighter (7,445 lines removed)
- Users get maintained, tested code from the library
- No code duplication between template and library
- Automatic updates through npm package versioning
- Cleaner template structure focused on project setup

Templates now use the library for all runtime functionality while focusing
on providing the optimal project structure and configuration.
@williamthome williamthome merged commit 11d19c2 into main Sep 29, 2025
4 checks passed
@williamthome williamthome deleted the feat/remove-unnecessary-svelte-template-files branch September 29, 2025 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant