@cedarjs/auth-dbauth-setup 5.0.0-canary.2510 → 5.0.0-canary.2513

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.
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../src/shared.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,OAAO,QAAkD,CAAA;AACtE,eAAO,MAAM,aAAa,QAGzB,CAAA;AAED,eAAO,MAAM,aAAa,yBAMzB,CAAA;AAED,eAAO,MAAM,QAAQ,GAAU,MAAM,MAAM,qBAe1C,CAAA;AAED,wBAAsB,SAAS,CAAC,MAAM,EAAE,MAAM,iBAS7C;AAED,wBAAgB,YAAY,YAuB3B;AAED,wBAAgB,qBAAqB,CAAC,mBAAmB,EAAE,OAAO;;;EAwBjE"}
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../src/shared.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,OAAO,QAAkD,CAAA;AACtE,eAAO,MAAM,aAAa,QAGzB,CAAA;AAED,eAAO,MAAM,aAAa,yBAMzB,CAAA;AAED,eAAO,MAAM,QAAQ,GAAU,MAAM,MAAM,qBAe1C,CAAA;AAED,wBAAsB,SAAS,CAAC,MAAM,EAAE,MAAM,iBAS7C;AAED,wBAAgB,YAAY,YAuB3B;AAED,wBAAgB,qBAAqB,CAAC,mBAAmB,EAAE,OAAO;;;EAuBjE"}
package/dist/shared.js CHANGED
@@ -40,8 +40,8 @@ module.exports = __toCommonJS(shared_exports);
40
40
  var import_node_fs = __toESM(require("node:fs"));
41
41
  var import_node_path = __toESM(require("node:path"));
42
42
  var import_internals = require("@prisma/internals");
43
- var import_execa = __toESM(require("execa"));
44
43
  var import_cli_helpers = require("@cedarjs/cli-helpers");
44
+ var import_exec = require("@cedarjs/cli-helpers/packageManager/exec");
45
45
  var import_project_config = require("@cedarjs/project-config");
46
46
  const libPath = (0, import_cli_helpers.getPaths)().api.lib.replace((0, import_cli_helpers.getPaths)().base, "");
47
47
  const functionsPath = (0, import_cli_helpers.getPaths)().api.functions.replace(
@@ -91,7 +91,7 @@ function generateAuthPagesTask(generatingUserModel) {
91
91
  title: "Adding dbAuth pages...",
92
92
  task: async () => {
93
93
  const rwjsPaths = (0, import_cli_helpers.getPaths)();
94
- const args = ["cedar", "g", "dbAuth"];
94
+ const args = ["g", "dbAuth"];
95
95
  if (generatingUserModel) {
96
96
  args.push(
97
97
  "--username-label",
@@ -100,9 +100,8 @@ function generateAuthPagesTask(generatingUserModel) {
100
100
  "password"
101
101
  );
102
102
  }
103
- await (0, import_execa.default)("yarn", args, {
103
+ await (0, import_exec.runBin)("cedar", args, {
104
104
  stdio: "inherit",
105
- shell: true,
106
105
  cwd: rwjsPaths.base
107
106
  });
108
107
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/auth-dbauth-setup",
3
- "version": "5.0.0-canary.2510",
3
+ "version": "5.0.0-canary.2513",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cedarjs/cedar.git",
@@ -23,14 +23,14 @@
23
23
  "test:watch": "yarn test --watch"
24
24
  },
25
25
  "dependencies": {
26
- "@cedarjs/cli-helpers": "5.0.0-canary.2510",
26
+ "@cedarjs/cli-helpers": "5.0.0-canary.2513",
27
27
  "@prisma/internals": "7.8.0",
28
28
  "@simplewebauthn/browser": "10.0.0",
29
29
  "prompts": "2.4.2",
30
30
  "termi-link": "1.1.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@cedarjs/framework-tools": "5.0.0-canary.2510",
33
+ "@cedarjs/framework-tools": "5.0.0-canary.2513",
34
34
  "@simplewebauthn/types": "10.0.0",
35
35
  "@types/yargs": "17.0.35",
36
36
  "nodemon": "3.1.14",