Skip to content

Commit

Permalink
fix: globally update non-private package.json files with devDependenc…
Browse files Browse the repository at this point in the history
…ies and peerDependencies that might not get installed as expected when used / published outside of the Bolt monorepo
  • Loading branch information
sghoweri committed May 30, 2019
1 parent e834e1d commit 617bd86
Show file tree
Hide file tree
Showing 14 changed files with 73 additions and 100 deletions.
7 changes: 3 additions & 4 deletions packages/api/package.json
Expand Up @@ -8,10 +8,9 @@
"type": "git",
"url": "git+https://github.com/bolt-design-system/bolt.git"
},
"peerDependencies": {
"@bolt/twig-renderer": ">=2.3.0"
},
"devDependencies": {
"dependencies": {
"really-relaxed-json": "^0.2.24",
"@bolt/twig-renderer": ">=2.3.0",
"@bolt/components-button": "^2.4.0"
},
"publishConfig": {
Expand Down
46 changes: 21 additions & 25 deletions packages/build-tools/package.json
Expand Up @@ -20,11 +20,9 @@
"web": "https://github.com/sghoweri"
}
],
"peerDependencies": {
"@bolt/api": "^2.3.0",
"@bolt/twig-renderer": "^2.3.0"
},
"dependencies": {
"@bolt/api": "^2.4.0",
"@bolt/twig-renderer": "^2.4.0",
"@babel/core": "^7.2.2",
"@bolt/babel-preset-bolt": "^2.4.0",
"@bolt/config-browserlist": "^2.4.0",
Expand All @@ -35,26 +33,32 @@
"@octokit/rest": "^16.13.3",
"address": "^1.0.3",
"array-sort": "^1.0.0",
"autoprefixer": "^9.4.3",
"babel-loader": "^8.0.4",
"browser-sync": "^2.26.3",
"camelcase": "^4.1.0",
"chalk": "^2.4.1",
"check-links": "^1.1.4",
"cheerio": "^1.0.0-rc.2",
"chokidar": "^2.0.4",
"clean-css-loader": "^1.1.0",
"commander": "^2.19.0",
"convert-hrtime": "^2.0.0",
"copy-webpack-plugin": "^4.6.0",
"cosmiconfig": "^5.0.7",
"css-hot-loader": "^1.4.3",
"css-loader": "^2.0.2",
"cssnano": "^4.1.8",
"deepmerge": "^3.0.0",
"del": "^3.0.0",
"eslint": "^5.12.1",
"eslint-loader": "^2.1.1",
"eslint": "^5.12.1",
"execa": "^1.0.0",
"express": "^4.16.4",
"file-loader": "^3.0.1",
"front-matter": "^3.0.1",
"fs-extra": "^5.0.0",
"globby": "^9.2.0",
"hard-source-webpack-plugin-patch": "^0.13.3",
"incache": "^7.2.1",
"js-yaml": "^3.12.0",
Expand All @@ -63,18 +67,26 @@
"lodash.debounce": "^4.0.8",
"marked": "^0.5.2",
"mini-css-extract-plugin": "^0.5.0",
"mkdirp": "^0.5.1",
"node-cache": "^4.2.0",
"node-fetch": "^2.3.0",
"node-notifier": "^5.3.0",
"node-sass": "^4.11.0",
"npm-sass": "^2.3.0",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"ora": "^3.0.0",
"portfinder": "^1.0.20",
"postcss-discard-duplicates": "^4.0.2",
"postcss-loader": "^3.0.0",
"postcss-scss": "^2.0.0",
"prettier": "^1.7.4",
"pretty-ms": "^4.0.0",
"resolve-url-loader": "^3.0.0",
"resolve": "^1.9.0",
"sass-loader": "^7.1.0",
"sassdoc": "^2.5.1",
"sassdoc-theme-default": "^2.6.3",
"sassdoc": "^2.5.1",
"semver": "^5.6.0",
"sharp": "^0.21.3",
"string-replace-loader": "^2.1.1",
"style-loader": "^0.23.1",
Expand All @@ -84,30 +96,14 @@
"uglifyjs-webpack-plugin": "^2.1.1",
"uppercamelcase": "^3.0.0",
"url-loader": "^1.1.2",
"webpack": "4.29.6",
"webpack-cli": "^3.1.2",
"webpack-dev-middleware": "^3.5.1",
"webpack-hot-middleware": "^2.24.3",
"webpack-manifest-plugin": "^2.0.4",
"webpack-merge": "^4.2.1",
"webpack": "4.29.6",
"write-file-webpack-plugin": "^4.5.0",
"yaml-loader": "^0.5.0"
},
"devDependencies": {
"autoprefixer": "^9.4.3",
"chokidar": "^2.0.4",
"commander": "^2.19.0",
"cosmiconfig": "^5.0.7",
"execa": "^1.0.0",
"globby": "^9.2.0",
"mkdirp": "^0.5.1",
"node-fetch": "^2.3.0",
"node-notifier": "^5.3.0",
"node-sass": "^4.11.0",
"postcss-scss": "^2.0.0",
"prettier": "^1.7.4",
"resolve": "^1.9.0",
"semver": "^5.6.0",
"webpack-cli": "^3.1.2",
"yaml-loader": "^0.5.0",
"yargs": "^12.0.5"
},
"publishConfig": {
Expand Down
7 changes: 1 addition & 6 deletions packages/components/bolt-band/package.json
Expand Up @@ -32,13 +32,8 @@
"access": "public"
},
"dependencies": {
"@bolt/core": "^2.4.0"
},
"devDependencies": {
"@bolt/core": "^2.4.0",
"@bolt/components-grid": "^2.4.0"
},
"peerDependencies": {
"@bolt/components-grid": "^2.3.0"
},
"gitHead": "3d198feea5f73c63913a956a2a077e229ad8d462"
}
4 changes: 1 addition & 3 deletions packages/components/bolt-critical-css-vars/package.json
Expand Up @@ -12,9 +12,7 @@
"license": "MIT",
"dependencies": {
"@bolt/core": "^2.4.0",
"fg-loadcss": ">= ^2.1.0"
},
"peerDependencies": {
"fg-loadcss": ">= ^2.1.0",
"@bolt/build-tools": ">= 2.3.0"
},
"publishConfig": {
Expand Down
4 changes: 1 addition & 3 deletions packages/components/bolt-critical-css/package.json
Expand Up @@ -12,11 +12,9 @@
"license": "MIT",
"dependencies": {
"@bolt/core": "^2.4.0",
"@bolt/build-tools": ">= 2.3.0",
"fg-loadcss": "^2.1.0"
},
"peerDependencies": {
"@bolt/build-tools": ">= 2.3.0"
},
"publishConfig": {
"access": "public"
},
Expand Down
6 changes: 2 additions & 4 deletions packages/components/bolt-icon/package.json
Expand Up @@ -21,10 +21,8 @@
"dependencies": {
"@bolt/core": "^2.4.0",
"pubsub-js": "^1.6.0",
"uppercamelcase": "^3.0.0"
},
"peerDependencies": {
"@bolt/components-icons": "^2.3.0"
"uppercamelcase": "^3.0.0",
"@bolt/components-icons": "^2.4.0"
},
"main": "src/icon.js",
"style": "src/icon.scss",
Expand Down
4 changes: 1 addition & 3 deletions packages/components/bolt-icons/package.json
Expand Up @@ -17,9 +17,7 @@
"access": "public"
},
"dependencies": {
"@bolt/core": "^2.4.0"
},
"peerDependencies": {
"@bolt/core": "^2.4.0",
"@bolt/build-tools": ">= 2.3.0"
},
"main": "src/index.js"
Expand Down
1 change: 1 addition & 0 deletions packages/components/bolt-navlink/package.json
Expand Up @@ -32,6 +32,7 @@
"schema": "navlink.schema.yml",
"dependencies": {
"@bolt/core": "^2.4.0",
"@bolt/components-smooth-scroll": "^2.4.0",
"is-visible": "^2.2.0"
},
"gitHead": "3d198feea5f73c63913a956a2a077e229ad8d462"
Expand Down
2 changes: 1 addition & 1 deletion packages/config-presets/config-browserlist/package.json
Expand Up @@ -17,7 +17,7 @@
"publishConfig": {
"access": "public"
},
"devDependencies": {
"dependencies": {
"browserslist": "^4.1.1"
},
"gitHead": "3d198feea5f73c63913a956a2a077e229ad8d462"
Expand Down
6 changes: 2 additions & 4 deletions packages/generator-bolt/package.json
Expand Up @@ -22,14 +22,12 @@
"commander": "^2.19.0",
"pluralize": "^7.0.0",
"sort-package-json": "^1.20.0",
"yeoman-assert": "^3.1.1",
"yeoman-generator": "^3.2.0",
"yeoman-test": "^1.9.1",
"yo": "^2.0.5",
"yosay": "^2.0.2"
},
"devDependencies": {
"yeoman-assert": "^3.1.1",
"yeoman-test": "^1.9.1"
},
"license": "MIT",
"repository": "https://github.com/bolt-design-system/bolt/tree/master/packages/generator-bolt",
"bugs": "https://github.com/bolt-design-system/bolt/issues",
Expand Down
8 changes: 3 additions & 5 deletions packages/servers/default-server/package.json
Expand Up @@ -11,11 +11,9 @@
"dependencies": {
"express": "^4.16.3",
"globby": "^9.2.0",
"lerna": "^3.13.1"
},
"peerDependencies": {
"@bolt/api": "^2.4.0-beta.0",
"@bolt/build-tools": "^2.4.0-beta.0"
"lerna": "^3.13.1",
"@bolt/api": "^2.4.0",
"@bolt/build-tools": "^2.4.0"
},
"publishConfig": {
"access": "public"
Expand Down
8 changes: 3 additions & 5 deletions packages/servers/ssr-server/package.json
Expand Up @@ -26,11 +26,9 @@
"mutationobserver-shim": "^0.3.3",
"patch-package": "^6.0.5",
"postinstall-postinstall": "^2.0.0",
"raf": "^3.4.1"
},
"peerDependencies": {
"@bolt/api": "^2.4.0-beta.0",
"@bolt/build-tools": "^2.4.0-beta.0"
"raf": "^3.4.1",
"@bolt/api": "^2.4.0",
"@bolt/build-tools": "^2.4.0"
},
"publishConfig": {
"access": "public"
Expand Down
8 changes: 3 additions & 5 deletions packages/servers/testing-server/package.json
Expand Up @@ -12,10 +12,8 @@
},
"dependencies": {
"express": "^4.16.3",
"globby": "^9.2.0"
},
"peerDependencies": {
"@bolt/api": "^2.4.0-beta.0",
"@bolt/build-tools": "^2.4.0-beta.0"
"globby": "^9.2.0",
"@bolt/api": "^2.4.0",
"@bolt/build-tools": "^2.4.0"
}
}
62 changes: 30 additions & 32 deletions packages/uikit-workshop/package.json
Expand Up @@ -37,51 +37,34 @@
"publishConfig": {
"access": "public"
},
"devDependencies": {
"dependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-jsx": "^7.0.0",
"@babel/plugin-transform-react-jsx": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@svgr/webpack": "^4.1.0",
"autoprefixer": "^9.1.0",
"babel-loader": "^8.0.2",
"clean-css-loader": "^1.0.1",
"clean-webpack-plugin": "^0.1.19",
"copy-webpack-plugin": "^4.5.2",
"cosmiconfig": "^5.0.6",
"critical": "^1.3.4",
"critical-css-webpack-plugin": "^0.2.0",
"css-loader": "^1.0.0",
"html-loader": "^0.5.5",
"html-webpack-plugin": "github:jantimon/html-webpack-plugin#webpack-4",
"mini-css-extract-plugin": "^0.4.1",
"no-emit-webpack-plugin": "^1.0.0",
"node-sass": "^4.9.3",
"node-sass-selector-importer": "^5.2.0",
"penthouse": "^1.6.2",
"postcss-loader": "^3.0.0",
"raw-loader": "^0.5.1",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"uglifyjs-webpack-plugin": "^1.2.7",
"webpack-cli": "^3.1.2",
"workbox-build": "^3.4.1",
"yargs": "^12.0.1"
},
"dependencies": {
"@reach/visually-hidden": "^0.1.2",
"@skatejs/element-preact": "^0.0.1",
"@skatejs/renderer-lit-html": "^0.2.2",
"@skatejs/renderer-preact": "^0.3.3",
"@svgr/webpack": "^4.1.0",
"@webcomponents/custom-elements": "^1.2.1",
"@webcomponents/shadydom": "^1.2.0",
"@webcomponents/template": "^1.4.0",
"autoprefixer": "^9.1.0",
"babel-loader": "^8.0.2",
"classnames": "^2.2.6",
"clean-css-loader": "^1.0.1",
"clean-webpack-plugin": "^0.1.19",
"clipboard": "^2.0.1",
"copy-webpack-plugin": "^4.5.2",
"core-js": "^2.5.7",
"cosmiconfig": "^5.0.6",
"critical-css-webpack-plugin": "^0.2.0",
"critical": "^1.3.4",
"css-loader": "^1.0.0",
"deepmerge": "^2.1.1",
"document-register-element": "^1.11.1",
"element-closest": "^2.0.2",
Expand All @@ -93,32 +76,47 @@
"hard-source-webpack-plugin-patch": "^0.13.3",
"hogan.js": "^3.0.2",
"htm": "^1.0.1",
"html-loader": "^0.5.5",
"html-webpack-plugin": "github:jantimon/html-webpack-plugin#webpack-4",
"iframe-resizer": "^3.6.5",
"lit-html": "^1.0.0-rc.2",
"mini-css-extract-plugin": "^0.4.1",
"mousetrap": "^1.6.2",
"preact": "^8.3.1",
"no-emit-webpack-plugin": "^1.0.0",
"node-sass-selector-importer": "^5.2.0",
"node-sass": "^4.9.3",
"penthouse": "^1.6.2",
"postcss-loader": "^3.0.0",
"preact-compat": "^3.18.4",
"preact-context": "^1.1.2",
"preact-render-to-string": "^4.1.0",
"preact": "^8.3.1",
"preload-webpack-plugin": "^3.0.0-beta.3",
"prerender-spa-plugin": "^3.4.0",
"prismjs": "^1.15.0",
"pwa-helpers": "^0.9.0",
"react": "^16.8.6",
"raw-loader": "^0.5.1",
"react-animate-height": "^2.0.4",
"react-autosuggest": "^9.4.2",
"react-dom": "^16.8.6",
"react-html-parser": "^2.0.2",
"react-popper-tooltip": "^2.7.0",
"redux": "^4.0.0",
"react": "^16.8.6",
"redux-thunk": "^2.3.0",
"redux": "^4.0.0",
"reselect": "^3.0.1",
"sass-loader": "^7.1.0",
"scriptjs": "^2.5.8",
"scroll-js": "^2.2.0",
"skatejs": "^5.2.4",
"style-loader": "^0.23.1",
"uglifyjs-webpack-plugin": "^1.2.7",
"url-search-params-polyfill": "^5.0.0",
"webpack-cli": "^3.1.2",
"webpack": "4.29.6",
"whendefined": "^0.0.1",
"wolfy87-eventemitter": "^5.2.4"
"wolfy87-eventemitter": "^5.2.4",
"workbox-build": "^3.4.1",
"yargs": "^12.0.1"
}
}

0 comments on commit 617bd86

Please sign in to comment.