@interfere/next 0.0.4 → 0.0.6

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interfere/next",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "license": "MIT",
5
5
  "description": "Build apps that never break.",
6
6
  "keywords": [
@@ -18,12 +18,29 @@
18
18
  "dist"
19
19
  ],
20
20
  "type": "module",
21
- "main": "dist/index.js",
21
+ "exports": {
22
+ ".": "./dist/client.js",
23
+ "./react": "./dist/provider.js",
24
+ "./server": "./dist/server.js",
25
+ "./edge": "./dist/edge.js"
26
+ },
27
+ "main": "./dist/client.js",
28
+ "types": "./dist/client.d.ts",
22
29
  "publishConfig": {
23
30
  "access": "public"
24
31
  },
32
+ "dependencies": {
33
+ "@interfere/types": "0.0.3"
34
+ },
35
+ "peerDependencies": {
36
+ "next": ">=14",
37
+ "react": ">=18"
38
+ },
25
39
  "devDependencies": {
26
40
  "@types/node": "22.15.29",
41
+ "@types/react": "19.1.8",
42
+ "next": "^15.3.5",
43
+ "react": "^19.1.0",
27
44
  "typescript": "5.8.3",
28
45
  "vitest": "^3.2.4",
29
46
  "@interfere/typescript-config": "1.0.1"
package/dist/index.d.mts DELETED
@@ -1,3 +0,0 @@
1
- declare function test(): string;
2
-
3
- export { test };
package/dist/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export { add } from './utils.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC"}
package/dist/index.js DELETED
@@ -1,2 +0,0 @@
1
- export { add } from './utils.js';
2
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC"}
package/dist/index.mjs DELETED
@@ -1,7 +0,0 @@
1
- // src/index.ts
2
- function test() {
3
- return "Hello, world!";
4
- }
5
- export {
6
- test
7
- };
package/dist/utils.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export declare const add: (a: number, b: number) => number;
2
- //# sourceMappingURL=utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,GAAG,GAAI,GAAG,MAAM,EAAE,GAAG,MAAM,WAAU,CAAC"}
package/dist/utils.js DELETED
@@ -1,2 +0,0 @@
1
- export const add = (a, b) => a + b;
2
- //# sourceMappingURL=utils.js.map
package/dist/utils.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG,CAAC,CAAS,EAAE,CAAS,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=utils.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.test.d.ts","sourceRoot":"","sources":["../src/utils.test.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- import { expect, test } from 'vitest';
2
- import { add } from './utils.js';
3
- test('add', () => {
4
- expect(add(1, 2)).toBe(3);
5
- });
6
- //# sourceMappingURL=utils.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.test.js","sourceRoot":"","sources":["../src/utils.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE;IACf,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC5B,CAAC,CAAC,CAAC"}