@zextras/carbonio-ui-preview 5.0.0 → 5.0.2

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.
Files changed (1) hide show
  1. package/package.json +56 -40
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zextras/carbonio-ui-preview",
3
- "version": "5.0.0",
3
+ "version": "5.0.2",
4
4
  "description": "Preview ui utility for Zextras Carbonio",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
@@ -18,18 +18,18 @@
18
18
  ],
19
19
  "scripts": {
20
20
  "prebuild:lib": "rm -rf lib",
21
- "build:lib": "tsc -p tsconfig.lib.json && npm run copy-styles",
22
- "build:docs": "npx api-extractor run --verbose && npx api-documenter generate -i ./temp/ -o ./docs/api",
23
- "build:docs:local": "npx api-extractor run --verbose --local && npx api-documenter generate -i ./temp/ -o ./docs/api",
24
- "build:local": "npm run build:lib && npm run build:docs:local",
25
- "build": "npm run build:lib && npm run build:docs",
21
+ "build:lib": "tsc -p tsconfig.lib.json && pnpm run copy-styles",
22
+ "build:docs": "pnpm exec api-extractor run --verbose && pnpm exec api-documenter generate -i ./temp/ -o ./docs/api",
23
+ "build:docs:local": "pnpm exec api-extractor run --verbose --local && pnpm exec api-documenter generate -i ./temp/ -o ./docs/api",
24
+ "build:local": "pnpm run build:lib && pnpm run build:docs:local",
25
+ "build": "pnpm run build:lib && pnpm run build:docs",
26
26
  "prepare": "is-ci || husky",
27
- "prepack": "npm run build",
27
+ "prepack": "pnpm run build",
28
28
  "type-check": "tsc",
29
- "type-check:watch": "npm run type-check -- --watch",
29
+ "type-check:watch": "pnpm run type-check -- --watch",
30
30
  "lint": "eslint --ext .js,.jsx,.ts,.tsx --resolve-plugins-relative-to node_modules/@zextras/carbonio-ui-configs src",
31
- "packTo": "npm pack --pack-destination $PKG_PATH && cd $PKG_PATH && npm i zextras-carbonio-ui-preview-$npm_package_version.tgz",
32
- "deploy": "npm pack && rm -rf $PKG_PATH/node_modules/@zextras/carbonio-ui-preview/* && tar -xf zextras-carbonio-ui-preview-$npm_package_version.tgz -C $PKG_PATH/node_modules/@zextras/carbonio-ui-preview/ --strip-components 1",
31
+ "packTo": "pnpm pack --pack-destination $PKG_PATH && cd $PKG_PATH && pnpm add zextras-carbonio-ui-preview-$npm_package_version.tgz",
32
+ "deploy": "pnpm pack && rm -rf $PKG_PATH/node_modules/@zextras/carbonio-ui-preview/* && tar -xf zextras-carbonio-ui-preview-$npm_package_version.tgz -C $PKG_PATH/node_modules/@zextras/carbonio-ui-preview/ --strip-components 1",
33
33
  "test": "vitest run",
34
34
  "test:watch": "vitest",
35
35
  "test:ui": "vitest --ui",
@@ -45,37 +45,38 @@
45
45
  "author": "Zextras DEV Team <https://www.zextras.com/carbonio/>",
46
46
  "license": "AGPL-3.0-only",
47
47
  "devDependencies": {
48
- "@commitlint/cli": "^20.5.0",
49
- "@commitlint/config-conventional": "^20.5.0",
50
- "@faker-js/faker": "^10.4.0",
51
- "@microsoft/api-documenter": "^7.29.7",
52
- "@microsoft/api-extractor": "^7.57.7",
53
- "@testing-library/dom": "^10.4.1",
54
- "@testing-library/jest-dom": "^6.9.1",
55
- "@testing-library/react": "^16.3.2",
56
- "@testing-library/user-event": "^14.6.1",
57
- "@types/node": "^20.19.37",
58
- "@types/react": "^18.3.28",
59
- "@types/react-dom": "^18.3.7",
60
- "@vitest/coverage-v8": "^3.2.4",
61
- "@vitest/ui": "^3.2.4",
62
- "@zextras/carbonio-ui-configs": "^1.0.4",
63
- "conventional-changelog-conventionalcommits": "^9.3.0",
64
- "eslint-plugin-notice": "^1.0.0",
65
- "eslint-plugin-tsdoc": "^0.5.2",
66
- "husky": "^9.1.7",
67
- "is-ci": "^4.1.0",
68
- "jsdom": "^27.4.0",
69
- "semantic-release": "^24.2.9",
70
- "sonarqube-scanner": "^4.3.5",
71
- "ts-node": "^10.9.2",
72
- "typescript": "^5.9.3",
73
- "vitest": "^3.2.4",
74
- "vitest-fail-on-console": "^0.10.1"
48
+ "@commitlint/cli": "21.1.0",
49
+ "@commitlint/config-conventional": "21.1.0",
50
+ "@faker-js/faker": "10.5.0",
51
+ "@microsoft/api-documenter": "7.30.7",
52
+ "@microsoft/api-extractor": "7.58.9",
53
+ "@testing-library/dom": "10.4.1",
54
+ "@testing-library/jest-dom": "6.9.1",
55
+ "@testing-library/react": "16.3.2",
56
+ "@testing-library/user-event": "14.6.1",
57
+ "@types/node": "22.19.19",
58
+ "@types/react": "18.3.31",
59
+ "@types/react-dom": "18.3.7",
60
+ "@vitest/coverage-v8": "4.1.9",
61
+ "@vitest/ui": "4.1.9",
62
+ "@zextras/carbonio-ui-configs": "1.0.4",
63
+ "conventional-changelog-conventionalcommits": "9.3.1",
64
+ "eslint": "8.57.1",
65
+ "eslint-plugin-notice": "1.0.0",
66
+ "eslint-plugin-tsdoc": "0.5.2",
67
+ "husky": "9.1.7",
68
+ "is-ci": "4.1.0",
69
+ "jsdom": "27.4.0",
70
+ "semantic-release": "25.0.5",
71
+ "sonarqube-scanner": "5.0.0",
72
+ "ts-node": "10.9.2",
73
+ "typescript": "5.9.3",
74
+ "vitest": "4.1.9",
75
+ "vitest-fail-on-console": "0.10.1"
75
76
  },
76
77
  "dependencies": {
77
- "core-js": "^3.49.0",
78
- "react-pdf": "^10.2.0"
78
+ "core-js": "3.49.0",
79
+ "react-pdf": "10.4.1"
79
80
  },
80
81
  "peerDependencies": {
81
82
  "@zextras/carbonio-design-system": "^11.0.0-devel || ^12.0.0",
@@ -87,5 +88,20 @@
87
88
  "last 1 version",
88
89
  "Firefox ESR",
89
90
  "not dead"
90
- ]
91
+ ],
92
+ "engines": {
93
+ "node": "v22",
94
+ "pnpm": ">=10"
95
+ },
96
+ "packageManager": "pnpm@10.32.1",
97
+ "pnpm": {
98
+ "overrides": {
99
+ "conventional-changelog-conventionalcommits": "9.3.1"
100
+ },
101
+ "onlyBuiltDependencies": [
102
+ "core-js",
103
+ "esbuild",
104
+ "unrs-resolver"
105
+ ]
106
+ }
91
107
  }