material-icon-theme 4.26.0 → 4.27.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 (146) hide show
  1. package/dist/material-icons.json +5704 -0
  2. package/icons/file.svg +1 -0
  3. package/icons/folder-open.svg +1 -0
  4. package/icons/folder-root-open.svg +1 -0
  5. package/icons/folder-root.svg +1 -0
  6. package/icons/folder.svg +1 -0
  7. package/icons/ifanr-cloud.svg +10 -0
  8. package/icons/mermaid.svg +4 -0
  9. package/icons/qwik.svg +2 -0
  10. package/package.json +7 -1
  11. package/.eslintignore +0 -1
  12. package/.eslintrc.json +0 -51
  13. package/.github/FUNDING.yml +0 -3
  14. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -34
  15. package/.github/ISSUE_TEMPLATE/icon_request.md +0 -27
  16. package/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +0 -7
  17. package/.github/workflows/build.yml +0 -45
  18. package/.github/workflows/color-check.yml +0 -22
  19. package/.github/workflows/release.yml +0 -73
  20. package/.prettierrc +0 -7
  21. package/.vscode/extensions.json +0 -3
  22. package/.vscode/launch.json +0 -43
  23. package/.vscode/settings.json +0 -14
  24. package/.vscode/tasks.json +0 -32
  25. package/.vscodeignore +0 -22
  26. package/CHANGELOG.md +0 -1343
  27. package/CONTRIBUTING.md +0 -232
  28. package/build/web-extension.webpack.config.js +0 -62
  29. package/build/webpack.config.js +0 -39
  30. package/changelog.config.json +0 -4
  31. package/images/commandPalette.png +0 -0
  32. package/images/contributors.png +0 -0
  33. package/images/fileIcons.png +0 -0
  34. package/images/folderIcons.png +0 -0
  35. package/images/how-tos/folder-icon-parts.png +0 -0
  36. package/images/how-tos/pick-folder-colors.png +0 -0
  37. package/images/how-tos/pick-folder-colors.svg +0 -301
  38. package/images/how-tos/svg-folder-icon-with-correct-colors.png +0 -0
  39. package/images/how-tos/svg-folder-icon-with-wrong-colors.png +0 -0
  40. package/images/how-tos/svg-with-light-color.png +0 -0
  41. package/images/how-tos/svg-with-spacing.png +0 -0
  42. package/images/how-tos/svg-with-too-dark-color.png +0 -0
  43. package/images/how-tos/svg-with-wrong-color.png +0 -0
  44. package/images/how-tos/svg-without-spacing.png +0 -0
  45. package/images/set-folder-color.gif +0 -0
  46. package/images/set-folder-theme.gif +0 -0
  47. package/logo.png +0 -0
  48. package/logo.svg +0 -21
  49. package/material-colors.yml +0 -257
  50. package/package.nls.de.json +0 -34
  51. package/package.nls.es.json +0 -29
  52. package/package.nls.fr.json +0 -29
  53. package/package.nls.ja.json +0 -32
  54. package/package.nls.json +0 -34
  55. package/package.nls.nl.json +0 -32
  56. package/package.nls.pl.json +0 -32
  57. package/package.nls.pt-BR.json +0 -29
  58. package/package.nls.pt-PT.json +0 -29
  59. package/package.nls.ru.json +0 -29
  60. package/package.nls.zh-CN.json +0 -29
  61. package/package.nls.zh-TW.json +0 -29
  62. package/src/commands/activate.ts +0 -28
  63. package/src/commands/explorerArrows.ts +0 -55
  64. package/src/commands/fileColor.ts +0 -96
  65. package/src/commands/folderColor.ts +0 -96
  66. package/src/commands/folders.ts +0 -55
  67. package/src/commands/grayscale.ts +0 -55
  68. package/src/commands/iconPacks.ts +0 -64
  69. package/src/commands/index.ts +0 -32
  70. package/src/commands/opacity.ts +0 -46
  71. package/src/commands/restoreConfig.ts +0 -15
  72. package/src/commands/saturation.ts +0 -46
  73. package/src/extension.ts +0 -37
  74. package/src/helpers/changeDetection.ts +0 -109
  75. package/src/helpers/customIcons.ts +0 -8
  76. package/src/helpers/fileConfig.ts +0 -38
  77. package/src/helpers/index.ts +0 -88
  78. package/src/helpers/objects.ts +0 -58
  79. package/src/helpers/types.ts +0 -7
  80. package/src/i18n/index.ts +0 -78
  81. package/src/i18n/lang-de.ts +0 -45
  82. package/src/i18n/lang-en.ts +0 -45
  83. package/src/i18n/lang-es.ts +0 -45
  84. package/src/i18n/lang-fr.ts +0 -45
  85. package/src/i18n/lang-ja.ts +0 -45
  86. package/src/i18n/lang-nl.ts +0 -45
  87. package/src/i18n/lang-pl.ts +0 -45
  88. package/src/i18n/lang-pt-br.ts +0 -45
  89. package/src/i18n/lang-pt-pt.ts +0 -45
  90. package/src/i18n/lang-ru.ts +0 -45
  91. package/src/i18n/lang-uk.ts +0 -45
  92. package/src/i18n/lang-zh-cn.ts +0 -45
  93. package/src/i18n/lang-zh-tw.ts +0 -45
  94. package/src/icons/fileIcons.ts +0 -2294
  95. package/src/icons/folderIcons.ts +0 -835
  96. package/src/icons/generator/constants.ts +0 -29
  97. package/src/icons/generator/fileGenerator.ts +0 -233
  98. package/src/icons/generator/folderGenerator.ts +0 -340
  99. package/src/icons/generator/iconOpacity.ts +0 -111
  100. package/src/icons/generator/iconSaturation.ts +0 -140
  101. package/src/icons/generator/index.ts +0 -7
  102. package/src/icons/generator/jsonGenerator.ts +0 -207
  103. package/src/icons/generator/languageGenerator.ts +0 -127
  104. package/src/icons/index.ts +0 -4
  105. package/src/icons/languageIcons.ts +0 -144
  106. package/src/models/i18n/index.ts +0 -1
  107. package/src/models/i18n/translation.ts +0 -43
  108. package/src/models/iconConfiguration.ts +0 -37
  109. package/src/models/icons/defaultIcon.ts +0 -16
  110. package/src/models/icons/files/fileIcon.ts +0 -49
  111. package/src/models/icons/files/fileTypes.ts +0 -14
  112. package/src/models/icons/files/index.ts +0 -2
  113. package/src/models/icons/folders/folderIcon.ts +0 -34
  114. package/src/models/icons/folders/folderTheme.ts +0 -23
  115. package/src/models/icons/folders/index.ts +0 -2
  116. package/src/models/icons/iconJsonOptions.ts +0 -22
  117. package/src/models/icons/iconPack.ts +0 -12
  118. package/src/models/icons/index.ts +0 -6
  119. package/src/models/icons/languages/index.ts +0 -1
  120. package/src/models/icons/languages/languageIdentifier.ts +0 -26
  121. package/src/models/index.ts +0 -3
  122. package/src/models/scripts/contributors/contributor.ts +0 -22
  123. package/src/models/scripts/contributors/contributorsConfig.ts +0 -10
  124. package/src/scripts/contributors/contributors.css +0 -24
  125. package/src/scripts/contributors/index.ts +0 -138
  126. package/src/scripts/helpers/painter.ts +0 -5
  127. package/src/scripts/helpers/screenshots.ts +0 -32
  128. package/src/scripts/helpers/similarity.ts +0 -47
  129. package/src/scripts/helpers/titleCase.ts +0 -7
  130. package/src/scripts/icons/checks/checkIconAvailability.ts +0 -215
  131. package/src/scripts/icons/checks/checkIconConflicts.ts +0 -152
  132. package/src/scripts/icons/checks/checkIconUsage.ts +0 -137
  133. package/src/scripts/icons/checks/index.ts +0 -7
  134. package/src/scripts/icons/generateJson.ts +0 -11
  135. package/src/scripts/preview/index.ts +0 -40
  136. package/src/scripts/preview/preview.ts +0 -163
  137. package/src/scripts/preview/style.css +0 -48
  138. package/src/test/runTest.ts +0 -26
  139. package/src/test/spec/i18n/i18n.spec.ts +0 -54
  140. package/src/test/spec/icons/fileIcons.spec.ts +0 -250
  141. package/src/test/spec/icons/folderIcons.spec.ts +0 -418
  142. package/src/test/spec/icons/languageIcons.spec.ts +0 -184
  143. package/src/test/spec/index.ts +0 -36
  144. package/src/web/extension.ts +0 -10
  145. package/svgo.config.js +0 -12
  146. package/tsconfig.json +0 -23
package/icons/file.svg ADDED
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13 9h5.5L13 3.5V9M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m5 2H6v16h12v-9h-7V4z" fill="#90a4ae" /></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19 20H4c-1.11 0-2-.9-2-2V6c0-1.11.89-2 2-2h6l2 2h7a2 2 0 0 1 2 2H4v10l2.14-8h17.07l-2.28 8.5c-.23.87-1.01 1.5-1.93 1.5z" fill="#90a4ae" /></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 20a8 8 0 0 1-8-8 8 8 0 0 1 8-8 8 8 0 0 1 8 8 8 8 0 0 1-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2z" fill="#90a4ae" /></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 20a8 8 0 0 1-8-8 8 8 0 0 1 8-8 8 8 0 0 1 8 8 8 8 0 0 1-8 8m0-18A10 10 0 0 0 2 12a10 10 0 0 0 10 10 10 10 0 0 0 10-10A10 10 0 0 0 12 2m0 5a5 5 0 0 0-5 5 5 5 0 0 0 5 5 5 5 0 0 0 5-5 5 5 0 0 0-5-5z" fill="#90a4ae" /></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M10 4H4c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8c0-1.11-.9-2-2-2h-8l-2-2z" fill="#90a4ae" /></svg>
@@ -0,0 +1,10 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256">
2
+ <path fill="#0288d1" d="M126.9,41.6c30.2,0,56.1,18.5,67.1,44.8c29.2,6.3,51.1,32.2,51.1,63.3c0,35.7-29,64.7-64.7,64.7h-61.4
3
+ c-2.4,0-4.6,0-7,0c-2.1,0-4,0-6.1,0H60.7c-27.5,0-49.7-22.3-49.7-49.7c0-25.3,18.8-46.1,43.2-49.3l0-0.8
4
+ C54.2,74.3,86.8,41.6,126.9,41.6z M129.5,90.6c-3.5,0-6.3,2.8-6.3,6.4v86.7c0,3.5,2.8,6.4,6.3,6.4c3.5,0,6.3-2.8,6.3-6.4V97
5
+ C135.8,93.5,133,90.6,129.5,90.6z M88.5,116.3c-0.2,10.4-1.6,21-3.7,30.4c-0.9,3.9-1.8,7.4-2.8,10.1c-0.4,1.2-0.8,2.2-1.1,3
6
+ c-0.1,0.3-0.3,0.6-0.4,0.7c-2.2,2.7-1.7,6.7,1,8.9c2.7,2.2,6.7,1.8,8.9-1c4.8-6,10.3-30.4,10.7-51.9c0.1-3.5-2.7-6.4-6.2-6.5
7
+ S88.6,112.8,88.5,116.3z M163.8,110l-0.1,0c-3.5,0.1-6.3,3-6.2,6.5c0.4,21.5,5.9,45.9,10.7,51.9c2.2,2.7,6.2,3.2,8.9,1
8
+ c2.7-2.2,3.1-6.2,1-8.9c-0.1-0.2-0.2-0.4-0.4-0.7c-0.3-0.7-0.7-1.8-1.1-3c-0.9-2.7-1.9-6.2-2.8-10.1c-2.1-9.4-3.5-20-3.7-30.4
9
+ c-0.1-3.5-3-6.3-6.5-6.2L163.8,110z" />
10
+ </svg>
@@ -0,0 +1,4 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg clip-rule="evenodd" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" version="1.1" viewBox="0 0 64 64" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
3
+ <path d="m56.954 11.425c-11.047-0.47281-21.191 6.3243-24.954 16.721-3.7636-10.397-13.907-17.194-24.954-16.721-0.36801 8.7661 3.8257 17.126 11.073 22.072 3.7136 2.5506 5.9328 6.7811 5.9205 11.286v7.8151h15.924v-7.8151c-0.0129-4.5048 2.2058-8.7355 5.919-11.286 7.249-4.9441 11.443-13.305 11.073-22.072z" fill="#ff4081" fill-rule="nonzero" stroke-width=".15366"/>
4
+ </svg>
package/icons/qwik.svg ADDED
@@ -0,0 +1,2 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg id="SVGRoot" version="1.1" viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(.77844 0 0 .77844 7.7439e-8 .74796)" fill="none"><g transform="matrix(.52858 0 0 .52858 3.0839 -.23398)"><path d="m40.973 52.535-8.8869-8.8366-0.1358 0.0194v-0.0969l-18.899-18.662 4.6569-4.4958-2.7359-15.697-12.981 16.084c-2.212 2.2285-2.6195 5.8523-1.0284 8.5265l8.1107 13.449c1.2418 2.0735 3.4926 3.3137 5.9181 3.2943l4.0166-0.0388z" fill="#29b6f6"/><path d="m45.823 20.541-1.7852-3.2943-0.9314-1.6859-0.3686-0.6589-0.0388 0.0388-4.8898-8.4684c-1.2224-2.1316-3.512-3.4494-5.9957-3.43l-4.2882 0.11626-12.787 0.03876c-2.4254 0.01938-4.6374 1.2984-5.8599 3.3719l-7.7809 15.425 13.912-17.266 18.24 20.037-3.2405 3.275 1.9404 15.677 0.0194-0.0388v0.0388h-0.0388l0.0388 0.0387 1.5135 1.4728 7.354 7.1894c0.3105 0.2907 0.815-0.0581 0.6015-0.4263l-4.5404-8.9335 7.9167-14.631 0.2522-0.2907c0.097-0.1163 0.194-0.2325 0.2717-0.3488 1.5523-2.1123 1.7657-4.9415 0.4851-7.2476z" fill="#b388ff"/><path d="m33.308 24.688-18.298-19.94 2.6001 15.619-4.6569 4.5152 18.957 18.816-1.7075-15.619z" fill="#eceff1"/></g></g></svg>
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "material-icon-theme",
3
3
  "displayName": "Material Icon Theme",
4
4
  "description": "Material Design Icons for Visual Studio Code",
5
- "version": "4.26.0",
5
+ "version": "4.27.0",
6
6
  "scripts": {
7
7
  "build": "npm run compile:dev && npm run generateJson",
8
8
  "check": "ts-node ./src/scripts/icons/checks",
@@ -77,6 +77,10 @@
77
77
  "main": "./dist/extension",
78
78
  "browser": "./dist/web/extension.js",
79
79
  "sideEffects": false,
80
+ "files": [
81
+ "icons",
82
+ "dist/material-icons.json"
83
+ ],
80
84
  "contributes": {
81
85
  "iconThemes": [
82
86
  {
@@ -151,6 +155,7 @@
151
155
  "%configuration.activeIconPack.angular_ngrx%",
152
156
  "%configuration.activeIconPack.react%",
153
157
  "%configuration.activeIconPack.react_redux%",
158
+ "%configuration.activeIconPack.qwik%",
154
159
  "%configuration.activeIconPack.vue%",
155
160
  "%configuration.activeIconPack.vue_vuex%",
156
161
  "%configuration.activeIconPack.nest%",
@@ -161,6 +166,7 @@
161
166
  "angular_ngrx",
162
167
  "react",
163
168
  "react_redux",
169
+ "qwik",
164
170
  "vue",
165
171
  "vue_vuex",
166
172
  "nest",
package/.eslintignore DELETED
@@ -1 +0,0 @@
1
- build/**
package/.eslintrc.json DELETED
@@ -1,51 +0,0 @@
1
- {
2
- "extends": ["plugin:prettier/recommended"],
3
- "env": {
4
- "browser": true,
5
- "es6": true,
6
- "node": true
7
- },
8
- "parser": "@typescript-eslint/parser",
9
- "parserOptions": {
10
- "project": "tsconfig.json",
11
- "sourceType": "module"
12
- },
13
- "plugins": ["@typescript-eslint"],
14
- "rules": {
15
- "@typescript-eslint/naming-convention": [
16
- "error",
17
- {
18
- "selector": "variable",
19
- "format": ["camelCase"]
20
- }
21
- ],
22
- "@typescript-eslint/prefer-namespace-keyword": "error",
23
- "no-trailing-spaces": "error",
24
- "camelcase": "error",
25
- "prefer-const": "error",
26
- "eqeqeq": ["error", "smart"],
27
- "id-blacklist": [
28
- "error",
29
- "any",
30
- "Number",
31
- "number",
32
- "String",
33
- "string",
34
- "Boolean",
35
- "boolean",
36
- "Undefined"
37
- ],
38
- "id-match": "error",
39
- "no-eval": "error",
40
- "no-underscore-dangle": "error",
41
- "no-unsafe-finally": "error",
42
- "no-var": "error",
43
- "spaced-comment": "error",
44
- "prettier/prettier": [
45
- "error",
46
- {
47
- "endOfLine": "auto"
48
- }
49
- ]
50
- }
51
- }
@@ -1,3 +0,0 @@
1
- # These are supported funding model platforms
2
- github: [pkief]
3
- custom: ['https://paypal.me/philippkief', 'https://buymeacoffee.com/pkief']
@@ -1,34 +0,0 @@
1
- ---
2
- name: Bug report
3
- about: Create a report to help us improve
4
- title: ''
5
- labels: ''
6
- assignees: ''
7
-
8
- ---
9
-
10
- **Describe the bug**
11
- A clear and concise description of what the bug is.
12
-
13
- **To Reproduce**
14
- Steps to reproduce the behavior:
15
- 1. Go to '...'
16
- 2. Click on '....'
17
- 3. Scroll down to '....'
18
- 4. See error
19
-
20
- **Expected behavior**
21
- A clear and concise description of what you expected to happen.
22
-
23
- **Screenshots**
24
- If applicable, add screenshots to help explain your problem.
25
-
26
- **Computer information (please complete the following information):**
27
- - OS edition: [e.g. Windows 10 Home]
28
- - OS build: [e.g. 19042.1165]
29
- - Browser [e.g. chrome, safari]
30
- - Version [e.g. 22]
31
- - VSCode version [e.g. 1.59.1]
32
-
33
- **Additional context**
34
- Add any other context about the problem here.
@@ -1,27 +0,0 @@
1
- ---
2
- name: Icon Request
3
- about: Ask for specific icons to be added
4
- title: '[Icon Request] <icon_name>'
5
- labels: ''
6
- assignees: ''
7
-
8
- ---
9
-
10
- **Icon Type**
11
- - [ ] Folder
12
- - [ ] File
13
-
14
- **Folder Names**
15
- <!-- delete if not applicable -->
16
- - ...
17
-
18
- **File Names**
19
- <!-- delete if not applicable -->
20
- - ...
21
-
22
- **Graphic ideas**
23
- <!-- include a link to sample icons if possible -->
24
- A clear description of the icon you would like. If the icons are separate for folder and files, please create separate issues.
25
-
26
- **Additional context**
27
- Add any other context about the problem here.
@@ -1,7 +0,0 @@
1
- # Description
2
-
3
- <!-- Please describe in a short sentence or bullet points what changes you have made. -->
4
-
5
- ## Contribution Guidelines
6
-
7
- [ ] By creating this pull request, I acknowledge that I have read the [Contribution Guidelines](../../CONTRIBUTING.md) for this project.
@@ -1,45 +0,0 @@
1
- name: Build + Test
2
-
3
- on: [push, pull_request]
4
-
5
- jobs:
6
- test:
7
- runs-on: ${{ matrix.os }}
8
- strategy:
9
- matrix:
10
- os: [windows-latest, ubuntu-latest]
11
- node-version: [16.x]
12
-
13
- name: ${{ matrix.os }} (Node.js ${{ matrix.node-version }})
14
-
15
- steps:
16
- - name: Checkout 🛎
17
- uses: actions/checkout@v3
18
- - name: Setup Node.js ${{ matrix.node-version }} ⚙
19
- uses: actions/setup-node@v3
20
- with:
21
- node-version: ${{ matrix.node-version }}
22
- - name: Run display server 🖥
23
- run: /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & echo "Started xvfb"
24
- shell: bash
25
- if: ${{ success() && matrix.os == 'ubuntu-latest' }}
26
- - name: Install node_modules 📦
27
- run: npm ci
28
- - name: Cache node_modules 💾
29
- uses: actions/cache@v3
30
- env:
31
- cache-name: cache-node-modules
32
- with:
33
- # npm cache files are stored in `~/.npm` on Linux/macOS
34
- path: ~/.npm
35
- key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
36
- restore-keys: |
37
- ${{ runner.os }}-build-${{ env.cache-name }}-
38
- ${{ runner.os }}-build-
39
- ${{ runner.os }}-
40
- - name: Test + Build 🚀
41
- run: |
42
- npm test
43
- npm run vscode:prepublish
44
- env:
45
- DISPLAY: ':99.0'
@@ -1,22 +0,0 @@
1
- name: Check SVG icon colors
2
-
3
- on:
4
- pull_request:
5
- paths:
6
- - 'icons/*.svg'
7
-
8
- jobs:
9
- color-check:
10
- name: SVG Color Check
11
- runs-on: ubuntu-latest
12
- env:
13
- TARGET_BRANCH: ${{ github.event.pull_request.base.ref }}
14
- steps:
15
- - name: Checkout 🛎️
16
- uses: actions/checkout@v3
17
- with:
18
- fetch-depth: 0
19
- - name: Check colors 🎨
20
- run: |
21
- svgFiles=$(git diff origin/${{ env.TARGET_BRANCH }} --diff-filter=ACMRTUX --name-only | grep '.svg$')
22
- npx svg-color-linter --colors material-colors.yml ${svgFiles}
@@ -1,73 +0,0 @@
1
- name: Release + Publish
2
-
3
- on:
4
- workflow_dispatch:
5
- inputs:
6
- versionChange:
7
- type: choice
8
- description: Select the version change
9
- required: true
10
- options:
11
- - major
12
- - minor
13
- - patch
14
-
15
- jobs:
16
- release:
17
- runs-on: ubuntu-latest
18
- env:
19
- VERSION_CHANGE: ${{ github.event.inputs.versionChange }}
20
- steps:
21
- - name: Checkout 🛎️
22
- uses: actions/checkout@v3
23
- with:
24
- fetch-depth: 0
25
- - name: Setup Node.js ⚙️
26
- uses: actions/setup-node@v3
27
- with:
28
- node-version: 'lts/*'
29
- registry-url: 'https://registry.npmjs.org'
30
- - name: Install node_modules 📦
31
- run: |
32
- npm ci
33
- npm install --global @vscode/vsce
34
- - name: Update version ↗
35
- run: |
36
- git config --global user.name 'Philipp Kief'
37
- git config --global user.email 'PKief@users.noreply.github.com'
38
- git config --global push.followTags true
39
- npm version ${{ env.VERSION_CHANGE }} -m "Release %s"
40
- - name: Get meta data 🔍
41
- run: |
42
- NODE_VERSION=$(node -p -e "require('./package.json').version")
43
- echo VERSION=$NODE_VERSION >> $GITHUB_ENV
44
- NODE_NAME=$(node -p -e "require('./package.json').name")
45
- echo NAME=$NODE_NAME >> $GITHUB_ENV
46
- NODE_DISPLAY_NAME=$(node -p -e "require('./package.json').displayName")
47
- echo DISPLAY_NAME=$NODE_DISPLAY_NAME >> $GITHUB_ENV
48
- - name: Build ⚒️
49
- run: vsce package
50
- - name: Push tags 📌
51
- run: git push
52
- - name: Release ${{ env.VERSION }} 🔆
53
- uses: softprops/action-gh-release@v1
54
- with:
55
- files: ${{ env.NAME }}-${{ env.VERSION }}.vsix
56
- tag_name: v${{ env.VERSION }}
57
- name: ${{ env.DISPLAY_NAME }} v${{ env.VERSION }}
58
- generate_release_notes: true
59
- - name: Publish to Open VSX Registry 🌐
60
- uses: HaaLeo/publish-vscode-extension@v1
61
- with:
62
- pat: ${{ secrets.OPEN_VSX_TOKEN }}
63
- extensionFile: ${{ env.NAME }}-${{ env.VERSION }}.vsix
64
- - name: Publish to Visual Studio Marketplace 🌐
65
- uses: HaaLeo/publish-vscode-extension@v1
66
- with:
67
- pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
68
- registryUrl: https://marketplace.visualstudio.com
69
- extensionFile: ${{ env.NAME }}-${{ env.VERSION }}.vsix
70
- - name: Publish to NPM Registry 🌐
71
- run: npm publish
72
- env:
73
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/.prettierrc DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "trailingComma": "es5",
3
- "tabWidth": 2,
4
- "semi": true,
5
- "singleQuote": true,
6
- "endOfLine": "auto"
7
- }
@@ -1,3 +0,0 @@
1
- {
2
- "recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
3
- }
@@ -1,43 +0,0 @@
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": "Launch Extension",
10
- "type": "extensionHost",
11
- "request": "launch",
12
- "runtimeExecutable": "${execPath}",
13
- "args": ["--extensionDevelopmentPath=${workspaceFolder}"],
14
- "outFiles": ["${workspaceFolder}/dist/**/*.js"],
15
- "smartStep": true,
16
- "preLaunchTask": "npm: build"
17
- },
18
- {
19
- "name": "Run Web Extension in VS Code",
20
- "type": "pwa-extensionHost",
21
- "debugWebWorkerHost": true,
22
- "request": "launch",
23
- "args": [
24
- "--extensionDevelopmentPath=${workspaceFolder}",
25
- "--extensionDevelopmentKind=web"
26
- ],
27
- "outFiles": ["${workspaceFolder}/dist/web/**/*.js"],
28
- "preLaunchTask": "npm: watch-web"
29
- },
30
- {
31
- "name": "Launch Tests",
32
- "type": "extensionHost",
33
- "request": "launch",
34
- "runtimeExecutable": "${execPath}",
35
- "args": [
36
- "--extensionDevelopmentPath=${workspaceFolder}",
37
- "--extensionTestsPath=${workspaceFolder}/out/test/spec/index"
38
- ],
39
- "outFiles": ["${workspaceFolder}/out/test/**/*.js"],
40
- "preLaunchTask": "npm: pretest"
41
- }
42
- ]
43
- }
@@ -1,14 +0,0 @@
1
- {
2
- "files.exclude": {
3
- "out": false
4
- },
5
- "search.exclude": {
6
- "out": true
7
- },
8
- "editor.defaultFormatter": "esbenp.prettier-vscode",
9
- "editor.codeActionsOnSave": {
10
- "source.fixAll.eslint": true
11
- },
12
- "eslint.validate": ["typescript"],
13
- "editor.formatOnSave": true
14
- }
@@ -1,32 +0,0 @@
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
- "type": "npm",
8
- "script": "build",
9
- "problemMatcher": "$tsc-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": "lint",
22
- "problemMatcher": ["$eslint-stylish"]
23
- },
24
- {
25
- "type": "npm",
26
- "script": "watch-web",
27
- "group": "build",
28
- "isBackground": true,
29
- "problemMatcher": ["$ts-webpack-watch", "$tslint-webpack-watch"]
30
- }
31
- ]
32
- }
package/.vscodeignore DELETED
@@ -1,22 +0,0 @@
1
- .vscode/**
2
- .github/**
3
- .vscode-test/**
4
- out/**
5
- test/**
6
- src/**
7
- scripts/**
8
- **/*.map
9
- .gitignore
10
- tsconfig.json
11
- tslint.json
12
- images/**
13
- vsc-extension-quickstart.md
14
- logo.svg
15
- node_modules
16
- package-lock.json
17
- yarn.lock
18
- build/**
19
- svgo.config.js
20
- .eslintignore
21
- material-colors.yml
22
- changelog.config.json