fusee-framework 1.1.0 → 1.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/README.md +1 -1
- package/app/components/Counter.ts +0 -1
- package/app/components/CounterSection.ts +0 -1
- package/app/routes/Home.ts +0 -1
- package/app/routes/TestFor.ts +0 -2
- package/auto-imports.d.ts +8 -1
- package/framework/bin/create-fusee.js +1 -3
- package/framework/index.js +1 -0
- package/framework/types/index.d.ts +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Fusée Framework 🚀
|
|
2
|
-
**v1.1.
|
|
2
|
+
**v1.1.1 — Signals-First JS Framework | Atomic Reactivity | Peak Performance**
|
|
3
3
|
|
|
4
4
|
Fusée is a custom, high-performance fine-grained reactive JavaScript framework built for speed and simplicity. It features a recursive, non-greedy compiler, a signals-based reactivity engine, and a comprehensive CLI for instant application scaffolding.
|
|
5
5
|
|
package/app/routes/Home.ts
CHANGED
package/app/routes/TestFor.ts
CHANGED
package/auto-imports.d.ts
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
// noinspection JSUnusedGlobalSymbols
|
|
5
|
+
// Generated by unplugin-auto-import
|
|
6
|
+
// biome-ignore lint: disable
|
|
7
|
+
export {}
|
|
2
8
|
declare global {
|
|
3
9
|
const batch: typeof import('fusee-framework').batch
|
|
4
10
|
const computed: typeof import('fusee-framework').computed
|
|
5
11
|
const defineComponent: typeof import('fusee-framework').defineComponent
|
|
6
12
|
const effect: typeof import('fusee-framework').effect
|
|
7
13
|
const mountOutlet: typeof import('fusee-framework').mountOutlet
|
|
14
|
+
const mountTemplate: typeof import('fusee-framework').mountTemplate
|
|
8
15
|
const onMount: typeof import('fusee-framework').onMount
|
|
9
16
|
const onUnmount: typeof import('fusee-framework').onUnmount
|
|
10
17
|
const signal: typeof import('fusee-framework').signal
|
|
@@ -137,9 +137,7 @@ export default defineConfig({
|
|
|
137
137
|
// 5. Counter component
|
|
138
138
|
const btnStyle = "background:#ff3333; color:white; border:none; width:50px; height:50px; border-radius:15px; cursor:pointer; font-size:1.5rem; transition: 0.2s;";
|
|
139
139
|
const counterContent = choice === 'ts'
|
|
140
|
-
? `
|
|
141
|
-
|
|
142
|
-
interface CounterResult {
|
|
140
|
+
? `interface CounterResult {
|
|
143
141
|
count: Signal<number>
|
|
144
142
|
inc: () => void
|
|
145
143
|
dec: () => void
|
package/framework/index.js
CHANGED
|
@@ -2,3 +2,4 @@
|
|
|
2
2
|
export { signal, computed, effect, batch, untrack } from './core/signal.js'
|
|
3
3
|
export { defineComponent, onMount, onUnmount } from './core/component.js'
|
|
4
4
|
export { createRouter, navigate, mountOutlet } from './router/router.js'
|
|
5
|
+
export { mountTemplate } from './core/compiler.js'
|
|
@@ -4,6 +4,13 @@
|
|
|
4
4
|
export * from './signal'
|
|
5
5
|
export * from './component'
|
|
6
6
|
export * from './router'
|
|
7
|
+
export * from './compiler'
|
|
8
|
+
|
|
9
|
+
declare global {
|
|
10
|
+
type Signal<T = any> = import('./signal').Signal<T>
|
|
11
|
+
type Computed<T = any> = import('./signal').Computed<T>
|
|
12
|
+
type SignalAccessor<T> = import('./signal').SignalAccessor<T>
|
|
13
|
+
}
|
|
7
14
|
|
|
8
15
|
// Re-export as namespace for convenience
|
|
9
16
|
export as namespace Fusee
|