tiptap-extension-shiki 1.0.0 → 1.0.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.
@@ -5,28 +5,20 @@ on:
5
5
  branches:
6
6
  # 触发ci/cd的代码分支
7
7
  - master
8
+ # 必须添加这个权限,否则无法获取临时身份证明
9
+ permissions:
10
+ id-token: write # Required for OIDC
11
+ contents: read
8
12
 
9
13
  jobs:
10
14
  build_and_publish:
11
15
  runs-on: ubuntu-latest
12
- # 必须添加这个权限,否则无法获取临时身份证明
13
- permissions:
14
- contents: read
15
- id-token: write
16
-
17
16
  steps:
18
17
  - uses: actions/checkout@v4
19
18
  - uses: actions/setup-node@v4
20
19
  with:
21
- node-version: '20'
22
- # 注意:这里不再需要配置 registry-url 或 NODE_AUTH_TOKEN
23
-
24
- - name: Install dependencies
25
- run: npm install
26
-
27
- - name: Build package
28
- run: npm run build
29
-
30
- - name: Publish to NPM
31
- # 使用专用 Action,它会自动识别 OIDC 身份并完成发布
32
- run: npm publish --provenance --access public
20
+ node-version: '24'
21
+ registry-url: 'https://registry.npmjs.org'
22
+ - run: npm ci
23
+ - run: npm run build
24
+ - run: npm publish
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Tiptap Extension Shiki
2
2
 
3
- [📖 View Chinese Version](./README_CN.md)
3
+ [📖 查看中文版](./README_CN.md)
4
4
 
5
5
  ### Installation
6
6
 
package/package.json CHANGED
@@ -1,10 +1,17 @@
1
1
  {
2
2
  "name": "tiptap-extension-shiki",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/zerooverture/tiptap-extension-shiki.git"
11
+ },
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
8
15
  "scripts": {
9
16
  "clean": "rm -rf dist",
10
17
  "build": "npm run clean && npm run build:js && npm run build:types",