@cyclone-ui/shiki 0.0.0-stage → 0.0.5
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 +31 -0
- package/README.md +303 -2
- package/dist/dark/INSTALL.md +45 -0
- package/dist/dark/theme.json +125 -0
- package/dist/dark-dimmed/INSTALL.md +45 -0
- package/dist/dark-dimmed/theme.json +125 -0
- package/dist/dark-high-contrast/INSTALL.md +45 -0
- package/dist/dark-high-contrast/theme.json +125 -0
- package/dist/light/INSTALL.md +45 -0
- package/dist/light/theme.json +125 -0
- package/dist/light-dimmed/INSTALL.md +45 -0
- package/dist/light-dimmed/theme.json +125 -0
- package/dist/light-high-contrast/INSTALL.md +45 -0
- package/dist/light-high-contrast/theme.json +125 -0
- package/dist/src/dark/INSTALL.md +45 -0
- package/dist/src/dark/theme.json +125 -0
- package/dist/src/dark-dimmed/INSTALL.md +45 -0
- package/dist/src/dark-dimmed/theme.json +125 -0
- package/dist/src/dark-high-contrast/INSTALL.md +45 -0
- package/dist/src/dark-high-contrast/theme.json +125 -0
- package/dist/src/light/INSTALL.md +45 -0
- package/dist/src/light/theme.json +125 -0
- package/dist/src/light-dimmed/INSTALL.md +45 -0
- package/dist/src/light-dimmed/theme.json +125 -0
- package/dist/src/light-high-contrast/INSTALL.md +45 -0
- package/dist/src/light-high-contrast/theme.json +125 -0
- package/package.json +16 -4
- package/project.json +26 -0
- package/src/dark/INSTALL.md +45 -0
- package/src/dark/theme.json +125 -0
- package/src/dark-dimmed/INSTALL.md +45 -0
- package/src/dark-dimmed/theme.json +125 -0
- package/src/dark-high-contrast/INSTALL.md +45 -0
- package/src/dark-high-contrast/theme.json +125 -0
- package/src/light/INSTALL.md +45 -0
- package/src/light/theme.json +125 -0
- package/src/light-dimmed/INSTALL.md +45 -0
- package/src/light-dimmed/theme.json +125 -0
- package/src/light-high-contrast/INSTALL.md +45 -0
- package/src/light-high-contrast/theme.json +125 -0
- package/tsconfig.json +16 -0
- package/tsconfig.spec.json +13 -0
- package/vitest.config.mts +24 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cyclone-light-high-contrast",
|
|
3
|
+
"settings": [
|
|
4
|
+
{
|
|
5
|
+
"scope": [
|
|
6
|
+
"comment",
|
|
7
|
+
"punctuation.definition.comment"
|
|
8
|
+
],
|
|
9
|
+
"settings": {
|
|
10
|
+
"foreground": "#9a9fa7",
|
|
11
|
+
"fontStyle": "italic"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"scope": [
|
|
16
|
+
"string",
|
|
17
|
+
"constant.other.symbol"
|
|
18
|
+
],
|
|
19
|
+
"settings": {
|
|
20
|
+
"foreground": "#0a4e38"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"scope": [
|
|
25
|
+
"constant",
|
|
26
|
+
"constant.numeric",
|
|
27
|
+
"constant.language"
|
|
28
|
+
],
|
|
29
|
+
"settings": {
|
|
30
|
+
"foreground": "#583902"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"scope": [
|
|
35
|
+
"keyword",
|
|
36
|
+
"storage",
|
|
37
|
+
"storage.type"
|
|
38
|
+
],
|
|
39
|
+
"settings": {
|
|
40
|
+
"foreground": "#0145be"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"scope": [
|
|
45
|
+
"entity.name.function",
|
|
46
|
+
"support.function"
|
|
47
|
+
],
|
|
48
|
+
"settings": {
|
|
49
|
+
"foreground": "#0145be"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"scope": [
|
|
54
|
+
"entity.name.type",
|
|
55
|
+
"entity.other.inherited-class",
|
|
56
|
+
"support.type"
|
|
57
|
+
],
|
|
58
|
+
"settings": {
|
|
59
|
+
"foreground": "#492b9b"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"scope": [
|
|
64
|
+
"entity.name.tag",
|
|
65
|
+
"meta.tag"
|
|
66
|
+
],
|
|
67
|
+
"settings": {
|
|
68
|
+
"foreground": "#0145be"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"scope": [
|
|
73
|
+
"entity.other.attribute-name",
|
|
74
|
+
"support.constant"
|
|
75
|
+
],
|
|
76
|
+
"settings": {
|
|
77
|
+
"foreground": "#0145be"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"scope": [
|
|
82
|
+
"variable",
|
|
83
|
+
"identifier"
|
|
84
|
+
],
|
|
85
|
+
"settings": {
|
|
86
|
+
"foreground": "#3f424a"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"scope": [
|
|
91
|
+
"punctuation",
|
|
92
|
+
"meta.brace"
|
|
93
|
+
],
|
|
94
|
+
"settings": {
|
|
95
|
+
"foreground": "#9a9fa7"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"scope": [
|
|
100
|
+
"invalid",
|
|
101
|
+
"invalid.illegal"
|
|
102
|
+
],
|
|
103
|
+
"settings": {
|
|
104
|
+
"foreground": "#840929"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"displayName": "Cyclone Light",
|
|
109
|
+
"type": "lightHighContrast",
|
|
110
|
+
"fg": "#000000",
|
|
111
|
+
"bg": "#ffffff",
|
|
112
|
+
"colors": {
|
|
113
|
+
"editor.background": "#ffffff",
|
|
114
|
+
"editor.foreground": "#000000",
|
|
115
|
+
"editorCursor.foreground": "#0145be",
|
|
116
|
+
"editor.selectionBackground": "#000000",
|
|
117
|
+
"editor.selectionForeground": "#ffffff",
|
|
118
|
+
"editor.inactiveSelectionBackground": "#ffffff",
|
|
119
|
+
"editorLineNumber.foreground": "#9a9fa7",
|
|
120
|
+
"editorLineNumber.activeForeground": "#3f424a",
|
|
121
|
+
"editorIndentGuide.background1": "#ffffff",
|
|
122
|
+
"editorIndentGuide.activeBackground1": "#9a9fa7",
|
|
123
|
+
"editorWhitespace.foreground": "#9a9fa7"
|
|
124
|
+
}
|
|
125
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../tsconfig.base.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"ignoreDeprecations": "6.0",
|
|
5
|
+
"tsBuildInfoFile": "../../dist/out-tsc/packages/shiki/tsconfig.tsbuildinfo",
|
|
6
|
+
"outDir": "../../dist/out-tsc/packages/shiki"
|
|
7
|
+
},
|
|
8
|
+
"include": [
|
|
9
|
+
"src/**/*.ts",
|
|
10
|
+
"src/**/*.js",
|
|
11
|
+
"src/**/*.json",
|
|
12
|
+
"powerlines.config.ts",
|
|
13
|
+
"powerlines.d.ts"
|
|
14
|
+
],
|
|
15
|
+
"exclude": ["vitest.config.mts", "src/**/*.spec.ts", "src/**/*.test.ts"]
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"types": ["vitest/globals", "vitest/importMeta", "node", "vitest"],
|
|
5
|
+
"outDir": "../../dist/out-tsc"
|
|
6
|
+
},
|
|
7
|
+
"include": [
|
|
8
|
+
"vitest.config.mts",
|
|
9
|
+
"src/**/*.test.ts",
|
|
10
|
+
"src/**/*.spec.ts",
|
|
11
|
+
"src/**/*.d.ts"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { nxViteTsPaths } from "@nx/vite/plugins/nx-tsconfig-paths.plugin";
|
|
2
|
+
import { defineConfig } from "vitest/config";
|
|
3
|
+
|
|
4
|
+
export default defineConfig(() => ({
|
|
5
|
+
root: import.meta.dirname,
|
|
6
|
+
cacheDir: "../../node_modules/.vite/packages/shiki",
|
|
7
|
+
plugins: [nxViteTsPaths()],
|
|
8
|
+
test: {
|
|
9
|
+
name: "shiki",
|
|
10
|
+
watch: false,
|
|
11
|
+
globals: true,
|
|
12
|
+
environment: "node",
|
|
13
|
+
include: [
|
|
14
|
+
"src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}",
|
|
15
|
+
"test/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}",
|
|
16
|
+
"tests/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}"
|
|
17
|
+
],
|
|
18
|
+
reporters: ["default"],
|
|
19
|
+
coverage: {
|
|
20
|
+
reportsDirectory: "../../coverage/packages/shiki",
|
|
21
|
+
provider: "v8" as const
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}));
|