material-icon-theme 4.18.1 → 4.19.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file. Dates are displayed in UTC.
4
4
 
5
5
 
6
+ #### [v4.19.0](https://github.com/PKief/vscode-material-icon-theme/compare/v4.18.1...v4.19.0)
7
+
8
+ > July 2, 2022
9
+
10
+ - fix: added __integration-tests__ folder [`#1585`](https://github.com/PKief/vscode-material-icon-theme/pull/1585)
11
+ - fix: update cypress files [`#1582`](https://github.com/PKief/vscode-material-icon-theme/pull/1582)
12
+ - [Add] Cypress file name "cypress.config.js" in fileIcon.ts [`#1579`](https://github.com/PKief/vscode-material-icon-theme/pull/1579)
13
+ - feat: add support for new type declaration files [`#1576`](https://github.com/PKief/vscode-material-icon-theme/pull/1576)
14
+ - feat: add `tsconfig.node.json` [`#1575`](https://github.com/PKief/vscode-material-icon-theme/pull/1575)
15
+ - Adds Cypress 10.x e2e extension [`#1573`](https://github.com/PKief/vscode-material-icon-theme/pull/1573)
16
+ - Fixing non-object workspace settings bug [`#1565`](https://github.com/PKief/vscode-material-icon-theme/pull/1565)
17
+
6
18
  #### [v4.18.1](https://github.com/PKief/vscode-material-icon-theme/compare/v4.18.0...v4.18.1)
7
19
 
8
20
  > June 9, 2022
Binary file
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.18.1",
5
+ "version": "4.19.0",
6
6
  "scripts": {
7
7
  "build": "npm run compile:dev && npm run postcompile",
8
8
  "check": "ts-node ./src/scripts/icons/checks",
@@ -89,7 +89,11 @@ const getConfigValue = (themeConfig: {
89
89
  defaultValue: unknown;
90
90
  }) => {
91
91
  let configValue;
92
- if (themeConfig.workspaceValue && themeConfig.globalValue) {
92
+ if (
93
+ typeof themeConfig.workspaceValue === 'object' &&
94
+ themeConfig.workspaceValue &&
95
+ themeConfig.globalValue
96
+ ) {
93
97
  configValue = merge(
94
98
  {},
95
99
  themeConfig.workspaceValue,
@@ -246,7 +246,10 @@ export const fileIcons: FileIcons = {
246
246
  '.clang-tidy',
247
247
  ],
248
248
  },
249
- { name: 'typescript-def', fileExtensions: ['d.ts'] },
249
+ {
250
+ name: 'typescript-def',
251
+ fileExtensions: ['d.ts', 'd.cts', 'd.mts'],
252
+ },
250
253
  { name: 'markojs', fileExtensions: ['marko'] },
251
254
  {
252
255
  name: 'astro',
@@ -688,6 +691,7 @@ export const fileIcons: FileIcons = {
688
691
  'spec.ts',
689
692
  'spec.cts',
690
693
  'spec.mts',
694
+ 'cy.ts',
691
695
  'e2e-spec.ts',
692
696
  'e2e-spec.cts',
693
697
  'e2e-spec.mts',
@@ -706,6 +710,8 @@ export const fileIcons: FileIcons = {
706
710
  'spec.jsx',
707
711
  'test.jsx',
708
712
  'jsx.snap',
713
+ 'cy.jsx',
714
+ 'cy.tsx',
709
715
  ],
710
716
  },
711
717
  {
@@ -721,6 +727,7 @@ export const fileIcons: FileIcons = {
721
727
  'test.cjs',
722
728
  'test.mjs',
723
729
  'js.snap',
730
+ 'cy.js',
724
731
  ],
725
732
  },
726
733
  {
@@ -1922,6 +1929,7 @@ export const fileIcons: FileIcons = {
1922
1929
  'tsconfig.build.json',
1923
1930
  'tsconfig.eslint.json',
1924
1931
  'tsconfig.lib.json',
1932
+ 'tsconfig.node.json',
1925
1933
  ],
1926
1934
  fileExtensions: ['tsconfig.json'],
1927
1935
  },
@@ -2030,7 +2038,17 @@ export const fileIcons: FileIcons = {
2030
2038
  ],
2031
2039
  },
2032
2040
  { name: 'rome', fileNames: ['rome.json'] },
2033
- { name: 'cypress', fileNames: ['cypress.json', 'cypress.env.json'] },
2041
+ {
2042
+ name: 'cypress',
2043
+ fileNames: [
2044
+ 'cypress.json',
2045
+ 'cypress.env.json',
2046
+ 'cypress.config.ts',
2047
+ 'cypress.config.js',
2048
+ 'cypress.config.cjs',
2049
+ 'cypress.config.mjs',
2050
+ ],
2051
+ },
2034
2052
  { name: 'siyuan', fileExtensions: ['sy'] },
2035
2053
  { name: 'ndst', fileExtensions: ['ndst.yml', 'ndst.yaml', 'ndst.json'] },
2036
2054
  { name: 'plop', fileNames: ['plopfile.js', 'plopfile.ts'] },
@@ -343,6 +343,8 @@ export const folderIcons: FolderTheme[] = [
343
343
  'it',
344
344
  'integration-test',
345
345
  'integration-tests',
346
+ '__integration-test__',
347
+ '__integration-tests__',
346
348
  ],
347
349
  },
348
350
  {