Skip to content

Commit

Permalink
chore: Update npm dependencies and build process
Browse files Browse the repository at this point in the history
  • Loading branch information
Luligu committed Jun 22, 2024
1 parent a5ce0b1 commit 09f5409
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 69 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/build matterbridge plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,15 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Install matterbridge
run: npm -g install matterbridge

- name: Install dependencies
run: npm install

- name: Install matterbridge
run: npm install --save-dev matterbridge

- name: Lint the project
run: npm run lint

- name: Build the project
run: npm run build

- name: List, audit, fix outdated dependencies and build again
run: |
npm list --outdated
npm audit || true # ignore failures
npm audit fix || true
npm list --outdated
npm run build
114 changes: 57 additions & 57 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"clean": "rimraf tsconfig.tsbuildinfo ./dist",
"cleanBuild": "npm run clean && tsc",
"deepClean": "rimraf tsconfig.tsbuildinfo package-lock.json ./dist ./node_modules",
"deepCleanRebuild": "npm run deepClean && npm install && npm run build && npm ls inflight glob",
"deepCleanRebuild": "npm run deepClean && npm install && npm run build",
"prepublishOnly": "npm run lint && npm run cleanBuild",
"checkDependencies": "npx npm-check-updates",
"updateDependencies": "npx npm-check-updates -u && npm install & npm run cleanBuild",
Expand Down Expand Up @@ -99,4 +99,4 @@
"typescript": "^5.5.2",
"typescript-eslint": "^7.13.1"
}
}
}

0 comments on commit 09f5409

Please sign in to comment.