Skip to content

Commit

Permalink
chore: update all deps + fix deprecated config in jest (#384)
Browse files Browse the repository at this point in the history
* chore: update all deps + fix deprecated config in jest

* version: bumping version

* fix: jest config

* fix: change node + action version

* fix: version deps

* fix: version deps

* update: actions version in workflow

Co-authored-by: Fabiano <[email protected]>
  • Loading branch information
fabinppkbuilders and fabinppk authored Sep 28, 2022
1 parent 1f7f9d7 commit b4c4079
Show file tree
Hide file tree
Showing 7 changed files with 1,827 additions and 2,754 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '14.x'
node-version: 16
- name: Set NPM Variables
run: echo "$PACKAGES_NPMRC" > .npmrc
env:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ jobs:
runs-on: ubuntu-latest
name: Publish to npm
steps:
- uses: actions/checkout@v2
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: 'https://registry.npmjs.org/'
- name: Set NPM Variables
run: echo "$PACKAGES_NPMRC" > .npmrc
env:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@ jobs:
testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Node
uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 13
registry-url: https://registry.npmjs.org/
node-version: 16
- name: Set NPM Variables
run: echo "$PACKAGES_NPMRC" > .npmrc
env:
Expand Down
Empty file modified .husky/pre-commit
100644 → 100755
Empty file.
6 changes: 0 additions & 6 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ module.exports = {
collectCoverage: true,
testEnvironment: 'node',
preset: 'react-native',
globals: {
'ts-jest': {
tsconfig: 'tsconfig.test.json',
babelConfig: true,
},
},
transform: {
'^.+\\.(js|jsx)$': 'babel-jest',
'^.+\\.(ts|tsx)$': 'ts-jest',
Expand Down
60 changes: 30 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@platformbuilders/helpers",
"version": "0.5.0",
"version": "0.5.1",
"description": "Builders helpers library",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -52,58 +52,58 @@
},
"dependencies": {
"numeral": "^2.0.6",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"styled-components": "^5.3.5"
"react": "18.1.0",
"react-dom": "18.1.0",
"styled-components": "^5.3.6"
},
"devDependencies": {
"@babel/core": "^7.18.10",
"@babel/core": "^7.19.3",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-flow-strip-types": "^7.18.9",
"@babel/plugin-transform-flow-strip-types": "^7.19.0",
"@babel/plugin-transform-object-assign": "^7.18.6",
"@babel/plugin-transform-react-jsx-source": "^7.18.6",
"@babel/preset-env": "^7.18.10",
"@babel/preset-env": "^7.19.3",
"@babel/preset-react": "^7.18.6",
"@babel/runtime": "^7.18.9",
"@types/jest": "^28.1.6",
"@types/lodash": "^4.14.182",
"@babel/runtime": "^7.19.0",
"@types/jest": "^29.0.3",
"@types/lodash": "^4.14.185",
"@types/numeral": "^2.0.2",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.13",
"@types/react-native": "^0.67.2",
"@types/styled-components": "^5.1.25",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"babel-jest": "^28.1.3",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@types/react-native": "^0.70.4",
"@types/styled-components": "^5.1.26",
"@typescript-eslint/eslint-plugin": "^5.38.1",
"@typescript-eslint/parser": "^5.38.1",
"babel-jest": "^29.1.0",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"eslint": "^8.21.0",
"eslint": "^8.24.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.7.0",
"eslint-plugin-jest": "^27.0.4",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-promise": "^6.0.1",
"eslint-plugin-react": "^7.31.8",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-sonarjs": "^0.14.0",
"eslint-plugin-sonarjs": "^0.15.0",
"husky": "^8.0.1",
"jest": "^28.1.3",
"jest-environment-node": "^28.1.3",
"jest": "^29.1.1",
"jest-environment-node": "^29.1.1",
"lint-staged": "^13.0.3",
"mz": "^2.7.0",
"prettier": "^2.7.1",
"react-native": "^0.67.3",
"react-native": "0.70.1",
"react-native-haptic": "^1.0.1",
"react-native-size-matters": "^0.4.0",
"rmfr": "^2.0.0",
"rollup": "^2.77.2",
"rollup-plugin-typescript2": "^0.32.1",
"ts-jest": "28.0.3",
"typescript": "^4.7.4",
"uglify-js": "^3.16.3"
"rollup": "^2.79.1",
"rollup-plugin-typescript2": "^0.34.0",
"ts-jest": "29.0.2",
"typescript": "^4.8.4",
"uglify-js": "^3.17.2"
}
}
Loading

0 comments on commit b4c4079

Please sign in to comment.