Skip to content

Commit

Permalink
@rushstack ecosystem upgrades: (#1425)
Browse files Browse the repository at this point in the history
- upgraded all @rushstack dependencies to latest
- implement Heft Next in DS core and heft rig
- implement heft webpack5 plugin in DS core for production optimization

Storybook ecosystem upgrades

React 18
- react, react-dom, react-is
- @testing-library
- fixed children typings

Delete prop types exports and dependecies

Remove usage of prop-types from more components (#1429)

Remove prop-types from more core components (#1430)
  • Loading branch information
sdalonzo committed Jan 12, 2024
1 parent b43ef44 commit 7782cd3
Show file tree
Hide file tree
Showing 338 changed files with 7,930 additions and 8,305 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ common/autoinstallers/*/.npmrc

# build output
**/dist/
**/lib/
**/lib-commonjs/
**/lib-esm/
**/types/**/*.d.ts
Expand Down
47 changes: 27 additions & 20 deletions apps/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,38 @@
"storybook:coverage": "test-storybook --coverage"
},
"devDependencies": {
"@babel/core": "^7.23.5",
"@priceline/eslint-config": "workspace:*",
"@rushstack/eslint-patch": "^1.3.3",
"@storybook/addon-a11y": "^7.4.0",
"@storybook/addon-actions": "^7.4.0",
"@storybook/addon-coverage": "^0.0.9",
"@storybook/addon-designs": "^7.0.5",
"@storybook/addon-essentials": "^7.4.0",
"@storybook/addon-interactions": "^7.4.0",
"@storybook/addon-viewport": "^7.4.0",
"@storybook/jest": "^0.2.2",
"@storybook/react": "^7.4.0",
"@storybook/react-vite": "^7.4.0",
"@storybook/testing-library": "^0.2.0",
"@rushstack/eslint-patch": "^1.6.0",
"@storybook/addon-a11y": "^7.6.4",
"@storybook/addon-actions": "^7.6.4",
"@storybook/addon-coverage": "^1.0.0",
"@storybook/addon-designs": "^7.0.7",
"@storybook/addon-docs": "^7.6.4",
"@storybook/addon-essentials": "^7.6.4",
"@storybook/addon-interactions": "^7.6.4",
"@storybook/addon-viewport": "^7.6.4",
"@storybook/addons": "^7.6.4",
"@storybook/components": "^7.6.4",
"@storybook/jest": "^0.2.3",
"@storybook/manager-api": "^7.6.4",
"@storybook/preview-api": "^7.6.4",
"@storybook/react": "^7.6.4",
"@storybook/react-vite": "^7.6.4",
"@storybook/testing-library": "^0.2.2",
"@storybook/theming": "^7.6.4",
"babel-plugin-react-docgen": "^4.2.1",
"chromatic": "^7.0.0",
"eslint": "^8.48.0",
"chromatic": "^10.1.0",
"eslint": "^8.55.0",
"npm-run-all": "^4.1.5",
"pcln-design-system": "workspace:*",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"require-from-string": "2.0.2",
"storybook": "^7.4.0",
"storybook": "^7.6.4",
"styled-components": "^5.3.11",
"typescript": "^5.2.2",
"vite": "^4.4.9"
"typescript": "^5.3.3",
"vite": "^4.5.1"
}
}
21 changes: 21 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"organizeImports": {
"enabled": true
},
"formatter": {
"lineWidth": 110,
"indentStyle": "space"
},
"javascript": {
"formatter": {
"arrowParentheses": "always",
"quoteStyle": "single",
"jsxQuoteStyle": "single",
"semicolons": "asNeeded",
"trailingComma": "es5",
"quoteProperties": "asNeeded",
"bracketSpacing": true,
"bracketSameLine": false
}
}
}
11 changes: 11 additions & 0 deletions common/changes/pcln-autocomplete/DSv6_2023-12-07-18-37.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Upgrade all @rushstack dependencies to latest",
"type": "minor",
"packageName": "pcln-autocomplete"
}
],
"packageName": "pcln-autocomplete",
"email": "steven.dalonzo@priceline.com"
}
11 changes: 11 additions & 0 deletions common/changes/pcln-autocomplete/DSv6_2023-12-08-03-15.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "React 18 upgrade",
"type": "major",
"packageName": "pcln-autocomplete"
}
],
"packageName": "pcln-autocomplete",
"email": "steven.dalonzo@priceline.com"
}
11 changes: 11 additions & 0 deletions common/changes/pcln-carousel/DSv6_2023-12-07-18-37.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Upgrade all @rushstack dependencies to latest",
"type": "minor",
"packageName": "pcln-carousel"
}
],
"packageName": "pcln-carousel",
"email": "steven.dalonzo@priceline.com"
}
11 changes: 11 additions & 0 deletions common/changes/pcln-carousel/DSv6_2023-12-08-03-15.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "React 18 upgrade",
"type": "major",
"packageName": "pcln-carousel"
}
],
"packageName": "pcln-carousel",
"email": "steven.dalonzo@priceline.com"
}
11 changes: 11 additions & 0 deletions common/changes/pcln-codemods/DSv6_2023-12-07-18-37.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Upgrade all @rushstack dependencies to latest",
"type": "minor",
"packageName": "pcln-codemods"
}
],
"packageName": "pcln-codemods",
"email": "steven.dalonzo@priceline.com"
}
11 changes: 11 additions & 0 deletions common/changes/pcln-codemods/DSv6_2023-12-08-03-15.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "React 18 upgrade",
"type": "major",
"packageName": "pcln-codemods"
}
],
"packageName": "pcln-codemods",
"email": "steven.dalonzo@priceline.com"
}
11 changes: 11 additions & 0 deletions common/changes/pcln-design-system/DSv6_2023-12-07-18-37.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Upgrade all @rushstack dependencies to latest",
"type": "minor",
"packageName": "pcln-design-system"
}
],
"packageName": "pcln-design-system",
"email": "steven.dalonzo@priceline.com"
}
10 changes: 10 additions & 0 deletions common/changes/pcln-design-system/DSv6_2023-12-07-18-38.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "pcln-design-system",
"comment": "Implement heft-webpack5-plugin to optimize production output",
"type": "major"
}
],
"packageName": "pcln-design-system"
}
11 changes: 11 additions & 0 deletions common/changes/pcln-design-system/DSv6_2023-12-08-03-15.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "React 18 upgrade",
"type": "major",
"packageName": "pcln-design-system"
}
],
"packageName": "pcln-design-system",
"email": "steven.dalonzo@priceline.com"
}
11 changes: 11 additions & 0 deletions common/changes/pcln-icons/DSv6_2023-12-07-18-37.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Upgrade all @rushstack dependencies to latest",
"type": "minor",
"packageName": "pcln-icons"
}
],
"packageName": "pcln-icons",
"email": "steven.dalonzo@priceline.com"
}
11 changes: 11 additions & 0 deletions common/changes/pcln-icons/DSv6_2023-12-08-03-15.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "React 18 upgrade",
"type": "major",
"packageName": "pcln-icons"
}
],
"packageName": "pcln-icons",
"email": "steven.dalonzo@priceline.com"
}
11 changes: 11 additions & 0 deletions common/changes/pcln-menu/DSv6_2023-12-07-18-37.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Upgrade all @rushstack dependencies to latest",
"type": "minor",
"packageName": "pcln-menu"
}
],
"packageName": "pcln-menu",
"email": "steven.dalonzo@priceline.com"
}
11 changes: 11 additions & 0 deletions common/changes/pcln-menu/DSv6_2023-12-08-03-15.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "React 18 upgrade",
"type": "major",
"packageName": "pcln-menu"
}
],
"packageName": "pcln-menu",
"email": "steven.dalonzo@priceline.com"
}
11 changes: 11 additions & 0 deletions common/changes/pcln-modal/DSv6_2023-12-07-18-37.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Upgrade all @rushstack dependencies to latest",
"type": "minor",
"packageName": "pcln-modal"
}
],
"packageName": "pcln-modal",
"email": "steven.dalonzo@priceline.com"
}
11 changes: 11 additions & 0 deletions common/changes/pcln-modal/DSv6_2023-12-08-03-15.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "React 18 upgrade",
"type": "major",
"packageName": "pcln-modal"
}
],
"packageName": "pcln-modal",
"email": "steven.dalonzo@priceline.com"
}
11 changes: 11 additions & 0 deletions common/changes/pcln-popover/DSv6_2023-12-07-18-37.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Upgrade all @rushstack dependencies to latest",
"type": "minor",
"packageName": "pcln-popover"
}
],
"packageName": "pcln-popover",
"email": "steven.dalonzo@priceline.com"
}
11 changes: 11 additions & 0 deletions common/changes/pcln-popover/DSv6_2023-12-08-03-15.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "React 18 upgrade",
"type": "major",
"packageName": "pcln-popover"
}
],
"packageName": "pcln-popover",
"email": "steven.dalonzo@priceline.com"
}
11 changes: 11 additions & 0 deletions common/changes/pcln-slider/DSv6_2023-12-07-18-37.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Upgrade all @rushstack dependencies to latest",
"type": "minor",
"packageName": "pcln-slider"
}
],
"packageName": "pcln-slider",
"email": "steven.dalonzo@priceline.com"
}
11 changes: 11 additions & 0 deletions common/changes/pcln-slider/DSv6_2023-12-08-03-15.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "React 18 upgrade",
"type": "major",
"packageName": "pcln-slider"
}
],
"packageName": "pcln-slider",
"email": "steven.dalonzo@priceline.com"
}
1 change: 0 additions & 1 deletion common/config/rush/pnpm-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
* PNPM documentation: https://pnpm.io/package_json#pnpmoverrides
*/
"globalOverrides": {
"@types/react": "^17.0.65"
// "example1": "^1.0.0",
// "example2": "npm:@company/example2@^1.0.0"
},
Expand Down
Loading

0 comments on commit 7782cd3

Please sign in to comment.