diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a448453..c430716 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,6 +30,7 @@ jobs: - name: Replace local links with actual versions run: | sed -i 's#"@acrool/react-dialog": "link:.."#"@acrool/react-dialog": "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 diff --git a/example/package.json b/example/package.json index d9fcae7..483983c 100644 --- a/example/package.json +++ b/example/package.json @@ -35,7 +35,7 @@ "@types/styled-components": "^5.1.26", "@vitejs/plugin-react-swc": "^3.0.0", "dom-to-image": "^2.6.0", - "framer-motion": "11.11.8", + "framer-motion": "link:../node_modules/framer-motion", "react": "link:../node_modules/react", "react-dom": "link:../node_modules/react-dom", "sass": "^1.77.1", diff --git a/example/yarn.lock b/example/yarn.lock index 40d098d..2247dbf 100644 --- a/example/yarn.lock +++ b/example/yarn.lock @@ -3712,6 +3712,10 @@ framer-motion@11.11.8: dependencies: tslib "^2.4.0" +"framer-motion@link:../node_modules/framer-motion": + version "0.0.0" + uid "" + fresh@0.5.2: version "0.5.2" resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7"