Skip to content

Commit

Permalink
chore: merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
fgiuliani committed May 15, 2023
2 parents f8b922b + a93da60 commit 64242dc
Show file tree
Hide file tree
Showing 7 changed files with 668 additions and 315 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ import Teaser from './components/Teaser'

storyblokInit({
accessToken: "YOUR_ACCESS_TOKEN",
use: [apiPlugin],
// bridge: false,
// apiOptions: {},
use: [apiPlugin],
components: {
page: Page,
teaser: Teaser,
Expand Down Expand Up @@ -534,6 +534,7 @@ renderRichText(blok.richTextField, {
![A visual representation of the Storyblok JavaScript SDK Ecosystem](https://a.storyblok.com/f/88751/2400x1350/be4a4a4180/sdk-ecosystem.png/m/1200x0)
## 🔗 Related Links
- **[Storyblok Technology Hub](https://www.storyblok.com/technologies?utm_source=github.com&utm_medium=readme&utm_campaign=storyblok-react)**: Storyblok integrates with every framework so that you are free to choose the best fit for your project. We prepared the technology hub so that you can find selected beginner tutorials, videos, boilerplates, and even cheatsheets all in one place.
Expand Down
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const useStoryblok = (
}

initStory();
}, [slug]);
}, [slug, JSON.stringify(apiOptions)]);

return story;
};
Expand Down
10 changes: 5 additions & 5 deletions lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,19 @@
"prepublishOnly": "npm run build && cp ../README.md ./"
},
"dependencies": {
"@storyblok/js": "^2.1.1"
"@storyblok/js": "^2.1.4"
},
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/preset-env": "^7.20.2",
"@babel/core": "^7.21.8",
"@babel/preset-env": "^7.21.5",
"@cypress/react": "^5.12.5",
"@cypress/vite-dev-server": "^2.2.3",
"@tsconfig/recommended": "^1.0.2",
"@types/react": "18.0.28",
"@types/react": "18.2.6",
"@vitejs/plugin-react": "^1.3.2",
"babel-jest": "^29.5.0",
"cypress": "^9.7.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-cypress": "^2.13.3",
"eslint-plugin-jest": "^27.2.1",
"jest": "^29.5.0",
"react": "^18.2.0",
Expand Down
Loading

0 comments on commit 64242dc

Please sign in to comment.