Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): general maintenance #186

Merged
merged 13 commits into from
Jun 29, 2021
6 changes: 4 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-optional-chaining"
]
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-transform-runtime"
],
"sourceType": "unambiguous"
}
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"@readme/eslint-config",
"@readme/eslint-config/react"
],
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"root": true
}
6 changes: 4 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: monthly
interval: weekly
reviewers:
- rafegoldberg
- kellyjosephprice
labels:
- scope:dependency
commit-message:
Expand All @@ -15,10 +16,11 @@ updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: monthly
interval: weekly
open-pull-requests-limit: 10
reviewers:
- rafegoldberg
- kellyjosephprice
labels:
- scope:dependency
commit-message:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
node-version: [12.x, 14.x, 16.x]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure to update the release workflow too, it's still on Node 10: https://github.com/readmeio/markdown/blob/next/.github/workflows/release.yml#L15

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh thanks!

steps:
- uses: actions/[email protected]

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [10.x]
node-version: [12.x]
steps:

# Setup the git repo & Node environemnt.
Expand Down
1 change: 0 additions & 1 deletion __tests__/browser/global-setup.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'babel-polyfill';
import { setup as setupPuppeteer } from 'jest-environment-puppeteer';

module.exports = async function globalSetup(globalConfig) {
Expand Down
2 changes: 0 additions & 2 deletions lib/enzyme.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@
const Adapter = require('enzyme-adapter-react-16');
const enzyme = require('enzyme');

require('babel-polyfill');

enzyme.configure({ adapter: new Adapter() });
1,042 changes: 274 additions & 768 deletions package-lock.json

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,11 @@
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/eslint-parser": "^7.14.7",
"@babel/plugin-proposal-class-properties": "^7.12.13",
"@babel/plugin-proposal-object-rest-spread": "^7.12.13",
"@babel/plugin-proposal-optional-chaining": "^7.12.13",
"@babel/plugin-transform-runtime": "^7.14.5",
"@babel/preset-env": "^7.12.13",
"@babel/preset-react": "^7.12.13",
"@commitlint/cli": "^12.1.4",
Expand All @@ -73,11 +75,8 @@
"@readme/variable": "^13.4.12",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/git": "^9.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^27.0.5",
"babel-loader": "^8.2.2",
"babel-polyfill": "^6.26.0",
"codemirror": "^5.59.2",
"core-js": "^3.8.3",
"css-loader": "^5.0.2",
Expand All @@ -90,7 +89,7 @@
"jest-image-snapshot": "^4.2.0",
"jest-puppeteer": "^5.0.4",
"mini-css-extract-plugin": "^1.3.6",
"node-sass": "^6.0.0",
"node-sass": "^6.0.1",
"prettier": "^2.2.1",
"puppeteer": "^10.0.0",
"rdme": "^3.8.2",
Expand Down