Skip to content

Commit

Permalink
Fix/script (#28)
Browse files Browse the repository at this point in the history
* fix: 修复build问题

---------

Co-authored-by: zhuminghui2 <[email protected]>
  • Loading branch information
heiazu and heiazu authored Jun 25, 2023
1 parent 1cdc9ab commit 934d9f9
Show file tree
Hide file tree
Showing 7 changed files with 1,930 additions and 838 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"build": "pnpm -r --filter=./packages/* run build",
"clear-all": "rimraf **/node_modules",
"version": "run-s version:*",
"version:release": "pnpm --parallel -r --filter=./packages/* exec npm version ${npm_package_version}",
"version:git": "git add . && git commit -m \"chore(release): publish ${npm_package_version}\"",
"version:release": "pnpm --parallel -r --aggregate-output --filter=./packages/* exec npm version ${npm_package_version}",
"version:git": "git add . && git commit -m \"chore(release): publish ${npm_package_version} --tag=beta\"",
"test": "pnpm -r --filter=./tests/* run test"
},
"lint-staged": {
Expand Down Expand Up @@ -48,6 +48,7 @@
"@types/node": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"concurrently": "^8.0.1",
"eslint": "^8.25.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
Expand All @@ -62,4 +63,4 @@
"tslib": "^2.4.1",
"typescript": "^4.8.4"
}
}
}
2 changes: 1 addition & 1 deletion packages/test-utils-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
"devDependencies": {
"@babel/core": "^7.8.0"
}
}
}
6 changes: 2 additions & 4 deletions packages/test-utils-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
"dev:compile": "tsc --project ./tsconfig.json --watch",
"build": "concurrently \"npm run build:runtime\" \"npm run build:compile\"",
"build:runtime": "tsc --project ./tsconfig.runtime.json",
"build:compile": "tsc --project ./tsconfig.json",
"test": "jest"
"build:compile": "tsc --project ./tsconfig.json"
},
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -38,7 +37,6 @@
"@tarojs/shared": "^3.6.0",
"@tarojs/taro": "^3.6.0",
"@tarojs/taro-h5": "^3.6.0",
"concurrently": "^8.0.1",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
Expand All @@ -55,4 +53,4 @@
"react": "^18.0.0",
"react-dom": "^18.0.0"
}
}
}
2 changes: 1 addition & 1 deletion packages/test-utils-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
"@tarojs/taro-h5": "^3.6.0",
"@babel/core": "^7.8.0"
}
}
}
10 changes: 7 additions & 3 deletions packages/test-utils-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
"main": "dist/index.js",
"license": "MIT",
"scripts": {
"dev": "tsc -w",
"build": "tsc"
"dev": "concurrently \"npm run dev:runtime\" \"npm run dev:compile\"",
"dev:runtime": "tsc --project ./tsconfig.runtime.json --watch",
"dev:compile": "tsc --project ./tsconfig.json --watch",
"build": "concurrently \"npm run build:runtime\" \"npm run build:compile\"",
"build:runtime": "tsc --project ./tsconfig.runtime.json",
"build:compile": "tsc --project ./tsconfig.json"
},
"types": "dist",
"typings": "dist/index.d.ts",
Expand Down Expand Up @@ -48,4 +52,4 @@
"@tarojs/runtime": "^3.6.0",
"@tarojs/shared": "^3.6.0"
}
}
}
10 changes: 7 additions & 3 deletions packages/test-utils-vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
"main": "dist/index.js",
"license": "MIT",
"scripts": {
"dev": "tsc -w",
"build": "tsc"
"dev": "concurrently \"npm run dev:runtime\" \"npm run dev:compile\"",
"dev:runtime": "tsc --project ./tsconfig.runtime.json --watch",
"dev:compile": "tsc --project ./tsconfig.json --watch",
"build": "concurrently \"npm run build:runtime\" \"npm run build:compile\"",
"build:runtime": "tsc --project ./tsconfig.runtime.json",
"build:compile": "tsc --project ./tsconfig.json"
},
"types": "dist",
"typings": "dist/index.d.ts",
Expand Down Expand Up @@ -52,4 +56,4 @@
"optional": true
}
}
}
}
Loading

0 comments on commit 934d9f9

Please sign in to comment.