diff --git a/CHANGELOG.md b/CHANGELOG.md index ac28c7c..4009a41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.3.1 + +- **Works with tsquare 0.13** as well as 0.12 (from 0.12.1). An app that installs tsquare 0.13 now shares one copy with this package instead of getting a second one. Nothing else changed; the tests pass on both 0.12.1 and 0.13.0. + ## 0.3.0 - **The editor and playground are imported from `@tsquare-js/react/editor`,** their own entry point, because they bundle CodeMirror (about 125 KB compressed): apps that import only `@tsquare-js/react` (boards, viewer, react-markdown) don't get it. diff --git a/package-lock.json b/package-lock.json index 62d9a8a..695b1b7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@tsquare-js/react", - "version": "0.3.0", + "version": "0.3.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@tsquare-js/react", - "version": "0.3.0", + "version": "0.3.1", "license": "MIT", "dependencies": { - "tsquare": "^0.12.1" + "tsquare": "^0.12.1 || ^0.13.0" }, "devDependencies": { "@types/jsdom": "^30.0.0", @@ -2740,9 +2740,9 @@ } }, "node_modules/tsquare": { - "version": "0.12.1", - "resolved": "https://registry.npmjs.org/tsquare/-/tsquare-0.12.1.tgz", - "integrity": "sha512-ZVSZaOCFLKQMXuP2njeRriUGoXzclrkS93kH0uqhFZR/ZMO+vCvmLok4XIAiB6tQa+6bpsIMyOxfpZC9iucWlg==", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/tsquare/-/tsquare-0.13.0.tgz", + "integrity": "sha512-zyqL+u84NbAsKzq9A2n9SYsuL91FqJHXNwQV3sJLMcrCwiyXoOJztWfxhB5OQAoe9LJnZ8TWHZkemhKalilTuA==", "license": "MIT", "dependencies": { "@fontsource/inter": "5.3.0", diff --git a/package.json b/package.json index d38f54e..bd1a168 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tsquare-js/react", - "version": "0.3.0", + "version": "0.3.1", "description": "React component for tsquare wireframes: render wireframe text, or the ```tsquare blocks in react-markdown, including while a model's reply is still streaming in.", "keywords": [ "tsquare", @@ -51,7 +51,7 @@ "prepare": "npm run build" }, "dependencies": { - "tsquare": "^0.12.1" + "tsquare": "^0.12.1 || ^0.13.0" }, "peerDependencies": { "react": ">=18"