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.
Files changed (2) hide show
  1. package/README.md +53 -0
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -1,11 +1,36 @@
1
1
  # mini-shiki
2
2
 
3
+ [![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/un-ts/mini-shiki/ci.yml?branch=main)](https://github.com/un-ts/mini-shiki/actions/workflows/ci.yml?query=branch%3Amain)
4
+ [![Codecov](https://img.shields.io/codecov/c/github/un-ts/mini-shiki.svg)](https://codecov.io/gh/un-ts/mini-shiki)
5
+ [![type-coverage](https://img.shields.io/badge/dynamic/json.svg?label=type-coverage&prefix=%E2%89%A5&suffix=%&query=$.typeCoverage.atLeast&uri=https%3A%2F%2Fraw.githubusercontent.com%2Fun-ts%2Fmini-shiki%2Fmain%2Fpackage.json)](https://github.com/plantain-00/type-coverage)
6
+ [![CodeRabbit Pull Request Reviews](https://img.shields.io/coderabbit/prs/github/un-ts/mini-shiki)](https://coderabbit.ai)
7
+ [![npm](https://img.shields.io/npm/v/mini-shiki.svg)](https://www.npmjs.com/package/mini-shiki)
8
+ [![GitHub Release](https://img.shields.io/github/release/un-ts/mini-shiki)](https://github.com/un-ts/mini-shiki/releases)
9
+
10
+ [![Conventional Commits](https://img.shields.io/badge/conventional%20commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
11
+ [![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com)
12
+ [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
13
+ [![Code Style: Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
14
+ [![changesets](https://img.shields.io/badge/maintained%20with-changesets-176de3.svg)](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
+ [![Sponsors](https://raw.githubusercontent.com/1stG/static/master/sponsors.svg)](https://github.com/sponsors/JounQin)
87
+
88
+ ### Sponsors
89
+
90
+ | 1stG | RxTS | UnTS |
91
+ | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
92
+ | [![1stG Open Collective sponsors](https://opencollective.com/1stG/organizations.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective sponsors](https://opencollective.com/rxts/organizations.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective sponsors](https://opencollective.com/unts/organizations.svg)](https://opencollective.com/unts) |
93
+
94
+ ### Backers
95
+
96
+ | 1stG | RxTS | UnTS |
97
+ | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
98
+ | [![1stG Open Collective backers](https://opencollective.com/1stG/individuals.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective backers](https://opencollective.com/rxts/individuals.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective backers](https://opencollective.com/unts/individuals.svg)](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.2",
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
  ".": {