@stephenchenorg/astro-graphql 10.0.0 → 11.0.0

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 +4 -9
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -11,6 +11,8 @@
11
11
  npm install @stephenchenorg/astro-graphql
12
12
  # yarn
13
13
  yarn add @stephenchenorg/astro-graphql
14
+ # pnpm
15
+ pnpm add @stephenchenorg/astro-graphql
14
16
  ```
15
17
 
16
18
  ## 文件
@@ -20,15 +22,8 @@ https://stephenchenorg-astro.netlify.app
20
22
  ## 開發
21
23
 
22
24
  ```bash
23
- yarn
24
- yarn build
25
- ```
26
-
27
- ## 發布套件
28
-
29
- ```bash
30
- npm login
31
- npm run release
25
+ pnpm install
26
+ pnpm build
32
27
  ```
33
28
 
34
29
  ## License
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stephenchenorg/astro-graphql",
3
3
  "type": "module",
4
- "version": "10.0.0",
4
+ "version": "11.0.0",
5
5
  "description": "Stephenchenorg Astro 前端 GraphQL 整合串接套件",
6
6
  "license": "MIT",
7
7
  "homepage": "https://stephenchenorg-astro.netlify.app",
@@ -16,6 +16,7 @@
16
16
  "api"
17
17
  ],
18
18
  "exports": {
19
+ "./package.json": "./package.json",
19
20
  "./api": {
20
21
  "types": "./dist/api/index.d.ts",
21
22
  "import": "./dist/api/index.js"
@@ -51,11 +52,6 @@
51
52
  "engines": {
52
53
  "node": ">=22"
53
54
  },
54
- "scripts": {
55
- "build": "tsdown",
56
- "code-check": "astro check",
57
- "prepack": "npm run build"
58
- },
59
55
  "peerDependencies": {
60
56
  "@stephenchenorg/astro": "^10.0.0",
61
57
  "astro": "^5.0.0"
@@ -68,8 +64,12 @@
68
64
  },
69
65
  "devDependencies": {
70
66
  "@astrojs/check": "^0.9.6",
71
- "astro": "^5.16.4",
72
- "tsdown": "^0.18.1",
67
+ "astro": "^5.16.11",
68
+ "tsdown": "^0.19.0",
73
69
  "typescript": "^5.9.3"
70
+ },
71
+ "scripts": {
72
+ "build": "tsdown",
73
+ "code-check": "astro check"
74
74
  }
75
- }
75
+ }