Skip to content
Merged

Dev #196

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release-ducpdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
sudo apt-get update
sudo apt-get install -y clang

- name: Install wasm-pack
run: cargo install wasm-pack --locked
- name: Install wasm-pack (pinned 0.14.x)
run: cargo install wasm-pack --version 0.14.0 --locked --force

# npm 11.5.1 or later must be installed for OIDC to work
- name: Update npm
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-ducsvg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ jobs:
sudo apt-get update
sudo apt-get install -y clang

- name: Install wasm-pack
run: cargo install wasm-pack --locked
- name: Install wasm-pack (pinned 0.14.x)
run: cargo install wasm-pack --version 0.14.0 --locked --force

- name: Install deps
run: bun install
Expand Down
232 changes: 10 additions & 222 deletions bun.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"react": "^19.2.1",
"react-dom": "^19.2.1",
"remark-smartypants": "^3.0.2",
"sst": "^3.17.25",
"sst": "^4.1.3",
"tailwind-merge": "^3.4.0",
"tw-animate-css": "^1.4.0",
"zod": "^3.25.76"
Expand Down
4 changes: 2 additions & 2 deletions packages/ducpdf/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# ducpdf

<p align="center">
<br/>
<a href="https://duc.ducflair.com" target="_blank"><img width="256px" src="https://raw.githubusercontent.com/ducflair/assets/refs/heads/main/src/duc/duc-extended.png" /></a>
Expand All @@ -9,8 +11,6 @@
</p>
</p>

# ducpdf

`ducpdf` is a lightweight adapter for rendering `duc` CAD documents to PDF. It's built on top of `ducjs` and focuses on accurate, standards-compliant PDF output for professional document sharing and printing.

- Convert duc files to PDF documents
Expand Down
21 changes: 18 additions & 3 deletions packages/ducpdf/release.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,23 @@ module.exports = {
"packages/ducjs",
"packages/ducrs"
],
analyzer: { preset: "conventionalcommits" },
notes: { preset: "conventionalcommits" },
// This is the one that controls the version bump (major/minor/patch)
analyzer: {
preset: "conventionalcommits",
parserOpts: {
// Temporarily set to a keyword nobody will use
noteKeywords: ["SKIP_BREAKING_DETECTION"],
},
},

// This controls release notes generation (so "Breaking Changes" sections, etc.)
// If you only change `analyzer`, you might still see BREAKING CHANGE notes in output notes.
notes: {
preset: "conventionalcommits",
parserOpts: {
noteKeywords: ["SKIP_BREAKING_DETECTION"],
},
},
},
],
[
Expand All @@ -23,4 +38,4 @@ module.exports = {
"@semantic-release/github",
],
tagFormat: "ducpdf@${version}",
};
};
3 changes: 2 additions & 1 deletion packages/ducsvg/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# ducsvg

<p align="center">
<br/>
<a href="https://duc.ducflair.com" target="_blank"><img width="256px" src="https://raw.githubusercontent.com/ducflair/assets/refs/heads/main/src/duc/duc-extended.png" /></a>
Expand All @@ -9,7 +11,6 @@
</p>
</p>

# ducsvg

`ducsvg` is a lightweight adapter for rendering `duc` CAD documents to SVG. It’s built on top of `ducjs` and focuses on accurate, standards-compliant SVG output you can embed in browsers or export from Node.js.

Expand Down
19 changes: 17 additions & 2 deletions packages/ducsvg/release.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,23 @@ module.exports = {
"packages/ducjs",
"packages/ducrs",
],
analyzer: { preset: "conventionalcommits" },
notes: { preset: "conventionalcommits" },
// This is the one that controls the version bump (major/minor/patch)
analyzer: {
preset: "conventionalcommits",
parserOpts: {
// Temporarily set to a keyword nobody will use
noteKeywords: ["SKIP_BREAKING_DETECTION"],
},
},

// This controls release notes generation (so "Breaking Changes" sections, etc.)
// If you only change `analyzer`, you might still see BREAKING CHANGE notes in output notes.
notes: {
preset: "conventionalcommits",
parserOpts: {
noteKeywords: ["SKIP_BREAKING_DETECTION"],
},
},
},
],
[
Expand Down