Skip to content

Commit a75fa35

Browse files
authored
fix: upgrade all dependencies (and fix UMD build) (#653)
1 parent 6446739 commit a75fa35

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

.bundle.main.env

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
BUILD_GLOBALS={"react-dom/test-utils":"ReactTestUtils","react":"React","react-dom":"ReactDOM"}
2+

.bundle.pure.env

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
BUILD_FILENAME_SUFFIX=.pure
2+
BUILD_INPUT=src/pure.js
3+

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"scripts": {
1111
"prebuild": "rimraf dist",
1212
"build": "npm-run-all --parallel build:main build:bundle:main build:bundle:pure",
13-
"build:bundle:main": "kcd-scripts build --bundle --no-clean",
14-
"build:bundle:pure": "cross-env BUILD_FILENAME_SUFFIX=.pure BUILD_INPUT=src/pure.js kcd-scripts build --bundle --no-clean",
13+
"build:bundle:main": "dotenv -e .bundle.main.env kcd-scripts build -- --bundle --no-clean",
14+
"build:bundle:pure": "dotenv -e .bundle.main.env -e .bundle.pure.env kcd-scripts build -- --bundle --no-clean",
1515
"build:main": "kcd-scripts build --no-clean",
1616
"lint": "kcd-scripts lint",
1717
"setup": "npm install && npm run validate -s",
@@ -39,15 +39,15 @@
3939
"author": "Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)",
4040
"license": "MIT",
4141
"dependencies": {
42-
"@babel/runtime": "^7.9.2",
43-
"@testing-library/dom": "^7.1.0",
44-
"@types/testing-library__react": "^10.0.0"
42+
"@babel/runtime": "^7.9.6",
43+
"@testing-library/dom": "^7.2.2",
44+
"@types/testing-library__react": "^10.0.1"
4545
},
4646
"devDependencies": {
4747
"@reach/router": "^1.3.3",
48-
"@testing-library/jest-dom": "^5.1.1",
49-
"cross-env": "^7.0.2",
50-
"kcd-scripts": "^5.6.0",
48+
"@testing-library/jest-dom": "^5.5.0",
49+
"dotenv-cli": "^3.1.0",
50+
"kcd-scripts": "^5.11.1",
5151
"npm-run-all": "^4.1.5",
5252
"react": "^16.13.1",
5353
"react-dom": "^16.13.1",

0 commit comments

Comments
 (0)