@vscode/codicons 0.0.45 → 0.0.46-1

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/.fantasticonrc.js CHANGED
@@ -3,11 +3,15 @@ var pkg = require('./package.json');
3
3
  var path = require('path');
4
4
  var mapping = require('./src/template/mapping.json');
5
5
 
6
- // Ensure paths are platform-agnostic for Windows CI
7
- var inputDir = path.resolve(__dirname, 'src', 'icons');
8
- var outputDir = path.resolve(__dirname, 'dist');
9
- var templateHtml = path.resolve(__dirname, 'src', 'template', 'preview.hbs');
10
- var templateCss = path.resolve(__dirname, 'src', 'template', 'styles.hbs');
6
+ function normalizePath(filePath) {
7
+ return filePath.replace(/\\/g, '/');
8
+ }
9
+
10
+ // Fantasticon 4.x uses glob patterns internally, which require forward slashes.
11
+ var inputDir = normalizePath(path.resolve(__dirname, 'src', 'icons'));
12
+ var outputDir = normalizePath(path.resolve(__dirname, 'dist'));
13
+ var templateHtml = normalizePath(path.resolve(__dirname, 'src', 'template', 'preview.hbs'));
14
+ var templateCss = normalizePath(path.resolve(__dirname, 'src', 'template', 'styles.hbs'));
11
15
 
12
16
  // Convert new mapping format back to alias -> code format for fantasticon
13
17
  // New format: { "code": ["alias1", "alias2", ...] }
@@ -27,7 +27,7 @@ jobs:
27
27
 
28
28
  - uses: actions/setup-node@v4
29
29
  with:
30
- node-version: '16'
30
+ node-version: '22'
31
31
 
32
32
  - name: Install dependencies
33
33
  run: npm install
@@ -20,7 +20,7 @@ jobs:
20
20
  fetch-depth: 0 # All history
21
21
  - uses: actions/setup-node@v4
22
22
  with:
23
- node-version: '16'
23
+ node-version: '22'
24
24
 
25
25
  - name: Install dependencies
26
26
  run: npm install
@@ -63,3 +63,21 @@ jobs:
63
63
  asset_path: ./dist/codicon.ttf
64
64
  asset_name: codicon-font-${{ github.ref_name }}.ttf
65
65
  asset_content_type: application/x-font-ttf
66
+
67
+ windows-pr-build:
68
+ if: github.event_name == 'pull_request'
69
+ runs-on: windows-latest
70
+
71
+ steps:
72
+ - uses: actions/checkout@v4
73
+
74
+ - uses: actions/setup-node@v4
75
+ with:
76
+ node-version: '22'
77
+ cache: npm
78
+
79
+ - name: Install dependencies
80
+ run: npm ci
81
+
82
+ - name: Build font
83
+ run: npm run build
package/dist/codicon.css CHANGED
@@ -6,7 +6,7 @@
6
6
  @font-face {
7
7
  font-family: "codicon";
8
8
  font-display: block;
9
- src: url("./codicon.ttf?721d4c0a96379d0c13d3d5596893c348") format("truetype");
9
+ src: url("./codicon.ttf?b9e3c71f65a1e12843a58047404a6042") format("truetype");
10
10
  }
11
11
 
12
12
  .codicon[class*='codicon-'] {
@@ -704,5 +704,8 @@
704
704
  .codicon-claude:before { content: "\ec82" }
705
705
  .codicon-open-in-window:before { content: "\ec83" }
706
706
  .codicon-new-session:before { content: "\ec84" }
707
- .codicon-git-fetch:before { content: "\f101" }
708
- .codicon-vm-pending:before { content: "\f102" }
707
+ .codicon-terminal-secure:before { content: "\ec85" }
708
+ .codicon-chat-import:before { content: "\ec86" }
709
+ .codicon-chat-export:before { content: "\ec87" }
710
+ .codicon-vm-pending:before { content: "\f101" }
711
+ .codicon-git-fetch:before { content: "\f102" }