Skip to content

Commit

Permalink
trigerring new build with Node and NPM version dump (Now.sh and Herok…
Browse files Browse the repository at this point in the history
…u) ... problems with NodeJS 10/11? (not sure, let's find out)
  • Loading branch information
danielweck committed Dec 20, 2018
1 parent 40971e5 commit 83184c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: DEBUG=r2:* node ./dist/es8-es2017/src/http/server-cli.js ./misc/epubs
web: node --version && npm --version && DEBUG=r2:* node ./dist/es8-es2017/src/http/server-cli.js ./misc/epubs
4 changes: 2 additions & 2 deletions package-scripts.cson
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
'

'now-start': '
node "./es8-es2017/src/http/server-cli.js" ./misc/epubs
node --version && npm --version && DEBUG=r2:* node "./es8-es2017/src/http/server-cli.js" ./misc/epubs
'

'prenow': '
Expand Down Expand Up @@ -89,7 +89,7 @@
json -I -f ./package.json -e "this.bin=undefined" &&
json -I -f ./package.json -e "this.main=undefined" &&
json -I -f ./package.json -e "this.files=undefined" &&
json -I -f ./package.json -e "this.scripts={\\"now-start\\":\\"node --version && npm --version && node ./es8-es2017/src/http/server-cli.js ./misc/epubs\\",\\"now-start_\\":\\"rm -rf node_modules && npm cache clean --force && npm install\\"}" &&
json -I -f ./package.json -e "this.scripts={\\"now-start\\":\\"node --version && npm --version && DEBUG=r2:* node ./es8-es2017/src/http/server-cli.js ./misc/epubs\\",\\"now-start_\\":\\"rm -rf node_modules && npm cache clean --force && npm install\\"}" &&
cd ..
'

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@
"start": "cross-env DEBUG=r2:* node \"./dist/es6-es2015/src/http/server-cli.js\" ./misc/epubs/",
"prepare_": "npm run build:all",
"prepublish_": "npm run prepare_",
"now-start": "node \"./es8-es2017/src/http/server-cli.js\" ./misc/epubs",
"now-start": "node --version && npm --version && DEBUG=r2:* node \"./es8-es2017/src/http/server-cli.js\" ./misc/epubs",
"prenow": "npm run clean && npm run build:es8-es2017",
"now": "cpy ./package-lock.json ./now && cpy \"./**/*\" ../now/ --cwd=./dist --parents && rimraf \"./now/**/*.d.ts\" && rimraf \"./now/**/*.js.map\" && cpy \"./misc/readers/reader-NYPL/**/*\" ./now/ --cwd=./ --parents --no-dir && cpy \"./misc/readers/reader-HADRIEN/**/*\" ./now/ --cwd=./ --parents --no-dir && cpy \"./misc/epubs/*.epub\" now/misc/epubs/ && cpy \"./misc/json-schema/**/*\" ./now/ --cwd=./ --parents --no-dir && cpy ./package.json now/ && cd now/ && json -I -f ./package.json -e \"this.build=undefined\" && json -I -f ./package.json -e \"this.importSort=undefined\" && json -I -f ./package.json -e \"this.devDependencies=undefined\" && json -I -f ./package.json -e \"this.optionalDependencies=undefined\" && json -I -f ./package.json -e \"this.peerDependencies=undefined\" && json -I -f ./package.json -e \"this.bundleDependencies=undefined\" && json -I -f ./package.json -e \"this.types=undefined\" && json -I -f ./package.json -e \"this.bin=undefined\" && json -I -f ./package.json -e \"this.main=undefined\" && json -I -f ./package.json -e \"this.files=undefined\" && json -I -f ./package.json -e \"this.scripts={\\\"now-start\\\":\\\"node --version && npm --version && node ./es8-es2017/src/http/server-cli.js ./misc/epubs\\\",\\\"now-start_\\\":\\\"rm -rf node_modules && npm cache clean --force && npm install\\\"}\" && cd ..",
"now": "cpy ./package-lock.json ./now && cpy \"./**/*\" ../now/ --cwd=./dist --parents && rimraf \"./now/**/*.d.ts\" && rimraf \"./now/**/*.js.map\" && cpy \"./misc/readers/reader-NYPL/**/*\" ./now/ --cwd=./ --parents --no-dir && cpy \"./misc/readers/reader-HADRIEN/**/*\" ./now/ --cwd=./ --parents --no-dir && cpy \"./misc/epubs/*.epub\" now/misc/epubs/ && cpy \"./misc/json-schema/**/*\" ./now/ --cwd=./ --parents --no-dir && cpy ./package.json now/ && cd now/ && json -I -f ./package.json -e \"this.build=undefined\" && json -I -f ./package.json -e \"this.importSort=undefined\" && json -I -f ./package.json -e \"this.devDependencies=undefined\" && json -I -f ./package.json -e \"this.optionalDependencies=undefined\" && json -I -f ./package.json -e \"this.peerDependencies=undefined\" && json -I -f ./package.json -e \"this.bundleDependencies=undefined\" && json -I -f ./package.json -e \"this.types=undefined\" && json -I -f ./package.json -e \"this.bin=undefined\" && json -I -f ./package.json -e \"this.main=undefined\" && json -I -f ./package.json -e \"this.files=undefined\" && json -I -f ./package.json -e \"this.scripts={\\\"now-start\\\":\\\"node --version && npm --version && DEBUG=r2:* node ./es8-es2017/src/http/server-cli.js ./misc/epubs\\\",\\\"now-start_\\\":\\\"rm -rf node_modules && npm cache clean --force && npm install\\\"}\" && cd ..",
"typescript:imports": "node tools/typescript_relativize_path_mapping_imports.js",
"gitrev": "node tools/gitrev.js && cat dist/gitrev.json",
"afterdist": "npm run typescript:imports && npm run gitrev",
Expand Down

0 comments on commit 83184c7

Please sign in to comment.