Skip to content

Commit

Permalink
Merge pull request #23005 from storybookjs/norbert/upgrade-nanoid
Browse files Browse the repository at this point in the history
Dependencies: Upgrade `nanoid`, prebundle it, upgrade `remark`, cleanup some `.md` files for warnings
  • Loading branch information
ndelangen committed Jun 9, 2023
2 parents ac750e2 + 8e8e3d0 commit 2b8e05d
Show file tree
Hide file tree
Showing 8 changed files with 1,898 additions and 892 deletions.
12 changes: 6 additions & 6 deletions code/addons/jest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,12 +253,12 @@ Default.parameters = {

## TODO

- [ ] Add coverage
- [ ] Display nested test better (describe)
- [ ] Display the date of the test
- [ ] Add unit tests
- [ ] Add linting
- [ ] Split <TestPanel />
- Add coverage
- Display nested test better (describe)
- Display the date of the test
- Add unit tests
- Add linting
- Split <TestPanel />

## Contributing

Expand Down
4 changes: 2 additions & 2 deletions code/frameworks/nextjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
- [FAQ](#faq)
- [Stories for pages/components which fetch data](#stories-for-pagescomponents-which-fetch-data)
- [Statically imported images won't load](#statically-imported-images-wont-load)
- [Module not found: Error: Can't resolve \[package name\]](#module-not-found-error-cant-resolve-package-name)
- [Module not found: Error: Can't resolve `package name`](#module-not-found-error-cant-resolve-package-name)
- [What if I'm using the Vite builder?](#what-if-im-using-the-vite-builder)
- [Acknowledgements](#acknowledgements)

Expand Down Expand Up @@ -930,7 +930,7 @@ Therefore, if something in storybook isn't showing the image properly, make sure

See [local images](https://nextjs.org/docs/basic-features/image-optimization#local-images) for more detail on how Next.js treats static image imports.

#### Module not found: Error: Can't resolve [package name]
#### Module not found: Error: Can't resolve `package name`

You might get this if you're using Yarn v2 or v3. See [Notes for Yarn v2 and v3 users](#notes-for-yarn-v2-and-v3-users) for more details.

Expand Down
12 changes: 6 additions & 6 deletions code/frameworks/svelte-webpack5/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ You can also build a [static version](https://storybook.js.org/docs/svelte/shari

## TODOs

- [ ] Support `addon-info`
- [ ] Support Svelte markup directly in stories
- [ ] Add Svelte storybook generator
- [ ] Provide stories that show advanced Svelte use cases
- [ ] Hydratable
- [ ] Advanced mount options
- Support `addon-info`
- Support Svelte markup directly in stories
- Add Svelte storybook generator
- Provide stories that show advanced Svelte use cases
- Hydratable
- Advanced mount options
2 changes: 1 addition & 1 deletion code/lib/preview-api/README-core-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ A framework calls the `start(renderToCanvas, { render, decorateStory })` functio
The `start` function will return a `configure()` function, which can be re-exported to be used in `preview.js` (deprecated), or automatically by the `main.js:stories` field to:

- return a list of CSF files
- [deprecated] make calls to the `storiesOf` API.
- `deprecated` make calls to the `storiesOf` API.
2 changes: 1 addition & 1 deletion code/lib/telemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
"detect-package-manager": "^2.0.1",
"fetch-retry": "^5.0.2",
"fs-extra": "^11.1.0",
"nanoid": "^3.3.1",
"read-pkg-up": "^7.0.1"
},
"devDependencies": {
"nanoid": "^4.0.2",
"node-fetch": "^3.3.1",
"typescript": "~4.9.3"
},
Expand Down
13 changes: 11 additions & 2 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7463,7 +7463,7 @@ __metadata:
detect-package-manager: ^2.0.1
fetch-retry: ^5.0.2
fs-extra: ^11.1.0
nanoid: ^3.3.1
nanoid: ^4.0.2
node-fetch: ^3.3.1
read-pkg-up: ^7.0.1
typescript: ~4.9.3
Expand Down Expand Up @@ -22525,7 +22525,7 @@ __metadata:
languageName: node
linkType: hard

"nanoid@npm:^3.3.1, nanoid@npm:^3.3.4, nanoid@npm:^3.3.6":
"nanoid@npm:^3.3.4, nanoid@npm:^3.3.6":
version: 3.3.6
resolution: "nanoid@npm:3.3.6"
bin:
Expand All @@ -22534,6 +22534,15 @@ __metadata:
languageName: node
linkType: hard

"nanoid@npm:^4.0.2":
version: 4.0.2
resolution: "nanoid@npm:4.0.2"
bin:
nanoid: bin/nanoid.js
checksum: 3fec62f422bc4727918eda0e7aa43e9cbb2e759be72813a0587b9dac99727d3c7ad972efce7f4f1d4cb5c7c554136a1ec3b1043d1d91d28d818d6acbe98200e5
languageName: node
linkType: hard

"nanomatch@npm:^1.2.9":
version: 1.2.13
resolution: "nanomatch@npm:1.2.13"
Expand Down
14 changes: 7 additions & 7 deletions scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"@types/ejs": "^3.1.1",
"@types/escodegen": "^0.0.6",
"@types/express": "^4.17.11",
"@types/fs-extra": "^9.0.6",
"@types/fs-extra": "^11.0.1",
"@types/lodash": "^4",
"@types/node": "^16.0.0",
"@types/node-fetch": "^2.5.7",
Expand All @@ -110,7 +110,7 @@
"detect-port": "^1.3.0",
"ejs": "^3.1.8",
"ejs-lint": "^2.0.0",
"esbuild": "^0.16.4",
"esbuild": "^0.17.19",
"esbuild-plugin-alias": "^0.2.1",
"esbuild-register": "^3.4.1",
"eslint": "^8.28.0",
Expand Down Expand Up @@ -140,7 +140,7 @@
"lodash": "^4.17.21",
"memoizerific": "^1.11.3",
"node-fetch": "^2.6.1",
"node-gyp": "^8.4.0",
"node-gyp": "^9.3.1",
"npmlog": "^5.0.1",
"nx": "16.2.1",
"nx-cloud": "16.0.5",
Expand All @@ -155,10 +155,10 @@
"react-dom": "16.14.0",
"read-pkg-up": "^7.0.1",
"recast": "^0.23.1",
"remark": "^13.0.0",
"remark-cli": "^9.0.0",
"remark-lint": "^8.0.0",
"remark-preset-lint-recommended": "^5.0.0",
"remark": "^14.0.3",
"remark-cli": "^11.0.0",
"remark-lint": "^9.1.2",
"remark-preset-lint-recommended": "^6.1.3",
"semver": "^7.3.7",
"serve-static": "^1.14.1",
"simple-git": "^3.18.0",
Expand Down
Loading

0 comments on commit 2b8e05d

Please sign in to comment.