Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

Commit cb99f82

Browse files
superdoc-bot[bot]github-actions[bot]semantic-release-botcaiopizzol
authored
chore: sync stable release to main (#23)
* chore(release): 0.2.0 [skip ci] # [0.2.0](v0.1.0...v0.2.0) (2025-11-13) ### Bug Fixes * force pre-release ([f752754](f752754)) * improve cleanup logic ([#11](#11)) ([01f0bf9](01f0bf9)) * update field ID type and improve field handling ([#14](#14)) ([e0e6d31](e0e6d31)) * update field IDs and categories in README and App component ([61a473d](61a473d)) ### Features * add import functionality for .docx files in the template builder ([#15](#15)) ([42faccc](42faccc)) * enhance exportTemplate functionality with configurable options ([#17](#17)) ([7e2a03d](7e2a03d)) * enhance field handling with mode support in template builder ([#16](#16)) ([d46ab5d](d46ab5d)) * implement viewport clamping for menu positioning in SuperDocTemplateBuilder ([#10](#10)) ([09e82ee](09e82ee)) * chore(release): 0.3.0 [skip ci] # [0.3.0](v0.2.0...v0.3.0) (2025-11-21) ### Bug Fixes * add deduplication for React dependencies in Vite config and clean up package.json ([dc17f23](dc17f23)) * add missing deployment ID in GitHub Pages workflow ([e350b3b](e350b3b)) * update SuperDoc initialization with document mode and enhance Vite config external dependencies ([9e0989a](9e0989a)) ### Features * add getSuperDoc method for accessing SuperDoc API ([#18](#18)) ([ccda4e0](ccda4e0)) * enhance field management with grouping and improved UI ([#19](#19)) ([a64e8b8](a64e8b8)) * chore(release): 0.4.0 [skip ci] # [0.4.0](v0.3.0...v0.4.0) (2025-12-11) ### Bug Fixes * disable comments module + sd update ([#22](#22)) ([79d24c7](79d24c7)) * remove dedupe + add dev react runtime ([#20](#20)) ([830b009](830b009)) ### Features * onexport callback ([#21](#21)) ([c85abc1](c85abc1)) * chore(release): 0.5.0 [skip ci] # [0.5.0](v0.4.0...v0.5.0) (2025-12-16) ### Bug Fixes * demo app ([461c620](461c620)) * demo with dedupe ([75c4184](75c4184)) ### Features * add mode to field def + move from metadata ([4141fda](4141fda)) * chore(release): 1.0.0 [skip ci] # [1.0.0](v0.5.0...v1.0.0) (2026-01-16) * Breaking change: migrate template builder to SuperDoc v1 ([#24](#24)) ([78af7cc](78af7cc)) ### BREAKING CHANGES * - Upgraded `superdoc` to version `1.5.0-next.7` in both `package.json` and `pnpm-lock.yaml`. - Updated React and React DOM versions to `19.2.3`. - Enhanced performance by using `useMemo` for toolbar settings and scheduling callbacks with `queueMicrotask` to avoid blocking rendering. - Various dependency updates in `pnpm-lock.yaml` for improved compatibility and security. * chore: update superdoc version to 1.5.0 in package.json and pnpm-lock.yaml * refactor: streamline field update callbacks in SuperDocTemplateBuilder --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net> Co-authored-by: Caio Pizzol <caiopizzol@icloud.com>
1 parent 9c49f35 commit cb99f82

File tree

2 files changed

+20
-23
lines changed

2 files changed

+20
-23
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@superdoc-dev/template-builder",
3-
"version": "0.1.0",
3+
"version": "1.0.0",
44
"description": "React template builder component for SuperDoc",
55
"type": "module",
66
"main": "./dist/index.js",
@@ -96,4 +96,4 @@
9696
"eslint --fix"
9797
]
9898
}
99-
}
99+
}

vite.config.ts

Lines changed: 18 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,22 @@ import dts from 'vite-plugin-dts';
33
import react from '@vitejs/plugin-react';
44

55
export default defineConfig({
6-
build: {
7-
lib: {
8-
entry: 'src/index.tsx',
9-
formats: ['es', 'cjs'],
10-
fileName: (format) => (format === 'es' ? 'index.mjs' : 'index.js'),
11-
},
12-
rollupOptions: {
13-
external: ['react', 'react-dom', 'react/jsx-runtime', 'react/jsx-dev-runtime', 'superdoc'],
14-
},
6+
build: {
7+
lib: {
8+
entry: 'src/index.tsx',
9+
formats: ['es', 'cjs'],
10+
fileName: (format) => (format === 'es' ? 'index.mjs' : 'index.js'),
1511
},
16-
plugins: [
17-
react(),
18-
dts()
19-
],
20-
test: {
21-
environment: 'jsdom',
22-
setupFiles: ['./src/test/setup.ts'],
23-
globals: true,
24-
clearMocks: true,
25-
restoreMocks: true
26-
}
27-
});
12+
rollupOptions: {
13+
external: ['react', 'react-dom', 'react/jsx-runtime', 'react/jsx-dev-runtime', 'superdoc'],
14+
},
15+
},
16+
plugins: [react(), dts()],
17+
test: {
18+
environment: 'jsdom',
19+
setupFiles: ['./src/test/setup.ts'],
20+
globals: true,
21+
clearMocks: true,
22+
restoreMocks: true,
23+
},
24+
});

0 commit comments

Comments
 (0)