@cedarjs/ogimage-gen 5.0.7-next.336 → 5.0.7-rc.3
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/cjsWrappers/hooks.js +3 -0
- package/cjsWrappers/middleware.js +3 -0
- package/cjsWrappers/plugin.js +3 -0
- package/dist/OgImageMiddleware.js +62 -32
- package/dist/getRoutesList.js +40 -6
- package/dist/hooks.js +29 -4
- package/dist/vite-plugin-ogimage-gen.js +42 -12
- package/package.json +19 -16
|
@@ -1,12 +1,45 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var OgImageMiddleware_exports = {};
|
|
30
|
+
__export(OgImageMiddleware_exports, {
|
|
31
|
+
default: () => OgImageMiddleware
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(OgImageMiddleware_exports);
|
|
34
|
+
var import_node_path = __toESM(require("node:path"));
|
|
35
|
+
var import_react = require("react");
|
|
36
|
+
var import_memoize = __toESM(require("lodash/memoize.js"));
|
|
37
|
+
var import_mime_types = __toESM(require("mime-types"));
|
|
38
|
+
var import_server = require("react-dom/server");
|
|
39
|
+
var import_project_config = require("@cedarjs/project-config");
|
|
40
|
+
var import_router = require("@cedarjs/router");
|
|
41
|
+
var import_getRoutesList = require("./getRoutesList.js");
|
|
42
|
+
var import_hooks = require("./hooks.js");
|
|
10
43
|
const supportedExtensions = ["jpg", "png"];
|
|
11
44
|
class OgImageMiddleware {
|
|
12
45
|
options;
|
|
@@ -45,9 +78,9 @@ class OgImageMiddleware {
|
|
|
45
78
|
...parsedParams.params || {}
|
|
46
79
|
};
|
|
47
80
|
this.imageProps = {
|
|
48
|
-
width: mergedParams.width ? parseInt(mergedParams.width) : OGIMAGE_DEFAULTS.width,
|
|
49
|
-
height: mergedParams.height ? parseInt(mergedParams.height) : OGIMAGE_DEFAULTS.height,
|
|
50
|
-
quality: mergedParams.quality ? parseInt(mergedParams.quality) : OGIMAGE_DEFAULTS.quality
|
|
81
|
+
width: mergedParams.width ? parseInt(mergedParams.width) : import_hooks.OGIMAGE_DEFAULTS.width,
|
|
82
|
+
height: mergedParams.height ? parseInt(mergedParams.height) : import_hooks.OGIMAGE_DEFAULTS.height,
|
|
83
|
+
quality: mergedParams.quality ? parseInt(mergedParams.quality) : import_hooks.OGIMAGE_DEFAULTS.quality
|
|
51
84
|
};
|
|
52
85
|
const debug = !!mergedParams.debug;
|
|
53
86
|
const screenshotOptionsByFormat = {
|
|
@@ -74,19 +107,19 @@ class OgImageMiddleware {
|
|
|
74
107
|
const browser = await chromium.launch();
|
|
75
108
|
const page = await browser.newPage({ viewport: pageViewPort });
|
|
76
109
|
const cssPathsToUse = this.options.cssPaths || invokeOptions.cssPaths || [];
|
|
77
|
-
const htmlOutput = renderToString(
|
|
78
|
-
createElement(
|
|
79
|
-
LocationProvider,
|
|
110
|
+
const htmlOutput = (0, import_server.renderToString)(
|
|
111
|
+
(0, import_react.createElement)(
|
|
112
|
+
import_router.LocationProvider,
|
|
80
113
|
{
|
|
81
114
|
location: url
|
|
82
115
|
},
|
|
83
|
-
createElement(
|
|
116
|
+
(0, import_react.createElement)(
|
|
84
117
|
this.Document,
|
|
85
118
|
{
|
|
86
119
|
css: cssPathsToUse,
|
|
87
120
|
meta: []
|
|
88
121
|
},
|
|
89
|
-
createElement(
|
|
122
|
+
(0, import_react.createElement)(
|
|
90
123
|
this.App,
|
|
91
124
|
{},
|
|
92
125
|
this.componentElements({
|
|
@@ -111,18 +144,18 @@ class OgImageMiddleware {
|
|
|
111
144
|
mwResponse.headers.append(
|
|
112
145
|
"Content-Type",
|
|
113
146
|
// as string, because the lookup is guaranteed in this case
|
|
114
|
-
|
|
147
|
+
import_mime_types.default.lookup(extension)
|
|
115
148
|
);
|
|
116
149
|
mwResponse.body = new Uint8Array(image);
|
|
117
150
|
}
|
|
118
151
|
return mwResponse;
|
|
119
152
|
}
|
|
120
|
-
matchRoute =
|
|
153
|
+
matchRoute = (0, import_memoize.default)(
|
|
121
154
|
async (routePathname, parsedParams) => {
|
|
122
155
|
let currentRoute;
|
|
123
|
-
const routes = await getRoutesList();
|
|
156
|
+
const routes = await (0, import_getRoutesList.getRoutesList)();
|
|
124
157
|
for (const route of routes) {
|
|
125
|
-
const { match, ...rest } = matchPath(
|
|
158
|
+
const { match, ...rest } = (0, import_router.matchPath)(
|
|
126
159
|
route.pathDefinition,
|
|
127
160
|
routePathname
|
|
128
161
|
);
|
|
@@ -137,20 +170,20 @@ class OgImageMiddleware {
|
|
|
137
170
|
);
|
|
138
171
|
getOgComponentPath(currentRoute) {
|
|
139
172
|
if (process.env.NODE_ENV === "development") {
|
|
140
|
-
return
|
|
141
|
-
getPaths().web.src,
|
|
173
|
+
return import_node_path.default.join(
|
|
174
|
+
(0, import_project_config.getPaths)().web.src,
|
|
142
175
|
currentRoute.relativeFilePath.replace(/\.([jt]sx)/, `.og.$1`)
|
|
143
176
|
);
|
|
144
177
|
} else {
|
|
145
|
-
return `${
|
|
146
|
-
getPaths().web.distSsr,
|
|
178
|
+
return `${import_node_path.default.join(
|
|
179
|
+
(0, import_project_config.getPaths)().web.distSsr,
|
|
147
180
|
"ogImage",
|
|
148
181
|
currentRoute.relativeFilePath.replace(/\.([jt]sx)/, "")
|
|
149
182
|
)}.og.mjs`;
|
|
150
183
|
}
|
|
151
184
|
}
|
|
152
185
|
get debugElement() {
|
|
153
|
-
return createElement(
|
|
186
|
+
return (0, import_react.createElement)(
|
|
154
187
|
"div",
|
|
155
188
|
{
|
|
156
189
|
style: {
|
|
@@ -163,7 +196,7 @@ class OgImageMiddleware {
|
|
|
163
196
|
height: this.imageProps?.height
|
|
164
197
|
}
|
|
165
198
|
},
|
|
166
|
-
createElement(
|
|
199
|
+
(0, import_react.createElement)(
|
|
167
200
|
"div",
|
|
168
201
|
{
|
|
169
202
|
style: {
|
|
@@ -186,13 +219,13 @@ class OgImageMiddleware {
|
|
|
186
219
|
routeParams,
|
|
187
220
|
debug
|
|
188
221
|
}) {
|
|
189
|
-
const element = createElement(Component, {
|
|
222
|
+
const element = (0, import_react.createElement)(Component, {
|
|
190
223
|
data,
|
|
191
224
|
...routeParams
|
|
192
225
|
});
|
|
193
226
|
if (debug) {
|
|
194
227
|
return [
|
|
195
|
-
createElement(
|
|
228
|
+
(0, import_react.createElement)(
|
|
196
229
|
"div",
|
|
197
230
|
{
|
|
198
231
|
style: { width: this.imageProps?.width }
|
|
@@ -223,6 +256,3 @@ class OgImageMiddleware {
|
|
|
223
256
|
}
|
|
224
257
|
}
|
|
225
258
|
}
|
|
226
|
-
export {
|
|
227
|
-
OgImageMiddleware as default
|
|
228
|
-
};
|
package/dist/getRoutesList.js
CHANGED
|
@@ -1,16 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var getRoutesList_exports = {};
|
|
30
|
+
__export(getRoutesList_exports, {
|
|
31
|
+
getRoutesList: () => getRoutesList
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(getRoutesList_exports);
|
|
34
|
+
var import_node_url = __toESM(require("node:url"));
|
|
35
|
+
var import_project_config = require("@cedarjs/project-config");
|
|
3
36
|
const getRoutesList = async () => {
|
|
4
|
-
const rwPaths = getPaths();
|
|
37
|
+
const rwPaths = (0, import_project_config.getPaths)();
|
|
5
38
|
if (process.env.NODE_ENV === "development") {
|
|
6
39
|
const { getProjectRoutes } = await import("@cedarjs/internal/dist/routes.js");
|
|
7
40
|
return getProjectRoutes();
|
|
8
41
|
} else {
|
|
9
|
-
const routeManifestUrl =
|
|
42
|
+
const routeManifestUrl = import_node_url.default.pathToFileURL(rwPaths.web.routeManifest).href;
|
|
10
43
|
const routeManifest = (await import(routeManifestUrl, { with: { type: "json" } })).default;
|
|
11
44
|
return Object.values(routeManifest);
|
|
12
45
|
}
|
|
13
46
|
};
|
|
14
|
-
export
|
|
47
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
48
|
+
0 && (module.exports = {
|
|
15
49
|
getRoutesList
|
|
16
|
-
};
|
|
50
|
+
});
|
package/dist/hooks.js
CHANGED
|
@@ -1,4 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var hooks_exports = {};
|
|
20
|
+
__export(hooks_exports, {
|
|
21
|
+
OGIMAGE_DEFAULTS: () => OGIMAGE_DEFAULTS,
|
|
22
|
+
useOgImage: () => useOgImage
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(hooks_exports);
|
|
25
|
+
var import_router = require("@cedarjs/router");
|
|
2
26
|
const OGIMAGE_DEFAULTS = {
|
|
3
27
|
extension: "png",
|
|
4
28
|
width: 1200,
|
|
@@ -6,7 +30,7 @@ const OGIMAGE_DEFAULTS = {
|
|
|
6
30
|
quality: 100
|
|
7
31
|
};
|
|
8
32
|
const useOgImage = (options) => {
|
|
9
|
-
const { origin, pathname, searchParams: locationSearchParams } = useLocation();
|
|
33
|
+
const { origin, pathname, searchParams: locationSearchParams } = (0, import_router.useLocation)();
|
|
10
34
|
const ext = options?.extension || OGIMAGE_DEFAULTS.extension;
|
|
11
35
|
const width = options?.width;
|
|
12
36
|
const height = options?.height;
|
|
@@ -54,7 +78,8 @@ const useOgImage = (options) => {
|
|
|
54
78
|
}
|
|
55
79
|
};
|
|
56
80
|
};
|
|
57
|
-
export
|
|
81
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
82
|
+
0 && (module.exports = {
|
|
58
83
|
OGIMAGE_DEFAULTS,
|
|
59
84
|
useOgImage
|
|
60
|
-
};
|
|
85
|
+
});
|
|
@@ -1,19 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var vite_plugin_ogimage_gen_exports = {};
|
|
30
|
+
__export(vite_plugin_ogimage_gen_exports, {
|
|
31
|
+
default: () => vite_plugin_ogimage_gen_default
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(vite_plugin_ogimage_gen_exports);
|
|
34
|
+
var import_node_fs = __toESM(require("node:fs"));
|
|
35
|
+
var import_node_path = __toESM(require("node:path"));
|
|
36
|
+
var import_fast_glob = __toESM(require("fast-glob"));
|
|
37
|
+
var import_project_config = require("@cedarjs/project-config");
|
|
5
38
|
function vitePluginOgImageGen() {
|
|
6
|
-
const rwPaths = getPaths();
|
|
7
|
-
const allOgComponents =
|
|
39
|
+
const rwPaths = (0, import_project_config.getPaths)();
|
|
40
|
+
const allOgComponents = import_fast_glob.default.sync("pages/**/*.og.{jsx,tsx}", {
|
|
8
41
|
cwd: rwPaths.web.src,
|
|
9
42
|
absolute: true,
|
|
10
43
|
// @MARK This allows us to mock the fs module in tests
|
|
11
|
-
fs
|
|
44
|
+
fs: import_node_fs.default
|
|
12
45
|
});
|
|
13
46
|
const ogComponentInput = {};
|
|
14
47
|
allOgComponents.forEach((ogComponentPath) => {
|
|
15
|
-
const pathKey =
|
|
16
|
-
ogComponentInput[`ogImage/${ensurePosixPath(pathKey)}`] = ogComponentPath;
|
|
48
|
+
const pathKey = import_node_path.default.relative(rwPaths.web.src, ogComponentPath).replace(/\.[jt]sx?$/, "");
|
|
49
|
+
ogComponentInput[`ogImage/${(0, import_project_config.ensurePosixPath)(pathKey)}`] = ogComponentPath;
|
|
17
50
|
});
|
|
18
51
|
return {
|
|
19
52
|
name: "rw-vite-plugin-ogimage-gen",
|
|
@@ -35,6 +68,3 @@ function vitePluginOgImageGen() {
|
|
|
35
68
|
};
|
|
36
69
|
}
|
|
37
70
|
var vite_plugin_ogimage_gen_default = vitePluginOgImageGen;
|
|
38
|
-
export {
|
|
39
|
-
vite_plugin_ogimage_gen_default as default
|
|
40
|
-
};
|
package/package.json
CHANGED
|
@@ -1,60 +1,63 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cedarjs/ogimage-gen",
|
|
3
|
-
"version": "5.0.7-
|
|
3
|
+
"version": "5.0.7-rc.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/cedarjs/cedar.git",
|
|
7
7
|
"directory": "packages/ogimage-gen"
|
|
8
8
|
},
|
|
9
9
|
"license": "MIT",
|
|
10
|
-
"type": "
|
|
10
|
+
"type": "commonjs",
|
|
11
11
|
"exports": {
|
|
12
12
|
"./plugin": {
|
|
13
13
|
"types": "./dist/vite-plugin-ogimage-gen.d.ts",
|
|
14
|
-
"
|
|
14
|
+
"import": "./dist/vite-plugin-ogimage-gen.js",
|
|
15
|
+
"default": "./cjsWrappers/plugin.js"
|
|
15
16
|
},
|
|
16
17
|
"./middleware": {
|
|
17
18
|
"types": "./dist/OgImageMiddleware.d.ts",
|
|
19
|
+
"import": "./dist/OgImageMiddleware.js",
|
|
18
20
|
"react-server": "./empty.js",
|
|
19
|
-
"default": "./
|
|
21
|
+
"default": "./cjsWrappers/middleware.js"
|
|
20
22
|
},
|
|
21
23
|
"./hooks": {
|
|
22
24
|
"types": "./dist/hooks.d.ts",
|
|
23
|
-
"
|
|
25
|
+
"import": "./dist/hooks.js",
|
|
26
|
+
"default": "./cjsWrappers/hooks.js"
|
|
24
27
|
}
|
|
25
28
|
},
|
|
26
29
|
"files": [
|
|
27
30
|
"dist",
|
|
31
|
+
"cjsWrappers",
|
|
28
32
|
"empty.js"
|
|
29
33
|
],
|
|
30
34
|
"scripts": {
|
|
31
|
-
"build": "node ./build.mts",
|
|
35
|
+
"build": "node ./build.mts && yarn build:types",
|
|
32
36
|
"build:pack": "yarn pack -o cedarjs-ogimage-gen.tgz",
|
|
33
|
-
"build:types": "tsc --build --verbose
|
|
37
|
+
"build:types": "tsc --build --verbose",
|
|
34
38
|
"prepublishOnly": "NODE_ENV=production yarn build",
|
|
35
39
|
"test": "vitest run",
|
|
36
40
|
"test:watch": "vitest watch"
|
|
37
41
|
},
|
|
38
42
|
"dependencies": {
|
|
39
|
-
"@cedarjs/internal": "5.0.7-
|
|
40
|
-
"@cedarjs/project-config": "5.0.7-
|
|
43
|
+
"@cedarjs/internal": "5.0.7-rc.3",
|
|
44
|
+
"@cedarjs/project-config": "5.0.7-rc.3",
|
|
41
45
|
"fast-glob": "3.3.3",
|
|
42
46
|
"lodash": "4.18.1",
|
|
43
47
|
"react": "18.3.1",
|
|
44
48
|
"react-dom": "18.3.1"
|
|
45
49
|
},
|
|
46
50
|
"devDependencies": {
|
|
47
|
-
"@cedarjs/framework-tools": "5.0.7-
|
|
48
|
-
"@cedarjs/router": "5.0.7-
|
|
49
|
-
"@
|
|
50
|
-
"@playwright/test": "1.62.1",
|
|
51
|
+
"@cedarjs/framework-tools": "5.0.7-rc.3",
|
|
52
|
+
"@cedarjs/router": "5.0.7-rc.3",
|
|
53
|
+
"@playwright/test": "1.61.1",
|
|
51
54
|
"ts-toolbelt": "9.6.0",
|
|
52
55
|
"typescript": "5.9.3",
|
|
53
|
-
"vite": "7.3.
|
|
54
|
-
"vitest": "
|
|
56
|
+
"vite": "7.3.5",
|
|
57
|
+
"vitest": "3.2.6"
|
|
55
58
|
},
|
|
56
59
|
"peerDependencies": {
|
|
57
|
-
"@cedarjs/router": "5.0.7-
|
|
60
|
+
"@cedarjs/router": "5.0.7-rc.3"
|
|
58
61
|
},
|
|
59
62
|
"engines": {
|
|
60
63
|
"node": ">=24"
|