Skip to content

Commit

Permalink
upgrade ncc
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Jan 30, 2020
1 parent 528463b commit db728ea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions cli/prisma2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"bin": "build/index.js",
"prisma": {
"version": "8afa90a993c0efbabc4b4c68860038d9030e71cf"
"version": "609fad2fb2fda91624c579ad1a6f5ca2f5668ccb"
},
"devDependencies": {
"@prisma/ci-info": "^2.1.1",
Expand All @@ -47,7 +47,7 @@
"@sentry/node": "^5.9.0",
"@types/debug": "^4.1.5",
"@types/mocha": "^5.2.7",
"@zeit/ncc": "0.18.5",
"@zeit/ncc": "0.21.0",
"checkpoint-client": "1.0.6",
"dotenv": "^8.2.0",
"jest": "24.9.0",
Expand All @@ -73,9 +73,9 @@
"test": "./fixtures/test.sh && ./node_modules/.bin/mocha src/__tests__/integrate.test.ts --require ts-mocha src/__tests__/integrate.test.ts --timeout 10s",
"test:debug": "./node_modules/.bin/mocha --inspect-brk src/__tests__/integrate.test.ts --require ts-mocha src/__tests__/integrate.test.ts --timeout 10s",
"install": "node download-build/index.js",
"download": "node scripts/updateTag.js && node download-build/index.js || echo \"\"",
"download": "rm -f download-done && node scripts/updateTag.js && node download-build/index.js || echo \"\"",
"tsc": "tsc -d && cp src/capture-worker.js dist/capture-worker.js && bash scripts/copy-runtime-dist.sh",
"ncc": "ncc build dist/bin.js -o build",
"ncc": "ncc build dist/bin.js -o build -m",
"ncc:download": "ncc build scripts/download.js -o download-build",
"build": "pnpm run tsc && pnpm run ncc:download && rm -rf build && pnpm run ncc && sed -i.bak 's/env ts-node/env node/g' 'build/index.js' && rm -f build/index.js.bak && bash scripts/copy-runtime.sh",
"prepublishOnly": "pnpm run download && pnpm run ncc:download && pnpm run install && pnpm run test && pnpm run build",
Expand Down
2 changes: 1 addition & 1 deletion cli/prisma2/src/bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ if (require.main === module) {
process.exit(code)
}
})
.catch((err) => {
.catch(err => {
function handleIndividualError(error) {
if (err.rustStack) {
handlePanic(error, packageJson.name, packageJson.version).catch(e => {
Expand Down
8 changes: 4 additions & 4 deletions cli/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,24 @@
"@prisma/fetch-engine": "workspace:*",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "workspace:*",
"archiver": "3",
"archiver": "3.0.0",
"chalk": "^3.0.0",
"execa": "^3.4.0",
"flat-map-polyfill": "^0.3.8",
"is-ci": "^2.0.0",
"make-dir": "^3.0.0",
"node-fetch": "2",
"node-fetch": "2.6.0",
"p-map": "^3.0.0",
"prompts": "^2.3.0",
"read-pkg-up": "^7.0.0",
"resolve-pkg": "^2.0.0",
"rimraf": "^3.0.0",
"strip-ansi": "6",
"strip-ansi": "6.0.0",
"tar": "^5.0.5",
"temp-write": "^4.0.0",
"tempy": "^0.3.0",
"terminal-link": "^2.1.1",
"tmp": "^0.1.0",
"tmp": "0.1.0",
"url-parse": "^1.4.7"
},
"husky": {
Expand Down

0 comments on commit db728ea

Please sign in to comment.