Skip to content

Commit 3ec51ba

Browse files
authored
Merge pull request #1818 from shentao/1817-update-dependencies-and-underlining-node-version-from-1418-to-22
1817-update-dependencies-and-underlining-node-version-from-1418-to-22
2 parents f86e2e1 + a81a990 commit 3ec51ba

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+28533
-19714
lines changed

.circleci/config.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ jobs:
33
build:
44
docker:
55
# specify the version you desire here
6-
- image: cimg/node:14.18.1
6+
- image: cimg/node:22.4.0
77

88
# Specify service dependencies here if necessary
99
# CircleCI maintains a library of pre-built images
@@ -22,15 +22,16 @@ jobs:
2222
# fallback to using the latest cache if no exact match is found
2323
- v1-dependencies-
2424

25-
- run: yarn install
25+
- run:
26+
command: npm ci -d
2627

2728
- save_cache:
2829
paths:
2930
- node_modules
3031
key: v1-dependencies-{{ checksum "package.json" }}
3132

3233
# run tests!
33-
- run: npm test
34+
- run: npm run test
3435

3536
# To reeneable that the lib needs an account on codecov
3637
# - run:

.eslintrc.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ module.exports = {
66
'plugin:vue/essential'
77
],
88
parserOptions: {
9-
'ecmaVersion': 2017,
10-
'sourceType': 'module',
11-
'parser': 'babel-eslint',
9+
ecmaVersion: 2017,
10+
sourceType: 'module',
11+
parser: '@babel/eslint-parser'
1212
},
1313
// required to lint *.vue files
1414
plugins: ['html'],
1515
// add your custom rules here
16-
'rules': {
16+
rules: {
1717
// allow paren-less arrow functions
1818
'arrow-parens': 0,
1919
// allow debugger during development

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
registry=https://registry.npmjs.com

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Contributing
2+
3+
When contributing to this repository, please first discuss the change you wish to make via issues or discussions, with the maintainers of this repository before making a change.
4+
5+
## System Requirements
6+
- Node Version: 22.4
7+
- Package Manager: NPM

docs/shiki/dist/index.browser.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/shiki/dist/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { IGrammar, IRawTheme } from 'vscode-textmate';
22

3-
type Theme = 'css-variables' | 'dark-plus' | 'dracula-soft' | 'dracula' | 'github-dark-dimmed' | 'github-dark' | 'github-light' | 'hc_light' | 'light-plus' | 'material-theme-darker' | 'material-theme-lighter' | 'material-theme-ocean' | 'material-theme-palenight' | 'material-theme' | 'min-dark' | 'min-light' | 'monokai' | 'nord' | 'one-dark-pro' | 'poimandres' | 'rose-pine-dawn' | 'rose-pine-moon' | 'rose-pine' | 'slack-dark' | 'slack-ochin' | 'solarized-dark' | 'solarized-light' | 'vitesse-dark' | 'vitesse-light';
3+
type Theme = 'css-variables' | 'dark-plus' | 'dracula-soft' | 'dracula' | 'github-dark-dimmed' | 'github-dark' | 'github-light' | 'light-plus' | 'material-theme-darker' | 'material-theme-lighter' | 'material-theme-ocean' | 'material-theme-palenight' | 'material-theme' | 'min-dark' | 'min-light' | 'monokai' | 'nord' | 'one-dark-pro' | 'poimandres' | 'rose-pine-dawn' | 'rose-pine-moon' | 'rose-pine' | 'slack-dark' | 'slack-ochin' | 'solarized-dark' | 'solarized-light' | 'vitesse-black' | 'vitesse-dark' | 'vitesse-light';
44
declare const themes: Theme[];
55

66
declare enum FontStyle {
@@ -309,7 +309,7 @@ interface ThemedTokenizerOptions {
309309
includeExplanation?: boolean;
310310
}
311311

312-
type Lang = 'abap' | 'actionscript-3' | 'ada' | 'apache' | 'apex' | 'apl' | 'applescript' | 'ara' | 'asm' | 'astro' | 'awk' | 'ballerina' | 'bat' | 'batch' | 'beancount' | 'berry' | 'be' | 'bibtex' | 'bicep' | 'blade' | 'c' | 'cadence' | 'cdc' | 'clarity' | 'clojure' | 'clj' | 'cmake' | 'cobol' | 'codeql' | 'ql' | 'coffee' | 'cpp' | 'c++' | 'crystal' | 'csharp' | 'c#' | 'cs' | 'css' | 'cue' | 'cypher' | 'cql' | 'd' | 'dart' | 'dax' | 'diff' | 'docker' | 'dockerfile' | 'dream-maker' | 'elixir' | 'elm' | 'erb' | 'erlang' | 'erl' | 'fish' | 'fsharp' | 'f#' | 'fs' | 'gdresource' | 'gdscript' | 'gdshader' | 'gherkin' | 'git-commit' | 'git-rebase' | 'glimmer-js' | 'gjs' | 'glimmer-ts' | 'gts' | 'glsl' | 'gnuplot' | 'go' | 'graphql' | 'gql' | 'groovy' | 'hack' | 'haml' | 'handlebars' | 'hbs' | 'haskell' | 'hs' | 'hcl' | 'hjson' | 'hlsl' | 'html' | 'http' | 'imba' | 'ini' | 'properties' | 'java' | 'javascript' | 'js' | 'jinja-html' | 'jison' | 'json' | 'json5' | 'jsonc' | 'jsonl' | 'jsonnet' | 'jssm' | 'fsl' | 'jsx' | 'julia' | 'kotlin' | 'kt' | 'kts' | 'kusto' | 'kql' | 'latex' | 'less' | 'liquid' | 'lisp' | 'logo' | 'lua' | 'make' | 'makefile' | 'markdown' | 'md' | 'marko' | 'matlab' | 'mdc' | 'mdx' | 'mermaid' | 'mojo' | 'narrat' | 'nar' | 'nextflow' | 'nf' | 'nginx' | 'nim' | 'nix' | 'objective-c' | 'objc' | 'objective-cpp' | 'ocaml' | 'pascal' | 'perl' | 'php' | 'plsql' | 'postcss' | 'powerquery' | 'powershell' | 'ps' | 'ps1' | 'prisma' | 'prolog' | 'proto' | 'pug' | 'jade' | 'puppet' | 'purescript' | 'python' | 'py' | 'r' | 'raku' | 'perl6' | 'razor' | 'reg' | 'rel' | 'riscv' | 'rst' | 'ruby' | 'rb' | 'rust' | 'rs' | 'sas' | 'sass' | 'scala' | 'scheme' | 'scss' | 'shaderlab' | 'shader' | 'shellscript' | 'bash' | 'sh' | 'shell' | 'zsh' | 'shellsession' | 'console' | 'smalltalk' | 'solidity' | 'sparql' | 'splunk' | 'spl' | 'sql' | 'ssh-config' | 'stata' | 'stylus' | 'styl' | 'svelte' | 'swift' | 'system-verilog' | 'tasl' | 'tcl' | 'tex' | 'toml' | 'tsx' | 'turtle' | 'twig' | 'typescript' | 'ts' | 'v' | 'vb' | 'cmd' | 'verilog' | 'vhdl' | 'viml' | 'vim' | 'vimscript' | 'vue-html' | 'vue' | 'vyper' | 'vy' | 'wasm' | 'wenyan' | '文言' | 'wgsl' | 'wolfram' | 'xml' | 'xsl' | 'yaml' | 'yml' | 'zenscript' | 'zig';
312+
type Lang = 'abap' | 'actionscript-3' | 'ada' | 'apache' | 'apex' | 'apl' | 'applescript' | 'ara' | 'asm' | 'astro' | 'awk' | 'ballerina' | 'bat' | 'batch' | 'beancount' | 'berry' | 'be' | 'bibtex' | 'bicep' | 'blade' | 'c' | 'cadence' | 'cdc' | 'clarity' | 'clojure' | 'clj' | 'cmake' | 'cobol' | 'codeql' | 'ql' | 'coffee' | 'cpp' | 'c++' | 'crystal' | 'csharp' | 'c#' | 'cs' | 'css' | 'csv' | 'cue' | 'cypher' | 'cql' | 'd' | 'dart' | 'dax' | 'diff' | 'docker' | 'dockerfile' | 'dream-maker' | 'elixir' | 'elm' | 'erb' | 'erlang' | 'erl' | 'fish' | 'fsharp' | 'f#' | 'fs' | 'gdresource' | 'gdscript' | 'gdshader' | 'gherkin' | 'git-commit' | 'git-rebase' | 'glimmer-js' | 'gjs' | 'glimmer-ts' | 'gts' | 'glsl' | 'gnuplot' | 'go' | 'graphql' | 'gql' | 'groovy' | 'hack' | 'haml' | 'handlebars' | 'hbs' | 'haskell' | 'hs' | 'hcl' | 'hjson' | 'hlsl' | 'html' | 'http' | 'imba' | 'ini' | 'properties' | 'java' | 'javascript' | 'js' | 'jinja-html' | 'jison' | 'json' | 'json5' | 'jsonc' | 'jsonl' | 'jsonnet' | 'jssm' | 'fsl' | 'jsx' | 'julia' | 'kotlin' | 'kt' | 'kts' | 'kusto' | 'kql' | 'latex' | 'less' | 'liquid' | 'lisp' | 'logo' | 'lua' | 'make' | 'makefile' | 'markdown' | 'md' | 'marko' | 'matlab' | 'mdc' | 'mdx' | 'mermaid' | 'mojo' | 'narrat' | 'nar' | 'nextflow' | 'nf' | 'nginx' | 'nim' | 'nix' | 'nushell' | 'nu' | 'objective-c' | 'objc' | 'objective-cpp' | 'ocaml' | 'pascal' | 'perl' | 'php' | 'plsql' | 'postcss' | 'powerquery' | 'powershell' | 'ps' | 'ps1' | 'prisma' | 'prolog' | 'proto' | 'pug' | 'jade' | 'puppet' | 'purescript' | 'python' | 'py' | 'r' | 'raku' | 'perl6' | 'razor' | 'reg' | 'rel' | 'riscv' | 'rst' | 'ruby' | 'rb' | 'rust' | 'rs' | 'sas' | 'sass' | 'scala' | 'scheme' | 'scss' | 'shaderlab' | 'shader' | 'shellscript' | 'bash' | 'sh' | 'shell' | 'zsh' | 'shellsession' | 'console' | 'smalltalk' | 'solidity' | 'sparql' | 'splunk' | 'spl' | 'sql' | 'ssh-config' | 'stata' | 'stylus' | 'styl' | 'svelte' | 'swift' | 'system-verilog' | 'tasl' | 'tcl' | 'tex' | 'toml' | 'tsx' | 'turtle' | 'twig' | 'typescript' | 'ts' | 'v' | 'vb' | 'cmd' | 'verilog' | 'vhdl' | 'viml' | 'vim' | 'vimscript' | 'vue-html' | 'vue' | 'vyper' | 'vy' | 'wasm' | 'wenyan' | '文言' | 'wgsl' | 'wolfram' | 'wl' | 'xml' | 'xsl' | 'yaml' | 'yml' | 'zenscript' | 'zig';
313313
declare const languages: ILanguageRegistration[];
314314

315315
declare function getHighlighter(options: HighlighterOptions): Promise<Highlighter>;

docs/shiki/dist/index.esm.js

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ const themes = [
99
"github-dark-dimmed",
1010
"github-dark",
1111
"github-light",
12-
"hc_light",
1312
"light-plus",
1413
"material-theme-darker",
1514
"material-theme-lighter",
@@ -29,6 +28,7 @@ const themes = [
2928
"slack-ochin",
3029
"solarized-dark",
3130
"solarized-light",
31+
"vitesse-black",
3232
"vitesse-dark",
3333
"vitesse-light"
3434
];
@@ -258,6 +258,13 @@ const languages = [
258258
displayName: "CSS",
259259
samplePath: "css.sample"
260260
},
261+
{
262+
id: "csv",
263+
scopeName: "text.csv",
264+
path: "csv.tmLanguage.json",
265+
displayName: "csv syntax",
266+
samplePath: "csv.sample"
267+
},
261268
{
262269
id: "cue",
263270
scopeName: "source.cue",
@@ -664,8 +671,7 @@ const languages = [
664671
scopeName: "source.css.less",
665672
path: "less.tmLanguage.json",
666673
displayName: "Less",
667-
samplePath: "less.sample",
668-
embeddedLangs: ["css"]
674+
samplePath: "less.sample"
669675
},
670676
{
671677
id: "liquid",
@@ -798,6 +804,14 @@ const languages = [
798804
displayName: "Nix",
799805
samplePath: "nix.sample"
800806
},
807+
{
808+
id: "nushell",
809+
scopeName: "source.nushell",
810+
path: "nushell.tmLanguage.json",
811+
displayName: "nushell",
812+
samplePath: "nushell.sample",
813+
aliases: ["nu"]
814+
},
801815
{
802816
id: "objective-c",
803817
scopeName: "source.objc",
@@ -1187,7 +1201,7 @@ const languages = [
11871201
path: "twig.tmLanguage.json",
11881202
displayName: "Twig",
11891203
samplePath: "twig.sample",
1190-
embeddedLangs: ["css", "javascript", "php", "python", "ruby"]
1204+
embeddedLangs: ["css", "javascript", "scss", "php", "python", "ruby"]
11911205
},
11921206
{
11931207
id: "typescript",
@@ -1285,7 +1299,8 @@ const languages = [
12851299
scopeName: "source.wolfram",
12861300
path: "wolfram.tmLanguage.json",
12871301
displayName: "Wolfram",
1288-
samplePath: "wolfram.sample"
1302+
samplePath: "wolfram.sample",
1303+
aliases: ["wl"]
12891304
},
12901305
{
12911306
id: "xml",

docs/shiki/dist/index.js

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const themes = [
1111
"github-dark-dimmed",
1212
"github-dark",
1313
"github-light",
14-
"hc_light",
1514
"light-plus",
1615
"material-theme-darker",
1716
"material-theme-lighter",
@@ -31,6 +30,7 @@ const themes = [
3130
"slack-ochin",
3231
"solarized-dark",
3332
"solarized-light",
33+
"vitesse-black",
3434
"vitesse-dark",
3535
"vitesse-light"
3636
];
@@ -260,6 +260,13 @@ const languages = [
260260
displayName: "CSS",
261261
samplePath: "css.sample"
262262
},
263+
{
264+
id: "csv",
265+
scopeName: "text.csv",
266+
path: "csv.tmLanguage.json",
267+
displayName: "csv syntax",
268+
samplePath: "csv.sample"
269+
},
263270
{
264271
id: "cue",
265272
scopeName: "source.cue",
@@ -666,8 +673,7 @@ const languages = [
666673
scopeName: "source.css.less",
667674
path: "less.tmLanguage.json",
668675
displayName: "Less",
669-
samplePath: "less.sample",
670-
embeddedLangs: ["css"]
676+
samplePath: "less.sample"
671677
},
672678
{
673679
id: "liquid",
@@ -800,6 +806,14 @@ const languages = [
800806
displayName: "Nix",
801807
samplePath: "nix.sample"
802808
},
809+
{
810+
id: "nushell",
811+
scopeName: "source.nushell",
812+
path: "nushell.tmLanguage.json",
813+
displayName: "nushell",
814+
samplePath: "nushell.sample",
815+
aliases: ["nu"]
816+
},
803817
{
804818
id: "objective-c",
805819
scopeName: "source.objc",
@@ -1189,7 +1203,7 @@ const languages = [
11891203
path: "twig.tmLanguage.json",
11901204
displayName: "Twig",
11911205
samplePath: "twig.sample",
1192-
embeddedLangs: ["css", "javascript", "php", "python", "ruby"]
1206+
embeddedLangs: ["css", "javascript", "scss", "php", "python", "ruby"]
11931207
},
11941208
{
11951209
id: "typescript",
@@ -1287,7 +1301,8 @@ const languages = [
12871301
scopeName: "source.wolfram",
12881302
path: "wolfram.tmLanguage.json",
12891303
displayName: "Wolfram",
1290-
samplePath: "wolfram.sample"
1304+
samplePath: "wolfram.sample",
1305+
aliases: ["wl"]
12911306
},
12921307
{
12931308
id: "xml",

docs/shiki/dist/index.jsdelivr.iife.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/shiki/dist/index.unpkg.iife.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)