Commit graph

146 commits

Author SHA1 Message Date
InkWeave Bot
5807fe8199 chore(release): v2.3.2 2026-05-25 07:46:25 +08:00
田陆
16873a03ff
fix(deps): update @inkweave/solidjs to v2.4.2 (#6)
@inkweave/solidjs@2.4.2 fixes a global CSS pollution issue reported
in an issue. Since the fix is upstream, only the lockfile needs to
be updated.
2026-05-25 07:45:53 +08:00
Uglyboy
38558819ba chore(deps): add bun-types and bun lockfile 2026-05-18 10:35:45 +08:00
Uglyboy
67faea3f63 docs(readme): update dependency reference from react to solidjs 2026-05-18 10:35:39 +08:00
InkWeave Bot
d619f92d72 chore(release): v2.3.1 2026-05-17 20:31:50 +08:00
Uglyboy
ee605e5bdc feat(player): add StatusBar and frontmatter-driven layout switching
- Render StatusBar component from frontmatter statusBar config
- Support layout switching via frontmatter display field
- Register reignsPlugin layout via PluginRegistry
- Refactor view lifecycle to read frontmatter on file load
- Expose getPluginSettings for external access
2026-05-17 20:31:10 +08:00
InkWeave Bot
672d91d5a4 chore(release): v2.3.0 2026-05-08 16:25:56 +08:00
Uglyboy
ba3e5d84e0 refactor(core): migrate UI framework from Svelte to SolidJS
- Replace App.svelte with App.tsx SolidJS component
- Update view layer to use SolidJS render/dispose API
- Switch plugin imports from @inkweave/plugins/svelte to solidjs
- Adapt test stubs for framework-agnostic plugin loading
- Update build config (vite, tsconfig) for SolidJS JSX
- Replace svelte deps with solid-js/vite-plugin-solid
2026-05-08 16:25:18 +08:00
InkWeave Bot
b34f1e9826 chore(release): v2.2.0 2026-05-06 09:17:40 +08:00
Uglyboy
a0b97b90db chore(config): migrate build toolchain from React to Svelte
- Replace React/Vite plugins with Svelte plugin
- Update tsconfig presets for Svelte
- Clean up obsolete dependencies and build config
- Add *.tsbuildinfo to .gitignore
2026-05-06 09:15:55 +08:00
Uglyboy
69c68b77bb refactor(view): migrate view layer from React to Svelte
- Replace React components with App.svelte
- Replace React view.tsx with Svelte-based view.ts
- Update plugins import path for Svelte compatibility
- Remove old React components and styles
2026-05-06 08:00:25 +08:00
Uglyboy
e32624e5e7 refactor(utils): remove createSelectors wrapper from Zustand stores
- Export useError store directly without createSelectors
- Export useFile store directly without createSelectors
2026-05-06 08:00:17 +08:00
Uglyboy
a75c9c784e refactor(core): migrate from Plugins to PluginRegistry API
- Rename Plugins to PluginRegistry in main.ts and settings.ts
- Update test file with PluginRegistry.clear() cleanup
2026-05-06 08:00:11 +08:00
Uglyboy
49d9008054 docs(readme): update build steps for monorepo
- Replace npm/yarn setup with monorepo bun workflow
- Add git submodule initialization step
- Add lint/type-check command
2026-05-01 16:24:57 +08:00
InkWeave Bot
4191758624 chore(release): v2.1.0 2026-04-30 20:14:41 +08:00
Uglyboy
b902888eb4 chore(deps): add tsconfig preset packages 2026-04-30 20:13:56 +08:00
Uglyboy
a47c2d2d5a feat(plugins): migrate deps to core, add class-tag UI
- Replace local BFS resolver in deps.ts with Plugins.resolveDependencies
- Rename utils/deps to utils/plugins (registry-only module)
- Update settings.ts to use @inkweave/core Plugins API
- Add class-tag plugin toggle and i18n translations (en, pl, zh_cn)
- Update tests to use core Plugins.resolveDependencies API
2026-04-30 14:41:27 +08:00
Uglyboy
165e74bb2c chore(mocks): remove unused obsidian test mocks 2026-04-30 09:02:52 +08:00
Uglyboy
186b2fa762 fix(utils): rename Error type to ErrorState to avoid global shadowing 2026-04-30 09:02:46 +08:00
Uglyboy
f9742800c3 refactor(utils): remove barrel exports, use direct imports 2026-04-30 09:02:41 +08:00
Uglyboy
3b1a19cd0c feat(plugins): add plugin dependency resolution system
- Centralize plugin imports in utils/deps.ts with dependency graph
- Cascade dependencies when toggling plugins (e.g., auto-save requires memory)
- Rename plugin setting keys from snake_case to kebab-case to match plugin IDs
- Update settings toggle to use resolve() for dependency-aware behavior
- Fix Object.assign to avoid mutating DEFAULT_SETTINGS
2026-04-30 09:02:35 +08:00
Uglyboy
a3ddbeeb66 chore(config): remove unused tooling and streamline build setup 2026-04-28 20:52:35 +08:00
Uglyboy
50e19157e0 feat(i18n): add restart menu translations for zh_cn 2026-04-28 20:52:30 +08:00
Uglyboy
8386b7eb58 refactor(core): improve type safety with proper type annotations 2026-04-28 20:52:24 +08:00
Uglyboy
f438bb8026 refactor(components): replace InkWeaveMenu with CommandBar
- Remove custom InkWeaveMenu and InkWeaveMenuModal components
- Integrate CommandBar from @inkweave/react with custom styling
- Add CSS module for modal styling
- Remove legacy menu styles from styles.custom.css
- Update i18n keys to match CommandBar component
- Fix i18n type for undefined key lookup
2026-04-28 12:06:08 +08:00
Uglyboy
0d2b43e8d9 chore(deps): upgrade @inkweave packages to v2.0.4
- Upgrade @inkweave/core, @inkweave/plugins, @inkweave/react from ^1.6.0 to 2.0.4
- Remove @inkweave/web dependency
- Add react and react-dom as direct dependencies
- Bump dev dependencies: typescript 6.0.0, @types/node 25.0.0 and others
- Update tslib and other transitive dependencies
2026-04-28 12:05:58 +08:00
Uglyboy
04f826cb6c chore(release): update changelog and fix release script tag reference
- Add v2.0.7 changelog entry
- Fix release.mjs to use version tag instead of last git tag
2026-04-24 10:10:03 +08:00
Uglyboy
85f30ef468 refactor(plugin-core): migrate to Plugins API and consolidate module structure
- Replace applySettings() with @inkweave/core Plugins API
- Move Settings/DEFAULT_SETTINGS types to types.ts
- Merge SettingsTab from settingsTab.ts into settings.ts
- Replace InkWeavePlayer component with render() function in components/index.tsx
- Rename storyCompiler.ts to compile.ts and add utils/index.ts
- Update view.tsx to use new render() and compile() APIs
2026-04-24 10:10:00 +08:00
Uglyboy
67825d6792 chore(deps): upgrade @inkweave packages to v1.6.0 and remove unused deps
- Upgrade @inkweave/core, @inkweave/plugins, @inkweave/react from 1.5.1 to 1.6.0
- Add @inkweave/web dependency
- Remove inkjs and zustand dependencies
- Remove .npmrc with tag-version-prefix config
2026-04-24 10:09:57 +08:00
InkWeave Bot
aa79c7f0c5 chore(release): v2.0.7 2026-04-22 06:23:07 +08:00
Uglyboy
6972e91405 refactor(code): various code improvements and fixes 2026-04-22 06:22:15 +08:00
Uglyboy
48421feda2 chore(deps): update dependencies and release workflow 2026-04-22 06:22:08 +08:00
Uglyboy
44362e9485 feat(types): add CSS modules type declarations 2026-04-22 06:22:02 +08:00
Uglyboy
5d82a7e2b7 refactor(view): rename view.ts to view.tsx for React component 2026-04-22 06:21:56 +08:00
Uglyboy
a9210ddf78 refactor(plugin-entry): rename plugin.ts to main.ts and update config 2026-04-22 06:21:49 +08:00
Uglyboy
be8bcc32d5 chore(config): improve view lifecycle and update configuration 2026-04-21 10:44:07 +08:00
Uglyboy
1e370dc4c2 chore(deps): upgrade dependencies to latest versions 2026-04-21 10:43:58 +08:00
Uglyboy
d322ad203f refactor(plugin-architecture): simplify plugin architecture by removing features system 2026-04-21 10:43:48 +08:00
Uglyboy
6c691c08ef chore(changelog): update changelog script and release notes for v2.0.6 2026-04-18 06:36:22 +08:00
InkWeave Bot
8eca153178 chore(release): v2.0.6 2026-04-18 06:25:14 +08:00
Uglyboy
b8be4e8afd chore(release): update dependencies and release script 2026-04-18 06:24:45 +08:00
InkWeave Bot
ef64c016d2 chore(release): v2.0.5 2026-04-18 06:09:51 +08:00
Uglyboy
b75e90b26d fix(compiler): 移除 YAML frontmatter 避免解析错误 2026-04-08 09:20:06 +08:00
Uglyboy
117563567a chore(changelog): 移除重复的版本记录 2026-04-08 09:20:02 +08:00
InkWeave Bot
f33c226b34 chore(release): v2.0.4 2026-04-08 09:09:38 +08:00
Uglyboy
8864432ec3 chore(deps): switch from jsdom to esbuild and add clean script 2026-04-08 09:09:28 +08:00
InkWeave Bot
d93230dc92 chore(release): v2.0.3 2026-04-08 09:03:52 +08:00
Uglyboy
bbf006fe3a chore(ci): switch build tool from Node.js to Bun 2026-04-08 09:03:31 +08:00
InkWeave Bot
d9b7dedabe chore(release): v2.0.2 2026-04-08 09:00:01 +08:00
Uglyboy
f375bda74d feat(plugin): register ink file extension
Add support for .ink files by registering them as markdown extensions
2026-04-08 08:59:09 +08:00