Skip to content

Commit

Permalink
🔧 Update babel settings (#3219)
Browse files Browse the repository at this point in the history
* ⬆️ update babel packages

* updated browserlist & use root package.json
  • Loading branch information
oddvernes authored Jan 18, 2024
1 parent a47bcef commit 39f4dcb
Show file tree
Hide file tree
Showing 11 changed files with 1,074 additions and 705 deletions.
17 changes: 9 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
"types": "pnpm --filter @equinor/eds-tokens types && pnpm --filter @equinor/eds-utils types && pnpm --filter @equinor/eds-icons types && pnpm --filter @equinor/eds-core-react types && pnpm --filter @equinor/eds-lab-react types && pnpm --filter @equinor/eds-data-grid-react types"
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/eslint-parser": "^7.22.15",
"@babel/plugin-transform-runtime": "^7.23.2",
"@babel/preset-env": "^7.23.2",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.23.2",
"@babel/runtime": "^7.23.2",
"@babel/core": "^7.23.7",
"@babel/eslint-parser": "^7.23.3",
"@babel/plugin-transform-runtime": "^7.23.7",
"@babel/preset-env": "^7.23.8",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@babel/runtime": "^7.23.8",
"@types/jest": "^29.5.7",
"@types/jest-axe": "^3.5.7",
"@typescript-eslint/eslint-plugin": "^6.9.0",
Expand All @@ -67,5 +67,6 @@
"jest-axe": "^8.0.0",
"prettier": "3.1.1",
"typescript": "^5.2.2"
}
},
"browserslist": "last 2 Chrome versions, last 2 firefox versions, last 2 safari versions, last 2 edge versions, not dead"
}
5 changes: 2 additions & 3 deletions packages/eds-core-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"styled-components": ">=4.2"
},
"dependencies": {
"@babel/runtime": "^7.23.2",
"@babel/runtime": "^7.23.8",
"@equinor/eds-icons": "workspace:^",
"@equinor/eds-tokens": "workspace:*",
"@equinor/eds-utils": "workspace:*",
Expand All @@ -101,6 +101,5 @@
"engines": {
"pnpm": ">=4",
"node": ">=10.0.0"
},
"browserslist": "defaults, not IE 11"
}
}
Loading

0 comments on commit 39f4dcb

Please sign in to comment.