@tscircuit/schematic-viewer 1.0.0 → 1.0.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/package.json +6 -6
- package/release.config.js +8 -3
- package/src/pages/led-circuit-react.tsx +1 -1
- package/src/pages/led-circuit.tsx +2 -4
- package/tsconfig.json +1 -1
- package/CHANGELOG.md +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tscircuit/schematic-viewer",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"yalc": "npm run build && yalc push"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@tscircuit/react-fiber": "
|
|
14
|
-
"react": "
|
|
13
|
+
"@tscircuit/react-fiber": "*",
|
|
14
|
+
"react": "*"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@babel/core": "^7.18.9",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"@emotion/styled": "^11",
|
|
21
21
|
"@semantic-release/changelog": "^6.0.3",
|
|
22
22
|
"@semantic-release/commit-analyzer": "^10.0.1",
|
|
23
|
+
"@semantic-release/git": "^10.0.1",
|
|
23
24
|
"@semantic-release/github": "^9.0.3",
|
|
24
25
|
"@semantic-release/npm": "^10.0.4",
|
|
25
26
|
"@semantic-release/release-notes-generator": "^11.0.4",
|
|
@@ -42,7 +43,6 @@
|
|
|
42
43
|
"parse-svg-path": "^0.1.2",
|
|
43
44
|
"react": "^18.2.0",
|
|
44
45
|
"react-dom": "^18.2.0",
|
|
45
|
-
"react-no-ssr": "^1.1.0",
|
|
46
46
|
"react-use-measure": "^2.1.1",
|
|
47
47
|
"rectilinear-router": "^1.0.1",
|
|
48
48
|
"semantic-release": "^21.0.6",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"zustand": "^4.0.0"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@tscircuit/builder": "^1.
|
|
59
|
-
"@tscircuit/react-fiber": "
|
|
58
|
+
"@tscircuit/builder": "^1.1.1",
|
|
59
|
+
"@tscircuit/react-fiber": "*",
|
|
60
60
|
"react-error-boundary": "^4.0.4",
|
|
61
61
|
"use-mouse-matrix-transform": "^1.0.2"
|
|
62
62
|
}
|
package/release.config.js
CHANGED
|
@@ -3,8 +3,13 @@ module.exports = {
|
|
|
3
3
|
plugins: [
|
|
4
4
|
"@semantic-release/commit-analyzer",
|
|
5
5
|
"@semantic-release/release-notes-generator",
|
|
6
|
-
"@semantic-release/
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
["@semantic-release/npm", { npmPublish: true }],
|
|
7
|
+
[
|
|
8
|
+
"@semantic-release/git",
|
|
9
|
+
{
|
|
10
|
+
assets: ["package.json"],
|
|
11
|
+
message: "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
9
14
|
],
|
|
10
15
|
}
|
|
@@ -89,10 +89,8 @@ export default () => {
|
|
|
89
89
|
if (!elements) return null
|
|
90
90
|
return (
|
|
91
91
|
<>
|
|
92
|
-
<Schematic elements={elements} />
|
|
93
|
-
<pre
|
|
94
|
-
{JSON.stringify(elements, null, " ")}
|
|
95
|
-
</pre>
|
|
92
|
+
<Schematic style={{ height: 400 }} elements={elements} />
|
|
93
|
+
<pre>{JSON.stringify(elements, null, " ")}</pre>
|
|
96
94
|
</>
|
|
97
95
|
)
|
|
98
96
|
}
|
package/tsconfig.json
CHANGED
package/CHANGELOG.md
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
# 1.0.0 (2023-07-04)
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
### Bug Fixes
|
|
5
|
-
|
|
6
|
-
* add semantic release ([7ccf28b](https://github.com/tscircuit/schematic-viewer/commit/7ccf28b9d4f1e08d6f6a99995e115fe753c072dc))
|
|
7
|
-
* fix types and update react fiber ([f7efa31](https://github.com/tscircuit/schematic-viewer/commit/f7efa31eb48fc9886774356e38803de229eccd71))
|
|
8
|
-
* make easier to grab ([82d4c5f](https://github.com/tscircuit/schematic-viewer/commit/82d4c5fc0fa48281db13a7da5d8a92b6dd6a27b3))
|