@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 +9 -5
- package/.github/workflows/gh-pages.yml +1 -1
- package/.github/workflows/release.yml +19 -1
- package/dist/codicon.css +6 -3
- package/dist/codicon.csv +537 -534
- package/dist/codicon.html +1690 -1627
- package/dist/codicon.svg +1 -1
- package/dist/codicon.ttf +0 -0
- package/dist/codiconsLibrary.ts +3 -0
- package/dist/metadata.json +15 -0
- package/package.json +4 -4
- package/scripts/patch-fantasticon.js +95 -0
- package/scripts/reset.js +5 -8
- package/src/icons/chat-export.svg +1 -0
- package/src/icons/chat-import.svg +1 -0
- package/src/icons/new-session.svg +1 -1
- package/src/icons/terminal-secure.svg +1 -0
- package/src/template/mapping.json +9 -0
- package/src/template/metadata.json +15 -0
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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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", ...] }
|
|
@@ -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: '
|
|
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?
|
|
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-
|
|
708
|
-
.codicon-
|
|
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" }
|