@arch-cadre/vercel-blob-module 1.0.21 → 1.0.27
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/index.cjs +6 -0
- package/dist/index.mjs +6 -0
- package/package.json +7 -7
- package/src/index.ts +6 -0
package/dist/index.cjs
CHANGED
|
@@ -6,6 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
|
|
7
7
|
var _server = require("@arch-cadre/core/server");
|
|
8
8
|
var _intl = require("@arch-cadre/intl");
|
|
9
|
+
var _global = _interopRequireDefault(require("../locales/en/global.json"));
|
|
10
|
+
var _global2 = _interopRequireDefault(require("../locales/pl/global.json"));
|
|
9
11
|
var _manifest = _interopRequireDefault(require("../manifest.json"));
|
|
10
12
|
var _settings = require("./actions/settings.cjs");
|
|
11
13
|
var _vercel = require("./providers/vercel.cjs");
|
|
@@ -13,6 +15,10 @@ var _routes = require("./routes.cjs");
|
|
|
13
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
16
|
const vercelBlobModule = {
|
|
15
17
|
manifest: _manifest.default,
|
|
18
|
+
translations: {
|
|
19
|
+
en: _global.default,
|
|
20
|
+
pl: _global2.default
|
|
21
|
+
},
|
|
16
22
|
routes: {
|
|
17
23
|
private: _routes.privateRoutes
|
|
18
24
|
},
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { filesystemService } from "@arch-cadre/core/server";
|
|
2
2
|
import { i18n } from "@arch-cadre/intl";
|
|
3
|
+
import localesEn from "../locales/en/global.json" with { type: "json" };
|
|
4
|
+
import localesPl from "../locales/pl/global.json" with { type: "json" };
|
|
3
5
|
import manifest from "../manifest.json";
|
|
4
6
|
import { getBlobConfig } from "./actions/settings.mjs";
|
|
5
7
|
import { VercelBlobProvider } from "./providers/vercel.mjs";
|
|
6
8
|
import { privateRoutes } from "./routes.mjs";
|
|
7
9
|
const vercelBlobModule = {
|
|
8
10
|
manifest,
|
|
11
|
+
translations: {
|
|
12
|
+
en: localesEn,
|
|
13
|
+
pl: localesPl
|
|
14
|
+
},
|
|
9
15
|
routes: {
|
|
10
16
|
private: privateRoutes
|
|
11
17
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arch-cadre/vercel-blob-module",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
4
4
|
"description": "Activity module for Kryo framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@vercel/blob": "^2.2.0",
|
|
30
|
-
"@arch-cadre/ui": "^0.0.
|
|
31
|
-
"@arch-cadre/modules": "^0.0.
|
|
30
|
+
"@arch-cadre/ui": "^0.0.69",
|
|
31
|
+
"@arch-cadre/modules": "^0.0.97",
|
|
32
32
|
"drizzle-orm": "1.0.0-beta.6-4414a19",
|
|
33
33
|
"pg": "^8.16.3",
|
|
34
34
|
"zod": "^3.24.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@arch-cadre/core": "^0.0.
|
|
37
|
+
"@arch-cadre/core": "^0.0.71",
|
|
38
38
|
"@types/react": "^19",
|
|
39
39
|
"@types/pg": "^8.16.0",
|
|
40
40
|
"next": "16.1.1",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"unbuild": "^3.6.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@arch-cadre/core": "^0.0.
|
|
47
|
-
"@arch-cadre/intl": "^0.0.
|
|
48
|
-
"@arch-cadre/ui": "^0.0.
|
|
46
|
+
"@arch-cadre/core": "^0.0.71",
|
|
47
|
+
"@arch-cadre/intl": "^0.0.71",
|
|
48
|
+
"@arch-cadre/ui": "^0.0.69",
|
|
49
49
|
"next": ">=13.0.0",
|
|
50
50
|
"react": "^19.0.0"
|
|
51
51
|
},
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { filesystemService } from "@arch-cadre/core/server";
|
|
2
2
|
import { i18n } from "@arch-cadre/intl";
|
|
3
3
|
import type { IModule } from "@arch-cadre/modules";
|
|
4
|
+
import localesEn from "../locales/en/global.json" with { type: "json" };
|
|
5
|
+
import localesPl from "../locales/pl/global.json" with { type: "json" };
|
|
4
6
|
import manifest from "../manifest.json";
|
|
5
7
|
import { getBlobConfig } from "./actions/settings";
|
|
6
8
|
import { VercelBlobProvider } from "./providers/vercel";
|
|
@@ -9,6 +11,10 @@ import { privateRoutes } from "./routes";
|
|
|
9
11
|
const vercelBlobModule: IModule = {
|
|
10
12
|
manifest,
|
|
11
13
|
|
|
14
|
+
translations: {
|
|
15
|
+
en: localesEn,
|
|
16
|
+
pl: localesPl,
|
|
17
|
+
},
|
|
12
18
|
routes: {
|
|
13
19
|
private: privateRoutes,
|
|
14
20
|
},
|