diff --git a/docs/examples/apollo/package-lock.json b/docs/examples/apollo/package-lock.json index 8dbee6c..27c9dc6 100644 --- a/docs/examples/apollo/package-lock.json +++ b/docs/examples/apollo/package-lock.json @@ -1,6 +1,6 @@ { "name": "apollo", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -48,17 +48,17 @@ } }, "@prisma-multi-tenant/client": { - "version": "2.2.0-dev.6", - "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/client/-/client-2.2.0-dev.6.tgz", - "integrity": "sha512-Cdcut+HCgYntoXW0uSjQR3u2dGx67yuKB7Bjya4GdbnsFK3vjx1NeEns7EaO/87REnfdHdZhRfmwZsVJjl1msg==", + "version": "2.2.0-dev.8", + "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/client/-/client-2.2.0-dev.8.tgz", + "integrity": "sha512-Cck4QHyAEK3L/uehLgXsJwxWkXURG7czBDHJGlrgYk1tn7scJjGsULvow5jHiCPZilBkd8SNLWMFBbQ5h1v/Ag==", "requires": { - "@prisma-multi-tenant/shared": "^2.2.0-dev.6" + "@prisma-multi-tenant/shared": "^2.2.0-dev.8" } }, "@prisma-multi-tenant/shared": { - "version": "2.2.0-dev.6", - "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/shared/-/shared-2.2.0-dev.6.tgz", - "integrity": "sha512-UPZ2jiTpuvs/Xz44g4V5aRYopROKQEVfEaMX9reScbSajs5vrCUzLF6gsDARWth2CT286LcJDEvhcSKqkQqiKw==", + "version": "2.2.0-dev.8", + "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/shared/-/shared-2.2.0-dev.8.tgz", + "integrity": "sha512-0ikAUOi2ccmPqmoaYRT5Xynx4NbforLrBBrWkmRNDEcWP/tm97YFP+CCOgaiWrykgRLY2ORqZKan9vCKvsTAZQ==", "requires": { "@prisma/client": "^2.2.0" } diff --git a/docs/examples/apollo/package.json b/docs/examples/apollo/package.json index be0af6c..005455f 100644 --- a/docs/examples/apollo/package.json +++ b/docs/examples/apollo/package.json @@ -1,6 +1,6 @@ { "name": "apollo", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "description": "", "main": "index.js", "scripts": { @@ -10,7 +10,7 @@ "author": "", "license": "ISC", "dependencies": { - "@prisma-multi-tenant/client": "^2.2.0-dev.6", + "@prisma-multi-tenant/client": "^2.2.0-dev.8", "apollo-server": "^2.16.0", "graphql": "^15.3.0" }, diff --git a/docs/examples/basic-js/package-lock.json b/docs/examples/basic-js/package-lock.json index 0d0c84d..85a5125 100644 --- a/docs/examples/basic-js/package-lock.json +++ b/docs/examples/basic-js/package-lock.json @@ -1,21 +1,21 @@ { "name": "basic-js", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "lockfileVersion": 1, "requires": true, "dependencies": { "@prisma-multi-tenant/client": { - "version": "2.2.0-dev.6", - "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/client/-/client-2.2.0-dev.6.tgz", - "integrity": "sha512-Cdcut+HCgYntoXW0uSjQR3u2dGx67yuKB7Bjya4GdbnsFK3vjx1NeEns7EaO/87REnfdHdZhRfmwZsVJjl1msg==", + "version": "2.2.0-dev.8", + "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/client/-/client-2.2.0-dev.8.tgz", + "integrity": "sha512-Cck4QHyAEK3L/uehLgXsJwxWkXURG7czBDHJGlrgYk1tn7scJjGsULvow5jHiCPZilBkd8SNLWMFBbQ5h1v/Ag==", "requires": { - "@prisma-multi-tenant/shared": "^2.2.0-dev.6" + "@prisma-multi-tenant/shared": "^2.2.0-dev.8" } }, "@prisma-multi-tenant/shared": { - "version": "2.2.0-dev.6", - "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/shared/-/shared-2.2.0-dev.6.tgz", - "integrity": "sha512-UPZ2jiTpuvs/Xz44g4V5aRYopROKQEVfEaMX9reScbSajs5vrCUzLF6gsDARWth2CT286LcJDEvhcSKqkQqiKw==", + "version": "2.2.0-dev.8", + "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/shared/-/shared-2.2.0-dev.8.tgz", + "integrity": "sha512-0ikAUOi2ccmPqmoaYRT5Xynx4NbforLrBBrWkmRNDEcWP/tm97YFP+CCOgaiWrykgRLY2ORqZKan9vCKvsTAZQ==", "requires": { "@prisma/client": "^2.2.0" } diff --git a/docs/examples/basic-js/package.json b/docs/examples/basic-js/package.json index 2e853fc..ced365f 100644 --- a/docs/examples/basic-js/package.json +++ b/docs/examples/basic-js/package.json @@ -1,6 +1,6 @@ { "name": "basic-js", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "description": "", "main": "index.js", "scripts": { @@ -11,7 +11,7 @@ "license": "ISC", "dependencies": { "@prisma/client": "^2.2.0", - "@prisma-multi-tenant/client": "^2.2.0-dev.6" + "@prisma-multi-tenant/client": "^2.2.0-dev.8" }, "devDependencies": { "@prisma/cli": "^2.2.0" diff --git a/docs/examples/basic-ts/package-lock.json b/docs/examples/basic-ts/package-lock.json index b64906f..551a03e 100644 --- a/docs/examples/basic-ts/package-lock.json +++ b/docs/examples/basic-ts/package-lock.json @@ -1,21 +1,21 @@ { "name": "basic-js", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "lockfileVersion": 1, "requires": true, "dependencies": { "@prisma-multi-tenant/client": { - "version": "2.2.0-dev.6", - "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/client/-/client-2.2.0-dev.6.tgz", - "integrity": "sha512-Cdcut+HCgYntoXW0uSjQR3u2dGx67yuKB7Bjya4GdbnsFK3vjx1NeEns7EaO/87REnfdHdZhRfmwZsVJjl1msg==", + "version": "2.2.0-dev.8", + "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/client/-/client-2.2.0-dev.8.tgz", + "integrity": "sha512-Cck4QHyAEK3L/uehLgXsJwxWkXURG7czBDHJGlrgYk1tn7scJjGsULvow5jHiCPZilBkd8SNLWMFBbQ5h1v/Ag==", "requires": { - "@prisma-multi-tenant/shared": "^2.2.0-dev.6" + "@prisma-multi-tenant/shared": "^2.2.0-dev.8" } }, "@prisma-multi-tenant/shared": { - "version": "2.2.0-dev.6", - "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/shared/-/shared-2.2.0-dev.6.tgz", - "integrity": "sha512-UPZ2jiTpuvs/Xz44g4V5aRYopROKQEVfEaMX9reScbSajs5vrCUzLF6gsDARWth2CT286LcJDEvhcSKqkQqiKw==", + "version": "2.2.0-dev.8", + "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/shared/-/shared-2.2.0-dev.8.tgz", + "integrity": "sha512-0ikAUOi2ccmPqmoaYRT5Xynx4NbforLrBBrWkmRNDEcWP/tm97YFP+CCOgaiWrykgRLY2ORqZKan9vCKvsTAZQ==", "requires": { "@prisma/client": "^2.2.0" } diff --git a/docs/examples/basic-ts/package.json b/docs/examples/basic-ts/package.json index fad1c98..de8cc02 100644 --- a/docs/examples/basic-ts/package.json +++ b/docs/examples/basic-ts/package.json @@ -1,6 +1,6 @@ { "name": "basic-js", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "description": "", "main": "index.js", "scripts": { @@ -11,7 +11,7 @@ "license": "ISC", "dependencies": { "@prisma/client": "^2.2.0", - "@prisma-multi-tenant/client": "^2.2.0-dev.6" + "@prisma-multi-tenant/client": "^2.2.0-dev.8" }, "devDependencies": { "@prisma/cli": "^2.2.0", diff --git a/docs/examples/express/package-lock.json b/docs/examples/express/package-lock.json index 72ba9e8..1de4810 100644 --- a/docs/examples/express/package-lock.json +++ b/docs/examples/express/package-lock.json @@ -1,21 +1,21 @@ { "name": "express", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "lockfileVersion": 1, "requires": true, "dependencies": { "@prisma-multi-tenant/client": { - "version": "2.2.0-dev.6", - "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/client/-/client-2.2.0-dev.6.tgz", - "integrity": "sha512-Cdcut+HCgYntoXW0uSjQR3u2dGx67yuKB7Bjya4GdbnsFK3vjx1NeEns7EaO/87REnfdHdZhRfmwZsVJjl1msg==", + "version": "2.2.0-dev.8", + "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/client/-/client-2.2.0-dev.8.tgz", + "integrity": "sha512-Cck4QHyAEK3L/uehLgXsJwxWkXURG7czBDHJGlrgYk1tn7scJjGsULvow5jHiCPZilBkd8SNLWMFBbQ5h1v/Ag==", "requires": { - "@prisma-multi-tenant/shared": "^2.2.0-dev.6" + "@prisma-multi-tenant/shared": "^2.2.0-dev.8" } }, "@prisma-multi-tenant/shared": { - "version": "2.2.0-dev.6", - "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/shared/-/shared-2.2.0-dev.6.tgz", - "integrity": "sha512-UPZ2jiTpuvs/Xz44g4V5aRYopROKQEVfEaMX9reScbSajs5vrCUzLF6gsDARWth2CT286LcJDEvhcSKqkQqiKw==", + "version": "2.2.0-dev.8", + "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/shared/-/shared-2.2.0-dev.8.tgz", + "integrity": "sha512-0ikAUOi2ccmPqmoaYRT5Xynx4NbforLrBBrWkmRNDEcWP/tm97YFP+CCOgaiWrykgRLY2ORqZKan9vCKvsTAZQ==", "requires": { "@prisma/client": "^2.2.0" } diff --git a/docs/examples/express/package.json b/docs/examples/express/package.json index 7311dd2..2d9f7d0 100644 --- a/docs/examples/express/package.json +++ b/docs/examples/express/package.json @@ -1,6 +1,6 @@ { "name": "express", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "description": "", "main": "index.js", "scripts": { @@ -10,7 +10,7 @@ "author": "", "license": "ISC", "dependencies": { - "@prisma-multi-tenant/client": "^2.2.0-dev.6", + "@prisma-multi-tenant/client": "^2.2.0-dev.8", "express": "^4.17.1" }, "devDependencies": { diff --git a/docs/examples/nexus/package-lock.json b/docs/examples/nexus/package-lock.json index 547e110..8d0f033 100644 --- a/docs/examples/nexus/package-lock.json +++ b/docs/examples/nexus/package-lock.json @@ -1,6 +1,6 @@ { "name": "nexus-tutorial", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -174,26 +174,26 @@ } }, "@prisma-multi-tenant/client": { - "version": "2.2.0-dev.6", - "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/client/-/client-2.2.0-dev.6.tgz", - "integrity": "sha512-Cdcut+HCgYntoXW0uSjQR3u2dGx67yuKB7Bjya4GdbnsFK3vjx1NeEns7EaO/87REnfdHdZhRfmwZsVJjl1msg==", + "version": "2.2.0-dev.8", + "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/client/-/client-2.2.0-dev.8.tgz", + "integrity": "sha512-Cck4QHyAEK3L/uehLgXsJwxWkXURG7czBDHJGlrgYk1tn7scJjGsULvow5jHiCPZilBkd8SNLWMFBbQ5h1v/Ag==", "requires": { - "@prisma-multi-tenant/shared": "^2.2.0-dev.6" + "@prisma-multi-tenant/shared": "^2.2.0-dev.8" } }, "@prisma-multi-tenant/nexus": { - "version": "2.2.0-dev.6", - "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/nexus/-/nexus-2.2.0-dev.6.tgz", - "integrity": "sha512-ygE7jfX9yXE9JdexiEtr0qg1RqyULCIfTGk0JEROi+aZwrU8DFwt26ZlZ7uF6adXMkg9LkSreQ3c7tP4/3IfTw==", + "version": "2.2.0-dev.8", + "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/nexus/-/nexus-2.2.0-dev.8.tgz", + "integrity": "sha512-6ZWeiwHofg1++Mo3TNHSnZDcLvOdzfqR+BA3P87/yZnts+Jr50jdrUYGqVFmCX03C7TCl3fE9bFvekZSGulACw==", "requires": { - "@prisma-multi-tenant/client": "^2.2.0-dev.6", + "@prisma-multi-tenant/client": "^2.2.0-dev.8", "nexus-plugin-prisma": "^0.16.2-next.4" } }, "@prisma-multi-tenant/shared": { - "version": "2.2.0-dev.6", - "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/shared/-/shared-2.2.0-dev.6.tgz", - "integrity": "sha512-UPZ2jiTpuvs/Xz44g4V5aRYopROKQEVfEaMX9reScbSajs5vrCUzLF6gsDARWth2CT286LcJDEvhcSKqkQqiKw==", + "version": "2.2.0-dev.8", + "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/shared/-/shared-2.2.0-dev.8.tgz", + "integrity": "sha512-0ikAUOi2ccmPqmoaYRT5Xynx4NbforLrBBrWkmRNDEcWP/tm97YFP+CCOgaiWrykgRLY2ORqZKan9vCKvsTAZQ==", "requires": { "@prisma/client": "^2.2.0" } diff --git a/docs/examples/nexus/package.json b/docs/examples/nexus/package.json index 9623676..2418132 100644 --- a/docs/examples/nexus/package.json +++ b/docs/examples/nexus/package.json @@ -1,6 +1,6 @@ { "name": "nexus-tutorial", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "description": "", "main": "index.js", "scripts": { @@ -11,8 +11,8 @@ "author": "", "license": "ISC", "dependencies": { - "@prisma-multi-tenant/client": "^2.2.0-dev.6", - "@prisma-multi-tenant/nexus": "^2.2.0-dev.6", + "@prisma-multi-tenant/client": "^2.2.0-dev.8", + "@prisma-multi-tenant/nexus": "^2.2.0-dev.8", "@prisma/cli": "^2.2.2", "nexus": "^0.26.0-next.5", "nexus-plugin-prisma": "^0.16.2-next.4" diff --git a/package.json b/package.json index 558e3f7..cd3f1f1 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "scripts": { "postintall": "node scripts/bootstrap.js", "check": "node scripts/check.js", diff --git a/packages/blitz/package-lock.json b/packages/blitz/package-lock.json index 4231f92..7b11fee 100644 --- a/packages/blitz/package-lock.json +++ b/packages/blitz/package-lock.json @@ -1,6 +1,6 @@ { "name": "@prisma-multi-tenant/blitz", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1991,17 +1991,17 @@ "dev": true }, "@prisma-multi-tenant/client": { - "version": "2.2.0-dev.6", - "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/client/-/client-2.2.0-dev.6.tgz", - "integrity": "sha512-Cdcut+HCgYntoXW0uSjQR3u2dGx67yuKB7Bjya4GdbnsFK3vjx1NeEns7EaO/87REnfdHdZhRfmwZsVJjl1msg==", + "version": "2.2.0-dev.8", + "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/client/-/client-2.2.0-dev.8.tgz", + "integrity": "sha512-Cck4QHyAEK3L/uehLgXsJwxWkXURG7czBDHJGlrgYk1tn7scJjGsULvow5jHiCPZilBkd8SNLWMFBbQ5h1v/Ag==", "requires": { - "@prisma-multi-tenant/shared": "^2.2.0-dev.6" + "@prisma-multi-tenant/shared": "^2.2.0-dev.8" } }, "@prisma-multi-tenant/shared": { - "version": "2.2.0-dev.6", - "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/shared/-/shared-2.2.0-dev.6.tgz", - "integrity": "sha512-UPZ2jiTpuvs/Xz44g4V5aRYopROKQEVfEaMX9reScbSajs5vrCUzLF6gsDARWth2CT286LcJDEvhcSKqkQqiKw==", + "version": "2.2.0-dev.8", + "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/shared/-/shared-2.2.0-dev.8.tgz", + "integrity": "sha512-0ikAUOi2ccmPqmoaYRT5Xynx4NbforLrBBrWkmRNDEcWP/tm97YFP+CCOgaiWrykgRLY2ORqZKan9vCKvsTAZQ==", "requires": { "@prisma/client": "^2.2.0" } diff --git a/packages/blitz/package.json b/packages/blitz/package.json index 373e7a0..ddb4cb5 100644 --- a/packages/blitz/package.json +++ b/packages/blitz/package.json @@ -1,6 +1,6 @@ { "name": "@prisma-multi-tenant/blitz", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "description": "Blitz plugin for prisma-multi-tenant", "author": { "name": "Thibaud Courtoison", @@ -20,7 +20,7 @@ "prettier": "prettier \"src/**/*.ts\" --check" }, "dependencies": { - "@prisma-multi-tenant/client": "^2.2.0-dev.6" + "@prisma-multi-tenant/client": "^2.2.0-dev.8" }, "peerDependencies": { "blitz": "^0.16.4" diff --git a/packages/cli/package-lock.json b/packages/cli/package-lock.json index 3560fe0..747d924 100644 --- a/packages/cli/package-lock.json +++ b/packages/cli/package-lock.json @@ -1,6 +1,6 @@ { "name": "prisma-multi-tenant", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -83,9 +83,9 @@ } }, "@prisma-multi-tenant/shared": { - "version": "2.2.0-dev.6", - "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/shared/-/shared-2.2.0-dev.6.tgz", - "integrity": "sha512-UPZ2jiTpuvs/Xz44g4V5aRYopROKQEVfEaMX9reScbSajs5vrCUzLF6gsDARWth2CT286LcJDEvhcSKqkQqiKw==", + "version": "2.2.0-dev.8", + "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/shared/-/shared-2.2.0-dev.8.tgz", + "integrity": "sha512-0ikAUOi2ccmPqmoaYRT5Xynx4NbforLrBBrWkmRNDEcWP/tm97YFP+CCOgaiWrykgRLY2ORqZKan9vCKvsTAZQ==", "requires": { "@prisma/client": "^2.2.0" } diff --git a/packages/cli/package.json b/packages/cli/package.json index c65e442..645a97a 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "prisma-multi-tenant", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "description": "Command Line Interface for prisma-multi-tenant", "author": { "name": "Thibaud Courtoison", @@ -22,7 +22,7 @@ "prettier": "prettier \"src/**/*.ts\" --check" }, "dependencies": { - "@prisma-multi-tenant/shared": "^2.2.0-dev.6", + "@prisma-multi-tenant/shared": "^2.2.0-dev.8", "@prisma/cli": "^2.2.0", "arg": "^4.1.3", "chalk": "^4.1.0", diff --git a/packages/client/package-lock.json b/packages/client/package-lock.json index 972af29..630aa73 100644 --- a/packages/client/package-lock.json +++ b/packages/client/package-lock.json @@ -1,6 +1,6 @@ { "name": "@prisma-multi-tenant/client", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -44,9 +44,9 @@ } }, "@prisma-multi-tenant/shared": { - "version": "2.2.0-dev.6", - "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/shared/-/shared-2.2.0-dev.6.tgz", - "integrity": "sha512-UPZ2jiTpuvs/Xz44g4V5aRYopROKQEVfEaMX9reScbSajs5vrCUzLF6gsDARWth2CT286LcJDEvhcSKqkQqiKw==", + "version": "2.2.0-dev.8", + "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/shared/-/shared-2.2.0-dev.8.tgz", + "integrity": "sha512-0ikAUOi2ccmPqmoaYRT5Xynx4NbforLrBBrWkmRNDEcWP/tm97YFP+CCOgaiWrykgRLY2ORqZKan9vCKvsTAZQ==", "requires": { "@prisma/client": "^2.2.0" } diff --git a/packages/client/package.json b/packages/client/package.json index a767dc2..03b4baa 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@prisma-multi-tenant/client", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "description": "Shared methods and constants for prisma-multi-tenant", "author": { "name": "Thibaud Courtoison", @@ -20,7 +20,7 @@ "prettier": "prettier \"src/**/*.ts\" --check" }, "dependencies": { - "@prisma-multi-tenant/shared": "^2.2.0-dev.6" + "@prisma-multi-tenant/shared": "^2.2.0-dev.8" }, "peerDependencies": { "@prisma/cli": "^2.2.0" diff --git a/packages/nexus/package-lock.json b/packages/nexus/package-lock.json index 1e6cb71..1c23b37 100644 --- a/packages/nexus/package-lock.json +++ b/packages/nexus/package-lock.json @@ -1,6 +1,6 @@ { "name": "@prisma-multi-tenant/nexus", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -155,17 +155,17 @@ } }, "@prisma-multi-tenant/client": { - "version": "2.2.0-dev.6", - "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/client/-/client-2.2.0-dev.6.tgz", - "integrity": "sha512-Cdcut+HCgYntoXW0uSjQR3u2dGx67yuKB7Bjya4GdbnsFK3vjx1NeEns7EaO/87REnfdHdZhRfmwZsVJjl1msg==", + "version": "2.2.0-dev.8", + "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/client/-/client-2.2.0-dev.8.tgz", + "integrity": "sha512-Cck4QHyAEK3L/uehLgXsJwxWkXURG7czBDHJGlrgYk1tn7scJjGsULvow5jHiCPZilBkd8SNLWMFBbQ5h1v/Ag==", "requires": { - "@prisma-multi-tenant/shared": "^2.2.0-dev.6" + "@prisma-multi-tenant/shared": "^2.2.0-dev.8" } }, "@prisma-multi-tenant/shared": { - "version": "2.2.0-dev.6", - "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/shared/-/shared-2.2.0-dev.6.tgz", - "integrity": "sha512-UPZ2jiTpuvs/Xz44g4V5aRYopROKQEVfEaMX9reScbSajs5vrCUzLF6gsDARWth2CT286LcJDEvhcSKqkQqiKw==", + "version": "2.2.0-dev.8", + "resolved": "https://registry.npmjs.org/@prisma-multi-tenant/shared/-/shared-2.2.0-dev.8.tgz", + "integrity": "sha512-0ikAUOi2ccmPqmoaYRT5Xynx4NbforLrBBrWkmRNDEcWP/tm97YFP+CCOgaiWrykgRLY2ORqZKan9vCKvsTAZQ==", "requires": { "@prisma/client": "^2.2.0" } diff --git a/packages/nexus/package.json b/packages/nexus/package.json index 6d3f619..3f0dfda 100644 --- a/packages/nexus/package.json +++ b/packages/nexus/package.json @@ -1,6 +1,6 @@ { "name": "@prisma-multi-tenant/nexus", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "description": "Nexus plugin for prisma-multi-tenant", "author": { "name": "Thibaud Courtoison", @@ -20,7 +20,7 @@ "prettier": "prettier \"src/**/*.ts\" --check" }, "dependencies": { - "@prisma-multi-tenant/client": "^2.2.0-dev.6", + "@prisma-multi-tenant/client": "^2.2.0-dev.8", "nexus-plugin-prisma": "^0.16.2-next.4" }, "peerDependencies": { diff --git a/packages/shared/package-lock.json b/packages/shared/package-lock.json index bd1c7d8..433b944 100644 --- a/packages/shared/package-lock.json +++ b/packages/shared/package-lock.json @@ -1,6 +1,6 @@ { "name": "@prisma-multi-tenant/shared", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/packages/shared/package.json b/packages/shared/package.json index 30f2ed3..2df9c80 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@prisma-multi-tenant/shared", - "version": "2.2.0-dev.6", + "version": "2.2.0-dev.8", "description": "Shared methods and constants for prisma-multi-tenant", "author": { "name": "Thibaud Courtoison", diff --git a/packages/shared/src/env.ts b/packages/shared/src/env.ts index 58268ba..3d6d8d9 100644 --- a/packages/shared/src/env.ts +++ b/packages/shared/src/env.ts @@ -7,7 +7,12 @@ import { fileExists } from './shell' export const translateDatasourceUrl = async (url: string): Promise => { if (url.startsWith('file:') && !url.startsWith('file:/')) { const schemaPath = await getSchemaPath() - return 'file:' + path.join(process.cwd(), path.dirname(schemaPath), url.replace('file:', '')) + return ( + 'file:' + + path + .join(process.cwd(), path.dirname(schemaPath), url.replace('file:', '')) + .replace(/\\/g, '/') + ) } return url