generator-code 1.7.0 → 1.7.2
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 +62 -0
- package/generators/app/dependencyVersions/package.json +13 -13
- 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
|
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
name: $(Date:yyyyMMdd)$(Rev:.r)
|
|
2
|
+
|
|
3
|
+
trigger:
|
|
4
|
+
branches:
|
|
5
|
+
include:
|
|
6
|
+
- main
|
|
7
|
+
pr: none
|
|
8
|
+
|
|
9
|
+
resources:
|
|
10
|
+
repositories:
|
|
11
|
+
- repository: templates
|
|
12
|
+
type: github
|
|
13
|
+
name: microsoft/vscode-engineering
|
|
14
|
+
ref: main
|
|
15
|
+
endpoint: Monaco
|
|
16
|
+
|
|
17
|
+
parameters:
|
|
18
|
+
- name: publishPackage
|
|
19
|
+
displayName: 🚀 Publish generator-code
|
|
20
|
+
type: boolean
|
|
21
|
+
default: false
|
|
22
|
+
|
|
23
|
+
extends:
|
|
24
|
+
template: azure-pipelines/npm-package/pipeline.yml@templates
|
|
25
|
+
parameters:
|
|
26
|
+
npmPackages:
|
|
27
|
+
- name: generator-code
|
|
28
|
+
|
|
29
|
+
buildSteps:
|
|
30
|
+
- script: npm i
|
|
31
|
+
displayName: Install dependencies
|
|
32
|
+
|
|
33
|
+
testPlatforms:
|
|
34
|
+
- name: Linux
|
|
35
|
+
nodeVersions:
|
|
36
|
+
- 14.x
|
|
37
|
+
- 16.x
|
|
38
|
+
- name: MacOS
|
|
39
|
+
nodeVersions:
|
|
40
|
+
- 14.x
|
|
41
|
+
- 16.x
|
|
42
|
+
- name: Windows
|
|
43
|
+
nodeVersions:
|
|
44
|
+
- 14.x
|
|
45
|
+
- 16.x
|
|
46
|
+
|
|
47
|
+
testSteps:
|
|
48
|
+
- script: npm i
|
|
49
|
+
displayName: Install dependencies
|
|
50
|
+
|
|
51
|
+
- bash: |
|
|
52
|
+
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
|
|
53
|
+
echo ">>> Started xvfb"
|
|
54
|
+
displayName: Start xvfb
|
|
55
|
+
condition: eq(variables['Agent.OS'], 'Linux')
|
|
56
|
+
|
|
57
|
+
- script: npm test
|
|
58
|
+
displayName: Test npm package
|
|
59
|
+
env:
|
|
60
|
+
DISPLAY: ':99.0'
|
|
61
|
+
|
|
62
|
+
publishPackage: ${{ parameters.publishPackage }}
|
|
@@ -5,18 +5,18 @@
|
|
|
5
5
|
"private": true,
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@types/glob": "^8.0.0",
|
|
8
|
-
"@types/mocha": "^10.0.
|
|
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.
|
|
10
|
+
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
|
11
|
+
"@typescript-eslint/parser": "^5.45.0",
|
|
12
|
+
"eslint": "^8.28.0",
|
|
13
13
|
"glob": "^8.0.3",
|
|
14
|
-
"mocha": "^10.
|
|
15
|
-
"typescript": "^4.
|
|
16
|
-
"@vscode/test-electron": "^2.
|
|
17
|
-
"@vscode/test-web": "^0.0.
|
|
14
|
+
"mocha": "^10.1.0",
|
|
15
|
+
"typescript": "^4.9.3",
|
|
16
|
+
"@vscode/test-electron": "^2.2.0",
|
|
17
|
+
"@vscode/test-web": "^0.0.33",
|
|
18
18
|
"@types/webpack-env": "^1.18.0",
|
|
19
|
-
"@types/vscode-notebook-renderer": "^1.
|
|
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",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"ts-loader": "^9.4.1",
|
|
25
25
|
"vscode-dts": "^0.3.3",
|
|
26
26
|
"vscode-notebook-error-overlay": "^1.0.1",
|
|
27
|
-
"webpack": "^5.
|
|
28
|
-
"util": "^0.12.
|
|
29
|
-
"webpack-cli": "^
|
|
30
|
-
"webpack-dev-server": "^4.
|
|
27
|
+
"webpack": "^5.75.0",
|
|
28
|
+
"util": "^0.12.5",
|
|
29
|
+
"webpack-cli": "^5.0.0",
|
|
30
|
+
"webpack-dev-server": "^4.11.1",
|
|
31
31
|
"assert": "^2.0.0",
|
|
32
32
|
"process": "^0.11.10"
|
|
33
33
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "generator-code",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.2",
|
|
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.6.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.12.
|
|
50
|
+
"mocha": "^10.1.0",
|
|
51
|
+
"yeoman-environment": "^3.12.1",
|
|
52
52
|
"yeoman-test": "^6.3.0"
|
|
53
53
|
}
|
|
54
54
|
}
|