circuit-json-to-lbrn 0.0.50 → 0.0.52

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.
@@ -0,0 +1,29 @@
1
+ name: 'Close stale issues and PRs'
2
+ on:
3
+ schedule:
4
+ - cron: '30 1 * * *' # Runs at 1:30 AM UTC every day
5
+
6
+ jobs:
7
+ stale:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/stale@v9
11
+ with:
12
+ # Issues config
13
+ stale-issue-message: 'This issue has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.'
14
+ close-issue-message: 'This issue was closed because it has been inactive for 14 days since being marked as stale.'
15
+ days-before-issue-stale: 60
16
+ days-before-issue-close: 14
17
+
18
+ # Pull request config
19
+ stale-pr-message: 'This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.'
20
+ close-pr-message: 'This PR was closed because it has been inactive for 1 day since being marked as stale.'
21
+ days-before-pr-stale: 2
22
+ days-before-pr-close: 1
23
+
24
+ # General config
25
+ exempt-issue-labels: 'pinned,security,help-wanted'
26
+ exempt-pr-labels: 'pinned,security,help-wanted'
27
+ stale-issue-label: 'no-issue-activity'
28
+ stale-pr-label: 'no-pr-activity'
29
+ operations-per-run: 100
package/dist/index.js CHANGED
@@ -2233,8 +2233,7 @@ var addRectPcbCutout = (cutout, ctx) => {
2233
2233
  centerY,
2234
2234
  width: cutout.width,
2235
2235
  height: cutout.height,
2236
- borderRadius: 0,
2237
- // no border radius for cutouts
2236
+ borderRadius: cutout.corner_radius,
2238
2237
  segments: 4,
2239
2238
  // segments
2240
2239
  rotation
@@ -23,7 +23,7 @@ export const addRectPcbCutout = (
23
23
  centerY,
24
24
  width: cutout.width,
25
25
  height: cutout.height,
26
- borderRadius: 0, // no border radius for cutouts
26
+ borderRadius: cutout.corner_radius,
27
27
  segments: 4, // segments
28
28
  rotation,
29
29
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "circuit-json-to-lbrn",
3
3
  "main": "dist/index.js",
4
- "version": "0.0.50",
4
+ "version": "0.0.52",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "start": "bun run site/index.html",
@@ -17,7 +17,7 @@
17
17
  "@tscircuit/circuit-json-util": "^0.0.72",
18
18
  "@types/bun": "latest",
19
19
  "bun-match-svg": "^0.0.14",
20
- "circuit-json": "^0.0.316",
20
+ "circuit-json": "^0.0.359",
21
21
  "circuit-json-to-connectivity-map": "^0.0.22",
22
22
  "circuit-to-svg": "^0.0.304",
23
23
  "schematic-symbols": "^0.0.202",