@toptal/davinci-storybook-decorators 4.0.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @toptal/davinci-storybook-decorators
2
2
 
3
+ ## 5.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#2643](https://github.com/toptal/davinci/pull/2643) [`ab9666f`](https://github.com/toptal/davinci/commit/ab9666f999e7a610f6068e0145200257d8511b46) Thanks [@rocodesign](https://github.com/rocodesign)!
8
+ Migrate package manager from Yarn to pnpm
9
+ **WHAT (breaking change):**
10
+ - switch package manager from Yarn to pnpm across the entire Davinci monorepo
11
+ - add `pnpm-workspace.yaml`, `.npmrc`, and `packageManager` field for corepack support
12
+ - convert Yarn `resolutions` to `pnpm.overrides` in root `package.json`
13
+ - update lerna `npmClient` from `yarn` to `pnpm`
14
+ - replace `yarn` with `pnpm` in root scripts (postinstall, test, test:unit:update)
15
+ **HOW to update:**
16
+ - install pnpm (`corepack enable` or `npm install -g pnpm@10.6.1`)
17
+ - replace `yarn install` with `pnpm install` in local workflows
18
+ - replace `yarn <script>` with `pnpm <script>` when running commands
19
+
3
20
  ## 4.0.0
4
21
 
5
22
  ### Major Changes
package/README.md CHANGED
@@ -7,7 +7,7 @@ Davinci's support for storybook decorators like PicassoDecorator
7
7
  Add davinci-storybook-decorators to your project:
8
8
 
9
9
  ```shell
10
- yarn add -D @toptal/davinci-storybook-decorators
10
+ pnpm add -D @toptal/davinci-storybook-decorators
11
11
  ```
12
12
 
13
13
  And start using the decorator in your story files
package/dist/types.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import type { DecoratorFunction } from '@storybook/types';
2
2
  import type { ReactRenderer } from '@storybook/react';
3
- export declare type StoryDecorator = DecoratorFunction<ReactRenderer>;
3
+ export type StoryDecorator = DecoratorFunction<ReactRenderer>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-storybook-decorators",
3
- "version": "4.0.0",
3
+ "version": "5.0.0",
4
4
  "keywords": [
5
5
  "storybook",
6
6
  "theme"
@@ -17,10 +17,6 @@
17
17
  "dist",
18
18
  "CHANGELOG.md"
19
19
  ],
20
- "scripts": {
21
- "build:package": "tsc --project tsconfig.json",
22
- "prepublishOnly": "yarn build:package"
23
- },
24
20
  "devDependencies": {
25
21
  "@storybook/react": "^8.6.9",
26
22
  "@toptal/picasso-provider": "^5.0.2",
@@ -33,5 +29,8 @@
33
29
  },
34
30
  "publishConfig": {
35
31
  "access": "public"
32
+ },
33
+ "scripts": {
34
+ "build:package": "tsc --project tsconfig.json"
36
35
  }
37
- }
36
+ }