Skip to content

Commit

Permalink
build: upgrade dependencies (#228)
Browse files Browse the repository at this point in the history
* build: upgrade package.json

* build: upgrade dependencies

* build: use full version number

* build: add cron job to check dependencies
  • Loading branch information
scolladon committed Dec 17, 2021
1 parent 0cfac61 commit b1238be
Show file tree
Hide file tree
Showing 3 changed files with 1,505 additions and 1,442 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/check-dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: 'Check Dependencies'

on:
schedule:
- cron: '0 0 * * *'

jobs:
check-dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '14.x'

- name: Cache prep
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Cache yarn
uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install

- name: Check Dependencies
run: npm outdated
33 changes: 16 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
},
"author": "Sebastien Colladon <colladonsebastien@gmail.com>",
"dependencies": {
"@oclif/command": "^1",
"@oclif/config": "^1",
"@oclif/command": "^1.8.15",
"@oclif/config": "^1.18.2",
"@oclif/errors": "^1.3.5",
"@salesforce/command": "^4.1.3",
"@salesforce/core": "^2.28.1",
"commander": "^8.2.0",
"fast-xml-parser": "^3.20.3",
"fast-xml-parser": "^3",
"fs-extra": "^10.0.0",
"git-state": "^4.1.0",
"ignore": "^5.1.8",
Expand Down Expand Up @@ -68,30 +68,29 @@
"increment:apiversion": "jq '.sfdc.latestApiVersion = (.sfdc.latestApiVersion|tonumber + 1 |tostring)' package.json | sponge package.json && filename=`ls src/metadata/v*.json | tail -1` && version=${filename//[!0-9]/} && ((version++)) && targetname=\"src/metadata/v${version}.json\" && \\cp $filename $targetname && yarn pack"
},
"devDependencies": {
"@commitlint/cli": "^13.2.1",
"@commitlint/config-angular": "^13.2.0",
"@commitlint/prompt-cli": "^13.2.1",
"@oclif/dev-cli": "^1",
"@oclif/plugin-help": "^3.2.3",
"@oclif/test": "^1",
"@commitlint/cli": "^15.0.0",
"@commitlint/config-angular": "^15.0.0",
"@commitlint/prompt-cli": "^15.0.0",
"@oclif/dev-cli": "^1.26.10",
"@oclif/plugin-help": "^5.1.10",
"@oclif/test": "^2.0.3",
"@salesforce/dev-config": "2.1.2",
"@types/chai": "^4.2.22",
"@types/mocha": "^9.0.0",
"@types/node": "^16.10.3",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"codeclimate": "^0.0.32",
"@types/node": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"conventional-github-releaser": "^3.1.5",
"eslint": "^8.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-salesforce-typescript": "^0.2.8",
"eslint-plugin-import": "^2.24.2",
"eslint-plugin-jsdoc": "^36.1.1",
"eslint-plugin-jsdoc": "^37.2.3",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^7.0.2",
"jest": "^27.2.5",
"lint-staged": "^11.2.3",
"nyc": "^15",
"lint-staged": "^12.1.2",
"nyc": "^15.1.0",
"prettier": "^2.4.1",
"prettier-eslint": "^13.0.0",
"standard-version": "^9.3.1",
Expand All @@ -116,4 +115,4 @@
"sfdc": {
"latestApiVersion": "53"
}
}
}
Loading

0 comments on commit b1238be

Please sign in to comment.