Skip to content

Commit

Permalink
Replace bolt-check with manypkg (#1494)
Browse files Browse the repository at this point in the history
* Use manypkg and remove some unused packages

* Fix things

* Update manypkg
  • Loading branch information
emmatown authored Sep 10, 2019
1 parent ddfbbc2 commit c9f3bc4
Show file tree
Hide file tree
Showing 15 changed files with 92 additions and 141 deletions.
62 changes: 3 additions & 59 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"build:site": "cd site && yarn build:site",
"flow": "flow",
"flow:check": "flow check --flowconfig-name=.flowconfig-ci",
"postinstall": "opencollective postinstall && preconstruct dev && bolt-check",
"postinstall": "opencollective postinstall && preconstruct dev && manypkg check",
"changeset": "changeset",
"version-packages": "changeset bump",
"release": "yarn build && changeset release"
Expand Down Expand Up @@ -167,11 +167,11 @@
"@babel/preset-env": "^7.5.5",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-stage-0": "^7.0.0",
"@babel/register": "^7.5.5",
"@babel/runtime": "^7.5.5",
"@changesets/cli": "^1.3.0",
"@changesets/get-github-info": "^0.1.3",
"@manypkg/cli": "^0.5.1",
"@mdx-js/mdx": "^1.1.0",
"@mdx-js/react": "^1.0.27",
"@testing-library/react": "^8.0.2",
Expand All @@ -184,35 +184,23 @@
"babel-flow-types": "^1.2.3",
"babel-jest": "^24.1.0",
"babel-plugin-add-basic-constructor-for-react-components": "^0.1.0",
"babel-plugin-closure-elimination": "^1.3.0",
"babel-plugin-codegen": "^3.0.0",
"babel-plugin-fix-dce-for-classes-with-statics": "^0.1.0",
"babel-plugin-jsx-pragmatic": "^1.0.2",
"babel-plugin-macros": "^2.0.0",
"babel-plugin-react-native-web": "^0.9.6",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-define": "^1.3.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"babel-standalone": "^6.26.0",
"benchmark": "^2.1.4",
"bolt-check": "^0.3.0",
"bundlesize": "^0.13.2",
"chalk": "^2.4.1",
"codecov": "^2.3.1",
"convert-source-map": "^1.5.0",
"css": "^2.2.1",
"css-to-react-native": "^2.2.1",
"cssjanus": "^1.2.0",
"cssom": "^0.3.4",
"csstype": "^2.5.7",
"d3-scale-chromatic": "^1.3.0",
"dom-iterator": "^0.3.0",
"dtslint": "^0.3.0",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.6.0",
"enzyme-to-json": "^3.2.1",
"escape-goat": "^1.3.0",
"escape-string-regexp": "^1.0.5",
"eslint": "^4.5.0",
"eslint-config-prettier": "^2.3.0",
"eslint-config-react": "^1.1.7",
Expand All @@ -226,66 +214,31 @@
"eslint-plugin-react": "^7.3.0",
"eslint-plugin-react-hooks": "^1.0.1",
"eslint-plugin-standard": "^3.0.1",
"express": "^4.16.3",
"facepaint": "^1.1.2",
"favicons-webpack-plugin": "^0.0.9",
"find-root": "^1.1.0",
"flow-bin": "^0.89.0",
"gatsby": "^2.13.41",
"gatsby-image": "^2.2.7",
"gatsby-plugin-catch-links": "^2.1.2",
"gatsby-plugin-emotion": "^4.1.2",
"gatsby-plugin-google-analytics": "^2.1.4",
"gatsby-plugin-mdx": "^1.0.17",
"gatsby-plugin-netlify": "^2.1.3",
"gatsby-plugin-react-helmet": "^3.1.2",
"gatsby-plugin-sharp": "^2.2.9",
"gatsby-plugin-sitemap": "^2.2.3",
"gatsby-remark-autolink-headers": "^2.1.3",
"gatsby-remark-images": "^3.1.7",
"gatsby-remark-prismjs": "^3.3.3",
"gatsby-remark-smartypants": "^2.1.2",
"gatsby-source-filesystem": "^2.1.6",
"gatsby-transformer-remark": "^2.6.9",
"gatsby-transformer-sharp": "^2.2.4",
"graphql-type-json": "^0.2.4",
"hoist-non-react-statics": "^3.3.0",
"html-tag-names": "^1.1.2",
"html-tokenize": "^2.0.0",
"http-server": "^0.11.1",
"husky": "^1.1.3",
"jest": "^24.1.0",
"jest-environment-jsdom": "^24.0.0",
"jest-in-case": "^1.0.2",
"jest-junit": "^5.1.0",
"jest-serializer-html": "^4.0.1",
"jest-watch-typeahead": "^0.2.0",
"jscodeshift": "^0.5.0",
"jsdom": "^11.3.0",
"lint-staged": "^7.2.0",
"lodash": "^4.17.4",
"module-alias": "^2.0.1",
"multipipe": "^1.0.2",
"normalize.css": "^8.0.0",
"npm-run-all": "^4.0.2",
"open-color": "^1.5.1",
"opencollective": "^1.0.3",
"parcel": "^1.10.3",
"path-exists": "^3.0.0",
"polished": "^1.2.1",
"preact": "^8.2.9",
"preact-render-to-json": "^3.6.6",
"preconstruct": "^0.0.81",
"prettier": "1.14.3",
"pretty-format": "^22.4.3",
"prop-types": "^15.6.0",
"puppeteer": "^1.6.0",
"raf": "^3.4.0",
"razzle": "^2.4.0",
"react": "^16.5.2",
"react-art": "^16.5.2",
"react-dom": "^16.5.2",
"react-error-overlay": "^3.0.0",
"react-helmet": "^5.2.0",
"react-icons": "^2.2.7",
"react-live": "1.10.0",
Expand All @@ -295,22 +248,13 @@
"react-router-dom": "^4.2.2",
"react-scripts": "1.1.5",
"react-test-renderer": "^16.3.2",
"recompose": "^0.27.1",
"remark-frontmatter": "^1.1.0",
"remark-parse": "^4.0.0",
"request": "^2.85.0",
"request-promise-native": "^1.0.5",
"source-map": "^0.5.7",
"stats-analysis": "^2.0.0",
"styled-system": "^1.0.8",
"stylis": "3.5.4",
"stylis-rule-sheet": "^0.0.10",
"svg-tag-names": "^1.1.1",
"through": "^2.3.8",
"unified": "^6.1.6",
"unist-util-visit": "^1.2.0",
"webpack-bundle-analyzer": "2.13.1",
"worker-loader": "2.0.0",
"workerize-loader": "^1.0.3"
"worker-loader": "2.0.0"
}
}
3 changes: 3 additions & 0 deletions packages/babel-plugin-jsx-pragmatic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@babel/core": "^7.5.5"
}
}
7 changes: 5 additions & 2 deletions packages/babel-preset-css-prop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@
"files": [
"src",
"dist"
]
}
],
"devDependencies": {
"@babel/core": "^7.5.5"
}
}
1 change: 1 addition & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"emotion-server": "^10.0.17",
"emotion-theming": "^10.0.17",
"html-tag-names": "^1.1.2",
"react": "^16.5.2",
"svg-tag-names": "^1.1.1"
},
"repository": "https://github.com/emotion-js/emotion/tree/master/packages/core",
Expand Down
3 changes: 2 additions & 1 deletion packages/emotion-theming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"@emotion/core": "^10.0.17",
"@emotion/styled": "^10.0.17",
"@types/react": "^16.8.20",
"dtslint": "^0.3.0"
"dtslint": "^0.3.0",
"react": "^16.5.2"
},
"dependencies": {
"@babel/runtime": "^7.5.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@emotion/primitives-core": "10.0.14"
},
"peerDependencies": {
"react-native": ">=0.14.0 && < 1"
"react-native": ">=0.14.0 <1"
},
"homepage": "https://emotion.sh",
"license": "MIT",
Expand Down
1 change: 1 addition & 0 deletions packages/primitives-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"react": ">=16.3.0"
},
"devDependencies": {
"@emotion/core": "^10.0.14",
"react": "^16.5.2"
},
"homepage": "https://emotion.sh",
Expand Down
4 changes: 2 additions & 2 deletions packages/primitives/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"babel-plugin-emotion": "^10.0.14"
},
"peerDependencies": {
"react-primitives": "^0.7.0",
"react": ">=16.3.0"
"react": ">=16.3.0",
"react-primitives": "^0.7.0"
},
"devDependencies": {
"emotion-theming": "^10.0.14",
Expand Down
4 changes: 3 additions & 1 deletion packages/styled-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
"@emotion/utils": "0.11.2"
},
"devDependencies": {
"@emotion/core": "^10.0.15",
"@types/react": "^16.8.20",
"dtslint": "^0.3.0"
"dtslint": "^0.3.0",
"react": "^16.5.2"
},
"peerDependencies": {
"@emotion/core": "^10.0.17",
Expand Down
4 changes: 3 additions & 1 deletion packages/styled/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
"babel-plugin-emotion": "^10.0.17"
},
"devDependencies": {
"dtslint": "^0.3.0"
"@emotion/core": "^10.0.15",
"dtslint": "^0.3.0",
"react": "^16.5.2"
},
"peerDependencies": {
"@emotion/core": "^10.0.17",
Expand Down
5 changes: 1 addition & 4 deletions scripts/babel-tester/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@
"name": "babel-tester",
"main": "src/index.js",
"version": "0.4.5",
"private": true,
"dependencies": {
"path-exists": "^3.0.0"
}
"private": true
}
1 change: 0 additions & 1 deletion scripts/benchmarks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"babel-core": "^6.26.3",
"babel-plugin-emotion": "^10.0.9",
"babel-plugin-react-native-web": "^0.9.6",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"d3-scale-chromatic": "^1.3.0",
"http-server": "^0.11.1",
"parcel": "^1.10.3",
Expand Down
8 changes: 1 addition & 7 deletions site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"@mdx-js/react": "^1.0.27",
"babel-plugin-jsx-pragmatic": "^1.0.2",
"babel-standalone": "^6.26.0",
"dom-iterator": "^0.3.0",
"escape-goat": "^1.3.0",
"eslint-plugin-react-hooks": "^1.0.1",
"facepaint": "^1.1.2",
Expand All @@ -31,25 +30,20 @@
"gatsby-transformer-remark": "^2.6.9",
"gatsby-transformer-sharp": "^2.2.4",
"graphql-type-json": "^0.2.4",
"lodash": "^4.17.4",
"normalize.css": "^8.0.0",
"open-color": "^1.5.1",
"prop-types": "^15.6.0",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-error-overlay": "^3.0.0",
"react-helmet": "^5.2.0",
"react-icons": "^2.2.7",
"react-live": "1.10.0",
"recompose": "^0.27.1",
"remark-frontmatter": "^1.1.0",
"remark-parse": "^4.0.0",
"styled-system": "^1.0.8",
"unified": "^6.1.6",
"unist-util-visit": "^1.2.0",
"webpack-bundle-analyzer": "2.13.1",
"worker-loader": "2.0.0",
"workerize-loader": "^1.0.3"
"worker-loader": "2.0.0"
},
"keywords": [
"gatsby"
Expand Down
2 changes: 0 additions & 2 deletions site/src/components/Playground.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ export const scope = {
return require('@emotion/is-prop-valid')
case 'emotion-theming':
return require('emotion-theming')
case 'recompose/withProps':
return require('recompose/withProps')
case 'facepaint':
return require('facepaint')
default:
Expand Down
Loading

0 comments on commit c9f3bc4

Please sign in to comment.