generator-code 1.8.6 → 1.10.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.
Files changed (44) hide show
  1. package/README.md +1 -1
  2. package/generators/app/dependencyVersions/package.json +11 -8
  3. package/generators/app/generate-command-ts.js +11 -8
  4. package/generators/app/generate-command-web.js +18 -4
  5. package/generators/app/index.js +1 -1
  6. package/generators/app/prompts.js +33 -16
  7. package/generators/app/templates/ext-colortheme/vscode/launch.json +11 -11
  8. package/generators/app/templates/ext-command-js/vscode/extensions.json +1 -1
  9. package/generators/app/templates/ext-command-ts/vsc-extension-quickstart.md +3 -3
  10. package/generators/app/templates/ext-command-ts/vscode/extensions.json +1 -1
  11. package/generators/app/templates/ext-command-ts/vscode/settings.json +9 -9
  12. package/generators/app/templates/ext-command-ts/vscode-esbuild/.vscodeignore +14 -0
  13. package/generators/app/templates/ext-command-ts/vscode-esbuild/esbuild.js +56 -0
  14. package/generators/app/templates/ext-command-ts/vscode-esbuild/package.json +52 -0
  15. package/generators/app/templates/ext-command-ts/vscode-esbuild/tsconfig.json +16 -0
  16. package/generators/app/templates/ext-command-ts/vscode-esbuild/vsc-extension-quickstart.md +48 -0
  17. package/generators/app/templates/ext-command-ts/vscode-esbuild/vscode/extensions.json +5 -0
  18. package/generators/app/templates/ext-command-ts/vscode-esbuild/vscode/launch.json +21 -0
  19. package/generators/app/templates/ext-command-ts/vscode-esbuild/vscode/settings.json +13 -0
  20. package/generators/app/templates/ext-command-ts/vscode-esbuild/vscode/tasks.json +67 -0
  21. package/generators/app/templates/ext-command-ts/vscode-webpack/vscode/settings.json +11 -11
  22. package/generators/app/templates/ext-command-web/.vscodeignore +2 -0
  23. package/generators/app/templates/ext-command-web/esbuild-package.json +51 -0
  24. package/generators/app/templates/ext-command-web/esbuild.js +100 -0
  25. package/generators/app/templates/ext-command-web/src/web/test/suite/esbuild-mochaTestRunner.ts +26 -0
  26. package/generators/app/templates/ext-command-web/vscode-esbuild/extensions.json +9 -0
  27. package/generators/app/templates/ext-command-web/vscode-esbuild/launch.json +38 -0
  28. package/generators/app/templates/ext-command-web/vscode-esbuild/tasks.json +57 -0
  29. package/generators/app/templates/ext-command-web/vscode-webpack/extensions.json +8 -0
  30. package/generators/app/templates/ext-command-web/{vscode → vscode-webpack}/launch.json +3 -3
  31. package/generators/app/templates/ext-command-web/vscode-webpack/settings.json +11 -0
  32. package/generators/app/templates/ext-extensionpack/vscode/launch.json +11 -11
  33. package/generators/app/templates/ext-keymap/vscode/launch.json +11 -11
  34. package/generators/app/templates/ext-language/vscode/launch.json +11 -11
  35. package/generators/app/templates/ext-notebook-renderer/vscode/launch.json +31 -31
  36. package/generators/app/templates/ext-notebook-renderer/vscode/settings.json +8 -8
  37. package/generators/app/templates/ext-notebook-renderer/vscode/tasks.json +32 -32
  38. package/generators/app/templates/ext-snippets/vscode/launch.json +11 -11
  39. package/package.json +4 -4
  40. package/generators/app/templates/ext-command-web/vscode/extensions.json +0 -5
  41. /package/generators/app/templates/ext-command-web/src/web/test/suite/{index.ts → webpack-mochaTestRunner.ts} +0 -0
  42. /package/generators/app/templates/ext-command-web/{vscode → vscode-esbuild}/settings.json +0 -0
  43. /package/generators/app/templates/ext-command-web/{vscode → vscode-webpack}/tasks.json +0 -0
  44. /package/generators/app/templates/ext-command-web/{package.json → webpack-package.json} +0 -0
@@ -3,9 +3,11 @@
3
3
  src/**
4
4
  out/**
5
5
  node_modules/**
6
+ dist/test/**
6
7
  .gitignore
7
8
  vsc-extension-quickstart.md
8
9
  webpack.config.js
10
+ esbuild.js
9
11
  .yarnrc
10
12
  **/tsconfig.json
11
13
  **/.eslintrc.json
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": <%- JSON.stringify(name) %>,
3
+ "displayName": <%- JSON.stringify(displayName) %>,
4
+ "description": <%- JSON.stringify(description) %>,
5
+ "version": "0.0.1",
6
+ "engines": {
7
+ "vscode": <%- JSON.stringify(vsCodeEngine) %>
8
+ },
9
+ "categories": [
10
+ "Other"
11
+ ],
12
+ "activationEvents": [],
13
+ "browser": "./dist/web/extension.js",
14
+ "contributes": {
15
+ "commands": [
16
+ {
17
+ "command": <%- JSON.stringify(`${name}.helloWorld`) %>,
18
+ "title": "Hello World"
19
+ }
20
+ ]
21
+ },
22
+ "scripts": {
23
+ "test": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. --extensionTestsPath=dist/web/test/suite/extensionTests.js",
24
+ "pretest": "<%= pkgManager %> run compile-web",
25
+ "vscode:prepublish": "<%= pkgManager %> run package-web",
26
+ "compile-web": "<%= pkgManager %> run check-types && <%= pkgManager %> run lint && node esbuild.js",
27
+ "watch-web": "npm-run-all -p watch-web:*",
28
+ "watch-web:esbuild": "node esbuild.js --watch",
29
+ "watch-web:tsc": "tsc --noEmit --watch --project tsconfig.json",
30
+ "package-web": "<%= pkgManager %> run check-types && <%= pkgManager %> run lint && node esbuild.js --production",
31
+ "check-types": "tsc --noEmit",
32
+ "lint": "eslint src --ext ts",
33
+ "run-in-browser": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. ."
34
+ },
35
+ "devDependencies": {
36
+ <%- dep("@types/vscode") %>,
37
+ <%- dep("@types/mocha") %>,
38
+ <%- dep("@types/assert") %>,
39
+ <%- dep("eslint") %>,
40
+ <%- dep("@typescript-eslint/eslint-plugin") %>,
41
+ <%- dep("@typescript-eslint/parser") %>,
42
+ <%- dep("mocha") %>,
43
+ <%- dep("typescript") %>,
44
+ <%- dep("@vscode/test-web") %>,
45
+ <%- dep("esbuild") %>,
46
+ <%- dep("glob") %>,
47
+ <%- dep("npm-run-all") %>,
48
+ <%- dep("@esbuild-plugins/node-globals-polyfill") %>,
49
+ <%- dep("assert") %>
50
+ }
51
+ }
@@ -0,0 +1,100 @@
1
+ const esbuild = require('esbuild');
2
+ const glob = require('glob');
3
+ const path = require('path');
4
+ const polyfill = require('@esbuild-plugins/node-globals-polyfill');
5
+
6
+ const production = process.argv.includes('--production');
7
+ const watch = process.argv.includes('--watch');
8
+
9
+ /**
10
+ * This plugin hooks into the build process to print errors in a format that the problem matcher in
11
+ * Visual Studio Code can understand.
12
+ * @type {import('esbuild').Plugin}
13
+ */
14
+ const esbuildProblemMatcherPlugin = {
15
+ name: 'esbuild-problem-matcher',
16
+
17
+ setup(build) {
18
+ build.onStart(() => {
19
+ console.log('[watch] build started');
20
+ });
21
+ build.onEnd((result) => {
22
+ result.errors.forEach(({ text, location }) => {
23
+ console.error(`✘ [ERROR] ${text}`);
24
+ console.error(` ${location.file}:${location.line}:${location.column}:`);
25
+ });
26
+ console.log('[watch] build finished');
27
+ });
28
+ },
29
+ };
30
+
31
+
32
+ /**
33
+ * For web extension, all tests, including the test runner, need to be bundled into
34
+ * a single module that has a exported `run` function .
35
+ * This plugin bundles implements a virtual file extensionTests.ts that bundles all these together.
36
+ * @type {import('esbuild').Plugin}
37
+ */
38
+ const testBundlePlugin = {
39
+ name: 'testBundlePlugin',
40
+ setup(build) {
41
+ build.onResolve({ filter: /[\/\\]extensionTests\.ts$/ }, args => {
42
+ if (args.kind === 'entry-point') {
43
+ return { path: path.resolve(args.path) };
44
+ }
45
+ });
46
+ build.onLoad({ filter: /[\/\\]extensionTests\.ts$/ }, async args => {
47
+ const testsRoot = path.join(__dirname, 'src/web/test/suite');
48
+ const files = await glob.glob('*.test.{ts,tsx}', { cwd: testsRoot, posix: true });
49
+ return {
50
+ contents:
51
+ `export { run } from './mochaTestRunner.ts';` +
52
+ files.map(f => `import('./${f}');`).join(''),
53
+ watchDirs: files.map(f => path.dirname(path.resolve(testsRoot, f))),
54
+ watchFiles: files.map(f => path.resolve(testsRoot, f))
55
+ };
56
+ });
57
+ }
58
+ };
59
+
60
+ async function main() {
61
+ const ctx = await esbuild.context({
62
+ entryPoints: [
63
+ 'src/web/extension.ts',
64
+ 'src/web/test/suite/extensionTests.ts'
65
+ ],
66
+ bundle: true,
67
+ format: 'cjs',
68
+ minify: production,
69
+ sourcemap: !production,
70
+ sourcesContent: false,
71
+ platform: 'browser',
72
+ outdir: 'dist/web',
73
+ external: ['vscode'],
74
+ logLevel: 'silent',
75
+ // Node.js global to browser globalThis
76
+ define: {
77
+ global: 'globalThis',
78
+ },
79
+
80
+ plugins: [
81
+ polyfill.NodeGlobalsPolyfillPlugin({
82
+ process: true,
83
+ buffer: true,
84
+ }),
85
+ testBundlePlugin,
86
+ esbuildProblemMatcherPlugin, /* add to the end of plugins array */
87
+ ],
88
+ });
89
+ if (watch) {
90
+ await ctx.watch();
91
+ } else {
92
+ await ctx.rebuild();
93
+ await ctx.dispose();
94
+ }
95
+ }
96
+
97
+ main().catch(e => {
98
+ console.error(e);
99
+ process.exit(1);
100
+ });
@@ -0,0 +1,26 @@
1
+ // Imports mocha for the browser, defining the `mocha` global.
2
+ import 'mocha/mocha';
3
+
4
+ mocha.setup({
5
+ ui: 'tdd',
6
+ reporter: undefined
7
+ });
8
+
9
+ export function run(): Promise<void> {
10
+
11
+ return new Promise((c, e) => {
12
+ try {
13
+ // Run the mocha test
14
+ mocha.run(failures => {
15
+ if (failures > 0) {
16
+ e(new Error(`${failures} tests failed.`));
17
+ } else {
18
+ c();
19
+ }
20
+ });
21
+ } catch (err) {
22
+ console.error(err);
23
+ e(err);
24
+ }
25
+ });
26
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ // See http://go.microsoft.com/fwlink/?LinkId=827846
3
+ // for the documentation about the extensions.json format
4
+ "recommendations": [
5
+ "dbaeumer.vscode-eslint",
6
+ "connor4312.esbuild-problem-matchers",
7
+ "ms-vscode.extension-test-runner"
8
+ ]
9
+ }
@@ -0,0 +1,38 @@
1
+ // A launch configuration that compiles the extension and then opens it inside a new window
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ {
6
+ "version": "0.2.0",
7
+ "configurations": [
8
+ {
9
+ "name": "Run Web Extension ",
10
+ "type": "extensionHost",
11
+ "debugWebWorkerHost": true,
12
+ "request": "launch",
13
+ "args": [
14
+ "--extensionDevelopmentPath=${workspaceFolder}",
15
+ "--extensionDevelopmentKind=web"
16
+ ],
17
+ "outFiles": [
18
+ "${workspaceFolder}/dist/web/**/*.js"
19
+ ],
20
+ "preLaunchTask": "${defaultBuildTask}"
21
+ },
22
+ {
23
+ "name": "Extension Tests",
24
+ "type": "extensionHost",
25
+ "debugWebWorkerHost": true,
26
+ "request": "launch",
27
+ "args": [
28
+ "--extensionDevelopmentPath=${workspaceFolder}",
29
+ "--extensionDevelopmentKind=web",
30
+ "--extensionTestsPath=${workspaceFolder}/dist/web/test/suite/extensionTests"
31
+ ],
32
+ "outFiles": [
33
+ "${workspaceFolder}/dist/web/**/*.js"
34
+ ],
35
+ "preLaunchTask": "${defaultBuildTask}"
36
+ }
37
+ ]
38
+ }
@@ -0,0 +1,57 @@
1
+ // See https://go.microsoft.com/fwlink/?LinkId=733558
2
+ // for the documentation about the tasks.json format
3
+ {
4
+ "version": "2.0.0",
5
+ "tasks": [
6
+ {
7
+ "label": "watch-web",
8
+ "dependsOn": [
9
+ "npm: watch-web:tsc",
10
+ "npm: watch-web:esbuild"
11
+ ],
12
+ "presentation": {
13
+ "reveal": "never"
14
+ },
15
+ "group": {
16
+ "kind": "build",
17
+ "isDefault": true
18
+ },
19
+ "runOptions": {
20
+ "runOn": "folderOpen"
21
+ }
22
+ },
23
+ {
24
+ "type": "npm",
25
+ "script": "watch-web:esbuild",
26
+ "group": "build",
27
+ "problemMatcher": "$esbuild-watch",
28
+ "isBackground": true,
29
+ "label": "npm: watch-web:esbuild",
30
+ "presentation": {
31
+ "group": "watch",
32
+ "reveal": "never"
33
+ }
34
+ },
35
+ {
36
+ "type": "npm",
37
+ "script": "watch-web:tsc",
38
+ "group": "build",
39
+ "problemMatcher": "$tsc-watch",
40
+ "isBackground": true,
41
+ "label": "npm: watch-web:tsc",
42
+ "presentation": {
43
+ "group": "watch",
44
+ "reveal": "never"
45
+ }
46
+ },
47
+ {
48
+ "label": "compile",
49
+ "type": "npm",
50
+ "script": "compile-web",
51
+ "problemMatcher": [
52
+ "$tsc",
53
+ "$esbuild"
54
+ ]
55
+ }
56
+ ]
57
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ // See http://go.microsoft.com/fwlink/?LinkId=827846
3
+ // for the documentation about the extensions.json format
4
+ "recommendations": [
5
+ "dbaeumer.vscode-eslint",
6
+ "amodio.tsl-problem-matcher"
7
+ ]
8
+ }
@@ -7,7 +7,7 @@
7
7
  "configurations": [
8
8
  {
9
9
  "name": "Run Web Extension ",
10
- "type": "pwa-extensionHost",
10
+ "type": "extensionHost",
11
11
  "debugWebWorkerHost": true,
12
12
  "request": "launch",
13
13
  "args": [
@@ -17,7 +17,7 @@
17
17
  "outFiles": [
18
18
  "${workspaceFolder}/dist/web/**/*.js"
19
19
  ],
20
- "preLaunchTask": "npm: watch-web"
20
+ "preLaunchTask": "${defaultBuildTask}"
21
21
  },
22
22
  {
23
23
  "name": "Extension Tests",
@@ -32,7 +32,7 @@
32
32
  "outFiles": [
33
33
  "${workspaceFolder}/dist/web/**/*.js"
34
34
  ],
35
- "preLaunchTask": "npm: watch-web"
35
+ "preLaunchTask": "${defaultBuildTask}"
36
36
  }
37
37
  ]
38
38
  }
@@ -0,0 +1,11 @@
1
+ // Place your settings in this file to overwrite default and user settings.
2
+ {
3
+ "files.exclude": {
4
+ "out": false // set this to true to hide the "out" folder with the compiled JS files
5
+ },
6
+ "search.exclude": {
7
+ "out": true // set this to false to include "out" folder in search results
8
+ },
9
+ // Turn off tsc task auto detection since we have the necessary tasks as npm scripts
10
+ "typescript.tsc.autoDetect": "off"
11
+ }
@@ -4,14 +4,14 @@
4
4
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
5
  {
6
6
  "version": "0.2.0",
7
- "configurations": [
8
- {
9
- "name": "Extension",
10
- "type": "extensionHost",
11
- "request": "launch",
12
- "args": [
13
- "--extensionDevelopmentPath=${workspaceFolder}"
14
- ]
15
- }
16
- ]
17
- }
7
+ "configurations": [
8
+ {
9
+ "name": "Extension",
10
+ "type": "extensionHost",
11
+ "request": "launch",
12
+ "args": [
13
+ "--extensionDevelopmentPath=${workspaceFolder}"
14
+ ]
15
+ }
16
+ ]
17
+ }
@@ -4,14 +4,14 @@
4
4
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
5
  {
6
6
  "version": "0.2.0",
7
- "configurations": [
8
- {
9
- "name": "Extension",
10
- "type": "extensionHost",
11
- "request": "launch",
12
- "args": [
13
- "--extensionDevelopmentPath=${workspaceFolder}"
14
- ]
15
- }
16
- ]
17
- }
7
+ "configurations": [
8
+ {
9
+ "name": "Extension",
10
+ "type": "extensionHost",
11
+ "request": "launch",
12
+ "args": [
13
+ "--extensionDevelopmentPath=${workspaceFolder}"
14
+ ]
15
+ }
16
+ ]
17
+ }
@@ -4,14 +4,14 @@
4
4
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
5
  {
6
6
  "version": "0.2.0",
7
- "configurations": [
8
- {
9
- "name": "Extension",
10
- "type": "extensionHost",
11
- "request": "launch",
12
- "args": [
13
- "--extensionDevelopmentPath=${workspaceFolder}"
14
- ]
15
- }
16
- ]
17
- }
7
+ "configurations": [
8
+ {
9
+ "name": "Extension",
10
+ "type": "extensionHost",
11
+ "request": "launch",
12
+ "args": [
13
+ "--extensionDevelopmentPath=${workspaceFolder}"
14
+ ]
15
+ }
16
+ ]
17
+ }
@@ -3,35 +3,35 @@
3
3
  // Hover to view descriptions of existing attributes.
4
4
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
5
  {
6
- "version": "0.2.0",
7
- "configurations": [
8
- {
9
- "name": "Run Extension",
10
- "type": "pwa-extensionHost",
11
- "request": "launch",
12
- "args": [
13
- "--extensionDevelopmentPath=${workspaceFolder}",
14
- "${workspaceFolder}/example"
15
- ],
16
- "outFiles": [
17
- "${workspaceFolder}/out/**/*.js"
18
- ],
19
- "debugWebviews": true,
20
- "trace": true,
21
- "preLaunchTask": "npm: watch"
22
- },
23
- {
24
- "name": "Run Extension (no server)",
25
- "type": "extensionHost",
26
- "request": "launch",
27
- "args": [
28
- "--extensionDevelopmentPath=${workspaceFolder}"
29
- ],
30
- "outFiles": [
31
- "${workspaceFolder}/out/**/*.js"
32
- ],
33
- "debugWebviews": true,
34
- "preLaunchTask": "npm: watch"
35
- }
36
- ]
6
+ "version": "0.2.0",
7
+ "configurations": [
8
+ {
9
+ "name": "Run Extension",
10
+ "type": "pwa-extensionHost",
11
+ "request": "launch",
12
+ "args": [
13
+ "--extensionDevelopmentPath=${workspaceFolder}",
14
+ "${workspaceFolder}/example"
15
+ ],
16
+ "outFiles": [
17
+ "${workspaceFolder}/out/**/*.js"
18
+ ],
19
+ "debugWebviews": true,
20
+ "trace": true,
21
+ "preLaunchTask": "npm: watch"
22
+ },
23
+ {
24
+ "name": "Run Extension (no server)",
25
+ "type": "extensionHost",
26
+ "request": "launch",
27
+ "args": [
28
+ "--extensionDevelopmentPath=${workspaceFolder}"
29
+ ],
30
+ "outFiles": [
31
+ "${workspaceFolder}/out/**/*.js"
32
+ ],
33
+ "debugWebviews": true,
34
+ "preLaunchTask": "npm: watch"
35
+ }
36
+ ]
37
37
  }
@@ -1,11 +1,11 @@
1
1
  // Place your settings in this file to overwrite default and user settings.
2
2
  {
3
- "files.exclude": {
4
- "out": false // set this to true to hide the "out" folder with the compiled JS files
5
- },
6
- "search.exclude": {
7
- "out": true // set this to false to include "out" folder in search results
8
- },
9
- // Turn off tsc task auto detection since we have the necessary tasks as npm scripts
10
- "typescript.tsc.autoDetect": "off"
3
+ "files.exclude": {
4
+ "out": false // set this to true to hide the "out" folder with the compiled JS files
5
+ },
6
+ "search.exclude": {
7
+ "out": true // set this to false to include "out" folder in search results
8
+ },
9
+ // Turn off tsc task auto detection since we have the necessary tasks as npm scripts
10
+ "typescript.tsc.autoDetect": "off"
11
11
  }
@@ -1,36 +1,36 @@
1
1
  // See https://go.microsoft.com/fwlink/?LinkId=733558
2
2
  // for the documentation about the tasks.json format
3
3
  {
4
- "version": "2.0.0",
5
- "tasks": [
6
- {
7
- "type": "npm",
8
- "script": "dev",
9
- "problemMatcher": ["$tsc-watch", "$ts-checker-webpack-watch"],
10
- "isBackground": true,
11
- "presentation": {
12
- "reveal": "never"
13
- },
14
- "group": {
15
- "kind": "build",
16
- "isDefault": true
17
- }
18
- },
19
- {
20
- "type": "npm",
21
- "script": "watch",
22
- "problemMatcher": ["$tsc-watch", "$ts-checker-webpack-watch"],
23
- "isBackground": true,
24
- "presentation": {
25
- "reveal": "never"
26
- },
27
- "group": "build"
28
- },
29
- {
30
- "type": "npm",
31
- "script": "compile",
32
- "problemMatcher": ["$tsc", "$ts-checker-webpack"],
33
- "group": "build"
34
- }
35
- ]
4
+ "version": "2.0.0",
5
+ "tasks": [
6
+ {
7
+ "type": "npm",
8
+ "script": "dev",
9
+ "problemMatcher": ["$tsc-watch", "$ts-checker-webpack-watch"],
10
+ "isBackground": true,
11
+ "presentation": {
12
+ "reveal": "never"
13
+ },
14
+ "group": {
15
+ "kind": "build",
16
+ "isDefault": true
17
+ }
18
+ },
19
+ {
20
+ "type": "npm",
21
+ "script": "watch",
22
+ "problemMatcher": ["$tsc-watch", "$ts-checker-webpack-watch"],
23
+ "isBackground": true,
24
+ "presentation": {
25
+ "reveal": "never"
26
+ },
27
+ "group": "build"
28
+ },
29
+ {
30
+ "type": "npm",
31
+ "script": "compile",
32
+ "problemMatcher": ["$tsc", "$ts-checker-webpack"],
33
+ "group": "build"
34
+ }
35
+ ]
36
36
  }
@@ -4,14 +4,14 @@
4
4
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
5
  {
6
6
  "version": "0.2.0",
7
- "configurations": [
8
- {
9
- "name": "Extension",
10
- "type": "extensionHost",
11
- "request": "launch",
12
- "args": [
13
- "--extensionDevelopmentPath=${workspaceFolder}"
14
- ]
15
- }
16
- ]
17
- }
7
+ "configurations": [
8
+ {
9
+ "name": "Extension",
10
+ "type": "extensionHost",
11
+ "request": "launch",
12
+ "args": [
13
+ "--extensionDevelopmentPath=${workspaceFolder}"
14
+ ]
15
+ }
16
+ ]
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-code",
3
- "version": "1.8.6",
3
+ "version": "1.10.0",
4
4
  "description": "Yeoman generator for Visual Studio Code extensions.",
5
5
  "keywords": [
6
6
  "yeoman-generator",
@@ -39,14 +39,14 @@
39
39
  "fast-plist": "^0.1.3",
40
40
  "request-light": "^0.7.0",
41
41
  "which": "^4.0.0",
42
- "yeoman-generator": "^6.0.1",
42
+ "yeoman-generator": "^7.2.0",
43
43
  "yosay": "^3.0.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/mocha": "^10.0.6",
47
47
  "@types/node": "^16.18.82",
48
48
  "mocha": "^10.4.0",
49
- "yeoman-environment": "^3.19.3",
50
- "yeoman-test": "^8.2.0"
49
+ "yeoman-environment": "^4.4.0",
50
+ "yeoman-test": "^8.3.0"
51
51
  }
52
52
  }
@@ -1,5 +0,0 @@
1
- {
2
- // See http://go.microsoft.com/fwlink/?LinkId=827846
3
- // for the documentation about the extensions.json format
4
- "recommendations": ["dbaeumer.vscode-eslint", "amodio.tsl-problem-matcher"]
5
- }