mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 06:23:37 -05:00
Fix scratch-* dependency versions for npm update
The issues: * The scratch-blocks@0.1.0 version exists because I accidentally published 0.1.0 (no -prerelease modifier) while setting up NPM * I added a step that causes Travis to run `npm update` after installing * The "0.1.0-prepublish" dependency version makes no sense This made Travis install the old version of scratch-blocks that I published accidentally, which breaks the playground.
This commit is contained in:
parent
2abfe25d6d
commit
1b9f9e63d6
2 changed files with 4 additions and 3 deletions
|
@ -31,5 +31,5 @@ after_script:
|
||||||
# Publish to gh-pages as most recent committer
|
# Publish to gh-pages as most recent committer
|
||||||
git config --global user.email $(git log --pretty=format:"%ae" -n1)
|
git config --global user.email $(git log --pretty=format:"%ae" -n1)
|
||||||
git config --global user.name $(git log --pretty=format:"%an" -n1)
|
git config --global user.name $(git log --pretty=format:"%an" -n1)
|
||||||
./node_modules/.bin/gh-pages -x -r https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git -d playground -m "Build for $(git log --pretty=format:%H -n1)"
|
npm run deploy -- -x -r https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "./node_modules/.bin/webpack --progress --colors --bail",
|
"build": "./node_modules/.bin/webpack --progress --colors --bail",
|
||||||
"coverage": "./node_modules/.bin/tap ./test/{unit,integration}/*.js --coverage --coverage-report=lcov",
|
"coverage": "./node_modules/.bin/tap ./test/{unit,integration}/*.js --coverage --coverage-report=lcov",
|
||||||
|
"deploy": "./node_modules/.bin/gh-pages -d playground -m \"Build for $(git log --pretty=format:%H -n1)\"",
|
||||||
"lint": "./node_modules/.bin/eslint .",
|
"lint": "./node_modules/.bin/eslint .",
|
||||||
"prepublish": "npm run build",
|
"prepublish": "npm run build",
|
||||||
"prepublish-watch": "npm run watch",
|
"prepublish-watch": "npm run watch",
|
||||||
|
@ -34,8 +35,8 @@
|
||||||
"json-loader": "0.5.4",
|
"json-loader": "0.5.4",
|
||||||
"lodash.defaultsdeep": "4.6.0",
|
"lodash.defaultsdeep": "4.6.0",
|
||||||
"promise": "7.1.1",
|
"promise": "7.1.1",
|
||||||
"scratch-blocks": "^0.1.0-prepublish",
|
"scratch-blocks": "latest",
|
||||||
"scratch-render": "^0.1.0-prepublish",
|
"scratch-render": "latest",
|
||||||
"script-loader": "0.7.0",
|
"script-loader": "0.7.0",
|
||||||
"stats.js": "0.16.0",
|
"stats.js": "0.16.0",
|
||||||
"tap": "5.7.1",
|
"tap": "5.7.1",
|
||||||
|
|
Loading…
Reference in a new issue