create-nifra 2.3.0 → 2.4.0

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/auth.js CHANGED
@@ -33,7 +33,7 @@ export const AUTH_PRESETS = {
33
33
  label: "better-auth",
34
34
  note: "email/password + sessions, mounted at /api/auth/* - add OAuth providers in auth.ts.",
35
35
  // @nifrajs/better-auth mounts it; better-auth is the implementation (peer-installed alongside).
36
- deps: { "@nifrajs/better-auth": "^2.3.0", "better-auth": "^1.2.0" },
36
+ deps: { "@nifrajs/better-auth": "^2.4.0", "better-auth": "^1.2.0" },
37
37
  },
38
38
  };
39
39
  /** The better-auth `database` adapter expression + its import line, for the scaffolded DB's ORM. */
@@ -62,7 +62,7 @@ export interface FrameworkSpec {
62
62
  * ships templates installing the PREVIOUS release. `scaffold-version.test.ts` now fails when this
63
63
  * drifts from what core is publishing, so the footgun is a red test rather than a silent regression.
64
64
  */
65
- export declare const NIFRA_DEP_RANGE = "^2.3.0";
65
+ export declare const NIFRA_DEP_RANGE = "^2.4.0";
66
66
  /**
67
67
  * React is first because it is the default (`--framework` omitted scaffolds it), and because the
68
68
  * other four are most easily read as deltas from it.
@@ -20,7 +20,7 @@
20
20
  * ships templates installing the PREVIOUS release. `scaffold-version.test.ts` now fails when this
21
21
  * drifts from what core is publishing, so the footgun is a red test rather than a silent regression.
22
22
  */
23
- export const NIFRA_DEP_RANGE = "^2.3.0";
23
+ export const NIFRA_DEP_RANGE = "^2.4.0";
24
24
  /**
25
25
  * React is first because it is the default (`--framework` omitted scaffolds it), and because the
26
26
  * other four are most easily read as deltas from it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nifra",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "description": "Scaffold a new nifra app - `bun create nifra <dir>`.",
5
5
  "keywords": [
6
6
  "bun",
@@ -40,7 +40,8 @@
40
40
  ],
41
41
  "sideEffects": false,
42
42
  "scripts": {
43
- "build": "tsc -p tsconfig.build.json && bun run ../../scripts/fix-dts.ts dist"
43
+ "build": "tsc -p tsconfig.build.json && bun run ../../scripts/fix-dts.ts dist",
44
+ "prepack": "bun run build"
44
45
  },
45
46
  "license": "MIT",
46
47
  "publishConfig": {
@@ -11,12 +11,12 @@
11
11
  "typecheck": "tsc --noEmit"
12
12
  },
13
13
  "dependencies": {
14
- "@nifrajs/client": "^2.3.0",
15
- "@nifrajs/core": "^2.3.0",
16
- "@nifrajs/schema": "^2.3.0"
14
+ "@nifrajs/client": "^2.4.0",
15
+ "@nifrajs/core": "^2.4.0",
16
+ "@nifrajs/schema": "^2.4.0"
17
17
  },
18
18
  "devDependencies": {
19
- "@nifrajs/cli": "^2.3.0",
19
+ "@nifrajs/cli": "^2.4.0",
20
20
  "@types/bun": "latest",
21
21
  "typescript": "^6.0.3"
22
22
  }
@@ -10,16 +10,16 @@
10
10
  "check": "nifra check && nifra assure"
11
11
  },
12
12
  "dependencies": {
13
- "@nifrajs/client": "^2.3.0",
14
- "@nifrajs/core": "^2.3.0",
15
- "@nifrajs/schema": "^2.3.0",
16
- "@nifrajs/web": "^2.3.0",
17
- "@nifrajs/web-react": "^2.3.0",
13
+ "@nifrajs/client": "^2.4.0",
14
+ "@nifrajs/core": "^2.4.0",
15
+ "@nifrajs/schema": "^2.4.0",
16
+ "@nifrajs/web": "^2.4.0",
17
+ "@nifrajs/web-react": "^2.4.0",
18
18
  "react": "^19.0.0",
19
19
  "react-dom": "^19.0.0"
20
20
  },
21
21
  "devDependencies": {
22
- "@nifrajs/cli": "^2.3.0",
22
+ "@nifrajs/cli": "^2.4.0",
23
23
  "@types/react": "^19.0.0",
24
24
  "@types/react-dom": "^19.0.0",
25
25
  "typescript": "^6.0.3"