generator-code 1.7.1 → 1.7.3
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/README.md +4 -2
- package/build/pipeline.yml +6 -6
- package/generators/app/dependencyVersions/package.json +13 -13
- package/generators/app/templates/ext-command-js/test/runTest.js +1 -1
- package/generators/app/templates/ext-command-ts/src/test/runTest.ts +1 -1
- package/generators/app/templates/ext-notebook-renderer/src/test/runTest.ts +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Yo Code - Extension and Customization Generator
|
|
2
|
-
|
|
3
|
-
[](https://www.npmjs.org/package/generator-code)
|
|
3
|
+
[](https://npmjs.org/package/generator-code)
|
|
4
|
+
[](https://github.com/microsoft/vscode-generator-code/actions/tests.yml)
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
4
6
|
|
|
5
7
|
We have written a Yeoman generator to help get you started. We plan to add templates for most extension/customization types into this.
|
|
6
8
|
|
package/build/pipeline.yml
CHANGED
|
@@ -26,25 +26,25 @@ extends:
|
|
|
26
26
|
npmPackages:
|
|
27
27
|
- name: generator-code
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
buildSteps:
|
|
30
|
+
- script: npm i
|
|
31
|
+
displayName: Install dependencies
|
|
32
|
+
|
|
33
|
+
testPlatforms:
|
|
30
34
|
- name: Linux
|
|
31
35
|
nodeVersions:
|
|
32
|
-
- 14.x
|
|
33
36
|
- 16.x
|
|
34
37
|
- name: MacOS
|
|
35
38
|
nodeVersions:
|
|
36
|
-
- 14.x
|
|
37
39
|
- 16.x
|
|
38
40
|
- name: Windows
|
|
39
41
|
nodeVersions:
|
|
40
|
-
- 14.x
|
|
41
42
|
- 16.x
|
|
42
43
|
|
|
43
|
-
|
|
44
|
+
testSteps:
|
|
44
45
|
- script: npm i
|
|
45
46
|
displayName: Install dependencies
|
|
46
47
|
|
|
47
|
-
testSteps:
|
|
48
48
|
- bash: |
|
|
49
49
|
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
|
|
50
50
|
echo ">>> Started xvfb"
|
|
@@ -4,30 +4,30 @@
|
|
|
4
4
|
"version": "0.0.0",
|
|
5
5
|
"private": true,
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@types/glob": "^8.0.
|
|
8
|
-
"@types/mocha": "^10.0.
|
|
7
|
+
"@types/glob": "^8.0.1",
|
|
8
|
+
"@types/mocha": "^10.0.1",
|
|
9
9
|
"@types/node": "16.x",
|
|
10
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
11
|
-
"@typescript-eslint/parser": "^5.
|
|
12
|
-
"eslint": "^8.
|
|
13
|
-
"glob": "^8.0
|
|
10
|
+
"@typescript-eslint/eslint-plugin": "^5.49.0",
|
|
11
|
+
"@typescript-eslint/parser": "^5.49.0",
|
|
12
|
+
"eslint": "^8.33.0",
|
|
13
|
+
"glob": "^8.1.0",
|
|
14
14
|
"mocha": "^10.1.0",
|
|
15
|
-
"typescript": "^4.
|
|
16
|
-
"@vscode/test-electron": "^2.2.
|
|
17
|
-
"@vscode/test-web": "^0.0.
|
|
15
|
+
"typescript": "^4.9.4",
|
|
16
|
+
"@vscode/test-electron": "^2.2.2",
|
|
17
|
+
"@vscode/test-web": "^0.0.34",
|
|
18
18
|
"@types/webpack-env": "^1.18.0",
|
|
19
19
|
"@types/vscode-notebook-renderer": "^1.72.0",
|
|
20
20
|
"concurrently": "^5.3.0",
|
|
21
21
|
"css-loader": "^4.2.0",
|
|
22
22
|
"fork-ts-checker-webpack-plugin": "^5.0.14",
|
|
23
23
|
"style-loader": "^1.2.1",
|
|
24
|
-
"ts-loader": "^9.4.
|
|
24
|
+
"ts-loader": "^9.4.2",
|
|
25
25
|
"vscode-dts": "^0.3.3",
|
|
26
26
|
"vscode-notebook-error-overlay": "^1.0.1",
|
|
27
|
-
"webpack": "^5.
|
|
27
|
+
"webpack": "^5.75.0",
|
|
28
28
|
"util": "^0.12.5",
|
|
29
|
-
"webpack-cli": "^
|
|
30
|
-
"webpack-dev-server": "^4.
|
|
29
|
+
"webpack-cli": "^5.0.1",
|
|
30
|
+
"webpack-dev-server": "^4.11.1",
|
|
31
31
|
"assert": "^2.0.0",
|
|
32
32
|
"process": "^0.11.10"
|
|
33
33
|
}
|
|
@@ -15,7 +15,7 @@ async function main() {
|
|
|
15
15
|
// Download VS Code, unzip it and run the integration test
|
|
16
16
|
await runTests({ extensionDevelopmentPath, extensionTestsPath });
|
|
17
17
|
} catch (err) {
|
|
18
|
-
console.error('Failed to run tests');
|
|
18
|
+
console.error('Failed to run tests', err);
|
|
19
19
|
process.exit(1);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -15,7 +15,7 @@ async function main() {
|
|
|
15
15
|
// Download VS Code, unzip it and run the integration test
|
|
16
16
|
await runTests({ extensionDevelopmentPath, extensionTestsPath });
|
|
17
17
|
} catch (err) {
|
|
18
|
-
console.error('Failed to run tests');
|
|
18
|
+
console.error('Failed to run tests', err);
|
|
19
19
|
process.exit(1);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -15,7 +15,7 @@ async function main() {
|
|
|
15
15
|
// Download VS Code, unzip it and run the integration test
|
|
16
16
|
await runTests({ extensionDevelopmentPath, extensionTestsPath });
|
|
17
17
|
} catch (err) {
|
|
18
|
-
console.error('Failed to run tests');
|
|
18
|
+
console.error('Failed to run tests', err);
|
|
19
19
|
process.exit(1);
|
|
20
20
|
}
|
|
21
21
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generator-code",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"description": "Yeoman generator for Visual Studio Code extensions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yeoman-generator",
|
|
@@ -35,20 +35,20 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"chalk": "^4.1.2",
|
|
38
|
-
"fast-plist": "^0.1.
|
|
39
|
-
"request-light": "^0.
|
|
38
|
+
"fast-plist": "^0.1.3",
|
|
39
|
+
"request-light": "^0.7.0",
|
|
40
40
|
"sanitize-filename": "^1.6.3",
|
|
41
|
-
"which": "^
|
|
41
|
+
"which": "^3.0.0",
|
|
42
42
|
"yeoman-generator": "^5.7.0",
|
|
43
43
|
"yosay": "^2.0.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@types/mocha": "^10.0.
|
|
46
|
+
"@types/mocha": "^10.0.1",
|
|
47
47
|
"@types/node": "^16.x",
|
|
48
48
|
"@types/yeoman-generator": "^5.2.11",
|
|
49
49
|
"@types/yeoman-test": "^4.0.3",
|
|
50
|
-
"mocha": "^10.
|
|
51
|
-
"yeoman-environment": "^3.
|
|
50
|
+
"mocha": "^10.2.0",
|
|
51
|
+
"yeoman-environment": "^3.13.0",
|
|
52
52
|
"yeoman-test": "^6.3.0"
|
|
53
53
|
}
|
|
54
54
|
}
|