@imgly/pdf-importer 0.1.0 → 0.2.1
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/CHANGELOG.md +31 -0
- package/LICENSE.md +137 -650
- package/dist/browser.d.cts +117 -10317
- package/dist/browser.d.ts +117 -10317
- package/dist/browser.js +14 -13
- package/dist/node.cjs +13 -12
- package/dist/node.d.cts +117 -10317
- package/dist/node.d.ts +117 -10317
- package/dist/node.js +13 -12
- package/package.json +10 -6
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imgly/pdf-importer",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"main": "./dist/node.cjs",
|
|
5
5
|
"module": "./dist/browser.js",
|
|
6
6
|
"types": "./dist/browser.d.ts",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"license": "SEE LICENSE IN LICENSE.md",
|
|
8
9
|
"description": "Import PDF files into the Creative Editor Ecosystem",
|
|
9
10
|
"keywords": [
|
|
10
11
|
"creative-editor-sdk",
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
},
|
|
25
26
|
"homepage": "https://img.ly",
|
|
26
27
|
"engines": {
|
|
27
|
-
"node": ">=
|
|
28
|
+
"node": ">=22"
|
|
28
29
|
},
|
|
29
30
|
"devDependencies": {
|
|
30
31
|
"@cesdk/engine": "workspace:*",
|
|
@@ -33,7 +34,7 @@
|
|
|
33
34
|
"@imgly/pdfjs-dist": "4.10.38-imgly.2",
|
|
34
35
|
"@types/glob": "^7.2.0",
|
|
35
36
|
"@types/jsdom": "^21.1.7",
|
|
36
|
-
"@types/node": "^
|
|
37
|
+
"@types/node": "^22.0.0",
|
|
37
38
|
"@types/opentype.js": "^1.3.9",
|
|
38
39
|
"@types/pixelmatch": "^5.2.6",
|
|
39
40
|
"@types/pngjs": "^6.0.5",
|
|
@@ -48,6 +49,7 @@
|
|
|
48
49
|
"tsx": "^4.20.6",
|
|
49
50
|
"typescript": "^5.7.0",
|
|
50
51
|
"undici": "^8.0.0",
|
|
52
|
+
"undici-types": "~6.21.0",
|
|
51
53
|
"vitest": "^3.2.4",
|
|
52
54
|
"@imgly/importer-dashboard": "workspace:*"
|
|
53
55
|
},
|
|
@@ -74,7 +76,8 @@
|
|
|
74
76
|
"test:fetch-fixtures": "git lfs pull --include='packages/pdf-importer/**' --exclude=''",
|
|
75
77
|
"build": "rm -rf dist/ && node build.mjs",
|
|
76
78
|
"typecheck": "tsc --noEmit",
|
|
77
|
-
"
|
|
79
|
+
"test:min-peer:types": "imgly-test-min-peer-types",
|
|
80
|
+
"setup": "./scripts/download-test-fixtures.sh",
|
|
78
81
|
"test": "vitest run src/test/regression.test.ts",
|
|
79
82
|
"test:unit": "vitest run src/test/unit",
|
|
80
83
|
"test:structural": "vitest run src/test/structural.test.ts",
|
|
@@ -87,8 +90,9 @@
|
|
|
87
90
|
"dump:check": "tsx scripts/dump-pdf.ts --all --check",
|
|
88
91
|
"generate:roundtrip": "tsx scripts/generate-roundtrip-fixtures.ts",
|
|
89
92
|
"publish": "pnpm run build && npm publish --access public",
|
|
90
|
-
"deploy:cdn": "op run --env-file=.env -- rclone sync ./dist r2:imgly-cdn/imgly/pdf-importer/$npm_package_version/dist/",
|
|
91
|
-
"dashboard": "
|
|
93
|
+
"deploy:cdn": "op run --env-file=.env.example -- rclone sync ./dist r2:imgly-cdn/imgly/pdf-importer/$npm_package_version/dist/",
|
|
94
|
+
"dashboard": "pnpm exec nx run @imgly/pdf-importer:dashboard",
|
|
95
|
+
"dashboard:serve": "importer-dashboard --fixtures src/test/examples",
|
|
92
96
|
"dashboard:build": "importer-dashboard build --fixtures src/test/examples",
|
|
93
97
|
"dashboard:preview": "importer-dashboard preview --fixtures src/test/examples"
|
|
94
98
|
},
|