mini-shiki 3.4.2 → 3.4.3
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/README.md +53 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,11 +1,36 @@
|
|
|
1
1
|
# mini-shiki
|
|
2
2
|
|
|
3
|
+
[](https://github.com/un-ts/mini-shiki/actions/workflows/ci.yml?query=branch%3Amain)
|
|
4
|
+
[](https://codecov.io/gh/un-ts/mini-shiki)
|
|
5
|
+
[](https://github.com/plantain-00/type-coverage)
|
|
6
|
+
[](https://coderabbit.ai)
|
|
7
|
+
[](https://www.npmjs.com/package/mini-shiki)
|
|
8
|
+
[](https://github.com/un-ts/mini-shiki/releases)
|
|
9
|
+
|
|
10
|
+
[](https://conventionalcommits.org)
|
|
11
|
+
[](https://renovatebot.com)
|
|
12
|
+
[](https://standardjs.com)
|
|
13
|
+
[](https://github.com/prettier/prettier)
|
|
14
|
+
[](https://github.com/changesets/changesets)
|
|
15
|
+
|
|
3
16
|
This is a re-bundled version of [Shiki](https://shiki.style/) which strips out
|
|
4
17
|
the dependencies which aren't necessary for [TypeDoc](https://typedoc.org/)'s usage.
|
|
5
18
|
|
|
6
19
|
> [!NOTE]
|
|
7
20
|
> This is an unscoped version of [@gerrit0/mini-shiki](https://github.com/Gerrit0/mini-shiki), please view [Gerrit0/mini-shiki#3](https://github.com/Gerrit0/mini-shiki/issues/3) for more information.
|
|
8
21
|
|
|
22
|
+
## TOC <!-- omit in toc -->
|
|
23
|
+
|
|
24
|
+
- [Why?](#why)
|
|
25
|
+
- [Releases](#releases)
|
|
26
|
+
- [ESM / CommonJS](#esm--commonjs)
|
|
27
|
+
- [Usage](#usage)
|
|
28
|
+
- [Sponsors and Backers](#sponsors-and-backers)
|
|
29
|
+
- [Sponsors](#sponsors)
|
|
30
|
+
- [Backers](#backers)
|
|
31
|
+
- [Changelog](#changelog)
|
|
32
|
+
- [License](#license)
|
|
33
|
+
|
|
9
34
|
## Why?
|
|
10
35
|
|
|
11
36
|
Compare Shiki's dependency tree:
|
|
@@ -55,3 +80,31 @@ const lines = codeToTokensWithThemes(shiki, "console.log('Hello world!')", {
|
|
|
55
80
|
lang: 'typescript',
|
|
56
81
|
})
|
|
57
82
|
```
|
|
83
|
+
|
|
84
|
+
## Sponsors and Backers
|
|
85
|
+
|
|
86
|
+
[](https://github.com/sponsors/JounQin)
|
|
87
|
+
|
|
88
|
+
### Sponsors
|
|
89
|
+
|
|
90
|
+
| 1stG | RxTS | UnTS |
|
|
91
|
+
| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
|
|
92
|
+
| [](https://opencollective.com/1stG) | [](https://opencollective.com/rxts) | [](https://opencollective.com/unts) |
|
|
93
|
+
|
|
94
|
+
### Backers
|
|
95
|
+
|
|
96
|
+
| 1stG | RxTS | UnTS |
|
|
97
|
+
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
|
|
98
|
+
| [](https://opencollective.com/1stG) | [](https://opencollective.com/rxts) | [](https://opencollective.com/unts) |
|
|
99
|
+
|
|
100
|
+
## Changelog
|
|
101
|
+
|
|
102
|
+
Detailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).
|
|
103
|
+
|
|
104
|
+
## License
|
|
105
|
+
|
|
106
|
+
[MIT][] © [JounQin][]@[1stG.me][]
|
|
107
|
+
|
|
108
|
+
[1stG.me]: https://www.1stG.me
|
|
109
|
+
[JounQin]: https://github.com/JounQin
|
|
110
|
+
[MIT]: http://opensource.org/licenses/MIT
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mini-shiki",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": "git+https://github.com/un-ts/mini-shiki.git",
|
|
6
6
|
"homepage": "https://github.com/un-ts/mini-shiki#readme",
|
|
7
|
+
"funding": "https://opencollective.com/mini-shiki",
|
|
7
8
|
"license": "MIT",
|
|
8
9
|
"exports": {
|
|
9
10
|
".": {
|