Skip to content

Commit c89d9ed

Browse files
authored
Merge pull request #6 from acrool/main
fix framer-motion dep github action yml
2 parents db95980 + e1c79fd commit c89d9ed

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
- name: Replace local links with actual versions
3131
run: |
3232
sed -i 's#"@acrool/react-toaster": "link:.."#"@acrool/react-toaster": "latest"#' package.json
33+
sed -i 's#"framer-motion": "link:../node_modules/framer-motion"#"framer-motion": "^11.11.8"#' package.json
3334
sed -i 's#"react": "link:../node_modules/react"#"react": "^18.0.0"#' package.json
3435
sed -i 's#"react-dom": "link:../node_modules/react-dom"#"react-dom": "^18.0.0"#' package.json
3536

example/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"pages:deploy": "NODE_VERSION=18 yarn build-storybook && wrangler pages deploy ./storybook-static --project-name=acrool-react-toaster --branch main"
1111
},
1212
"resolutions": {
13-
"styled-components": "5.3.9"
13+
"styled-components": "5.3.9",
14+
"framer-motion": "11.11.8"
1415
},
1516
"dependencies": {
1617
"@acrool/js-utils": "^3.2.12",
@@ -34,6 +35,7 @@
3435
"@types/styled-components": "^5.1.26",
3536
"@vitejs/plugin-react-swc": "^3.0.0",
3637
"dom-to-image": "^2.6.0",
38+
"framer-motion": "link:../node_modules/framer-motion",
3739
"react": "link:../node_modules/react",
3840
"react-dom": "link:../node_modules/react-dom",
3941
"sass": "^1.77.1",

example/yarn.lock

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3705,6 +3705,17 @@ [email protected]:
37053705
resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811"
37063706
integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==
37073707

3708+
3709+
version "11.11.8"
3710+
resolved "https://registry.yarnpkg.com/framer-motion/-/framer-motion-11.11.8.tgz#e402c9371c7fe132d22ec1b2349a2d23ed98a81d"
3711+
integrity sha512-mnGQNEoz99GtFXBBPw+Ag5K4FcfP5XrXxrxHz+iE4Lmg7W3sf2gKmGuvfkZCW/yIfcdv5vJd6KiSPETH1Pw68Q==
3712+
dependencies:
3713+
tslib "^2.4.0"
3714+
3715+
"framer-motion@link:../node_modules/framer-motion":
3716+
version "0.0.0"
3717+
uid ""
3718+
37083719
37093720
version "0.5.2"
37103721
resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7"
@@ -5644,6 +5655,11 @@ tslib@^2.0.3, tslib@^2.2.0:
56445655
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.3.tgz#0438f810ad7a9edcde7a241c3d80db693c8cbfe0"
56455656
integrity sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==
56465657

5658+
tslib@^2.4.0:
5659+
version "2.8.0"
5660+
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.0.tgz#d124c86c3c05a40a91e6fdea4021bd31d377971b"
5661+
integrity sha512-jWVzBLplnCmoaTr13V9dYbiQ99wvZRd0vNWaDRg+aVYRcjDF3nDksxFDE/+fkXnKhpnUUkmx5pK/v8mCtLVqZA==
5662+
56475663
tween-functions@^1.2.0:
56485664
version "1.2.0"
56495665
resolved "https://registry.yarnpkg.com/tween-functions/-/tween-functions-1.2.0.tgz#1ae3a50e7c60bb3def774eac707acbca73bbc3ff"

0 commit comments

Comments
 (0)