Skip to content

Commit 7accb88

Browse files
authored
update examples (#654)
* 更新 browser 端版本号 * fix typo * update github actions * auto build common * update examples * fix typo
1 parent bab4165 commit 7accb88

File tree

3 files changed

+45
-49
lines changed

3 files changed

+45
-49
lines changed

package-lock.json

Lines changed: 43 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/common/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"scripts": {
99
"build": "tsc",
1010
"dev": "tsc -w",
11+
"postinstall": "tsc",
1112
"build-harmony": "tsc --outDir ../harmony/library/src/main/ets/components/@internal",
1213
"dev-harmony": "tsc -w --outDir ../harmony/library/src/main/ets/components/@internal"
1314
},

packages/examples/browser-react-ts/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "react-typescript",
2+
"name": "@examples/qiniu-js",
33
"description": "React Typescript",
44
"version": "1.0.0",
55
"main": "index.js",
@@ -36,8 +36,5 @@
3636
"qiniu-js": "*",
3737
"react": "^17.0.2",
3838
"react-dom": "^17.0.2"
39-
},
40-
"engines": {
41-
"node": "^18"
4239
}
4340
}

0 commit comments

Comments
 (0)