Skip to content

Commit

Permalink
πŸ”§ fix dependencies (#3078)
Browse files Browse the repository at this point in the history
* node-gyp resolution

* * dep for build-scripts packages

* yarn.lock

* preview script won't fail build without GH_AUTH_TOKEN

* update yarn min version in readme
  • Loading branch information
giladgray authored Oct 25, 2018
1 parent 2783834 commit df02b5c
Show file tree
Hide file tree
Showing 16 changed files with 136 additions and 112 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ then [check out the "help wanted" label](https://github.com/palantir/blueprint/l
[Lerna](https://lernajs.io/) manages inter-package dependencies in this monorepo.
Builds are orchestrated via `lerna run` and NPM scripts.

__Prerequisites__: Node.js v8+, Yarn v1.0+
__Prerequisites__: Node.js v8+, Yarn v1.10+

### One-time setup

Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
"engines": {
"node": ">=6.1"
},
"resolutions": {
"node-gyp": "^3.6.3"
},
"repository": {
"type": "git",
"url": "[email protected]:palantir/blueprint.git"
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
"react-dom": "^15.3.0 || 16"
},
"devDependencies": {
"@blueprintjs/karma-build-scripts": "^0.8.0",
"@blueprintjs/node-build-scripts": "^0.7.0",
"@blueprintjs/karma-build-scripts": "*",
"@blueprintjs/node-build-scripts": "*",
"@blueprintjs/test-commons": "^0.8.0",
"enzyme": "^3.3.0",
"karma": "^1.7.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/datetime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"tslib": "^1.9.0"
},
"devDependencies": {
"@blueprintjs/karma-build-scripts": "^0.8.0",
"@blueprintjs/node-build-scripts": "^0.7.0",
"@blueprintjs/karma-build-scripts": "*",
"@blueprintjs/node-build-scripts": "*",
"@blueprintjs/test-commons": "^0.8.0",
"enzyme": "^3.3.0",
"karma": "^1.7.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/docs-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"tslib": "^1.9.0"
},
"devDependencies": {
"@blueprintjs/node-build-scripts": "^0.7.0",
"@blueprintjs/webpack-build-scripts": "^0.6.0",
"@blueprintjs/node-build-scripts": "*",
"@blueprintjs/webpack-build-scripts": "*",
"@types/chroma-js": "^1.3.3",
"npm-run-all": "^4.1.2",
"webpack": "^3.10.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/docs-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"tslib": "^1.9.0"
},
"devDependencies": {
"@blueprintjs/node-build-scripts": "^0.8.0",
"@blueprintjs/node-build-scripts": "*",
"@types/fuzzaldrin-plus": "^0.6.0",
"npm-run-all": "^4.1.2",
"react": "^16.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"tslib": "^1.9.0"
},
"devDependencies": {
"@blueprintjs/node-build-scripts": "^0.7.0",
"@blueprintjs/node-build-scripts": "*",
"@blueprintjs/test-commons": "^0.8.0",
"enzyme": "^3.3.0",
"mocha": "^4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/karma-build-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"test": "exit 0"
},
"dependencies": {
"@blueprintjs/webpack-build-scripts": "^0.7.0",
"@blueprintjs/webpack-build-scripts": "*",
"istanbul-instrumenter-loader": "^3.0.0",
"karma": "^1.7.1",
"karma-chrome-launcher": "^2.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/labs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"tslib": "^1.9.0"
},
"devDependencies": {
"@blueprintjs/node-build-scripts": "^0.7.0",
"@blueprintjs/node-build-scripts": "*",
"@blueprintjs/test-commons": "^0.8.0",
"enzyme": "^3.3.0",
"karma": "^1.7.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/landing-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"react-dom": "^16.2.0"
},
"devDependencies": {
"@blueprintjs/webpack-build-scripts": "^0.6.0",
"@blueprintjs/webpack-build-scripts": "*",
"copy-webpack-plugin": "^4.2.0",
"npm-run-all": "^4.1.2",
"raw-loader": "^0.5.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"tslib": "^1.9.0"
},
"devDependencies": {
"@blueprintjs/karma-build-scripts": "^0.8.0",
"@blueprintjs/node-build-scripts": "^0.7.0",
"@blueprintjs/karma-build-scripts": "*",
"@blueprintjs/node-build-scripts": "*",
"enzyme": "^3.3.0",
"karma": "^1.7.1",
"mocha": "^4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/table-dev-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"react-dom": "^16.2.0"
},
"devDependencies": {
"@blueprintjs/webpack-build-scripts": "^0.6.0",
"@blueprintjs/webpack-build-scripts": "*",
"npm-run-all": "^4.1.2",
"stylelint": "~8.4.0",
"webpack": "^3.10.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"tslib": "^1.9.0"
},
"devDependencies": {
"@blueprintjs/node-build-scripts": "^0.7.0",
"@blueprintjs/node-build-scripts": "*",
"@blueprintjs/test-commons": "^0.8.0",
"enzyme": "^3.3.0",
"karma": "^1.7.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/timezone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"tslib": "^1.9.0"
},
"devDependencies": {
"@blueprintjs/node-build-scripts": "^0.7.0",
"@blueprintjs/node-build-scripts": "*",
"@blueprintjs/test-commons": "^0.8.0",
"@types/moment-timezone": "^0.5.0",
"enzyme": "^3.3.0",
Expand Down
5 changes: 5 additions & 0 deletions scripts/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
// Submits a comment to the change PR or commit with links to artifacts that
// show the results of the code change being applied.

if (!process.env.GH_AUTH_TOKEN) {
console.error("Missing GH_AUTH_TOKEN env var, refusing to run.");
process.exit();
}

const bot = require("circle-github-bot").create();

const links = [
Expand Down
Loading

1 comment on commit df02b5c

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

πŸ”§ fix dependencies (#3078)

Previews: documentation | landing | table

Please sign in to comment.