Skip to content

Commit

Permalink
bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Nov 19, 2019
1 parent d6dedd0 commit 07afec9
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
3 changes: 2 additions & 1 deletion cli/ink-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prisma/ink-components",
"version": "0.0.11",
"version": "0.0.13",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "git@github.com:prisma/prisma2.git",
Expand All @@ -24,6 +24,7 @@
],
"devDependencies": {
"@types/node": "^12.12.9",
"@types/react": "16.9.11",
"ink": "^2.5.0",
"react": "16.11.0",
"typescript": "^3.7.2"
Expand Down
4 changes: 2 additions & 2 deletions cli/introspection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@prisma/cli": "workspace:0.1.29",
"@prisma/generator-helper": "workspace:0.0.22",
"@prisma/lift": "workspace:0.3.99",
"@prisma/sdk": "workspace:0.0.37",
"@prisma/sdk": "workspace:0.0.39",
"@types/debug": "4.1.5",
"@types/dotenv": "^8.2.0",
"@types/figures": "^3.0.1",
Expand Down Expand Up @@ -40,7 +40,7 @@
},
"dependencies": {
"@prisma/fetch-engine": "workspace:0.3.11",
"@prisma/ink-components": "workspace:0.0.11",
"@prisma/ink-components": "workspace:0.0.13",
"chalk": "^3.0.0",
"execa": "3.3.0",
"figures": "^3.1.0",
Expand Down
5 changes: 3 additions & 2 deletions cli/prisma2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"@prisma/generator-helper": "workspace:0.0.22",
"@prisma/introspection": "workspace:0.0.114",
"@prisma/lift": "workspace:0.3.99",
"@prisma/photon": "workspace:2.0.0-alpha.315",
"@prisma/sdk": "workspace:0.0.37",
"@prisma/photon": "workspace:2.0.0-alpha.320",
"@prisma/sdk": "workspace:0.0.39",
"@prisma/studio-transports": "^0.146.0",
"@sentry/node": "^5.9.0",
"@types/debug": "^4.1.5",
Expand All @@ -36,6 +36,7 @@
"mz": "2.7.0",
"open": "^7.0.0",
"pkg-up": "3.1.0",
"prisma-db-introspection": "1.36.0-test.2",
"prisma-test-utils": "^0.2.5",
"resolve-pkg": "^2.0.0",
"rimraf": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion cli/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prisma/sdk",
"version": "0.0.37",
"version": "0.0.39",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "git@github.com:prisma/prisma2.git",
Expand Down
4 changes: 3 additions & 1 deletion cli/sdk/src/getPackedPackage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ export async function getPackedPackage(
if (!target) {
throw new Error(`Error in getPackage: Please provide a target`)
}
const packageDir = resolvePkg(name, { cwd: __dirname })
const packageDir =
resolvePkg(name, { cwd: __dirname }) || resolvePkg(name, { cwd: target })

if (!packageDir) {
throw new Error(
`Error in getPackage: Could not resolve package ${name} from ${__dirname}`,
Expand Down

0 comments on commit 07afec9

Please sign in to comment.