@assembly-js/app-foundation 0.0.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/client.d.ts +2 -0
- package/dist/client.js +6 -0
- package/dist/server.d.ts +3 -0
- package/dist/server.js +10 -0
- package/package.json +44 -0
package/dist/client.d.ts
ADDED
package/dist/client.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// Client-safe entry point: modules here must never touch secrets or
|
|
2
|
+
// `next/headers`, because they can be pulled into a browser bundle.
|
|
3
|
+
//
|
|
4
|
+
// Empty for now — see ./server.ts.
|
|
5
|
+
/** Version of this package, for provenance checks in the sandbox. */
|
|
6
|
+
export const APP_FOUNDATION_VERSION = '0.0.0';
|
package/dist/server.d.ts
ADDED
package/dist/server.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// Server-only entry point. Modules that read secrets or `next/headers` land
|
|
2
|
+
// here; the explicit ./server subpath (rather than the `react-server` export
|
|
3
|
+
// condition) is what makes a client bundle importing them fail at build time
|
|
4
|
+
// instead of silently shipping ASSEMBLY_API_KEY to the browser.
|
|
5
|
+
//
|
|
6
|
+
// Empty for now: this 0.0.0 exists to prove the publish path end to end before
|
|
7
|
+
// any module moves into it. Real helpers arrive with the migration.
|
|
8
|
+
import 'server-only';
|
|
9
|
+
/** Version of this package, for provenance checks in the sandbox. */
|
|
10
|
+
export const APP_FOUNDATION_VERSION = '0.0.0';
|
package/package.json
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@assembly-js/app-foundation",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"description": "Versioned foundation helpers and build context for Assembly generated apps",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist",
|
|
8
|
+
"skills"
|
|
9
|
+
],
|
|
10
|
+
"exports": {
|
|
11
|
+
"./server": {
|
|
12
|
+
"types": "./dist/server.d.ts",
|
|
13
|
+
"default": "./dist/server.js"
|
|
14
|
+
},
|
|
15
|
+
"./client": {
|
|
16
|
+
"types": "./dist/client.d.ts",
|
|
17
|
+
"default": "./dist/client.js"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsc",
|
|
22
|
+
"test": "echo \"no tests yet\" && exit 0",
|
|
23
|
+
"prepublishOnly": "npm run build"
|
|
24
|
+
},
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"server-only": "*"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@types/node": "^22",
|
|
30
|
+
"server-only": "^0.0.1",
|
|
31
|
+
"typescript": "^5.3.3"
|
|
32
|
+
},
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public",
|
|
35
|
+
"registry": "https://registry.npmjs.org/"
|
|
36
|
+
},
|
|
37
|
+
"keywords": [
|
|
38
|
+
"assembly",
|
|
39
|
+
"llm",
|
|
40
|
+
"helpers"
|
|
41
|
+
],
|
|
42
|
+
"author": "Assembly",
|
|
43
|
+
"license": "MIT"
|
|
44
|
+
}
|