Ver Fonte

Switch to `yarn` which supports overriding resolutions to address vulnerabilities in dependencies of dependencies (#3242)

* Switch to `yarn` which supports overriding resolutions to address vulnerabilities in dependencies of dependencies

* Go back to npm and use `overrides`
Alexandru Dima há 3 anos atrás
pai
commit
35eb0efbc0
3 ficheiros alterados com 253 adições e 355 exclusões
  1. 4 1
      .vscode/settings.json
  2. 246 354
      samples/package-lock.json
  3. 3 0
      samples/package.json

+ 4 - 1
.vscode/settings.json

@@ -9,5 +9,8 @@
 		"**/release": true,
 		"**/out": true
 	},
-	"typescript.tsdk": "./node_modules/typescript/lib"
+	"typescript.tsdk": "./node_modules/typescript/lib",
+	"git.branchProtection": ["main", "release/*"],
+	"git.branchProtectionPrompt": "alwaysCommitToNewBranch",
+	"git.branchRandomName.enable": true
 }

Diff do ficheiro suprimidas por serem muito extensas
+ 246 - 354
samples/package-lock.json


+ 3 - 0
samples/package.json

@@ -25,5 +25,8 @@
 		"webpack-dev-server": "^4.7.4",
 		"webpack": "^5.68.0",
 		"yaserver": "^0.4.0"
+	},
+	"overrides": {
+		"@electron/get": "2.0.0"
 	}
 }

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff