generator-code 1.6.7 → 1.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/generators/app/index.js
CHANGED
|
@@ -185,7 +185,7 @@ module.exports = class extends Generator {
|
|
|
185
185
|
|
|
186
186
|
// Git init
|
|
187
187
|
if (this.extensionConfig.gitInit) {
|
|
188
|
-
this.spawnCommand('git', ['init', '--quiet']);
|
|
188
|
+
this.spawnCommand('git', ['init', '--quiet', '--initial-branch=main']);
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
if (this.extensionConfig.proposedAPI) {
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
"private": true,
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@types/glob": "^7.2.0",
|
|
8
|
-
"@types/mocha": "^9.
|
|
8
|
+
"@types/mocha": "^9.1.0",
|
|
9
9
|
"@types/node": "14.x",
|
|
10
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
11
|
-
"@typescript-eslint/parser": "^5.
|
|
12
|
-
"eslint": "^8.
|
|
10
|
+
"@typescript-eslint/eslint-plugin": "^5.12.1",
|
|
11
|
+
"@typescript-eslint/parser": "^5.12.1",
|
|
12
|
+
"eslint": "^8.9.0",
|
|
13
13
|
"glob": "^7.2.0",
|
|
14
|
-
"mocha": "^9.1
|
|
15
|
-
"typescript": "^4.5.
|
|
16
|
-
"@vscode/test-electron": "^2.
|
|
17
|
-
"@vscode/test-web": "^0.0.
|
|
14
|
+
"mocha": "^9.2.1",
|
|
15
|
+
"typescript": "^4.5.5",
|
|
16
|
+
"@vscode/test-electron": "^2.1.2",
|
|
17
|
+
"@vscode/test-web": "^0.0.22",
|
|
18
18
|
"@types/webpack-env": "^1.16.3",
|
|
19
19
|
"@types/vscode-notebook-renderer": "^1.57.8",
|
|
20
20
|
"concurrently": "^5.3.0",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"ts-loader": "^9.2.6",
|
|
25
25
|
"vscode-dts": "^0.3.3",
|
|
26
26
|
"vscode-notebook-error-overlay": "^1.0.1",
|
|
27
|
-
"webpack": "^5.
|
|
27
|
+
"webpack": "^5.69.1",
|
|
28
28
|
"util": "^0.12.4",
|
|
29
|
-
"webpack-cli": "^4.9.
|
|
29
|
+
"webpack-cli": "^4.9.2",
|
|
30
30
|
"webpack-dev-server": "^3.11.2",
|
|
31
31
|
"assert": "^2.0.0",
|
|
32
32
|
"process": "^0.11.10"
|
|
@@ -20,7 +20,7 @@ To create/update the `translations` folder with the latest strings from transife
|
|
|
20
20
|
|
|
21
21
|
* Get an API token from https://www.transifex.com/user/settings/api. The token needs to have access to the `vscode-editor`, `vscode-workbench` and `vscode-extensions` projects.
|
|
22
22
|
* Set the API token to the environment variable `TRANSIFEX_API_TOKEN`.
|
|
23
|
-
* Check out the `
|
|
23
|
+
* Check out the `main` branch of the [VS Code repository](https://github.com/Microsoft/vscode).
|
|
24
24
|
* Preferably, place the VSCode repo next to the language pack extension (so both have the same parent folder).
|
|
25
25
|
* `cd vscode` and run `yarn` to initialize the VS Code repo. More information on how to build VS Code you can find [here](https://github.com/Microsoft/vscode/wiki/How-to-Contribute).
|
|
26
26
|
* If the language pack extension is placed next to the VS Code repository: `npm run update-localization-extension <%- lpLanguageId %>`
|