@dao-style/core 1.36.1 → 1.36.2-beta.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.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +7 -9
package/README.md CHANGED
@@ -19,29 +19,29 @@ See [Vite Configuration Reference](https://vitejs.dev/config/).
19
19
  ## Project Setup
20
20
 
21
21
  ```sh
22
- npm i
22
+ pnpm install
23
23
  ```
24
24
 
25
25
  ### Type-Check, Compile and Minify for Production
26
26
 
27
27
  ```sh
28
- npm run build
28
+ pnpm run build
29
29
  ```
30
30
 
31
31
  #### Type-Check only
32
32
 
33
33
  ```sh
34
- npm run typecheck
34
+ pnpm run typecheck
35
35
  ```
36
36
 
37
37
  ### Run Unit Tests with Jest
38
38
 
39
39
  ```sh
40
- npm run test # or `npm t`
40
+ pnpm run test
41
41
  ```
42
42
 
43
43
  ### Run Documents with Vitepress
44
44
 
45
45
  ```sh
46
- npm run doc:dev
46
+ pnpm run dev:docs
47
47
  ```
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@dao-style/core",
3
- "version": "1.36.1",
3
+ "version": "1.36.2-beta.1",
4
4
  "scripts": {
5
5
  "commit": "git-cz",
6
- "dev": "npm run dev:docs",
6
+ "dev": "pnpm run dev:docs",
7
7
  "dev:docs": "vitepress dev docs",
8
- "build": "npm run typecheck && vite build && vue-tsc -d --emitDeclarationOnly -p tsconfig.build.json && npm run build:volar",
8
+ "build": "pnpm run typecheck && vite build && vue-tsc -d --emitDeclarationOnly -p tsconfig.build.json && pnpm run build:volar",
9
9
  "build:volar": "node scripts/gen-volar-dts.mjs",
10
10
  "gen:iconfont": "node scripts/gen-iconfont.mjs",
11
11
  "build:docs": "vitepress build docs",
12
12
  "test": "vitest src --run",
13
13
  "test:watch": "vitest src",
14
- "lint": "npm run lint:style & npm run lint:docs & npm run typecheck & npm run lint:eslint",
14
+ "lint": "pnpm run lint:style & pnpm run lint:docs & pnpm run typecheck & pnpm run lint:eslint",
15
15
  "lint:style": "stylelint \"src/**/*.{vue,css,scss}\" --config .stylelintrc.js --fix",
16
16
  "lint:docs": "prettier \"**/*.md\" --write",
17
17
  "lint:eslint": "eslint \"src/**/*.{ts,tsx,js,jsx,vue}\" --fix --max-warnings=0",
@@ -105,9 +105,10 @@
105
105
  "pre-commit": "lint-staged",
106
106
  "commit-msg": "commitlint -E GIT_PARAMS"
107
107
  },
108
+ "packageManager": "pnpm@10.34.4",
108
109
  "engines": {
109
- "node": ">=16.0.0",
110
- "npm": ">=7.0.0"
110
+ "node": ">=22",
111
+ "pnpm": ">=10.34.4"
111
112
  },
112
113
  "files": [
113
114
  "dist",
@@ -118,9 +119,6 @@
118
119
  "main": "./index.js",
119
120
  "module": "./dist/dao-style.mjs",
120
121
  "types": "./dist/index.d.ts",
121
- "workspaces": [
122
- "docs"
123
- ],
124
122
  "exports": {
125
123
  ".": {
126
124
  "types": "./dist/index.d.ts",