@prisma/client-generator-js 6.16.0-integration-push-prynymnkvlrn.2 → 6.16.0-integration-feat-orm-1074-package-dev-export.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/index.js +22 -11
  2. package/dist/index.mjs +22 -11
  3. package/package.json +11 -11
package/dist/index.js CHANGED
@@ -4243,8 +4243,8 @@ var bgCyan = init(46, 49);
4243
4243
  var bgWhite = init(47, 49);
4244
4244
 
4245
4245
  // src/generateClient.ts
4246
+ var import_package_up = require("package-up");
4246
4247
  var import_path3 = __toESM(require("path"));
4247
- var import_pkg_up = __toESM(require("pkg-up"));
4248
4248
 
4249
4249
  // ../client/package.json
4250
4250
  var package_default = {
@@ -4385,6 +4385,18 @@ var package_default = {
4385
4385
  import: "./runtime/react-native.js",
4386
4386
  default: "./runtime/react-native.js"
4387
4387
  },
4388
+ "./runtime/index-browser": {
4389
+ types: "./runtime/index-browser.d.ts",
4390
+ require: "./runtime/index-browser.js",
4391
+ import: "./runtime/index-browser.mjs",
4392
+ default: "./runtime/index-browser.mjs"
4393
+ },
4394
+ "./runtime/utilities": {
4395
+ types: "./runtime/utilities.d.ts",
4396
+ require: "./runtime/utilities.js",
4397
+ import: "./runtime/utilities.mjs",
4398
+ default: "./runtime/utilities.mjs"
4399
+ },
4388
4400
  "./generator-build": {
4389
4401
  require: "./generator-build/index.js",
4390
4402
  import: "./generator-build/index.js",
@@ -4462,7 +4474,6 @@ var package_default = {
4462
4474
  "@codspeed/benchmark.js-plugin": "4.0.0",
4463
4475
  "@faker-js/faker": "9.6.0",
4464
4476
  "@fast-check/jest": "2.0.3",
4465
- "@hono/node-server": "1.19.0",
4466
4477
  "@inquirer/prompts": "7.3.3",
4467
4478
  "@jest/create-cache-key-function": "29.7.0",
4468
4479
  "@jest/globals": "29.7.0",
@@ -4493,7 +4504,7 @@ var package_default = {
4493
4504
  "@prisma/dmmf": "workspace:*",
4494
4505
  "@prisma/driver-adapter-utils": "workspace:*",
4495
4506
  "@prisma/engines": "workspace:*",
4496
- "@prisma/engines-version": "6.16.0-3.1ad4ad872cc519cc74e2896087a9b7d399d89b4d",
4507
+ "@prisma/engines-version": "6.16.0-4.1442662e349b2fbbf95bea2c38622209c38b7362",
4497
4508
  "@prisma/fetch-engine": "workspace:*",
4498
4509
  "@prisma/generator": "workspace:*",
4499
4510
  "@prisma/generator-helper": "workspace:*",
@@ -4502,9 +4513,8 @@ var package_default = {
4502
4513
  "@prisma/internals": "workspace:*",
4503
4514
  "@prisma/migrate": "workspace:*",
4504
4515
  "@prisma/mini-proxy": "0.9.5",
4505
- "@prisma/query-compiler-wasm": "6.16.0-3.1ad4ad872cc519cc74e2896087a9b7d399d89b4d",
4506
- "@prisma/query-engine-wasm": "6.16.0-3.1ad4ad872cc519cc74e2896087a9b7d399d89b4d",
4507
- "@prisma/query-plan-executor": "workspace:*",
4516
+ "@prisma/query-compiler-wasm": "6.16.0-4.1442662e349b2fbbf95bea2c38622209c38b7362",
4517
+ "@prisma/query-engine-wasm": "6.16.0-4.1442662e349b2fbbf95bea2c38622209c38b7362",
4508
4518
  "@prisma/ts-builders": "workspace:*",
4509
4519
  "@snaplet/copycat": "6.0.0",
4510
4520
  "@swc-node/register": "1.10.9",
@@ -8543,7 +8553,7 @@ function buildTypedSql({
8543
8553
  fileMap[`${query.name}.js`] = buildTypedQueryCjs(options);
8544
8554
  fileMap[`${query.name}.${edgeRuntimeName}.js`] = buildTypedQueryCjs(edgeOptions);
8545
8555
  fileMap[`${query.name}.mjs`] = buildTypedQueryEsm(options);
8546
- fileMap[`${query.name}.edge.mjs`] = buildTypedQueryEsm(edgeOptions);
8556
+ fileMap[`${query.name}.${edgeRuntimeName}.mjs`] = buildTypedQueryEsm(edgeOptions);
8547
8557
  }
8548
8558
  fileMap["index.d.ts"] = buildIndexTs(queries, enums);
8549
8559
  fileMap["index.js"] = buildIndexCjs(queries);
@@ -8801,7 +8811,7 @@ async function getDefaultOutdir(outputDir) {
8801
8811
  if ((0, import_fs.existsSync)(import_path3.default.join(process.env.INIT_CWD, "package.json"))) {
8802
8812
  return import_path3.default.join(process.env.INIT_CWD, "node_modules/.prisma/client");
8803
8813
  }
8804
- const packagePath = await (0, import_pkg_up.default)({ cwd: process.env.INIT_CWD });
8814
+ const packagePath = await (0, import_package_up.packageUp)({ cwd: process.env.INIT_CWD });
8805
8815
  if (packagePath) {
8806
8816
  return import_path3.default.join(import_path3.default.dirname(packagePath), "node_modules/.prisma/client");
8807
8817
  }
@@ -9028,7 +9038,7 @@ async function getGenerationDirs({
9028
9038
  if (isCustomOutput) {
9029
9039
  await verifyOutputDirectory(userOutputDir, datamodel, schemaPath);
9030
9040
  }
9031
- const userPackageRoot = await (0, import_pkg_up.default)({ cwd: import_path3.default.dirname(userOutputDir) });
9041
+ const userPackageRoot = await (0, import_package_up.packageUp)({ cwd: import_path3.default.dirname(userOutputDir) });
9032
9042
  const userProjectRoot = userPackageRoot ? import_path3.default.dirname(userPackageRoot) : process.cwd();
9033
9043
  return {
9034
9044
  runtimeBase: userRuntimeImport,
@@ -9106,7 +9116,8 @@ async function copyRuntimeFiles({ from, to, runtimeName, sourceMaps }) {
9106
9116
  "edge-esm.js",
9107
9117
  "react-native.js",
9108
9118
  "wasm-engine-edge.js",
9109
- "wasm-compiler-edge.js"
9119
+ "wasm-compiler-edge.js",
9120
+ "utilities.js"
9110
9121
  ];
9111
9122
  files.push(`${runtimeName}.js`);
9112
9123
  if (runtimeName !== "library") {
@@ -9155,7 +9166,7 @@ var import_internals12 = require("@prisma/internals");
9155
9166
  var import_ts_pattern = require("ts-pattern");
9156
9167
 
9157
9168
  // package.json
9158
- var version = "6.16.0-integration-push-prynymnkvlrn.2";
9169
+ var version = "6.16.0-integration-feat-orm-1074-package-dev-export.4";
9159
9170
 
9160
9171
  // src/resolvePrismaClient.ts
9161
9172
  var import_promises2 = __toESM(require("node:fs/promises"));
package/dist/index.mjs CHANGED
@@ -4238,8 +4238,8 @@ var bgCyan = init(46, 49);
4238
4238
  var bgWhite = init(47, 49);
4239
4239
 
4240
4240
  // src/generateClient.ts
4241
+ import { packageUp } from "package-up";
4241
4242
  import path3 from "path";
4242
- import pkgUp from "pkg-up";
4243
4243
 
4244
4244
  // ../client/package.json
4245
4245
  var package_default = {
@@ -4380,6 +4380,18 @@ var package_default = {
4380
4380
  import: "./runtime/react-native.js",
4381
4381
  default: "./runtime/react-native.js"
4382
4382
  },
4383
+ "./runtime/index-browser": {
4384
+ types: "./runtime/index-browser.d.ts",
4385
+ require: "./runtime/index-browser.js",
4386
+ import: "./runtime/index-browser.mjs",
4387
+ default: "./runtime/index-browser.mjs"
4388
+ },
4389
+ "./runtime/utilities": {
4390
+ types: "./runtime/utilities.d.ts",
4391
+ require: "./runtime/utilities.js",
4392
+ import: "./runtime/utilities.mjs",
4393
+ default: "./runtime/utilities.mjs"
4394
+ },
4383
4395
  "./generator-build": {
4384
4396
  require: "./generator-build/index.js",
4385
4397
  import: "./generator-build/index.js",
@@ -4457,7 +4469,6 @@ var package_default = {
4457
4469
  "@codspeed/benchmark.js-plugin": "4.0.0",
4458
4470
  "@faker-js/faker": "9.6.0",
4459
4471
  "@fast-check/jest": "2.0.3",
4460
- "@hono/node-server": "1.19.0",
4461
4472
  "@inquirer/prompts": "7.3.3",
4462
4473
  "@jest/create-cache-key-function": "29.7.0",
4463
4474
  "@jest/globals": "29.7.0",
@@ -4488,7 +4499,7 @@ var package_default = {
4488
4499
  "@prisma/dmmf": "workspace:*",
4489
4500
  "@prisma/driver-adapter-utils": "workspace:*",
4490
4501
  "@prisma/engines": "workspace:*",
4491
- "@prisma/engines-version": "6.16.0-3.1ad4ad872cc519cc74e2896087a9b7d399d89b4d",
4502
+ "@prisma/engines-version": "6.16.0-4.1442662e349b2fbbf95bea2c38622209c38b7362",
4492
4503
  "@prisma/fetch-engine": "workspace:*",
4493
4504
  "@prisma/generator": "workspace:*",
4494
4505
  "@prisma/generator-helper": "workspace:*",
@@ -4497,9 +4508,8 @@ var package_default = {
4497
4508
  "@prisma/internals": "workspace:*",
4498
4509
  "@prisma/migrate": "workspace:*",
4499
4510
  "@prisma/mini-proxy": "0.9.5",
4500
- "@prisma/query-compiler-wasm": "6.16.0-3.1ad4ad872cc519cc74e2896087a9b7d399d89b4d",
4501
- "@prisma/query-engine-wasm": "6.16.0-3.1ad4ad872cc519cc74e2896087a9b7d399d89b4d",
4502
- "@prisma/query-plan-executor": "workspace:*",
4511
+ "@prisma/query-compiler-wasm": "6.16.0-4.1442662e349b2fbbf95bea2c38622209c38b7362",
4512
+ "@prisma/query-engine-wasm": "6.16.0-4.1442662e349b2fbbf95bea2c38622209c38b7362",
4503
4513
  "@prisma/ts-builders": "workspace:*",
4504
4514
  "@snaplet/copycat": "6.0.0",
4505
4515
  "@swc-node/register": "1.10.9",
@@ -8541,7 +8551,7 @@ function buildTypedSql({
8541
8551
  fileMap[`${query.name}.js`] = buildTypedQueryCjs(options);
8542
8552
  fileMap[`${query.name}.${edgeRuntimeName}.js`] = buildTypedQueryCjs(edgeOptions);
8543
8553
  fileMap[`${query.name}.mjs`] = buildTypedQueryEsm(options);
8544
- fileMap[`${query.name}.edge.mjs`] = buildTypedQueryEsm(edgeOptions);
8554
+ fileMap[`${query.name}.${edgeRuntimeName}.mjs`] = buildTypedQueryEsm(edgeOptions);
8545
8555
  }
8546
8556
  fileMap["index.d.ts"] = buildIndexTs(queries, enums);
8547
8557
  fileMap["index.js"] = buildIndexCjs(queries);
@@ -8799,7 +8809,7 @@ async function getDefaultOutdir(outputDir) {
8799
8809
  if (existsSync(path3.join(process.env.INIT_CWD, "package.json"))) {
8800
8810
  return path3.join(process.env.INIT_CWD, "node_modules/.prisma/client");
8801
8811
  }
8802
- const packagePath = await pkgUp({ cwd: process.env.INIT_CWD });
8812
+ const packagePath = await packageUp({ cwd: process.env.INIT_CWD });
8803
8813
  if (packagePath) {
8804
8814
  return path3.join(path3.dirname(packagePath), "node_modules/.prisma/client");
8805
8815
  }
@@ -9026,7 +9036,7 @@ async function getGenerationDirs({
9026
9036
  if (isCustomOutput) {
9027
9037
  await verifyOutputDirectory(userOutputDir, datamodel, schemaPath);
9028
9038
  }
9029
- const userPackageRoot = await pkgUp({ cwd: path3.dirname(userOutputDir) });
9039
+ const userPackageRoot = await packageUp({ cwd: path3.dirname(userOutputDir) });
9030
9040
  const userProjectRoot = userPackageRoot ? path3.dirname(userPackageRoot) : process.cwd();
9031
9041
  return {
9032
9042
  runtimeBase: userRuntimeImport,
@@ -9104,7 +9114,8 @@ async function copyRuntimeFiles({ from, to, runtimeName, sourceMaps }) {
9104
9114
  "edge-esm.js",
9105
9115
  "react-native.js",
9106
9116
  "wasm-engine-edge.js",
9107
- "wasm-compiler-edge.js"
9117
+ "wasm-compiler-edge.js",
9118
+ "utilities.js"
9108
9119
  ];
9109
9120
  files.push(`${runtimeName}.js`);
9110
9121
  if (runtimeName !== "library") {
@@ -9153,7 +9164,7 @@ import { ClientEngineType as ClientEngineType4, getClientEngineType as getClient
9153
9164
  import { match } from "ts-pattern";
9154
9165
 
9155
9166
  // package.json
9156
- var version = "6.16.0-integration-push-prynymnkvlrn.2";
9167
+ var version = "6.16.0-integration-feat-orm-1074-package-dev-export.4";
9157
9168
 
9158
9169
  // src/resolvePrismaClient.ts
9159
9170
  var import_execa = __toESM(require_execa());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client-generator-js",
3
- "version": "6.16.0-integration-push-prynymnkvlrn.2",
3
+ "version": "6.16.0-integration-feat-orm-1074-package-dev-export.4",
4
4
  "description": "This package is intended for Prisma's internal use",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -25,22 +25,22 @@
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
27
  "@antfu/ni": "0.21.12",
28
- "@prisma/engines-version": "6.16.0-3.1ad4ad872cc519cc74e2896087a9b7d399d89b4d",
28
+ "@prisma/engines-version": "6.16.0-4.1442662e349b2fbbf95bea2c38622209c38b7362",
29
29
  "ci-info": "4.2.0",
30
30
  "env-paths": "2.2.1",
31
31
  "indent-string": "4.0.0",
32
32
  "klona": "2.0.6",
33
- "pkg-up": "3.1.0",
33
+ "package-up": "5.0.0",
34
34
  "pluralize": "8.0.0",
35
35
  "ts-pattern": "5.6.2",
36
- "@prisma/client-common": "6.16.0-integration-push-prynymnkvlrn.2",
37
- "@prisma/debug": "6.16.0-integration-push-prynymnkvlrn.2",
38
- "@prisma/dmmf": "6.16.0-integration-push-prynymnkvlrn.2",
39
- "@prisma/fetch-engine": "6.16.0-integration-push-prynymnkvlrn.2",
40
- "@prisma/generator": "6.16.0-integration-push-prynymnkvlrn.2",
41
- "@prisma/get-platform": "6.16.0-integration-push-prynymnkvlrn.2",
42
- "@prisma/ts-builders": "6.16.0-integration-push-prynymnkvlrn.2",
43
- "@prisma/internals": "6.16.0-integration-push-prynymnkvlrn.2"
36
+ "@prisma/debug": "6.16.0-integration-feat-orm-1074-package-dev-export.4",
37
+ "@prisma/client-common": "6.16.0-integration-feat-orm-1074-package-dev-export.4",
38
+ "@prisma/fetch-engine": "6.16.0-integration-feat-orm-1074-package-dev-export.4",
39
+ "@prisma/dmmf": "6.16.0-integration-feat-orm-1074-package-dev-export.4",
40
+ "@prisma/get-platform": "6.16.0-integration-feat-orm-1074-package-dev-export.4",
41
+ "@prisma/internals": "6.16.0-integration-feat-orm-1074-package-dev-export.4",
42
+ "@prisma/generator": "6.16.0-integration-feat-orm-1074-package-dev-export.4",
43
+ "@prisma/ts-builders": "6.16.0-integration-feat-orm-1074-package-dev-export.4"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/pluralize": "0.0.33",