@repdf/preview 0.0.22 → 0.0.25
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.js +14 -7
- package/dist/preview/.next/BUILD_ID +1 -1
- package/dist/preview/.next/build-manifest.json +9 -3
- package/dist/preview/.next/cache/.tsbuildinfo +1 -1
- package/dist/preview/.next/cache/webpack/client-development/0.pack.gz +0 -0
- package/dist/preview/.next/cache/webpack/client-development/index.pack.gz +0 -0
- package/dist/preview/.next/cache/webpack/client-production/0.pack +0 -0
- package/dist/preview/.next/cache/webpack/client-production/index.pack +0 -0
- package/dist/preview/.next/cache/webpack/edge-server-production/index.pack +0 -0
- package/dist/preview/.next/cache/webpack/server-production/0.pack +0 -0
- package/dist/preview/.next/cache/webpack/server-production/index.pack +0 -0
- package/dist/preview/.next/next-minimal-server.js.nft.json +1 -1
- package/dist/preview/.next/next-server.js.nft.json +1 -1
- package/dist/preview/.next/prerender-manifest.json +1 -1
- package/dist/preview/.next/routes-manifest.json +1 -1
- package/dist/preview/.next/server/chunks/370.js +1 -0
- package/dist/preview/.next/server/chunks/476.js +1 -0
- package/dist/preview/.next/server/chunks/787.js +1 -1
- package/dist/preview/.next/server/chunks/81.js +1 -0
- package/dist/preview/.next/server/middleware-build-manifest.js +1 -1
- package/dist/preview/.next/server/pages/api/component.js +2 -2
- package/dist/preview/.next/server/pages/api/component.js.nft.json +1 -1
- package/dist/preview/.next/server/pages/api/pdf.js +1 -1
- package/dist/preview/.next/server/pages/api/pdf.js.nft.json +1 -1
- package/dist/preview/.next/server/pages/api/trpc/[trpc].js +4 -1
- package/dist/preview/.next/server/pages/api/trpc/[trpc].js.nft.json +1 -1
- package/dist/preview/.next/server/pages/en/404.html +1 -1
- package/dist/preview/.next/server/pages/en/500.html +1 -1
- package/dist/preview/.next/server/pages/en/test.html +1 -0
- package/dist/preview/.next/server/pages/preview/[...relTemplatePath].js +1 -1
- package/dist/preview/.next/server/pages/test.js.nft.json +1 -0
- package/dist/preview/.next/server/pages-manifest.json +1 -1
- package/dist/preview/.next/server/webpack-api-runtime.js +1 -1
- package/dist/preview/.next/static/chunks/pages/test-6c9d6a5f356c21ea.js +1 -0
- package/dist/preview/.next/static/css/e697c978240c2fce.css +3 -0
- package/dist/preview/.next/static/r14XpRGeqXRkqt8lq1z_x/_buildManifest.js +1 -0
- package/dist/preview/.next/trace +16 -14
- package/package.json +7 -7
- package/dist/preview/.next/static/10iFYJXApnVsAj_q-bgIS/_buildManifest.js +0 -1
- package/dist/preview/.next/static/css/1f6d59b4f8c0fd6a.css +0 -3
- /package/dist/preview/.next/static/{10iFYJXApnVsAj_q-bgIS → r14XpRGeqXRkqt8lq1z_x}/_ssgManifest.js +0 -0
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { program } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@repdf/preview",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.24",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -27,7 +27,7 @@ var package_default = {
|
|
|
27
27
|
scripts: {
|
|
28
28
|
tsup: "tsup --tsconfig tsconfig.build.json && node build-preview-server.js",
|
|
29
29
|
build: "next build",
|
|
30
|
-
dev: "next dev
|
|
30
|
+
dev: "next dev",
|
|
31
31
|
"dev:live": "tsx watch src/cli/index.ts dev",
|
|
32
32
|
"dev:live:notused": "tsup --tsconfig tsconfig.build.json --watch",
|
|
33
33
|
lint: "next lint",
|
|
@@ -38,8 +38,8 @@ var package_default = {
|
|
|
38
38
|
},
|
|
39
39
|
dependencies: {
|
|
40
40
|
"@repdf/core": "workspace:*",
|
|
41
|
-
"@react-email/render": "1.0.
|
|
42
|
-
"@react-email/tailwind": "
|
|
41
|
+
"@react-email/render": "1.0.2",
|
|
42
|
+
"@react-email/tailwind": "1.0.2",
|
|
43
43
|
"@tanstack/react-query": "^5.59.15",
|
|
44
44
|
"@tanstack/react-query-devtools": "^5.59.15",
|
|
45
45
|
"@trpc/client": "^11.0.0-rc.553",
|
|
@@ -68,7 +68,7 @@ var package_default = {
|
|
|
68
68
|
"source-map-js": "^1.2.1",
|
|
69
69
|
"stacktrace-parser": "^0.1.10",
|
|
70
70
|
superjson: "^2.2.1",
|
|
71
|
-
"tailwind-merge": "^2.5.
|
|
71
|
+
"tailwind-merge": "^2.5.4",
|
|
72
72
|
webpack: "^5.95.0",
|
|
73
73
|
ws: "^8.18.0",
|
|
74
74
|
zod: "^3.23.8"
|
|
@@ -87,7 +87,7 @@ var package_default = {
|
|
|
87
87
|
"@types/ws": "^8.5.12",
|
|
88
88
|
postcss: "^8.4.39",
|
|
89
89
|
"react-email": "3.0.1",
|
|
90
|
-
tailwindcss: "^3.4.
|
|
90
|
+
tailwindcss: "^3.4.14",
|
|
91
91
|
typescript: "5.5.4"
|
|
92
92
|
},
|
|
93
93
|
packageManager: "pnpm@9.7.1"
|
|
@@ -372,7 +372,7 @@ var startPreviewServer = async (pdfsDirRelativePath, port) => {
|
|
|
372
372
|
}
|
|
373
373
|
});
|
|
374
374
|
});
|
|
375
|
-
return
|
|
375
|
+
return server;
|
|
376
376
|
};
|
|
377
377
|
|
|
378
378
|
// src/cli/commands/dev.ts
|
|
@@ -388,6 +388,13 @@ var dev = async ({
|
|
|
388
388
|
relativePathToPdfFolder,
|
|
389
389
|
parseInt(port)
|
|
390
390
|
);
|
|
391
|
+
const shutdown = async () => {
|
|
392
|
+
logger_default.info("Shutting down preview server...");
|
|
393
|
+
await devServer?.close();
|
|
394
|
+
process.exit(0);
|
|
395
|
+
};
|
|
396
|
+
process.on("SIGINT", shutdown);
|
|
397
|
+
process.on("SIGTERM", shutdown);
|
|
391
398
|
} catch (error) {
|
|
392
399
|
logger_default.error(error);
|
|
393
400
|
process.exit(1);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
r14XpRGeqXRkqt8lq1z_x
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"devFiles": [],
|
|
6
6
|
"ampDevFiles": [],
|
|
7
7
|
"lowPriorityFiles": [
|
|
8
|
-
"static/
|
|
9
|
-
"static/
|
|
8
|
+
"static/r14XpRGeqXRkqt8lq1z_x/_buildManifest.js",
|
|
9
|
+
"static/r14XpRGeqXRkqt8lq1z_x/_ssgManifest.js"
|
|
10
10
|
],
|
|
11
11
|
"rootMainFiles": [],
|
|
12
12
|
"pages": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"static/chunks/webpack-b8f8d6679aaa5f42.js",
|
|
22
22
|
"static/chunks/framework-e0f347a11a70369e.js",
|
|
23
23
|
"static/chunks/main-58cc12cfc6868a7a.js",
|
|
24
|
-
"static/css/
|
|
24
|
+
"static/css/e697c978240c2fce.css",
|
|
25
25
|
"static/chunks/pages/_app-0f9241fc03d167e5.js"
|
|
26
26
|
],
|
|
27
27
|
"/_error": [
|
|
@@ -36,6 +36,12 @@
|
|
|
36
36
|
"static/chunks/main-58cc12cfc6868a7a.js",
|
|
37
37
|
"static/chunks/138-c24eca17d1ad2527.js",
|
|
38
38
|
"static/chunks/pages/preview/[...relTemplatePath]-54953a42a234e88f.js"
|
|
39
|
+
],
|
|
40
|
+
"/test": [
|
|
41
|
+
"static/chunks/webpack-b8f8d6679aaa5f42.js",
|
|
42
|
+
"static/chunks/framework-e0f347a11a70369e.js",
|
|
43
|
+
"static/chunks/main-58cc12cfc6868a7a.js",
|
|
44
|
+
"static/chunks/pages/test-6c9d6a5f356c21ea.js"
|
|
39
45
|
]
|
|
40
46
|
},
|
|
41
47
|
"ampFirstPages": []
|