diff --git a/.github/workflows/deploy-docs.yaml b/.github/workflows/deploy-docs.yaml index e5b8ab0..207a814 100644 --- a/.github/workflows/deploy-docs.yaml +++ b/.github/workflows/deploy-docs.yaml @@ -24,6 +24,7 @@ jobs: restore-keys: | ${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}- - run: | + bun install cd docs bun install bun run build diff --git a/docs/bun.lockb b/docs/bun.lockb index 937d3c8..30b215d 100755 Binary files a/docs/bun.lockb and b/docs/bun.lockb differ diff --git a/docs/next.config.js b/docs/next.config.js index d3ce0e0..05bcb57 100644 --- a/docs/next.config.js +++ b/docs/next.config.js @@ -7,7 +7,7 @@ const withNextra = nextra(getNextraOptions()); module.exports = withNextra( getWithNextraOptions({ - transpilePackages: ['react-native-unistyles'], + transpilePackages: ['react-native-unistyles', '@grapp/stacks'], webpack: config => { Object.assign(config.resolve.alias, { react: path.resolve(__dirname, '..', 'node_modules', 'react'), diff --git a/docs/package.json b/docs/package.json index 36d9f57..d36a601 100644 --- a/docs/package.json +++ b/docs/package.json @@ -25,11 +25,8 @@ }, "dependencies": { "@grapp/nextra-theme": "^0.3.8", - "@grapp/stacks": "3.0.0", - "react": "^18.2.0", + "@grapp/stacks": "3.0.3", "react-element-to-jsx-string": "^15.0.0", - "react-native": "0.73.6", - "react-native-unistyles": "^2.5.5", "react-native-web": "^0.19.10" } }