Skip to content

Commit

Permalink
fix(build): code review
Browse files Browse the repository at this point in the history
  • Loading branch information
lesliecodes committed Mar 2, 2021
1 parent 3d7f929 commit 5cb6179
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 15 deletions.
2 changes: 1 addition & 1 deletion packages/components/generateFlowTypes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ for i in $(find dist/* -name "*.d.ts"); do
[ -f "$i" ] || break
NAME=${i%%.*}
echo "Generating flowtype for $NAME"
node_modules/.bin/flowgen $i -o $NAME.flow.js
npx flowgen $i -o $NAME.flow.js
done
50 changes: 37 additions & 13 deletions packages/components/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
},
"dependencies": {
"@chanzuckerberg/eds-tokens": "^0.0.1-alpha.9",
"flowgen": "^1.13.0",
"styled-components": "^5.2.1"
},
"devDependencies": {
Expand Down Expand Up @@ -76,6 +75,7 @@
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.2",
"babel-plugin-module-resolver": "^4.1.0",
"flowgen": "^1.13.0",
"jest": "^24.9.0",
"jest-styled-components": "^7.0.3",
"postcss": "^8.2.6",
Expand Down

0 comments on commit 5cb6179

Please sign in to comment.