@json-to-office/core-pptx 1.2.0 → 1.4.0

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.
@@ -18,6 +18,7 @@ export declare const W: {
18
18
  readonly UNKNOWN_COLOR: "UNKNOWN_COLOR";
19
19
  readonly GRID_POSITION_CLAMPED: "GRID_POSITION_CLAMPED";
20
20
  readonly TEXT_NO_CONTENT: "TEXT_NO_CONTENT";
21
+ readonly TEXT_OVERLAP_UNPOSITIONED: "TEXT_OVERLAP_UNPOSITIONED";
21
22
  readonly UNKNOWN_PATTERN_PRESET: "UNKNOWN_PATTERN_PRESET";
22
23
  readonly ADVANCED_FILL_FALLBACK: "ADVANCED_FILL_FALLBACK";
23
24
  readonly IMAGE_ZERO_BOX: "IMAGE_ZERO_BOX";
@@ -1 +1 @@
1
- {"version":3,"file":"warn.d.ts","sourceRoot":"","sources":["../../src/utils/warn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,eAAO,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;CAuBJ,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC;AAErD,wBAAgB,IAAI,CAClB,QAAQ,EAAE,eAAe,EAAE,GAAG,SAAS,EACvC,IAAI,EAAE,WAAW,EACjB,OAAO,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAC/B,IAAI,CAMN"}
1
+ {"version":3,"file":"warn.d.ts","sourceRoot":"","sources":["../../src/utils/warn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,eAAO,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;CAwBJ,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,OAAO,CAAC,CAAC,CAAC;AAErD,wBAAgB,IAAI,CAClB,QAAQ,EAAE,eAAe,EAAE,GAAG,SAAS,EACvC,IAAI,EAAE,WAAW,EACjB,OAAO,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAC/B,IAAI,CAMN"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@json-to-office/core-pptx",
3
- "version": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "description": "Core PPTX presentation generation engine",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -18,17 +18,17 @@
18
18
  }
19
19
  },
20
20
  "dependencies": {
21
+ "@office-open/pptx": "0.11.0",
21
22
  "@resvg/resvg-js": "2.6.2",
22
23
  "@sinclair/typebox": "0.34.38",
23
24
  "jszip": "3.10.1",
24
25
  "pptxgenjs": "^3.12.0",
25
26
  "probe-image-size": "7.2.3",
26
- "@json-to-office/shared": "^1.2.0",
27
- "@json-to-office/shared-pptx": "^1.2.0"
27
+ "@json-to-office/shared": "^1.4.0",
28
+ "@json-to-office/shared-pptx": "^1.3.0"
28
29
  },
29
30
  "devDependencies": {
30
31
  "@office-open/core": "0.11.0",
31
- "@office-open/pptx": "0.11.0",
32
32
  "@types/node": "20.11.0",
33
33
  "@types/probe-image-size": "7.2.4",
34
34
  "tsup": "8.5.0",
@@ -62,23 +62,15 @@
62
62
  "engines": {
63
63
  "node": ">=20.0.0"
64
64
  },
65
- "peerDependencies": {
66
- "@office-open/pptx": "0.11.0"
67
- },
68
- "peerDependenciesMeta": {
69
- "@office-open/pptx": {
70
- "optional": true
71
- }
72
- },
73
65
  "scripts": {
74
66
  "build": "tsup && tsc --emitDeclarationOnly --declaration",
75
67
  "build:js": "tsup",
76
68
  "build:types": "tsc --emitDeclarationOnly --declaration",
77
69
  "dev": "tsup --watch",
78
70
  "clean": "rm -rf dist",
79
- "lint": "eslint src/**/*.ts",
80
- "lint:fix": "eslint src/**/*.ts --fix",
81
- "format": "prettier --write src/**/*.ts",
71
+ "lint": "eslint src --ext .ts",
72
+ "lint:fix": "eslint src --ext .ts --fix",
73
+ "format": "prettier --write \"src/**/*.ts\"",
82
74
  "typecheck": "tsc --noEmit",
83
75
  "test": "vitest run --passWithNoTests",
84
76
  "test:watch": "vitest",