Skip to content

Commit

Permalink
Update PNPM, Jest & Turborepo (#191)
Browse files Browse the repository at this point in the history
* Update version of pnpm
* Update Jest
* Update Turborepo
  • Loading branch information
IPWright83 authored Dec 3, 2024
1 parent 4ae2c32 commit 1f53fd3
Show file tree
Hide file tree
Showing 10 changed files with 4,138 additions and 4,967 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,10 @@ jobs:
- name: pnpm Install
run: pnpm install
- name: Chromatic
uses: chromaui/action@v1
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
workingDir: packages/react
onlyChanged: true
exitZeroOnChanges: true
exitOnceUploaded: true
run: pnpm chromatic
working-directory: ./packages/react
env:
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}

merge:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion demos/react-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"devDependencies": {
"eslint": "^8.29.0",
"jest": "^29.4.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "29.4.1",
"jest-watch-typeahead": "^2.2.2"
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"chromatic": "^6.17.0",
"inquirer": "^9.1.4",
"jest": "27.5.1",
"turbo": "^1.8.2"
"turbo": "^2.2.3"
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^5.51.0",
"eslint": "^8.33.0",
"jest": "29.4.1",
"jest": "29.7.0",
"jest-environment-jsdom": "29.4.1",
"redux": "^4.2.0",
"redux-devtools-extension": "^2.13.8",
Expand Down
3 changes: 2 additions & 1 deletion packages/d3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"d3-time": "^3.1.0",
"d3-time-format": "^4.1.0",
"d3-timer": "^3.0.1",
"d3-transition": "^3.0.1"
"d3-transition": "^3.0.1",
"jest": "^29.7.0"
}
}
3 changes: 1 addition & 2 deletions packages/detection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"react",
"chart"
],
"dependencies": {},
"devDependencies": {
"@chart-io/d3": "workspace:*",
"@chart-io/types": "workspace:*",
Expand All @@ -40,7 +39,7 @@
"@typescript-eslint/parser": "^5.51.0",
"eslint": "^8.33.0",
"identity-obj-proxy": "^3.0.0",
"jest": "29.4.1",
"jest": "29.7.0",
"jest-environment-jsdom": "29.4.1"
}
}
5 changes: 3 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
"homepage": "https://github.com/IPWright83/chart-io",
"scripts": {
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist && rm -rf coverage && rm -rf storybook-static",
"chromatic": "chromatic --only-changed --exit-zero-on-changes --exit-once-uploaded",
"lint": "eslint src",
"dev": "vite build --watch",
"types": "tsc --noEmit",
"build": "vite build",
"preview": "vite preview",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"build-storybook": "storybook build --webpack-stats-json",
"test": "jest --config jest.config.js",
"test-coverage": "jest --config jest.config.js --coverage && open coverage/lcov-report/index.html",
"test-storybook": "test-storybook",
Expand Down Expand Up @@ -86,7 +87,7 @@
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-storybook": "^0.6.11",
"identity-obj-proxy": "^3.0.0",
"jest": "29.4.1",
"jest": "29.7.0",
"jest-environment-jsdom": "29.4.1",
"jest-image-snapshot": "^6.2.0",
"nyc": "^15.1.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"dependencies": {
"@types/d3-color": "^3.1.0",
"@types/d3-scale": "^4.0.3",
"@types/react": "^18.0.28"
"@types/react": "^18.0.28",
"jest": "^29.7.0"
}
}
Loading

0 comments on commit 1f53fd3

Please sign in to comment.