@simple-auth-kit/cli 1.3.0 → 1.3.1
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/package.json +1 -1
- package/registry/admin-apps/README.md +1 -1
- package/registry/admin-apps/nextjs/variants/base/package.json +1 -1
- package/registry/admin-apps/nextjs/variants/workspaces/package.json +1 -1
- package/registry/admin-apps/react/variants/base/package.json +1 -1
- package/registry/admin-apps/react/variants/workspaces/package.json +1 -1
- package/registry/mobile-apps/bare-rn/variants/base/package.json +1 -1
- package/registry/mobile-apps/bare-rn/variants/workspaces/package.json +1 -1
- package/registry/mobile-apps/expo/variants/base/package.json +1 -1
- package/registry/mobile-apps/expo/variants/workspaces/package.json +1 -1
- package/simple-auth-kit.ts +9 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simple-auth-kit/cli",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "simple-auth-kit add <combo> — copies registry source (backend combos, admin consoles, mobile apps) into a consumer repo, shadcn-CLI-style. Nothing is ever installed as a runtime dependency of the consumer.",
|
|
6
6
|
"bin": {
|
|
@@ -65,7 +65,7 @@ variants; not evidence of drift to reconcile.
|
|
|
65
65
|
|
|
66
66
|
## `@simple-auth-kit/auth-client`
|
|
67
67
|
|
|
68
|
-
Both products' `package.json` declare `"@simple-auth-kit/auth-client": "^1.0.
|
|
68
|
+
Both products' `package.json` declare `"@simple-auth-kit/auth-client": "^1.0.2"`, resolved from
|
|
69
69
|
the published package on npm: https://www.npmjs.com/package/@simple-auth-kit/auth-client. A
|
|
70
70
|
`scaffold`-mode generated app stands alone with a plain `npm install` — no monorepo/pnpm
|
|
71
71
|
workspace required.
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@casl/ability": "^7.0.1",
|
|
15
15
|
"@casl/react": "^7.0.1",
|
|
16
|
-
"@simple-auth-kit/auth-client": "^1.0.
|
|
16
|
+
"@simple-auth-kit/auth-client": "^1.0.2",
|
|
17
17
|
"@hookform/resolvers": "^5.2.2",
|
|
18
18
|
"@tanstack/react-query": "^5.90.12",
|
|
19
19
|
"@tanstack/react-table": "^8.21.3",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@casl/ability": "^7.0.1",
|
|
15
15
|
"@casl/react": "^7.0.1",
|
|
16
|
-
"@simple-auth-kit/auth-client": "^1.0.
|
|
16
|
+
"@simple-auth-kit/auth-client": "^1.0.2",
|
|
17
17
|
"@tanstack/react-query": "^5.90.12",
|
|
18
18
|
"@tanstack/react-table": "^8.21.3",
|
|
19
19
|
"class-variance-authority": "^0.7.1",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@casl/ability": "^6.7.3",
|
|
15
15
|
"@casl/react": "^4.0.0",
|
|
16
|
-
"@simple-auth-kit/auth-client": "^1.0.
|
|
16
|
+
"@simple-auth-kit/auth-client": "^1.0.2",
|
|
17
17
|
"@fontsource-variable/bricolage-grotesque": "^5.3.0",
|
|
18
18
|
"@radix-ui/react-label": "^2.1.15",
|
|
19
19
|
"@radix-ui/react-slot": "^1.3.3",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@casl/ability": "^6.7.3",
|
|
15
15
|
"@casl/react": "^4.0.0",
|
|
16
|
-
"@simple-auth-kit/auth-client": "^1.0.
|
|
16
|
+
"@simple-auth-kit/auth-client": "^1.0.2",
|
|
17
17
|
"@fontsource-variable/bricolage-grotesque": "^5.3.0",
|
|
18
18
|
"@radix-ui/react-label": "^2.1.15",
|
|
19
19
|
"@radix-ui/react-slot": "^1.3.3",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"typecheck": "tsc --noEmit"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@simple-auth-kit/auth-client": "^1.0.
|
|
15
|
+
"@simple-auth-kit/auth-client": "^1.0.2",
|
|
16
16
|
"@react-native-async-storage/async-storage": "^3.1.1",
|
|
17
17
|
"@react-native/new-app-screen": "0.86.2",
|
|
18
18
|
"@react-navigation/native": "^7.3.16",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"typecheck": "tsc --noEmit"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@simple-auth-kit/auth-client": "^1.0.
|
|
15
|
+
"@simple-auth-kit/auth-client": "^1.0.2",
|
|
16
16
|
"@react-native-async-storage/async-storage": "^3.1.1",
|
|
17
17
|
"@react-native/new-app-screen": "0.86.2",
|
|
18
18
|
"@react-navigation/native": "^7.3.16",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"typecheck": "tsc --noEmit"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@simple-auth-kit/auth-client": "^1.0.
|
|
15
|
+
"@simple-auth-kit/auth-client": "^1.0.2",
|
|
16
16
|
"@react-native-async-storage/async-storage": "2.2.0",
|
|
17
17
|
"@react-navigation/native": "^7.3.16",
|
|
18
18
|
"@react-navigation/native-stack": "^7.18.8",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"typecheck": "tsc --noEmit"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@simple-auth-kit/auth-client": "^1.0.
|
|
15
|
+
"@simple-auth-kit/auth-client": "^1.0.2",
|
|
16
16
|
"@react-native-async-storage/async-storage": "2.2.0",
|
|
17
17
|
"@react-navigation/native": "^7.3.16",
|
|
18
18
|
"@react-navigation/native-stack": "^7.18.8",
|
package/simple-auth-kit.ts
CHANGED
|
@@ -241,6 +241,15 @@ async function installDependencies(targetRoot: string, deps: string[], flags: Re
|
|
|
241
241
|
const result = spawnSync(pm, args, { cwd: targetRoot, stdio: "inherit" });
|
|
242
242
|
if (result.status !== 0) {
|
|
243
243
|
console.error(`\n${pm} install exited with an error — run it yourself: cd ${targetRoot} && ${pm} ${args.join(" ")}`);
|
|
244
|
+
if (pm === "pnpm") {
|
|
245
|
+
// pnpm's default security posture blocks postinstall/preinstall scripts from any
|
|
246
|
+
// dependency it hasn't seen approved before — argon2 (native addon build) and prisma
|
|
247
|
+
// (downloads its query-engine binary) both need theirs to run, so this is the single most
|
|
248
|
+
// common reason a combo install fails under pnpm specifically (ERR_PNPM_IGNORED_BUILDS).
|
|
249
|
+
console.error(
|
|
250
|
+
`If that was "Ignored build scripts": run "pnpm approve-builds" in ${targetRoot} (interactive — lets you pick which dependencies may run install scripts, argon2/prisma included; "pnpm approve-builds --all" approves everything pending without prompting), then re-run "npx @simple-auth-kit/cli update".`,
|
|
251
|
+
);
|
|
252
|
+
}
|
|
244
253
|
}
|
|
245
254
|
}
|
|
246
255
|
|