@frogbotai/next 0.18.0 → 0.20.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withFrogbot.d.ts","sourceRoot":"","sources":["../src/withFrogbot.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEvC,KAAK,kBAAkB,GAAG;IACxB,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC;
|
|
1
|
+
{"version":3,"file":"withFrogbot.d.ts","sourceRoot":"","sources":["../src/withFrogbot.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEvC,KAAK,kBAAkB,GAAG;IACxB,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC;AAkBF,wBAAgB,WAAW,CACzB,UAAU,GAAE,UAAe,EAC3B,OAAO,GAAE,kBAAuB,GAC/B,UAAU,CA0BZ"}
|
package/dist/withFrogbot.js
CHANGED
|
@@ -10,15 +10,19 @@ const FROGBOT_SERVER_PACKAGES = [
|
|
|
10
10
|
'@frogbotai/email-resend',
|
|
11
11
|
'@frogbotai/kv-redis',
|
|
12
12
|
];
|
|
13
|
+
const ALWAYS_SERVER_PACKAGES = ['@frogbotai/gateway'];
|
|
13
14
|
const NATIVE_EXTERNALS = ['@basetenlabs/performance-client'];
|
|
14
15
|
export function withFrogbot(nextConfig = {}, options = {}) {
|
|
15
16
|
const frogbotConfig = {
|
|
16
17
|
...nextConfig,
|
|
17
18
|
serverExternalPackages: [
|
|
18
|
-
...(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
...new Set([
|
|
20
|
+
...(nextConfig.serverExternalPackages || []),
|
|
21
|
+
...ALWAYS_SERVER_PACKAGES,
|
|
22
|
+
...(process.env.NODE_ENV === 'development' && options.devBundleServerPackages !== true
|
|
23
|
+
? FROGBOT_SERVER_PACKAGES
|
|
24
|
+
: []),
|
|
25
|
+
]),
|
|
22
26
|
],
|
|
23
27
|
webpack: (webpackConfig, webpackOptions) => {
|
|
24
28
|
const incoming = typeof nextConfig.webpack === 'function'
|
package/dist/withFrogbot.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withFrogbot.js","sourceRoot":"","sources":["../src/withFrogbot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAO3D,MAAM,uBAAuB,GAAG;IAC9B,SAAS;IACT,yBAAyB;IACzB,uBAAuB;IACvB,wBAAwB;IACxB,sBAAsB;IACtB,+BAA+B;IAC/B,6BAA6B;IAC7B,yBAAyB;IACzB,qBAAqB;CACtB,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,iCAAiC,CAAC,CAAC;AAE7D,MAAM,UAAU,WAAW,CACzB,aAAyB,EAAE,EAC3B,UAA8B,EAAE;IAEhC,MAAM,aAAa,GAAe;QAChC,GAAG,UAAU;QACb,sBAAsB,EAAE;YACtB,GAAG,CAAC,UAAU,CAAC,sBAAsB,IAAI,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"withFrogbot.js","sourceRoot":"","sources":["../src/withFrogbot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAO3D,MAAM,uBAAuB,GAAG;IAC9B,SAAS;IACT,yBAAyB;IACzB,uBAAuB;IACvB,wBAAwB;IACxB,sBAAsB;IACtB,+BAA+B;IAC/B,6BAA6B;IAC7B,yBAAyB;IACzB,qBAAqB;CACtB,CAAC;AAEF,MAAM,sBAAsB,GAAG,CAAC,oBAAoB,CAAC,CAAC;AAEtD,MAAM,gBAAgB,GAAG,CAAC,iCAAiC,CAAC,CAAC;AAE7D,MAAM,UAAU,WAAW,CACzB,aAAyB,EAAE,EAC3B,UAA8B,EAAE;IAEhC,MAAM,aAAa,GAAe;QAChC,GAAG,UAAU;QACb,sBAAsB,EAAE;YACtB,GAAG,IAAI,GAAG,CAAC;gBACT,GAAG,CAAC,UAAU,CAAC,sBAAsB,IAAI,EAAE,CAAC;gBAC5C,GAAG,sBAAsB;gBACzB,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,aAAa,IAAI,OAAO,CAAC,uBAAuB,KAAK,IAAI;oBACpF,CAAC,CAAC,uBAAuB;oBACzB,CAAC,CAAC,EAAE,CAAC;aACR,CAAC;SACH;QACD,OAAO,EAAE,CAAC,aAAa,EAAE,cAAc,EAAE,EAAE;YACzC,MAAM,QAAQ,GACZ,OAAO,UAAU,CAAC,OAAO,KAAK,UAAU;gBACtC,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,aAAa,EAAE,cAAc,CAAC;gBACnD,CAAC,CAAC,aAAa,CAAC;YAEpB,OAAO;gBACL,GAAG,QAAQ;gBACX,SAAS,EAAE,CAAC,GAAG,CAAC,QAAQ,EAAE,SAAS,IAAI,EAAE,CAAC,EAAE,GAAG,gBAAgB,CAAC;aACjE,CAAC;QACJ,CAAC;KACF,CAAC;IAEF,OAAO,WAAW,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;AAC7C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frogbotai/next",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "Next.js integration for FrogBot: admin app layouts, views, route handlers, and the withFrogbot config wrapper.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Colby Gilbert",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"next": ">=15.2.9 <15.3.0 || >=15.3.9 <15.4.0 || >=15.4.11 <15.5.0 || >=16.2.6 <17.0.0",
|
|
64
64
|
"react": "^19.0.1 || ^19.1.2 || ^19.2.1",
|
|
65
65
|
"react-dom": "^19.0.1 || ^19.1.2 || ^19.2.1",
|
|
66
|
-
"frogbot": "0.
|
|
66
|
+
"frogbot": "0.20.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/react": "19.2.14",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"react": "19.2.6",
|
|
76
76
|
"react-dom": "19.2.6",
|
|
77
77
|
"typescript": "5.6.2",
|
|
78
|
-
"frogbot": "0.
|
|
78
|
+
"frogbot": "0.20.0"
|
|
79
79
|
},
|
|
80
80
|
"scripts": {
|
|
81
81
|
"build": "tsc -p tsconfig.json && cp src/css.css dist/css.css && mkdir -p dist/assets && cp src/assets/* dist/assets/",
|