@fougere/next 0.8.4-alpha.0 → 0.9.0-alpha.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.
@@ -3,5 +3,5 @@
3
3
  * ``` The folder is `%5Ffougere`, not `_fougere`: the App Router treats a leading underscore as a
4
4
  * PRIVATE folder and excludes it from routing, and `%5F` is Next's own escape for a literal one.
5
5
  */
6
- export { fougereCall as POST } from '@fougere/app/web';
6
+ export { call as POST } from '@fougere/app/web';
7
7
  //# sourceMappingURL=call.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../src/routes/call.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,WAAW,IAAI,IAAI,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"call.d.ts","sourceRoot":"","sources":["../../src/routes/call.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,MAAM,kBAAkB,CAAC"}
@@ -3,5 +3,5 @@
3
3
  * ``` The folder is `%5Ffougere`, not `_fougere`: the App Router treats a leading underscore as a
4
4
  * PRIVATE folder and excludes it from routing, and `%5F` is Next's own escape for a literal one.
5
5
  */
6
- export { fougereCall as POST } from '@fougere/app/web';
6
+ export { call as POST } from '@fougere/app/web';
7
7
  //# sourceMappingURL=call.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"call.js","sourceRoot":"","sources":["../../src/routes/call.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,WAAW,IAAI,IAAI,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"call.js","sourceRoot":"","sources":["../../src/routes/call.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,MAAM,kBAAkB,CAAC"}
@@ -3,10 +3,10 @@
3
3
  * '@fougere/next/rest'; ``` Five names for one handler, because Next decides which verbs a route
4
4
  * accepts by which names it exports.
5
5
  */
6
- import { fougereRest } from '@fougere/app/web';
7
- export declare const GET: typeof fougereRest;
8
- export declare const POST: typeof fougereRest;
9
- export declare const PUT: typeof fougereRest;
10
- export declare const PATCH: typeof fougereRest;
11
- export declare const DELETE: typeof fougereRest;
6
+ import { rest } from '@fougere/app/web';
7
+ export declare const GET: typeof rest;
8
+ export declare const POST: typeof rest;
9
+ export declare const PUT: typeof rest;
10
+ export declare const PATCH: typeof rest;
11
+ export declare const DELETE: typeof rest;
12
12
  //# sourceMappingURL=rest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rest.d.ts","sourceRoot":"","sources":["../../src/routes/rest.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,eAAO,MAAM,GAAG,oBAAc,CAAC;AAC/B,eAAO,MAAM,IAAI,oBAAc,CAAC;AAChC,eAAO,MAAM,GAAG,oBAAc,CAAC;AAC/B,eAAO,MAAM,KAAK,oBAAc,CAAC;AACjC,eAAO,MAAM,MAAM,oBAAc,CAAC"}
1
+ {"version":3,"file":"rest.d.ts","sourceRoot":"","sources":["../../src/routes/rest.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,eAAO,MAAM,GAAG,aAAO,CAAC;AACxB,eAAO,MAAM,IAAI,aAAO,CAAC;AACzB,eAAO,MAAM,GAAG,aAAO,CAAC;AACxB,eAAO,MAAM,KAAK,aAAO,CAAC;AAC1B,eAAO,MAAM,MAAM,aAAO,CAAC"}
@@ -3,10 +3,10 @@
3
3
  * '@fougere/next/rest'; ``` Five names for one handler, because Next decides which verbs a route
4
4
  * accepts by which names it exports.
5
5
  */
6
- import { fougereRest } from '@fougere/app/web';
7
- export const GET = fougereRest;
8
- export const POST = fougereRest;
9
- export const PUT = fougereRest;
10
- export const PATCH = fougereRest;
11
- export const DELETE = fougereRest;
6
+ import { rest } from '@fougere/app/web';
7
+ export const GET = rest;
8
+ export const POST = rest;
9
+ export const PUT = rest;
10
+ export const PATCH = rest;
11
+ export const DELETE = rest;
12
12
  //# sourceMappingURL=rest.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"rest.js","sourceRoot":"","sources":["../../src/routes/rest.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,CAAC,MAAM,GAAG,GAAG,WAAW,CAAC;AAC/B,MAAM,CAAC,MAAM,IAAI,GAAG,WAAW,CAAC;AAChC,MAAM,CAAC,MAAM,GAAG,GAAG,WAAW,CAAC;AAC/B,MAAM,CAAC,MAAM,KAAK,GAAG,WAAW,CAAC;AACjC,MAAM,CAAC,MAAM,MAAM,GAAG,WAAW,CAAC"}
1
+ {"version":3,"file":"rest.js","sourceRoot":"","sources":["../../src/routes/rest.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,MAAM,CAAC,MAAM,GAAG,GAAG,IAAI,CAAC;AACxB,MAAM,CAAC,MAAM,IAAI,GAAG,IAAI,CAAC;AACzB,MAAM,CAAC,MAAM,GAAG,GAAG,IAAI,CAAC;AACxB,MAAM,CAAC,MAAM,KAAK,GAAG,IAAI,CAAC;AAC1B,MAAM,CAAC,MAAM,MAAM,GAAG,IAAI,CAAC"}
@@ -1,3 +1,3 @@
1
1
  /** ```ts // app/%5Ffougere/session/route.ts export { GET } from '@fougere/next/session'; ``` */
2
- export { fougereSession as GET } from '@fougere/app/web';
2
+ export { session as GET } from '@fougere/app/web';
3
3
  //# sourceMappingURL=session.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/routes/session.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,OAAO,EAAE,cAAc,IAAI,GAAG,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/routes/session.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1,3 +1,3 @@
1
1
  /** ```ts // app/%5Ffougere/session/route.ts export { GET } from '@fougere/next/session'; ``` */
2
- export { fougereSession as GET } from '@fougere/app/web';
2
+ export { session as GET } from '@fougere/app/web';
3
3
  //# sourceMappingURL=session.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"session.js","sourceRoot":"","sources":["../../src/routes/session.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,OAAO,EAAE,cAAc,IAAI,GAAG,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"session.js","sourceRoot":"","sources":["../../src/routes/session.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,OAAO,EAAE,OAAO,IAAI,GAAG,EAAE,MAAM,kBAAkB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fougere/next",
3
- "version": "0.8.4-alpha.0",
3
+ "version": "0.9.0-alpha.1",
4
4
  "description": "The Next.js adapter: mounting, and the one import that is genuinely Next.",
5
5
  "keywords": [
6
6
  "fougere",
@@ -48,9 +48,9 @@
48
48
  ],
49
49
  "dependencies": {
50
50
  "terser-webpack-plugin": "^5.3.14",
51
- "@fougere/app": "0.8.4-alpha.0",
52
- "@fougere/core": "0.8.4-alpha.0",
53
- "@fougere/compiler": "0.8.4-alpha.0"
51
+ "@fougere/app": "0.9.0-alpha.1",
52
+ "@fougere/core": "0.9.0-alpha.1",
53
+ "@fougere/compiler": "0.9.0-alpha.1"
54
54
  },
55
55
  "devDependencies": {
56
56
  "next": "^15.5.7",
@@ -3,4 +3,4 @@
3
3
  * ``` The folder is `%5Ffougere`, not `_fougere`: the App Router treats a leading underscore as a
4
4
  * PRIVATE folder and excludes it from routing, and `%5F` is Next's own escape for a literal one.
5
5
  */
6
- export { fougereCall as POST } from '@fougere/app/web';
6
+ export { call as POST } from '@fougere/app/web';
@@ -3,10 +3,10 @@
3
3
  * '@fougere/next/rest'; ``` Five names for one handler, because Next decides which verbs a route
4
4
  * accepts by which names it exports.
5
5
  */
6
- import { fougereRest } from '@fougere/app/web';
6
+ import { rest } from '@fougere/app/web';
7
7
 
8
- export const GET = fougereRest;
9
- export const POST = fougereRest;
10
- export const PUT = fougereRest;
11
- export const PATCH = fougereRest;
12
- export const DELETE = fougereRest;
8
+ export const GET = rest;
9
+ export const POST = rest;
10
+ export const PUT = rest;
11
+ export const PATCH = rest;
12
+ export const DELETE = rest;
@@ -1,2 +1,2 @@
1
1
  /** ```ts // app/%5Ffougere/session/route.ts export { GET } from '@fougere/next/session'; ``` */
2
- export { fougereSession as GET } from '@fougere/app/web';
2
+ export { session as GET } from '@fougere/app/web';