generator-code 1.11.7 → 1.11.9
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/dependencyVersions/package.json +11 -11
- package/generators/app/index.js +6 -2
- package/generators/app/templates/ext-colortheme/gitignore +1 -0
- package/generators/app/templates/ext-colortheme/vsc-extension-quickstart.md +1 -1
- package/generators/app/templates/ext-command-js/gitignore +1 -0
- package/generators/app/templates/ext-command-web/gitignore +1 -0
- package/generators/app/templates/ext-extensionpack/gitignore +1 -0
- package/generators/app/templates/ext-extensionpack/vsc-extension-quickstart.md +1 -1
- package/generators/app/templates/ext-keymap/gitignore +1 -0
- package/generators/app/templates/ext-keymap/vsc-extension-quickstart.md +1 -1
- package/generators/app/templates/ext-language/gitignore +2 -1
- package/generators/app/templates/ext-language/vsc-extension-quickstart.md +2 -2
- package/generators/app/templates/ext-localization/gitignore +1 -0
- package/generators/app/templates/ext-notebook-renderer/gitignore +1 -0
- package/generators/app/templates/ext-snippets/gitignore +1 -0
- package/generators/app/templates/ext-snippets/vsc-extension-quickstart.md +1 -1
- package/package.json +3 -3
|
@@ -7,32 +7,32 @@
|
|
|
7
7
|
"@types/mocha": "^10.0.10",
|
|
8
8
|
"@types/node": "20.x",
|
|
9
9
|
"@types/assert": "^1.5.11",
|
|
10
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
11
|
-
"@typescript-eslint/parser": "^8.
|
|
12
|
-
"eslint": "^9.
|
|
13
|
-
"glob": "^11.0.
|
|
10
|
+
"@typescript-eslint/eslint-plugin": "^8.31.1",
|
|
11
|
+
"@typescript-eslint/parser": "^8.31.1",
|
|
12
|
+
"eslint": "^9.25.1",
|
|
13
|
+
"glob": "^11.0.2",
|
|
14
14
|
"mocha": "^11.1.0",
|
|
15
|
-
"typescript": "^5.
|
|
15
|
+
"typescript": "^5.8.3",
|
|
16
16
|
"@vscode/test-cli": "^0.0.10",
|
|
17
|
-
"@vscode/test-electron": "^2.
|
|
18
|
-
"@vscode/test-web": "^0.0.
|
|
17
|
+
"@vscode/test-electron": "^2.5.2",
|
|
18
|
+
"@vscode/test-web": "^0.0.69",
|
|
19
19
|
"@types/webpack-env": "^1.18.8",
|
|
20
20
|
"@types/vscode-notebook-renderer": "^1.72.3",
|
|
21
21
|
"concurrently": "^9.1.2",
|
|
22
22
|
"css-loader": "^7.1.2",
|
|
23
|
-
"fork-ts-checker-webpack-plugin": "^9.0
|
|
23
|
+
"fork-ts-checker-webpack-plugin": "^9.1.0",
|
|
24
24
|
"style-loader": "^4.0.0",
|
|
25
25
|
"ts-loader": "^9.5.2",
|
|
26
26
|
"vscode-dts": "^0.3.3",
|
|
27
27
|
"vscode-notebook-error-overlay": "^1.1.0",
|
|
28
|
-
"webpack": "^5.
|
|
28
|
+
"webpack": "^5.99.7",
|
|
29
29
|
"util": "^0.12.5",
|
|
30
30
|
"webpack-cli": "^6.0.1",
|
|
31
|
-
"webpack-dev-server": "^5.2.
|
|
31
|
+
"webpack-dev-server": "^5.2.1",
|
|
32
32
|
"assert": "^2.1.0",
|
|
33
33
|
"process": "^0.11.10",
|
|
34
34
|
"npm-run-all": "^4.1.5",
|
|
35
|
-
"esbuild": "^0.25.
|
|
35
|
+
"esbuild": "^0.25.3",
|
|
36
36
|
"@esbuild-plugins/node-globals-polyfill": "^0.2.3"
|
|
37
37
|
}
|
|
38
38
|
}
|
package/generators/app/index.js
CHANGED
|
@@ -77,7 +77,7 @@ export default class extends Generator {
|
|
|
77
77
|
this.option('quick', { type: Boolean, alias: 'q', description: 'Quick mode, skip all optional prompts and use defaults' });
|
|
78
78
|
this.option('open', { type: Boolean, alias: 'o', description: 'Open the generated extension in Visual Studio Code' });
|
|
79
79
|
this.option('openInInsiders', { type: Boolean, alias: 'O', description: 'Open the generated extension in Visual Studio Code Insiders' });
|
|
80
|
-
|
|
80
|
+
this.option('skipOpen', { type: Boolean, alias:'s', description: 'Skip opening the generated extension in Visual Studio Code' });
|
|
81
81
|
this.option('extensionType', { type: String, alias: 't', description: extensionGenerators.slice(0, 6).map(e => e.aliases[0]).join(', ') + '...' });
|
|
82
82
|
this.option('extensionDisplayName', { type: String, alias: 'n', description: 'Display name of the extension' });
|
|
83
83
|
this.option('extensionId', { type: String, description: 'Id of the extension' });
|
|
@@ -242,7 +242,7 @@ export default class extends Generator {
|
|
|
242
242
|
|
|
243
243
|
const [codeStableLocation, codeInsidersLocation] = await Promise.all([which('code').catch(() => undefined), which('code-insiders').catch(() => undefined)]);
|
|
244
244
|
|
|
245
|
-
if (!this.extensionConfig.insiders && !this.options['open'] && !this.options['openInInsiders'] && !this.options['quick']) {
|
|
245
|
+
if (!this.extensionConfig.insiders && !this.options['open'] && !this.options['openInInsiders'] && !this.options['quick'] && !this.options['skipOpen']) {
|
|
246
246
|
const cdLocation = this.options['destination'] || this.extensionConfig.name;
|
|
247
247
|
|
|
248
248
|
this.log('To start editing with Visual Studio Code, use the following commands:');
|
|
@@ -265,6 +265,10 @@ export default class extends Generator {
|
|
|
265
265
|
this.log('For more information, also visit http://code.visualstudio.com and follow us @code.');
|
|
266
266
|
this.log('\r\n');
|
|
267
267
|
|
|
268
|
+
if (this.options['skipOpen']) {
|
|
269
|
+
return;
|
|
270
|
+
}
|
|
271
|
+
|
|
268
272
|
if (this.options["open"]) {
|
|
269
273
|
if (codeStableLocation) {
|
|
270
274
|
this.log(`Opening ${this.destinationPath()} in Visual Studio Code...`);
|
|
@@ -25,4 +25,4 @@ To learn more about scopes and how they're used, check out the [color theme](htt
|
|
|
25
25
|
## Install your extension
|
|
26
26
|
|
|
27
27
|
* To start using your extension with Visual Studio Code copy it into the `<user home>/.vscode/extensions` folder and restart Code.
|
|
28
|
-
* To share your extension with the world, read on https://code.visualstudio.com/
|
|
28
|
+
* To share your extension with the world, read on https://code.visualstudio.com/api/working-with-extensions/publishing-extension about publishing an extension.
|
|
@@ -18,4 +18,4 @@
|
|
|
18
18
|
## Install your extension
|
|
19
19
|
|
|
20
20
|
* To start using your extension with Visual Studio Code copy it into the `<user home>/.vscode/extensions` folder and restart Code.
|
|
21
|
-
* To share your extension with the world, read on https://code.visualstudio.com/
|
|
21
|
+
* To share your extension with the world, read on https://code.visualstudio.com/api/working-with-extensions/publishing-extension about publishing an extension.
|
|
@@ -19,4 +19,4 @@
|
|
|
19
19
|
## Install your extension
|
|
20
20
|
|
|
21
21
|
* To start using your extension with Visual Studio Code copy it into the `<user home>/.vscode/extensions` folder and restart Code.
|
|
22
|
-
* To share your extension with the world, read on https://code.visualstudio.com/
|
|
22
|
+
* To share your extension with the world, read on https://code.visualstudio.com/api/working-with-extensions/publishing-extension about publishing an extension.
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
|
|
22
22
|
## Add more language features
|
|
23
23
|
|
|
24
|
-
* To add features such as IntelliSense, hovers and validators check out the VS Code extenders documentation at https://code.visualstudio.com/
|
|
24
|
+
* To add features such as IntelliSense, hovers and validators check out the VS Code extenders documentation at https://code.visualstudio.com/api/language-extensions/overview
|
|
25
25
|
|
|
26
26
|
## Install your extension
|
|
27
27
|
|
|
28
28
|
* To start using your extension with Visual Studio Code copy it into the `<user home>/.vscode/extensions` folder and restart Code.
|
|
29
|
-
* To share your extension with the world, read on https://code.visualstudio.com/
|
|
29
|
+
* To share your extension with the world, read on https://code.visualstudio.com/api/working-with-extensions/publishing-extension about publishing an extension.
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
## Install your extension
|
|
21
21
|
|
|
22
22
|
* To start using your extension with Visual Studio Code copy it into the `<user home>/.vscode/extensions` folder and restart Code.
|
|
23
|
-
* To share your extension with the world, read on https://code.visualstudio.com/
|
|
23
|
+
* To share your extension with the world, read on https://code.visualstudio.com/api/working-with-extensions/publishing-extension about publishing an extension.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generator-code",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.9",
|
|
4
4
|
"description": "Yeoman generator for Visual Studio Code extensions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yeoman-generator",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"fast-plist": "^0.1.3",
|
|
40
40
|
"request-light": "^0.8.0",
|
|
41
41
|
"which": "^5.0.0",
|
|
42
|
-
"yeoman-generator": "^7.
|
|
42
|
+
"yeoman-generator": "^7.5.1",
|
|
43
43
|
"yosay": "^3.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@types/node": "^18.19.57",
|
|
48
48
|
"mocha": "^11.1.0",
|
|
49
49
|
"yeoman-environment": "^4.4.3",
|
|
50
|
-
"yeoman-test": "^10.0
|
|
50
|
+
"yeoman-test": "^10.1.0",
|
|
51
51
|
"jsonc-parser": "^3.3.1"
|
|
52
52
|
}
|
|
53
53
|
}
|