generator-code 1.6.4 → 1.6.5

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.
@@ -12,7 +12,7 @@ const witch = require('which');
12
12
 
13
13
  const colortheme = require('./generate-colortheme');
14
14
  const commandjs = require('./generate-command-js');
15
- const commandts = require('./generate-command-ts ');
15
+ const commandts = require('./generate-command-ts');
16
16
  const commandweb = require('./generate-command-web');
17
17
  const extensionpack = require('./generate-extensionpack');
18
18
  const keymap = require('./generate-keymap');
@@ -21,6 +21,7 @@
21
21
  "vscode-dts": "^0.3.1",
22
22
  "vscode-notebook-error-overlay": "^1.0.1",
23
23
  "webpack": "^5.52.1",
24
+ "util": "^0.12.4",
24
25
  "webpack-cli": "^4.8.0",
25
26
  "webpack-dev-server": "^3.11.2",
26
27
  "assert": "^2.0.0",
@@ -13,7 +13,7 @@
13
13
  <%- JSON.stringify(`onCommand:${name}.helloWorld`) %>
14
14
  ],
15
15
  "main": "./out/extension.js",<% if (insiders) { %>
16
- "enableProposedApi": true,<% } %>
16
+ "enabledApiProposals": [],<% } %>
17
17
  "contributes": {
18
18
  "commands": [
19
19
  {
@@ -13,7 +13,7 @@
13
13
  <%- JSON.stringify(`onCommand:${name}.helloWorld`) %>
14
14
  ],
15
15
  "main": "./dist/extension.js",<% if (insiders) { %>
16
- "enableProposedApi": true,<% } %>
16
+ "enabledApiProposals": [],<% } %>
17
17
  "contributes": {
18
18
  "commands": [
19
19
  {
@@ -11,7 +11,7 @@
11
11
 
12
12
  ## Setup
13
13
 
14
- - install the recommended extensions (amodio.tsl-problem-matcher and dbaeumer.vscode-eslint)
14
+ * install the recommended extensions (amodio.tsl-problem-matcher and dbaeumer.vscode-eslint)
15
15
 
16
16
 
17
17
  ## Get up and running straight away
@@ -42,6 +42,6 @@
42
42
 
43
43
  ## Go further
44
44
 
45
- * Reduce the extension size and improve the startup time by [bundling your extension](https://code.visualstudio.com/api/working-with-extensions/bundling-extension).
46
- * [Publish your extension](https://code.visualstudio.com/api/working-with-extensions/publishing-extension) on the VSCode extension marketplace.
47
- * Automate builds by setting up [Continuous Integration](https://code.visualstudio.com/api/working-with-extensions/continuous-integration).
45
+ * Reduce the extension size and improve the startup time by [bundling your extension](https://code.visualstudio.com/api/working-with-extensions/bundling-extension).
46
+ * [Publish your extension](https://code.visualstudio.com/api/working-with-extensions/publishing-extension) on the VSCode extension marketplace.
47
+ * Automate builds by setting up [Continuous Integration](https://code.visualstudio.com/api/working-with-extensions/continuous-integration).
@@ -52,6 +52,7 @@
52
52
  <%- dep("typescript") %>,
53
53
  <%- dep("vscode-notebook-error-overlay") %>,
54
54
  <%- dep("@vscode/test-electron") %>,
55
+ <%- dep("util") %>,
55
56
  <%- dep("webpack") %>,
56
57
  <%- dep("webpack-cli") %>
57
58
  }
@@ -14,8 +14,12 @@ const makeConfig = (argv, { entry, out, target, library = 'commonjs' }) => ({
14
14
  libraryTarget: library,
15
15
  chunkFormat: library,
16
16
  },
17
+ externals: {
18
+ vscode: 'commonjs vscode',
19
+ },
17
20
  resolve: {
18
21
  extensions: ['.ts', '.tsx', '.js', '.jsx', '.css'],
22
+ fallback: { "util": require.resolve("util/") }
19
23
  },
20
24
  experiments: {
21
25
  outputModule: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-code",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "description": "Yeoman generator for Visual Studio Code Extensions",
5
5
  "keywords": [
6
6
  "yeoman-generator",
@@ -36,7 +36,7 @@
36
36
  "dependencies": {
37
37
  "chalk": "^4.1.2",
38
38
  "fast-plist": "^0.1.2",
39
- "request-light": "^0.5.4",
39
+ "request-light": "^0.5.5",
40
40
  "sanitize-filename": "^1.6.3",
41
41
  "which": "^2.0.2",
42
42
  "yeoman-generator": "^5.4.2",
@@ -49,6 +49,7 @@
49
49
  "@types/yeoman-test": "^4.0.3",
50
50
  "mocha": "^9.1.3",
51
51
  "yeoman-test": "^6.2.0",
52
- "yeoman-environment": "^3.6.0"
52
+ "yeoman-environment": "^3.8.1",
53
+ "json-schema": ">=0.4.0"
53
54
  }
54
55
  }