Merge pull request #2257 from scratchfoundation/rd/update-babel-dependencies

ci: babel and other updates
This commit is contained in:
Ron de las Alas 2023-10-18 09:03:22 -04:00 committed by GitHub
commit 7cbacff6fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7192 additions and 4567 deletions

View file

@ -4,7 +4,6 @@ on:
pull_request: # Runs whenever a pull request is created or updated
push: # Runs whenever a commit is pushed to the repository...
branches: [master, develop, beta, hotfix/*] # ...on any of these branches
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
@ -41,7 +40,9 @@ jobs:
run: |
npm ci
mkdir -p ./test/results
- name: Lint and Test
- name: Run Lint
run: npm run lint
- name: Run Tests
run: npm run test
- name: Build
run: npm run build

11741
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -11,7 +11,7 @@
"i18n:src": "rimraf ./translations/messages && babel src > tmp.js && rimraf tmp.js && ./scripts/build-i18n-source.js ./translations/messages/ ./translations/",
"lint": "eslint . --ext .js,.jsx",
"start": "webpack-dev-server",
"test": "npm run lint && npm run unit",
"test": "npm run unit",
"unit": "jest --reporters=default",
"watch": "webpack --progress --colors --watch"
},
@ -23,7 +23,7 @@
"url": "https://github.com/LLK/scratch-paint.git"
},
"dependencies": {
"@scratch/paper": "0.11.20200728195508",
"@scratch/paper": "0.11.20221201200345",
"classnames": "2.2.5",
"keymirror": "0.1.1",
"lodash.bindall": "4.4.0",
@ -55,10 +55,11 @@
"@commitlint/config-conventional": "17.0.3",
"autoprefixer": "9.7.4",
"babel-eslint": "10.1.0",
"babel-jest": "23.6.0",
"babel-jest": "29.7.0",
"babel-loader": "8.2.5",
"babel-plugin-react-intl": "3.0.1",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"canvas": "^2.11.2",
"css-loader": "3.4.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.6",
@ -69,8 +70,7 @@
"gh-pages": "3.2.3",
"html-webpack-plugin": "3.2.0",
"husky": "8.0.1",
"jest": "22.4.4",
"jest-canvas-mock": "2.3.1",
"jest": "^27.0.5",
"jest-junit": "13.0.0",
"json": "9.0.6",
"lodash.defaultsdeep": "4.6.1",
@ -115,8 +115,7 @@
"jest": {
"setupFiles": [
"raf/polyfill",
"<rootDir>/test/helpers/enzyme-setup.js",
"jest-canvas-mock"
"<rootDir>/test/helpers/enzyme-setup.js"
],
"testURL": "http://localhost",
"moduleNameMapper": {