Skip to content

Commit

Permalink
fix: up deps
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed May 24, 2022
1 parent e0b37a0 commit c2413b8
Show file tree
Hide file tree
Showing 4 changed files with 754 additions and 1,087 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:

- name: Test & push coverage
if: matrix.node-version == '18' && matrix.os == 'ubuntu-20.04'
run: yarn test
run: yarn test:report

release:
name: Release
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@
"build": "echo `build is not required` && exit 0",
"test": "yarn lint && yarn test:unit",
"test:report": "yarn test && yarn coveralls:push",
"coveralls:push": "cat ./coverage/lcov.info | coveralls",
"coveralls:push": "cat ./coverage/lcov.info | coveralls || echo 'coveralls push failed :(' && exit 0",
"test:unit": "BABEL_ENV=test NODE_ENV=test jest -w 1 --detectOpenHandles --config jest.config.json",
"lint": "standard src/**/*.js",
"lint:fix": "yarn lint -- --fix",
"docs": "mkdir -p docs && cp README.md docs/README.md",
"postupdate": "npm i && npm shrinkwrap && npm audit fix && npm test"
},
"devDependencies": {
"coveralls": "^3.1.0",
"jest": "^27.0.0",
"mock-fs": "^5.0.0",
"standard": "^16.0.3"
"coveralls": "^3.1.1",
"jest": "^28.1.0",
"mock-fs": "^5.1.2",
"standard": "^17.0.0"
},
"standard": {
"globals": [
Expand All @@ -55,10 +55,10 @@
"ignore": []
},
"dependencies": {
"find-git-root": "^1.0.4",
"@antongolub/git-root": "^1.5.7",
"lodash": "^4.17.21",
"read-pkg": "^5.2.0",
"semver": "^7.3.4"
"semver": "^7.3.7"
},
"release": {
"branch": "master",
Expand Down
4 changes: 2 additions & 2 deletions src/main/js/config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const path = require('path')
const findGitRoot = require('find-git-root')
const { gitRootSync } = require('@antongolub/git-root')
const log = require('./log')

const ROOT = path.resolve(findGitRoot(__dirname), '..')
const ROOT = path.resolve(gitRootSync())
const RELEASERC = '.releaserc.js'
const PACKAGEJSON = 'package.json'

Expand Down
Loading

0 comments on commit c2413b8

Please sign in to comment.