@toptal/davinci-storybook 8.0.0 → 9.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @toptal/davinci-storybook
2
2
 
3
+ ## 9.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#2677](https://github.com/toptal/davinci/pull/2677) [`5471216`](https://github.com/toptal/davinci/commit/547121655efc071f0c4278930f3a0b25ce0fb855) Thanks [@dulishkovych](https://github.com/dulishkovych)!
8
+ Upgrade TypeScript to v5.5 and @typescript-eslint to v8
9
+ Consumers must upgrade their TypeScript version to satisfy the new peer requirement.
10
+ Breaking changes:
11
+ - bump the `typescript` peerDependency to `^5.5.0` (was `^4.8.4`) for `@toptal/davinci-syntax` and `@toptal/davinci-engine`. Consumers must upgrade TypeScript to 5.5 or later.
12
+ - bump the `@babel/preset-typescript` peerDependency to `^7.26.0` (was `^7.17.12`) for `@toptal/davinci-storybook`.
13
+ - bump `@typescript-eslint/eslint-plugin` and `@typescript-eslint/parser` from v6 to v8 in `@toptal/davinci-syntax`.
14
+ - bump `eslint` peer floor from `^8.34.0` to `^8.57.0` (required by @typescript-eslint v8).
15
+ - bump `eslint-plugin-jest` from v27 to v28 and `eslint-plugin-unused-imports` from v3 to v4 to align peer ranges with @typescript-eslint v8.
16
+ - drop formatting rules removed in @typescript-eslint v8 (`space-before-function-paren`, `comma-dangle`, `func-call-spacing`, `member-delimiter-style`) — formatting is now deferred to Prettier, which the config already extends.
17
+ - rename `@typescript-eslint/no-var-requires` → `@typescript-eslint/no-require-imports` (renamed in v8).
18
+ - replace `@typescript-eslint/ban-types` with the v8 split rules (`no-empty-object-type`, `no-unsafe-function-type`, `no-wrapper-object-types`); previous allowances for `{}`, `Function`, and `object` are preserved.
19
+ Internal changes:
20
+ - bump `ts-jest` from `^29.1.2` to `^29.2.0`.
21
+ - bump `@types/jest` from `^28.1.1` to `^29.5.0`.
22
+ - set `declaration: false` in `cli-shared`, `qa`, and `storybook` tsconfig.json — these packages ship raw `.js` source and have never emitted `.d.ts` for distribution; the declaration-emit safety check no longer runs in a void.
23
+ - widen the `@toptal/davinci-engine` peerDependency range in `@toptal/davinci-qa` from `3 - 14` to `3 - 15` to accept the new engine major.
24
+ - update `@toptal/eslint-plugin-davinci`'s `consistent-component-props-types` rule to use `typeArguments` instead of `typeParameters` on AST references (renamed in @typescript-eslint v8).
25
+
3
26
  ## 8.0.0
4
27
 
5
28
  ### Major Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-storybook",
3
- "version": "8.0.0",
3
+ "version": "9.0.0",
4
4
  "keywords": [
5
5
  "essentials",
6
6
  "storybook",
@@ -36,8 +36,8 @@
36
36
  "ora": "^5.4.1",
37
37
  "ws": "^6.2.3",
38
38
  "yargs": "17.7.2",
39
- "@toptal/davinci-storybook-addons": "^6.0.0",
40
39
  "@toptal/davinci-cli-shared": "^3.0.0",
40
+ "@toptal/davinci-storybook-addons": "^6.0.0",
41
41
  "@toptal/davinci-storybook-theme": "^5.0.0",
42
42
  "@toptal/davinci-workspace-root": "^2.0.0"
43
43
  },
@@ -46,7 +46,7 @@
46
46
  "@babel/plugin-transform-runtime": "^7.16.4",
47
47
  "@babel/preset-env": "^7.21.4",
48
48
  "@babel/preset-react": "^7.18.6",
49
- "@babel/preset-typescript": "^7.17.12",
49
+ "@babel/preset-typescript": "^7.26.0",
50
50
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
51
51
  "@storybook/addon-docs": "^9.1.0",
52
52
  "@storybook/react": "^9.1.0",
@@ -70,7 +70,7 @@
70
70
  "@babel/plugin-transform-runtime": "^7.16.4",
71
71
  "@babel/preset-env": "^7.21.4",
72
72
  "@babel/preset-react": "^7.18.6",
73
- "@babel/preset-typescript": "^7.17.12",
73
+ "@babel/preset-typescript": "^7.26.0",
74
74
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
75
75
  "@storybook/react": "9",
76
76
  "@storybook/react-webpack5": "9",