Skip to content

Commit

Permalink
Merge pull request #7 from acrool/main
Browse files Browse the repository at this point in the history
fix framer-motion dep github action yml
  • Loading branch information
imagine10255 authored Oct 27, 2024
2 parents 2088111 + 40210fa commit 0016516
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
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-block": "link:.."#"@acrool/react-block": "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 @@ -10,7 +10,8 @@
"pages:deploy": "NODE_VERSION=18 yarn build-storybook && wrangler pages deploy ./storybook-static --project-name=acrool-react-block --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 @@ -34,6 +35,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
16 changes: 16 additions & 0 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3700,6 +3700,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 @@ -5639,6 +5650,11 @@ tslib@^2.0.3, tslib@^2.2.0:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.3.tgz#0438f810ad7a9edcde7a241c3d80db693c8cbfe0"
integrity sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==

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==

tween-functions@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/tween-functions/-/tween-functions-1.2.0.tgz#1ae3a50e7c60bb3def774eac707acbca73bbc3ff"
Expand Down

0 comments on commit 0016516

Please sign in to comment.