Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 96747d2

Browse files
committed
Move utility-types as dependency
utility-types is being imported in withOptimizely.d.ts so export it
1 parent 01adcd0 commit 96747d2

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

packages/react-sdk/package-lock.json

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

packages/react-sdk/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@optimizely/react-sdk",
3-
"version": "0.2.0-beta1",
3+
"version": "0.2.0-beta3",
44
"description": "Use Optimizely Feature Flags and AB Tests easily in React with a library of pre-built components",
55
"author": "Jordan Garcia <jordan@gmail.com>",
66
"homepage": "",
@@ -15,25 +15,26 @@
1515
},
1616
"files": [
1717
"dist",
18-
"LICENSE",
19-
"CHANGELOG",
20-
"README.md"
18+
"LICENSE",
19+
"CHANGELOG",
20+
"README.md"
2121
],
2222
"scripts": {
2323
"tsc": "rm -rf lib/ && tsc",
2424
"build": "rm -rf dist/ && node ./scripts/build.js",
2525
"test": "jest --silent",
26-
"prepublishOnly": "npm run test && npm run build"
26+
"prepublishOnly": "npm run test && npm run build"
2727
},
2828
"dependencies": {
2929
"prop-types": "^15.6.2",
30-
"react-broadcast": "0.7.1"
30+
"react-broadcast": "0.7.1",
31+
"utility-types": "^2.1.0"
3132
},
3233
"peerDependencies": {
3334
"react": ">=15 || ^16"
3435
},
3536
"devDependencies": {
36-
"@optimizely/js-web-sdk": "3.0.0-beta1",
37+
"@optimizely/js-web-sdk": "3.0.0-beta2",
3738
"@types/enzyme": "^3.1.15",
3839
"@types/enzyme-adapter-react-16": "^1.0.3",
3940
"@types/jest": "^23.3.12",
@@ -52,7 +53,6 @@
5253
"rollup-plugin-typescript2": "^0.18.1",
5354
"rollup-plugin-uglify": "^6.0.1",
5455
"ts-jest": "^23.10.5",
55-
"tslib": "^1.9.3",
56-
"utility-types": "^2.1.0"
56+
"tslib": "^1.9.3"
5757
}
5858
}

0 commit comments

Comments
 (0)