@stryke/prisma-better-auth-generator 0.12.1 → 0.12.3

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.
package/dist/index.js CHANGED
@@ -5,9 +5,9 @@ var __esm = (fn, res) => function __init() {
5
5
  return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
6
6
  };
7
7
 
8
- // ../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.52.1_@types+node@22.13.10__@swc+core@1.11.9_@swc+_3224746ec47d1b8fe4ee6bf9861e331d/node_modules/tsup/assets/esm_shims.js
8
+ // ../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.52.1_@types+node@22.13.10__@swc+core@1.11.9_@swc+_59b77ee1c3f80f02138262a51f241204/node_modules/tsup/assets/esm_shims.js
9
9
  var init_esm_shims = __esm({
10
- "../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.52.1_@types+node@22.13.10__@swc+core@1.11.9_@swc+_3224746ec47d1b8fe4ee6bf9861e331d/node_modules/tsup/assets/esm_shims.js"() {
10
+ "../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.52.1_@types+node@22.13.10__@swc+core@1.11.9_@swc+_59b77ee1c3f80f02138262a51f241204/node_modules/tsup/assets/esm_shims.js"() {
11
11
  "use strict";
12
12
  }
13
13
  });
@@ -186,9 +186,10 @@ init_esm_shims();
186
186
 
187
187
  // ../string-format/src/lower-case-first.ts
188
188
  init_esm_shims();
189
- var lowerCaseFirst = /* @__PURE__ */ __name((input) => {
189
+ function lowerCaseFirst(input) {
190
190
  return input ? input.charAt(0).toLowerCase() + input.slice(1) : input;
191
- }, "lowerCaseFirst");
191
+ }
192
+ __name(lowerCaseFirst, "lowerCaseFirst");
192
193
 
193
194
  // src/access-control.ts
194
195
  var USER_RESOURCES = [
@@ -4493,61 +4494,217 @@ init_esm_shims();
4493
4494
  // ../string-format/src/acronyms.ts
4494
4495
  init_esm_shims();
4495
4496
  var ACRONYMS = [
4497
+ "3D",
4498
+ "4D",
4499
+ "5G",
4500
+ "6G",
4501
+ "7G",
4502
+ "8G",
4503
+ "ACID",
4504
+ "AES",
4505
+ "AI",
4506
+ "AJAX",
4496
4507
  "API",
4508
+ "AR",
4509
+ "ASCII",
4510
+ "B2B",
4511
+ "B2C",
4512
+ "BFF",
4513
+ "BI",
4514
+ "BIOS",
4515
+ "BGP",
4516
+ "BOM",
4517
+ "BYOD",
4518
+ "C2C",
4519
+ "CAGR",
4520
+ "CAPTCHA",
4521
+ "CD",
4522
+ "CDN",
4523
+ "CDP",
4524
+ "CI",
4525
+ "CI/CD",
4526
+ "CIAM",
4527
+ "CICD",
4528
+ "CLI",
4529
+ "CMDB",
4530
+ "CORS",
4497
4531
  "CPU",
4532
+ "CRUD",
4533
+ "CSR",
4498
4534
  "CSS",
4535
+ "CX",
4536
+ "DAG",
4537
+ "DBMS",
4538
+ "DDoS",
4499
4539
  "DNS",
4540
+ "DNSSEC",
4541
+ "DOM",
4542
+ "DR",
4543
+ "DRM",
4544
+ "DWH",
4545
+ "E2E",
4546
+ "EAI",
4547
+ "EKS",
4500
4548
  "EOF",
4549
+ "EOD",
4550
+ "ETC",
4551
+ "ETL",
4552
+ "EULA",
4553
+ "FIDO",
4554
+ "FQDN",
4555
+ "FTP",
4556
+ "FaaS",
4557
+ "GDPR",
4558
+ "GCP",
4559
+ "GPU",
4501
4560
  "GUID",
4561
+ "GUI",
4562
+ "GZIP",
4563
+ "HCI",
4564
+ "HDD",
4565
+ "HDFS",
4566
+ "HIPAA",
4567
+ "HMAC",
4568
+ "HOTP",
4569
+ "HSM",
4502
4570
  "HTML",
4503
4571
  "HTTP",
4572
+ "HTTP/2",
4573
+ "HTTP/2.0",
4574
+ "HTTP/3",
4575
+ "HTTP/3.0",
4576
+ "HTTP2",
4504
4577
  "HTTPS",
4578
+ "HTTPS/2",
4579
+ "HTTPS/3",
4580
+ "HTTPS3",
4581
+ "IAM",
4582
+ "IAMM",
4583
+ "IAMT",
4584
+ "IaaS",
4505
4585
  "ID",
4586
+ "IMAP",
4506
4587
  "IP",
4588
+ "IPFS",
4589
+ "IoT",
4507
4590
  "JSON",
4591
+ "JSONP",
4592
+ "JWT",
4593
+ "K8s",
4594
+ "KMS",
4595
+ "KPI",
4596
+ "LAN",
4508
4597
  "LHS",
4598
+ "LXC",
4599
+ "MFA",
4600
+ "ML",
4601
+ "MLOps",
4602
+ "MVC",
4603
+ "MVP",
4604
+ "NAS",
4605
+ "NAT",
4606
+ "NDA",
4607
+ "NFS",
4608
+ "NIST",
4609
+ "NLP",
4610
+ "NPS",
4611
+ "OCR",
4509
4612
  "OEM",
4613
+ "OKR",
4614
+ "OLAP",
4615
+ "OLTP",
4616
+ "OOP",
4617
+ "ORM",
4618
+ "OS",
4619
+ "OTP",
4620
+ "P2P",
4621
+ "PDP",
4622
+ "PaaS",
4623
+ "PCI",
4624
+ "PKI",
4510
4625
  "PP",
4626
+ "PWA",
4627
+ "PX",
4511
4628
  "QA",
4629
+ "RAID",
4512
4630
  "RAM",
4631
+ "RDS",
4632
+ "REST",
4513
4633
  "RHS",
4514
4634
  "RPC",
4635
+ "RPA",
4636
+ "RUM",
4515
4637
  "RSS",
4638
+ "SAN",
4639
+ "SASE",
4640
+ "SDLC",
4641
+ "SDK",
4642
+ "SEO",
4643
+ "SFTP",
4644
+ "SIEM",
4516
4645
  "SLA",
4646
+ "SMB",
4517
4647
  "SMTP",
4648
+ "SOAP",
4649
+ "SOC",
4650
+ "SOA",
4651
+ "SPDY",
4652
+ "SPF",
4518
4653
  "SQL",
4654
+ "SRV",
4655
+ "SRE",
4519
4656
  "SSH",
4657
+ "SSDL",
4658
+ "SSO",
4520
4659
  "SSL",
4521
- "TCP",
4660
+ "SSR",
4661
+ "TDD",
4662
+ "TLD",
4522
4663
  "TLS",
4664
+ "TLS1.3",
4665
+ "TOTP",
4523
4666
  "TRPC",
4524
4667
  "TTL",
4525
4668
  "UDP",
4526
4669
  "UI",
4527
4670
  "UID",
4528
- "UUID",
4529
4671
  "URI",
4530
4672
  "URL",
4531
4673
  "UTF",
4674
+ "UUID",
4675
+ "UX",
4532
4676
  "VM",
4677
+ "VLAN",
4678
+ "VPN",
4679
+ "VR",
4680
+ "WAF",
4681
+ "WAN",
4682
+ "WLAN",
4683
+ "WPA",
4684
+ "XACML",
4533
4685
  "XML",
4686
+ "XSRF",
4534
4687
  "XSS",
4535
- "XSRF"
4688
+ "XR",
4689
+ "YAML",
4690
+ "ZTA"
4536
4691
  ];
4537
4692
 
4538
4693
  // ../string-format/src/upper-case-first.ts
4539
4694
  init_esm_shims();
4540
- var upperCaseFirst = /* @__PURE__ */ __name((input) => {
4695
+ function upperCaseFirst(input) {
4541
4696
  return input ? input.charAt(0).toUpperCase() + input.slice(1) : input;
4542
- }, "upperCaseFirst");
4697
+ }
4698
+ __name(upperCaseFirst, "upperCaseFirst");
4543
4699
 
4544
4700
  // ../string-format/src/title-case.ts
4545
- var titleCase = /* @__PURE__ */ __name((input) => {
4701
+ function titleCase(input) {
4546
4702
  if (!input) {
4547
- return "";
4703
+ return input;
4548
4704
  }
4549
- return input.split(/(?=[A-Z])|[\s._-]/).map((s) => s.trim()).filter(Boolean).map((s) => ACRONYMS.includes(s) ? s.toUpperCase() : upperCaseFirst(s.toLowerCase())).join(" ");
4550
- }, "titleCase");
4705
+ return input.split(/(?=[A-Z])|[\s._-]/).map((s) => s.trim()).filter(Boolean).map((s) => ACRONYMS.find((a) => a.toUpperCase() === s.toUpperCase()) || upperCaseFirst(s.toLowerCase())).join(" ");
4706
+ }
4707
+ __name(titleCase, "titleCase");
4551
4708
 
4552
4709
  // ../type-checks/src/is-string.ts
4553
4710
  init_esm_shims();
@@ -4595,7 +4752,8 @@ var linux = /* @__PURE__ */ __name((orgId) => {
4595
4752
  cache: joinPaths(process.env.XDG_CACHE_HOME || joinPaths(homedir, ".cache"), orgId),
4596
4753
  // https://wiki.debian.org/XDGBaseDirectorySpecification#state
4597
4754
  log: joinPaths(process.env.XDG_STATE_HOME || joinPaths(homedir, ".local", "state"), orgId),
4598
- temp: joinPaths(tmpdir, username, orgId)
4755
+ // https://devenv.sh/files-and-variables/#devenv_root
4756
+ temp: process.env.DEVENV_RUNTIME || process.env.XDG_RUNTIME_DIR ? joinPaths(process.env.DEVENV_RUNTIME || process.env.XDG_RUNTIME_DIR, orgId) : joinPaths(tmpdir, username, orgId)
4599
4757
  };
4600
4758
  }, "linux");
4601
4759
  function getEnvPaths(options = {}) {
@@ -4614,16 +4772,16 @@ function getEnvPaths(options = {}) {
4614
4772
  } else {
4615
4773
  result = linux(orgId);
4616
4774
  }
4617
- if (process.env.STORM_DATA_DIRECTORY) {
4618
- result.data = process.env.STORM_DATA_DIRECTORY;
4619
- } else if (process.env.STORM_CONFIG_DIRECTORY) {
4620
- result.config = process.env.STORM_CONFIG_DIRECTORY;
4621
- } else if (process.env.STORM_CACHE_DIRECTORY) {
4622
- result.cache = process.env.STORM_CACHE_DIRECTORY;
4623
- } else if (process.env.STORM_LOG_DIRECTORY) {
4624
- result.log = process.env.STORM_LOG_DIRECTORY;
4625
- } else if (process.env.STORM_TEMP_DIRECTORY) {
4626
- result.temp = process.env.STORM_TEMP_DIRECTORY;
4775
+ if (process.env.STORM_DATA_DIR) {
4776
+ result.data = process.env.STORM_DATA_DIR;
4777
+ } else if (process.env.STORM_CONFIG_DIR) {
4778
+ result.config = process.env.STORM_CONFIG_DIR;
4779
+ } else if (process.env.STORM_CACHE_DIR) {
4780
+ result.cache = process.env.STORM_CACHE_DIR;
4781
+ } else if (process.env.STORM_LOG_DIR) {
4782
+ result.log = process.env.STORM_LOG_DIR;
4783
+ } else if (process.env.STORM_TEMP_DIR) {
4784
+ result.temp = process.env.STORM_TEMP_DIR;
4627
4785
  }
4628
4786
  if (options.workspaceRoot) {
4629
4787
  result.cache ??= joinPaths(options.workspaceRoot, "node_modules", ".cache", orgId);
@@ -4647,46 +4805,10 @@ __name(getEnvPaths, "getEnvPaths");
4647
4805
  // ../path/src/get-workspace-root.ts
4648
4806
  init_esm_shims();
4649
4807
 
4650
- // ../../node_modules/.pnpm/@storm-software+config-tools@1.160.6_@storm-software+config@1.110.6/node_modules/@storm-software/config-tools/dist/index.js
4651
- init_esm_shims();
4652
-
4653
- // ../../node_modules/.pnpm/@storm-software+config-tools@1.160.6_@storm-software+config@1.110.6/node_modules/@storm-software/config-tools/dist/chunk-K6PUXRK3.js
4808
+ // ../../node_modules/.pnpm/@storm-software+config-tools@1.169.6/node_modules/@storm-software/config-tools/dist/index.js
4654
4809
  init_esm_shims();
4655
4810
 
4656
- // ../../node_modules/.pnpm/@storm-software+config-tools@1.160.6_@storm-software+config@1.110.6/node_modules/@storm-software/config-tools/dist/chunk-NQFXB5CV.js
4657
- init_esm_shims();
4658
-
4659
- // ../../node_modules/.pnpm/@storm-software+config-tools@1.160.6_@storm-software+config@1.110.6/node_modules/@storm-software/config-tools/dist/chunk-SHUYVCID.js
4660
- init_esm_shims();
4661
- var __defProp2 = Object.defineProperty;
4662
- var __name2 = /* @__PURE__ */ __name((target, value) => __defProp2(target, "name", {
4663
- value,
4664
- configurable: true
4665
- }), "__name");
4666
-
4667
- // ../../node_modules/.pnpm/@storm-software+config-tools@1.160.6_@storm-software+config@1.110.6/node_modules/@storm-software/config-tools/dist/chunk-NQFXB5CV.js
4668
- import { existsSync as existsSync2 } from "node:fs";
4669
- import { join } from "node:path";
4670
- var MAX_PATH_SEARCH_DEPTH = 30;
4671
- var depth = 0;
4672
- function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
4673
- const _startPath = startPath ?? process.cwd();
4674
- if (endDirectoryNames.some((endDirName) => existsSync2(join(_startPath, endDirName)))) {
4675
- return _startPath;
4676
- }
4677
- if (endFileNames.some((endFileName) => existsSync2(join(_startPath, endFileName)))) {
4678
- return _startPath;
4679
- }
4680
- if (_startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
4681
- const parent = join(_startPath, "..");
4682
- return findFolderUp(parent, endFileNames, endDirectoryNames);
4683
- }
4684
- return void 0;
4685
- }
4686
- __name(findFolderUp, "findFolderUp");
4687
- __name2(findFolderUp, "findFolderUp");
4688
-
4689
- // ../../node_modules/.pnpm/@storm-software+config-tools@1.160.6_@storm-software+config@1.110.6/node_modules/@storm-software/config-tools/dist/chunk-D6E6GZD2.js
4811
+ // ../../node_modules/.pnpm/@storm-software+config-tools@1.169.6/node_modules/@storm-software/config-tools/dist/chunk-FRR2ZRWD.js
4690
4812
  init_esm_shims();
4691
4813
  var _DRIVE_LETTER_START_RE2 = /^[A-Za-z]:\//;
4692
4814
  function normalizeWindowsPath2(input = "") {
@@ -4696,11 +4818,10 @@ function normalizeWindowsPath2(input = "") {
4696
4818
  return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE2, (r) => r.toUpperCase());
4697
4819
  }
4698
4820
  __name(normalizeWindowsPath2, "normalizeWindowsPath");
4699
- __name2(normalizeWindowsPath2, "normalizeWindowsPath");
4700
4821
  var _UNC_REGEX2 = /^[/\\]{2}/;
4701
4822
  var _IS_ABSOLUTE_RE2 = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
4702
4823
  var _DRIVE_LETTER_RE2 = /^[A-Za-z]:$/;
4703
- var correctPaths2 = /* @__PURE__ */ __name2(function(path2) {
4824
+ var correctPaths2 = /* @__PURE__ */ __name(function(path2) {
4704
4825
  if (!path2 || path2.length === 0) {
4705
4826
  return ".";
4706
4827
  }
@@ -4729,14 +4850,6 @@ var correctPaths2 = /* @__PURE__ */ __name2(function(path2) {
4729
4850
  }
4730
4851
  return isPathAbsolute && !isAbsolute2(path2) ? `/${path2}` : path2;
4731
4852
  }, "correctPaths");
4732
- function cwd() {
4733
- if (typeof process !== "undefined" && typeof process.cwd === "function") {
4734
- return process.cwd().replace(/\\/g, "/");
4735
- }
4736
- return "/";
4737
- }
4738
- __name(cwd, "cwd");
4739
- __name2(cwd, "cwd");
4740
4853
  function normalizeString2(path2, allowAboveRoot) {
4741
4854
  let res = "";
4742
4855
  let lastSegmentLength = 0;
@@ -4798,12 +4911,36 @@ function normalizeString2(path2, allowAboveRoot) {
4798
4911
  return res;
4799
4912
  }
4800
4913
  __name(normalizeString2, "normalizeString");
4801
- __name2(normalizeString2, "normalizeString");
4802
- var isAbsolute2 = /* @__PURE__ */ __name2(function(p) {
4914
+ var isAbsolute2 = /* @__PURE__ */ __name(function(p) {
4803
4915
  return _IS_ABSOLUTE_RE2.test(p);
4804
4916
  }, "isAbsolute");
4805
4917
 
4806
- // ../../node_modules/.pnpm/@storm-software+config-tools@1.160.6_@storm-software+config@1.110.6/node_modules/@storm-software/config-tools/dist/chunk-K6PUXRK3.js
4918
+ // ../../node_modules/.pnpm/@storm-software+config-tools@1.169.6/node_modules/@storm-software/config-tools/dist/chunk-VLWSWYG7.js
4919
+ init_esm_shims();
4920
+
4921
+ // ../../node_modules/.pnpm/@storm-software+config-tools@1.169.6/node_modules/@storm-software/config-tools/dist/chunk-RWBPUJIZ.js
4922
+ init_esm_shims();
4923
+ import { existsSync as existsSync2 } from "node:fs";
4924
+ import { join } from "node:path";
4925
+ var MAX_PATH_SEARCH_DEPTH = 30;
4926
+ var depth = 0;
4927
+ function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
4928
+ const _startPath = startPath ?? process.cwd();
4929
+ if (endDirectoryNames.some((endDirName) => existsSync2(join(_startPath, endDirName)))) {
4930
+ return _startPath;
4931
+ }
4932
+ if (endFileNames.some((endFileName) => existsSync2(join(_startPath, endFileName)))) {
4933
+ return _startPath;
4934
+ }
4935
+ if (_startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
4936
+ const parent = join(_startPath, "..");
4937
+ return findFolderUp(parent, endFileNames, endDirectoryNames);
4938
+ }
4939
+ return void 0;
4940
+ }
4941
+ __name(findFolderUp, "findFolderUp");
4942
+
4943
+ // ../../node_modules/.pnpm/@storm-software+config-tools@1.169.6/node_modules/@storm-software/config-tools/dist/chunk-VLWSWYG7.js
4807
4944
  var rootFiles = [
4808
4945
  "storm-workspace.json",
4809
4946
  "storm-workspace.json",
@@ -4853,18 +4990,6 @@ function findWorkspaceRootSafe(pathInsideMonorepo) {
4853
4990
  return correctPaths2(findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles, rootDirectories));
4854
4991
  }
4855
4992
  __name(findWorkspaceRootSafe, "findWorkspaceRootSafe");
4856
- __name2(findWorkspaceRootSafe, "findWorkspaceRootSafe");
4857
- function findWorkspaceRoot(pathInsideMonorepo) {
4858
- const result = findWorkspaceRootSafe(pathInsideMonorepo);
4859
- if (!result) {
4860
- throw new Error(`Cannot find workspace root upwards from known path. Files search list includes:
4861
- ${rootFiles.join("\n")}
4862
- Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`);
4863
- }
4864
- return result;
4865
- }
4866
- __name(findWorkspaceRoot, "findWorkspaceRoot");
4867
- __name2(findWorkspaceRoot, "findWorkspaceRoot");
4868
4993
 
4869
4994
  // ../path/src/get-parent-path.ts
4870
4995
  init_esm_shims();
@@ -4882,6 +5007,20 @@ init_esm_shims();
4882
5007
  // ../path/src/is-file.ts
4883
5008
  init_esm_shims();
4884
5009
  import { lstatSync, statSync } from "node:fs";
5010
+
5011
+ // ../path/src/regex.ts
5012
+ init_esm_shims();
5013
+ var DRIVE_LETTER_START_REGEX = /^[A-Z]:\//i;
5014
+ var ABSOLUTE_PATH_REGEX = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^~[/\\]|^[A-Z]:[/\\]/i;
5015
+
5016
+ // ../path/src/slash.ts
5017
+ init_esm_shims();
5018
+ function slash(str) {
5019
+ return str.replace(/\\/g, "/");
5020
+ }
5021
+ __name(slash, "slash");
5022
+
5023
+ // ../path/src/is-file.ts
4885
5024
  function isFile(path2, additionalPath) {
4886
5025
  return Boolean(statSync(additionalPath ? joinPaths(additionalPath, path2) : path2, {
4887
5026
  throwIfNoEntry: false
@@ -4895,17 +5034,16 @@ function isDirectory(path2, additionalPath) {
4895
5034
  }
4896
5035
  __name(isDirectory, "isDirectory");
4897
5036
  function isAbsolutePath(path2) {
4898
- return !/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Z]:[/\\]/i.test(path2);
5037
+ return ABSOLUTE_PATH_REGEX.test(slash(path2));
4899
5038
  }
4900
5039
  __name(isAbsolutePath, "isAbsolutePath");
4901
5040
 
4902
5041
  // ../path/src/correct-path.ts
4903
- var _DRIVE_LETTER_START_RE3 = /^[A-Z]:\//i;
4904
5042
  function normalizeWindowsPath3(input = "") {
4905
5043
  if (!input) {
4906
5044
  return input;
4907
5045
  }
4908
- return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE3, (r) => r.toUpperCase());
5046
+ return slash(input).replace(DRIVE_LETTER_START_REGEX, (r) => r.toUpperCase());
4909
5047
  }
4910
5048
  __name(normalizeWindowsPath3, "normalizeWindowsPath");
4911
5049
  function normalizeString3(path2, allowAboveRoot) {
@@ -4971,12 +5109,12 @@ function normalizeString3(path2, allowAboveRoot) {
4971
5109
  __name(normalizeString3, "normalizeString");
4972
5110
 
4973
5111
  // ../path/src/file-path-fns.ts
4974
- function resolvePath(path2, cwd2 = getWorkspaceRoot()) {
5112
+ function resolvePath(path2, cwd = getWorkspaceRoot()) {
4975
5113
  const paths = normalizeWindowsPath3(path2).split("/");
4976
5114
  let resolvedPath = "";
4977
5115
  let resolvedAbsolute = false;
4978
5116
  for (let index = paths.length - 1; index >= -1 && !resolvedAbsolute; index--) {
4979
- const path3 = index >= 0 ? paths[index] : cwd2;
5117
+ const path3 = index >= 0 ? paths[index] : cwd;
4980
5118
  if (!path3 || path3.length === 0) {
4981
5119
  continue;
4982
5120
  }
@@ -4999,13 +5137,13 @@ __name(resolvePaths, "resolvePaths");
4999
5137
  var resolveParentPath = /* @__PURE__ */ __name((path2) => {
5000
5138
  return resolvePaths(path2, "..");
5001
5139
  }, "resolveParentPath");
5002
- var getParentPath = /* @__PURE__ */ __name((name, cwd2, options) => {
5140
+ var getParentPath = /* @__PURE__ */ __name((name, cwd, options) => {
5003
5141
  const ignoreCase = options?.ignoreCase ?? true;
5004
5142
  const skipCwd = options?.skipCwd ?? false;
5005
5143
  const targetType = options?.targetType ?? "both";
5006
- let dir = cwd2;
5144
+ let dir = cwd;
5007
5145
  if (skipCwd) {
5008
- dir = resolveParentPath(cwd2);
5146
+ dir = resolveParentPath(cwd);
5009
5147
  }
5010
5148
  let names = Array.isArray(name) ? name : [
5011
5149
  name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stryke/prisma-better-auth-generator",
3
- "version": "0.12.1",
3
+ "version": "0.12.3",
4
4
  "type": "module",
5
5
  "description": "A package containing a Prisma v6 generator for Better-Auth authentication.",
6
6
  "repository": {