@cyber-harbour/ui 2.0.24 → 2.0.26
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/bin/copy-pdfjs.js +1 -1
- package/package.json +1 -3
package/bin/copy-pdfjs.js
CHANGED
|
@@ -9,7 +9,7 @@ const projectRoot = process.cwd();
|
|
|
9
9
|
const targetDirName = process.env.UI_LIBRARY_PDFJS_DIR || 'public/pdfjs';
|
|
10
10
|
|
|
11
11
|
// Source paths
|
|
12
|
-
const pdfjsDistPath = path.resolve(projectRoot, 'node_modules
|
|
12
|
+
const pdfjsDistPath = path.resolve(projectRoot, 'node_modules/pdfjs-dist');
|
|
13
13
|
const sourcePath = path.join(pdfjsDistPath, 'build/pdf.worker.min.mjs');
|
|
14
14
|
|
|
15
15
|
// Target directory (customizable)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyber-harbour/ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.26",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -40,7 +40,6 @@
|
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@types/react": ">=19.1",
|
|
42
42
|
"d3": ">=7.9",
|
|
43
|
-
"pdfjs-dist": "^5.3.93",
|
|
44
43
|
"react": ">=19.1",
|
|
45
44
|
"react-dom": ">=19.1",
|
|
46
45
|
"react-pdf": "^10.1.0",
|
|
@@ -86,7 +85,6 @@
|
|
|
86
85
|
"@vitest/coverage-v8": "^3.1.3",
|
|
87
86
|
"babel-loader": "^10.0.0",
|
|
88
87
|
"cross-env": "^7.0.3",
|
|
89
|
-
"pdfjs-dist": "^5.3.93",
|
|
90
88
|
"playwright": "^1.52.0",
|
|
91
89
|
"react-pdf": "^10.1.0",
|
|
92
90
|
"storybook": "^9.1.3",
|