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.
@@ -35,12 +35,15 @@ extends:
35
35
  - name: Linux
36
36
  nodeVersions:
37
37
  - 18.x
38
+ - 20.x
38
39
  - name: MacOS
39
40
  nodeVersions:
40
41
  - 18.x
42
+ - 20.x
41
43
  - name: Windows
42
44
  nodeVersions:
43
45
  - 18.x
46
+ - 20.x
44
47
 
45
48
  testSteps:
46
49
  - script: npm i
@@ -5,7 +5,7 @@
5
5
  "private": true,
6
6
  "dependencies": {
7
7
  "@types/mocha": "^10.0.6",
8
- "@types/node": "18.x",
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.91.0",
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.4",
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
- let disposable = vscode.commands.registerCommand('<%= name %>.helloWorld', function () {
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
- let disposable = vscode.commands.registerCommand('<%= name %>.helloWorld', () => {
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 %>!');
@@ -15,9 +15,6 @@
15
15
  "group": {
16
16
  "kind": "build",
17
17
  "isDefault": true
18
- },
19
- "runOptions": {
20
- "runOn": "folderOpen"
21
18
  }
22
19
  },
23
20
  {
@@ -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
- let disposable = vscode.commands.registerCommand('<%= name %>.helloWorld', () => {
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
@@ -13,7 +13,7 @@
13
13
 
14
14
  ## Get up and running the Web Extension
15
15
 
16
- * Run `npm install`.
16
+ * Run `<%= pkgManager %> install`.
17
17
  * Place breakpoints in `src/web/extension.ts`.
18
18
  * Debug via F5 (Run Web Extension).
19
19
  * Execute extension code via `F1 > Hello world`.
@@ -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
- "out": false // set this to true to hide the "out" folder with the compiled JS files
4
+ "dist": false // set this to true to hide the "dist" folder with the compiled JS files
5
5
  },
6
6
  "search.exclude": {
7
- "out": true // set this to false to include "out" folder in search results
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"
@@ -15,9 +15,6 @@
15
15
  "group": {
16
16
  "kind": "build",
17
17
  "isDefault": true
18
- },
19
- "runOptions": {
20
- "runOn": "folderOpen"
21
18
  }
22
19
  },
23
20
  {
@@ -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
- "out": false // set this to true to hide the "out" folder with the compiled JS files
4
+ "dist": false // set this to true to hide the "dist" folder with the compiled JS files
5
5
  },
6
6
  "search.exclude": {
7
- "out": true // set this to false to include "out" folder in search results
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.10.0",
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": ">=16.x"
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": "^16.18.82",
47
+ "@types/node": "^18.18.5",
48
48
  "mocha": "^10.4.0",
49
- "yeoman-environment": "^4.4.0",
49
+ "yeoman-environment": "^4.4.1",
50
50
  "yeoman-test": "^8.3.0"
51
51
  }
52
52
  }