Skip to content

Commit

Permalink
Updating all dependencies (#46)
Browse files Browse the repository at this point in the history
## Describe your changes
Updating all dependencies

## Issue ticket number and link

## Checklist before requesting a review
- [ ] I have performed a self-review of my code
- [ ] If it is a core feature, I have added thorough tests.
  • Loading branch information
lounsbrough authored Jan 2, 2025
1 parent 34ec2d8 commit ffe0a2f
Show file tree
Hide file tree
Showing 13 changed files with 2,362 additions and 3,498 deletions.
34 changes: 0 additions & 34 deletions .eslintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig } from 'cypress'
import webpackConfig from './cypress/webpack.config';
import webpackConfig from './cypress/webpack.config'

export default defineConfig({
component: {
Expand Down
1 change: 0 additions & 1 deletion cypress/support/commands.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
/// <reference types="cypress" />
// ***********************************************
// This example commands.ts shows you how to
Expand Down
28 changes: 0 additions & 28 deletions demo/.eslintrc.js

This file was deleted.

40 changes: 19 additions & 21 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,30 @@
"homepage": "https://Bayer-Group.github.io/atomic-spinner",
"private": true,
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^6.0.2",
"@mui/material": "^6.0.1",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.5.4",
"@types/node": "^22.0.2",
"@types/react-helmet": "^6.1.6",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@mui/icons-material": "^6.3.0",
"@mui/material": "^6.3.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.3",
"@types/react-helmet": "^6.1.11",
"atomic-spinner": "workspace:*",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react": "^19.0.0",
"react-colorful": "^5.6.1",
"react-dom": "^18.2.0",
"react-dom": "^19.0.0",
"react-helmet-async": "^2.0.5",
"react-scripts": "5.0.1",
"typescript": "^5.2.2",
"web-vitals": "^4.2.2"
"typescript": "^5.7.2",
"web-vitals": "^4.2.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"start": "DISABLE_ESLINT_PLUGIN=true react-scripts start",
"build": "DISABLE_ESLINT_PLUGIN=true react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "eslint --ext .ts,.tsx ."
"eject": "react-scripts eject"
},
"browserslist": {
"production": [
Expand All @@ -44,7 +42,7 @@
]
},
"devDependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0"
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2"
}
}
16 changes: 16 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';

export default tseslint.config({
files: ['**/*.ts'],
extends: [
eslint.configs.recommended,
tseslint.configs.recommended,
],
ignores: [
'lib/*'
],
rules: {
'semi': ['error', 'never']
}
})
53 changes: 23 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"module": "lib/index.esm.js",
"types": "lib/index.d.ts",
"engines": {
"node": ">=14"
"node": ">=22"
},
"scripts": {
"clean": "rm -rf lib",
Expand All @@ -19,7 +19,7 @@
"start-demo": "pnpm --prefix demo start",
"build-demo": "pnpm --prefix demo build",
"deploy-demo": "pnpm build-demo && gh-pages -d demo/build",
"lint": "eslint --ext .ts,.tsx . && pnpm --prefix demo lint",
"lint": "eslint .",
"test": "pnpm cypress run --component",
"test-interactive": "pnpm cypress open"
},
Expand All @@ -38,41 +38,34 @@
"files": [
"/lib"
],
"dependencies": {
"prop-types": "^15.8.1"
},
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.2.1",
"@types/node": "^22.0.2",
"@types/prop-types": "^15.7.5",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/webpack": "^5.28.2",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@eslint/js": "^9.17.0",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@types/node": "^22.10.3",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"@types/webpack": "^5.28.5",
"@typescript-eslint/eslint-plugin": "^8.19.0",
"compression-webpack-plugin": "^11.1.0",
"cypress": "^13.2.0",
"eslint": "^8.49.0",
"eslint-config-standard-with-typescript": "^43.0.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-n": "^16.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.2",
"gh-pages": "^6.0.0",
"postcss": "^8.4.29",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^4.18.1",
"cypress": "^13.17.0",
"eslint": "^9.17.0",
"gh-pages": "^6.2.0",
"postcss": "^8.4.49",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rollup": "^4.29.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-typescript2": "^0.36.0",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"webpack": "^5.88.2"
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^5.7.2",
"typescript-eslint": "^8.19.0",
"webpack": "^5.97.1"
}
}
Loading

0 comments on commit ffe0a2f

Please sign in to comment.