Skip to content

Commit b8fa1ad

Browse files
committed
fix build package
1 parent 9696963 commit b8fa1ad

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"test": "yarn build && trigen-scripts test",
2323
"start": "trigen-scripts start",
2424
"build:testBundle": "NODE_ENV=test babel-node test/buildTestBundle",
25-
"build": "./scripts/buildPackage.sh",
26-
"prepublishOnly": "if [ -f .gitignore ]; then exit 1; fi",
25+
"build": "./scripts/buildPackage.sh",
26+
"prepublishOnly": "if [ -f .gitignore ]; then exit 1; fi",
2727
"cleanPublish": "yarn build && trigen-scripts cleanPublish"
2828
},
2929
"keywords": [
@@ -53,7 +53,7 @@
5353
"@trigen/scripts-plugin-size-limit": "6.0.0",
5454
"@trigen/scripts-preset-lib": "6.0.0",
5555
"css-loader": "^3.6.0",
56-
"eslint-plugin-jest": "^23.16.0",
56+
"eslint-plugin-jest": "^23.17.1",
5757
"memory-fs": "^0.5.0",
5858
"rollup-plugin-eslint": "^7.0.0",
5959
"style-loader": "^1.0.0",

scripts/buildPackage.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ set -e
55
trigen-scripts build
66
rm -rf package
77
mv lib package
8+
cp src/runtime.d.ts package
9+
cp src/types.d.ts package
810
cp LICENSE package
911
cp package.json package
1012
cp README.md package

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4523,10 +4523,10 @@ eslint-plugin-import@^2.20.0:
45234523
read-pkg-up "^2.0.0"
45244524
resolve "^1.12.0"
45254525

4526-
eslint-plugin-jest@^23.16.0:
4527-
version "23.16.0"
4528-
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-23.16.0.tgz#fada00f765b5e32a1fb10a7490f75ebf673133b3"
4529-
integrity sha512-51KcQup31S2NBm+Yqg3rxZIPETd+wZ/gU2rb034RpdXLcZYsa2+uwubqbbDAYIpQw3m+wywF/A56OMEouBY/wA==
4526+
eslint-plugin-jest@^23.17.1:
4527+
version "23.17.1"
4528+
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-23.17.1.tgz#c0f39ba78e0f33b7ee1ce4ec92b773e39026ea3f"
4529+
integrity sha512-/o36fw67qNbJGWbSBIBMfseMsNP/d88WUHAGHCi1xFwsNB3XXZGdvxbOw49j3iQz6MCW/yw8OeOsuQhi6mM5ZA==
45304530
dependencies:
45314531
"@typescript-eslint/experimental-utils" "^2.5.0"
45324532

0 commit comments

Comments
 (0)