Skip to content

Commit

Permalink
Update many dependencies and require Node 18 (#2789)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpwatrous authored Aug 25, 2023
1 parent 4952f85 commit b2e186f
Show file tree
Hide file tree
Showing 58 changed files with 21,183 additions and 71,845 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
* text=auto
package*.json text eol=lf
resources.*.json text eol=lf
2 changes: 1 addition & 1 deletion .vsts/node-setup.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
steps:
- task: NodeTool@0
inputs:
versionSpec: '16.x.x'
versionSpec: '18.x.x'
displayName: Set NodeJS version

- script: cp .vsts/pipelines.npmrc $(Agent.TempDirectory)/.npmrc
Expand Down
7 changes: 5 additions & 2 deletions desktop/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ const webpackConfig = require("./config/webpack.config.test");

process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = "true";

// Clear --openssl-legacy-provider flag
process.env.NODE_OPTIONS = "";

// Only enable coverage if env is defined(So we don't enable it in watch mode as it duplicate logs)
const coverageReporters = process.env.COVERAGE ? ["coverage", "junit"] : [];

Expand All @@ -10,7 +13,8 @@ const coverageReporters = process.env.COVERAGE ? ["coverage", "junit"] : [];
module.exports = function(config) {
config.set({
basePath: ".",
frameworks: ["jasmine"],
frameworks: ["jasmine", "webpack"],

files: [
{
pattern: "./test/app/spec-entry.js",
Expand Down Expand Up @@ -53,7 +57,6 @@ module.exports = function(config) {
webPreferences: {
nodeIntegration: true,
contextIsolation: false,
enableRemoteModule: true,
}
}
}
Expand Down
Loading

0 comments on commit b2e186f

Please sign in to comment.