Skip to content

Commit b1500dc

Browse files
committed
Update postpublish script
1 parent 59e37d5 commit b1500dc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"ajv": "^8.16.0",
2626
"firebase": "^10.13.0",
2727
"framer-motion": "^11.0.3",
28-
"json-edit-react": "1.25.5",
28+
"json-edit-react": "^1.25.5",
2929
"json5": "^2.2.3",
3030
"react": "^18.2.0",
3131
"react-datepicker": "^7.5.0",

demo/yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3651,7 +3651,7 @@ jsesc@^3.0.2:
36513651
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-3.1.0.tgz#74d335a234f67ed19907fdadfac7ccf9d409825d"
36523652
integrity sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==
36533653

3654-
3654+
json-edit-react@^1.25.5:
36553655
version "1.25.5"
36563656
resolved "https://registry.yarnpkg.com/json-edit-react/-/json-edit-react-1.25.5.tgz#903bd853c02e1a42e65205c8d576b14c6316b925"
36573657
integrity sha512-qJ1Jcfzu0gzt5gBSRuksOp2e7CFwqosFqz3j6P8Vr/VfGM0N2Gr9pkGnCgH1HSy3k5bdtriyY0XEaNHJDl9pwA==

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"postbuild": "node ./scripts/cleanBuildTypes.cjs",
3232
"prepareReadme": "python3 scripts/build_npm_readme.py",
3333
"prepublishOnly": "yarn build && yarn prepareReadme && python3 scripts/use_npm_readme.py prepare",
34-
"postpublish": "python3 scripts/use_npm_readme.py restore",
34+
"postpublish": "python3 scripts/use_npm_readme.py restore && cd demo && yarn add json-edit-react@latest",
3535
"compile": "rimraf ./build && tsc",
3636
"release": "yarn publish",
3737
"release-demo": "cd demo && yarn deploy"

0 commit comments

Comments
 (0)