generator-code 1.10.0 → 1.11.0
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/build/pipeline.yml +3 -0
- package/generators/app/dependencyVersions/package.json +3 -3
- package/generators/app/templates/ext-command-js/extension.js +1 -1
- package/generators/app/templates/ext-command-ts/src/extension.ts +1 -1
- package/generators/app/templates/ext-command-ts/vscode-esbuild/vscode/tasks.json +0 -3
- package/generators/app/templates/ext-command-web/src/web/extension.ts +1 -1
- package/generators/app/templates/ext-command-web/vsc-extension-quickstart.md +1 -1
- package/generators/app/templates/ext-command-web/vscode-esbuild/settings.json +2 -2
- package/generators/app/templates/ext-command-web/vscode-esbuild/tasks.json +0 -3
- package/generators/app/templates/ext-command-web/vscode-webpack/settings.json +2 -2
- package/package.json +4 -4
package/build/pipeline.yml
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"private": true,
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@types/mocha": "^10.0.6",
|
|
8
|
-
"@types/node": "
|
|
8
|
+
"@types/node": "20.x",
|
|
9
9
|
"@types/assert": "^1.5.10",
|
|
10
10
|
"@typescript-eslint/eslint-plugin": "^7.11.0",
|
|
11
11
|
"@typescript-eslint/parser": "^7.11.0",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"ts-loader": "^9.5.1",
|
|
26
26
|
"vscode-dts": "^0.3.3",
|
|
27
27
|
"vscode-notebook-error-overlay": "^1.0.1",
|
|
28
|
-
"webpack": "^5.
|
|
28
|
+
"webpack": "^5.92.0",
|
|
29
29
|
"util": "^0.12.5",
|
|
30
30
|
"webpack-cli": "^5.1.4",
|
|
31
31
|
"webpack-dev-server": "^5.0.4",
|
|
32
32
|
"assert": "^2.1.0",
|
|
33
33
|
"process": "^0.11.10",
|
|
34
34
|
"npm-run-all": "^4.1.5",
|
|
35
|
-
"esbuild": "^0.21.
|
|
35
|
+
"esbuild": "^0.21.5",
|
|
36
36
|
"@esbuild-plugins/node-globals-polyfill": "^0.2.3"
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -17,7 +17,7 @@ function activate(context) {
|
|
|
17
17
|
// The command has been defined in the package.json file
|
|
18
18
|
// Now provide the implementation of the command with registerCommand
|
|
19
19
|
// The commandId parameter must match the command field in package.json
|
|
20
|
-
|
|
20
|
+
const disposable = vscode.commands.registerCommand('<%= name %>.helloWorld', function () {
|
|
21
21
|
// The code you place here will be executed every time your command is executed
|
|
22
22
|
|
|
23
23
|
// Display a message box to the user
|
|
@@ -13,7 +13,7 @@ export function activate(context: vscode.ExtensionContext) {
|
|
|
13
13
|
// The command has been defined in the package.json file
|
|
14
14
|
// Now provide the implementation of the command with registerCommand
|
|
15
15
|
// The commandId parameter must match the command field in package.json
|
|
16
|
-
|
|
16
|
+
const disposable = vscode.commands.registerCommand('<%= name %>.helloWorld', () => {
|
|
17
17
|
// The code you place here will be executed every time your command is executed
|
|
18
18
|
// Display a message box to the user
|
|
19
19
|
vscode.window.showInformationMessage('Hello World from <%= displayName %>!');
|
|
@@ -13,7 +13,7 @@ export function activate(context: vscode.ExtensionContext) {
|
|
|
13
13
|
// The command has been defined in the package.json file
|
|
14
14
|
// Now provide the implementation of the command with registerCommand
|
|
15
15
|
// The commandId parameter must match the command field in package.json
|
|
16
|
-
|
|
16
|
+
const disposable = vscode.commands.registerCommand('<%= name %>.helloWorld', () => {
|
|
17
17
|
// The code you place here will be executed every time your command is executed
|
|
18
18
|
|
|
19
19
|
// Display a message box to the user
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// Place your settings in this file to overwrite default and user settings.
|
|
2
2
|
{
|
|
3
3
|
"files.exclude": {
|
|
4
|
-
"
|
|
4
|
+
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
|
|
5
5
|
},
|
|
6
6
|
"search.exclude": {
|
|
7
|
-
"
|
|
7
|
+
"dist": true // set this to false to include "dist" folder in search results
|
|
8
8
|
},
|
|
9
9
|
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
|
|
10
10
|
"typescript.tsc.autoDetect": "off"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// Place your settings in this file to overwrite default and user settings.
|
|
2
2
|
{
|
|
3
3
|
"files.exclude": {
|
|
4
|
-
"
|
|
4
|
+
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
|
|
5
5
|
},
|
|
6
6
|
"search.exclude": {
|
|
7
|
-
"
|
|
7
|
+
"dist": true // set this to false to include "dist" folder in search results
|
|
8
8
|
},
|
|
9
9
|
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
|
|
10
10
|
"typescript.tsc.autoDetect": "off"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generator-code",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0",
|
|
4
4
|
"description": "Yeoman generator for Visual Studio Code extensions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yeoman-generator",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"url": "https://github.com/Microsoft"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
29
|
-
"node": ">=
|
|
29
|
+
"node": "^18.17.0 || >=20.5.0"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"test": "mocha",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/mocha": "^10.0.6",
|
|
47
|
-
"@types/node": "^
|
|
47
|
+
"@types/node": "^18.18.5",
|
|
48
48
|
"mocha": "^10.4.0",
|
|
49
|
-
"yeoman-environment": "^4.4.
|
|
49
|
+
"yeoman-environment": "^4.4.1",
|
|
50
50
|
"yeoman-test": "^8.3.0"
|
|
51
51
|
}
|
|
52
52
|
}
|