Skip to content

Commit

Permalink
Merge pull request #9 from acrool/main
Browse files Browse the repository at this point in the history
fix dep github action yml
  • Loading branch information
imagine10255 authored Oct 27, 2024
2 parents 2e6be47 + 592c1d2 commit eed04cf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- name: Replace local links with actual versions
run: |
sed -i 's#"@acrool/react-modal": "link:.."#"@acrool/react-modal": "latest"#' package.json
sed -i 's#"framer-motion": "link:../node_modules/framer-motion"#"framer-motion": "^11.11.8"#' package.json
sed -i 's#"react": "link:../node_modules/react"#"react": "^18.0.0"#' package.json
sed -i 's#"react-dom": "link:../node_modules/react-dom"#"react-dom": "^18.0.0"#' package.json
Expand Down
4 changes: 3 additions & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"pages:deploy": "NODE_VERSION=18 yarn build-storybook && wrangler pages deploy ./storybook-static --project-name=acrool-react-modal --branch main"
},
"resolutions": {
"styled-components": "5.3.9"
"styled-components": "5.3.9",
"framer-motion": "11.11.8"
},
"dependencies": {
"@acrool/js-utils": "^3.2.12",
Expand All @@ -37,6 +38,7 @@
"@types/styled-components": "^5.1.26",
"@vitejs/plugin-react-swc": "^3.0.0",
"dom-to-image": "^2.6.0",
"framer-motion": "link:../node_modules/framer-motion",
"react": "link:../node_modules/react",
"react-dom": "link:../node_modules/react-dom",
"sass": "^1.77.1",
Expand Down
13 changes: 12 additions & 1 deletion example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2788,6 +2788,17 @@ [email protected]:
resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811"
integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==

[email protected]:
version "11.11.8"
resolved "https://registry.yarnpkg.com/framer-motion/-/framer-motion-11.11.8.tgz#e402c9371c7fe132d22ec1b2349a2d23ed98a81d"
integrity sha512-mnGQNEoz99GtFXBBPw+Ag5K4FcfP5XrXxrxHz+iE4Lmg7W3sf2gKmGuvfkZCW/yIfcdv5vJd6KiSPETH1Pw68Q==
dependencies:
tslib "^2.4.0"

"framer-motion@link:../node_modules/framer-motion":
version "0.0.0"
uid ""

[email protected]:
version "0.5.2"
resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7"
Expand Down Expand Up @@ -4109,7 +4120,7 @@ tsconfig-paths@^4.2.0:
minimist "^1.2.6"
strip-bom "^3.0.0"

tslib@^2.0.1:
tslib@^2.0.1, tslib@^2.4.0:
version "2.8.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.0.tgz#d124c86c3c05a40a91e6fdea4021bd31d377971b"
integrity sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==
Expand Down

0 comments on commit eed04cf

Please sign in to comment.