Skip to content

Commit

Permalink
Merge pull request #23017 from storybookjs/norbert/remove-babel-core
Browse files Browse the repository at this point in the history
Build: Remove `babel-core` & upgrade `esbuild`
  • Loading branch information
ndelangen authored Jun 12, 2023
2 parents 595b23a + 5012823 commit ec1ad28
Show file tree
Hide file tree
Showing 10 changed files with 210 additions and 202 deletions.
2 changes: 1 addition & 1 deletion code/builders/builder-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.10",
"browser-assert": "^1.2.1",
"ejs": "^3.1.8",
"esbuild": "^0.17.0",
"esbuild": "^0.18.0",
"esbuild-plugin-alias": "^0.2.1",
"express": "^4.17.3",
"find-cache-dir": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion code/lib/core-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@types/node": "^16.0.0",
"@types/pretty-hrtime": "^1.0.0",
"chalk": "^4.1.0",
"esbuild": "^0.17.0",
"esbuild": "^0.18.0",
"esbuild-register": "^3.4.0",
"file-system-cache": "^2.0.0",
"find-up": "^5.0.0",
Expand Down
5 changes: 2 additions & 3 deletions code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/experimental-utils": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"esbuild": "^0.17.0",
"esbuild": "^0.18.0",
"eslint": "^8.28.0",
"playwright": "1.35.0",
"playwright-core": "1.35.0",
Expand Down Expand Up @@ -213,14 +213,13 @@
"@typescript-eslint/experimental-utils": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"@vitejs/plugin-react": "^2.1.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^9.1.2",
"chromatic": "6.11.2",
"concurrently": "^5.3.0",
"cross-env": "^7.0.3",
"danger": "^11.2.6",
"esbuild": "^0.17.0",
"esbuild": "^0.18.0",
"esbuild-loader": "^3.0.0",
"esbuild-plugin-alias": "^0.2.1",
"eslint": "^8.28.0",
Expand Down
3 changes: 3 additions & 0 deletions code/renderers/vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,22 @@
"@storybook/global": "^5.0.0",
"@storybook/preview-api": "7.1.0-alpha.31",
"@storybook/types": "7.1.0-alpha.31",
"lodash": "^4.17.21",
"ts-dedent": "^2.0.0",
"type-fest": "^3.11.0",
"vue-component-type-helpers": "latest"
},
"devDependencies": {
"@digitak/esrun": "^3.2.2",
"@types/prettier": "2.7.2",
"@vue/compiler-core": "^3.3.4",
"@vue/vue3-jest": "29",
"typescript": "~4.9.3",
"vue": "^3.2.47",
"vue-tsc": "latest"
},
"peerDependencies": {
"@vue/compiler-core": "^3.0.0",
"vue": "^3.0.0"
},
"engines": {
Expand Down
1 change: 0 additions & 1 deletion code/renderers/vue3/src/docs/sourceDecorator.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable no-eval */
/* eslint-disable import/no-extraneous-dependencies */
/* eslint-disable no-underscore-dangle */
import { addons } from '@storybook/preview-api';
import type { ArgTypes, Args, StoryContext, Renderer } from '@storybook/types';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// <reference types="jest" />
/// <reference types="testing-library__jest-dom" />

import { expect } from '@storybook/jest';
import type { Meta, StoryObj } from '@storybook/vue3';
import { within } from '@storybook/testing-library';
Expand Down
6 changes: 4 additions & 2 deletions code/renderers/vue3/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
"strict": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"allowJs": true,
"types": ["jest", "testing-library__jest-dom"]
"allowJs": true
},
"vueCompilerOptions": {
"target": 3
},
"include": ["src/**/*", "src/**/*.vue", "template/**/*", "template/**/*.vue"]
}
Loading

0 comments on commit ec1ad28

Please sign in to comment.