@zextras/carbonio-design-system 12.0.2 → 12.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zextras/carbonio-design-system",
3
- "version": "12.0.2",
3
+ "version": "12.0.3",
4
4
  "description": "An awesome UI for Zextras Projects.",
5
5
  "main": "./dist/zapp-ui.bundle.cjs",
6
6
  "module": "./dist/zapp-ui.bundle.mjs",
@@ -13,28 +13,33 @@
13
13
  "COPYING",
14
14
  "CHANGELOG.md"
15
15
  ],
16
+ "packageManager": "pnpm@10.32.1",
17
+ "engines": {
18
+ "node": "v22",
19
+ "pnpm": ">=10"
20
+ },
16
21
  "scripts": {
17
- "start": "npm run storybook",
22
+ "start": "pnpm run storybook",
18
23
  "lint": "eslint --ext .js,.jsx,.ts,.tsx --resolve-plugins-relative-to node_modules/@zextras/carbonio-ui-configs src docs .storybook scripts",
19
24
  "lint:icons": "eslint --ext .ts,.tsx --resolve-plugins-relative-to node_modules/@zextras/carbonio-ui-configs src/icons --fix",
20
25
  "test": "(is-ci && jest --runInBand) || jest --maxWorkers=50%",
21
- "test-storybook": "npx playwright install && npm run build:docs -- --test && npx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npx http-server ./storybook-static --port 6006 --silent\" \"npx wait-on tcp:127.0.0.1:6006 && test-storybook --maxWorkers=2 --index-json\"",
22
- "test-storybook:update-images": "npx playwright install && npm run build:docs -- --test && npx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"npx http-server ./storybook-static --port 6006 --silent\" \"npx wait-on tcp:127.0.0.1:6006 && test-storybook --maxWorkers=2 --index-json -u\"",
23
- "icons:build": "tsc ./src/icons/tsTemplate.ts && npx @svgr/cli svg && npm run lint:icons",
24
- "prebuild": "npm run clean",
25
- "build": "npm run build:cjs && npm run build:types",
26
- "build:cjs": "npx rollup -c rollup.config.mjs",
27
- "build:types": "tsc -p tsconfig.types.json && npx @microsoft/api-extractor run --verbose --local && npx tsx scripts/inject-augmentations.ts",
26
+ "test-storybook": "pnpm exec playwright install && pnpm run build:docs -- --test && pnpm dlx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"pnpm dlx http-server ./storybook-static --port 6006 --silent\" \"pnpm dlx wait-on tcp:127.0.0.1:6006 && test-storybook --maxWorkers=2 --index-json\"",
27
+ "test-storybook:update-images": "pnpm exec playwright install && pnpm run build:docs -- --test && pnpm dlx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"pnpm dlx http-server ./storybook-static --port 6006 --silent\" \"pnpm dlx wait-on tcp:127.0.0.1:6006 && test-storybook --maxWorkers=2 --index-json -u\"",
28
+ "icons:build": "tsc ./src/icons/tsTemplate.ts && pnpm dlx @svgr/cli svg && pnpm run lint:icons",
29
+ "prebuild": "pnpm run clean",
30
+ "build": "pnpm run build:cjs && pnpm run build:types",
31
+ "build:cjs": "pnpm dlx rollup -c rollup.config.mjs",
32
+ "build:types": "tsc -p tsconfig.types.json && pnpm dlx @microsoft/api-extractor run --verbose --local && pnpm dlx tsx scripts/inject-augmentations.ts",
28
33
  "build:docs": "storybook build",
29
34
  "clean": "rm -rf dist/* types/*",
30
- "prepack": "npm run build",
31
- "packTo": "npm pack --pack-destination $PKG_PATH && cd $PKG_PATH && npm i zextras-carbonio-design-system-$npm_package_version.tgz",
32
- "deploy": "npm pack && rm -rf $PKG_PATH/node_modules/@zextras/carbonio-design-system/* && tar -xf zextras-carbonio-design-system-$npm_package_version.tgz -C $PKG_PATH/node_modules/@zextras/carbonio-design-system/ --strip-components 1",
35
+ "prepack": "pnpm run build",
36
+ "packTo": "pnpm pack --pack-destination $PKG_PATH && cd $PKG_PATH && pnpm i zextras-carbonio-design-system-$npm_package_version.tgz",
37
+ "deploy": "pnpm pack && rm -rf $PKG_PATH/node_modules/@zextras/carbonio-design-system/* && tar -xf zextras-carbonio-design-system-$npm_package_version.tgz -C $PKG_PATH/node_modules/@zextras/carbonio-design-system/ --strip-components 1",
33
38
  "prepare": "is-ci || husky",
34
39
  "type-check": "tsc --noEmit --noUncheckedSideEffectImports",
35
40
  "storybook": "storybook dev -p 6006",
36
- "clean:storybook-images": "npm run build:docs -- --test && npx tsx scripts/clean-storybook-images.ts",
37
- "docgen": "npx @react-docgen/cli -o .storybook/docgen-output.json 'src/components/**/*.tsx' -i '**/*.(test|stories|stories.*).tsx' --pretty --resolver find-all-exported-components && npx tsx scripts/order-docgen.ts"
41
+ "clean:storybook-images": "pnpm run build:docs -- --test && pnpm dlx tsx scripts/clean-storybook-images.ts",
42
+ "docgen": "pnpm dlx @react-docgen/cli -o .storybook/docgen-output.json 'src/components/**/*.tsx' -i '**/*.(test|stories|stories.*).tsx' --pretty --resolver find-all-exported-components && pnpm dlx tsx scripts/order-docgen.ts"
38
43
  },
39
44
  "repository": {
40
45
  "type": "git",
@@ -51,66 +56,77 @@
51
56
  "homepage": "https://github.com/Zextras/carbonio-design-system",
52
57
  "sideEffects": false,
53
58
  "devDependencies": {
54
- "@babel/core": "^7.28.5",
55
- "@babel/plugin-transform-runtime": "^7.28.5",
56
- "@babel/preset-env": "^7.28.5",
57
- "@babel/preset-react": "^7.28.5",
58
- "@babel/preset-typescript": "^7.28.5",
59
- "@commitlint/cli": "^19.8.1",
60
- "@commitlint/config-conventional": "^19.8.1",
61
- "@emotion/babel-plugin": "^11.13.5",
62
- "@emotion/jest": "^11.13.0",
63
- "@faker-js/faker": "^9.7.0",
64
- "@microsoft/api-extractor": "^7.52.5",
65
- "@rollup/plugin-babel": "^6.0.4",
66
- "@rollup/plugin-commonjs": "^28.0.6",
67
- "@rollup/plugin-node-resolve": "^16.0.2",
68
- "@rollup/plugin-typescript": "^12.1.4",
69
- "@rollup/plugin-url": "^8.0.2",
59
+ "@babel/core": "7.28.5",
60
+ "@babel/plugin-transform-runtime": "7.28.5",
61
+ "@babel/preset-env": "7.28.5",
62
+ "@babel/preset-react": "7.28.5",
63
+ "@babel/preset-typescript": "7.28.5",
64
+ "@babel/runtime": "7.29.2",
65
+ "@babel/template": "7.27.2",
66
+ "@commitlint/cli": "19.8.1",
67
+ "@commitlint/config-conventional": "19.8.1",
68
+ "@emotion/babel-plugin": "11.13.5",
69
+ "@emotion/jest": "11.13.0",
70
+ "@faker-js/faker": "9.9.0",
71
+ "@microsoft/api-extractor": "7.52.5",
72
+ "@rollup/plugin-babel": "6.0.4",
73
+ "@rollup/plugin-commonjs": "28.0.6",
74
+ "@rollup/plugin-node-resolve": "16.0.2",
75
+ "@rollup/plugin-typescript": "12.1.4",
76
+ "@rollup/plugin-url": "8.0.2",
77
+ "@semantic-release/commit-analyzer": "13.0.0",
78
+ "@semantic-release/github": "11.0.0",
79
+ "@semantic-release/npm": "12.0.2",
80
+ "@semantic-release/release-notes-generator": "14.0.1",
70
81
  "@storybook/addon-designs": "10.0.2",
71
82
  "@storybook/addon-docs": "9.1.19",
72
83
  "@storybook/addon-webpack5-compiler-babel": "3.0.6",
73
84
  "@storybook/icons": "1.4.0",
74
85
  "@storybook/react-webpack5": "9.1.19",
75
- "@storybook/test-runner": "^0.22.0",
76
- "@svgr/cli": "^8.1.0",
77
- "@testing-library/dom": "^10.4.1",
78
- "@testing-library/jest-dom": "^6.9.1",
79
- "@testing-library/react": "^16.3.2",
80
- "@testing-library/user-event": "^14.6.1",
81
- "@types/jest": "^29.5.14",
82
- "@types/jest-image-snapshot": "^6.4.1",
83
- "@types/lodash": "^4.17.24",
84
- "@types/react": "^18.3.28",
85
- "@types/react-dom": "^18.3.7",
86
- "@zextras/carbonio-ui-configs": "^1.0.4",
87
- "babel-loader": "^10.0.0",
88
- "conventional-changelog-conventionalcommits": "^8.0.0",
86
+ "@storybook/test-runner": "0.22.0",
87
+ "@svgr/cli": "8.1.0",
88
+ "@testing-library/dom": "10.4.1",
89
+ "@testing-library/jest-dom": "6.9.1",
90
+ "@testing-library/react": "16.3.2",
91
+ "@testing-library/user-event": "14.6.1",
92
+ "@types/babel__core": "7.20.5",
93
+ "@types/babel__template": "7.4.4",
94
+ "@types/jest": "29.5.14",
95
+ "@types/jest-image-snapshot": "6.4.1",
96
+ "@types/lodash": "4.17.24",
97
+ "@types/react": "18.3.28",
98
+ "@types/react-dom": "18.3.7",
99
+ "@zextras/carbonio-ui-configs": "1.0.4",
100
+ "babel-loader": "10.0.0",
101
+ "conventional-changelog-conventionalcommits": "8.0.0",
89
102
  "create-index": "2.6.0",
90
- "eslint-plugin-notice": "^1.0.0",
91
- "eslint-plugin-storybook": "^0.12.0",
92
- "husky": "^9.1.7",
93
- "identity-obj-proxy": "^3.0.0",
94
- "is-ci": "^4.1.0",
95
- "jest": "^29.7.0",
96
- "jest-environment-jsdom": "^29.7.0",
97
- "jest-fail-on-console": "^3.3.4",
98
- "jest-image-snapshot": "^6.5.2",
99
- "jest-junit": "^16.0.0",
100
- "jsdom": "^25.0.1",
101
- "lodash": "^4.17.23",
102
- "playwright": "^1.49.0",
103
+ "eslint": "8.57.0",
104
+ "eslint-plugin-import": "2.32.0",
105
+ "eslint-plugin-notice": "1.0.0",
106
+ "eslint-plugin-storybook": "0.12.0",
107
+ "husky": "9.1.7",
108
+ "identity-obj-proxy": "3.0.0",
109
+ "is-ci": "4.1.0",
110
+ "jest": "29.7.0",
111
+ "jest-environment-jsdom": "29.7.0",
112
+ "jest-fail-on-console": "3.3.4",
113
+ "jest-image-snapshot": "6.5.2",
114
+ "jest-junit": "16.0.0",
115
+ "jsdom": "25.0.1",
116
+ "lodash": "4.17.23",
117
+ "playwright": "1.49.0",
118
+ "prettier": "2.8.8",
103
119
  "process": "0.11.10",
104
- "react-docgen": "^7.1.1",
105
- "react-docgen-typescript": "^2.2.2",
106
- "rollup": "^4.52.4",
107
- "rollup-plugin-postcss": "^4.0.2",
108
- "semantic-release": "^24.2.9",
109
- "sonarqube-scanner": "^4.3.5",
120
+ "react-docgen": "7.1.1",
121
+ "react-docgen-typescript": "2.2.2",
122
+ "rollup": "4.52.4",
123
+ "rollup-plugin-postcss": "4.0.2",
124
+ "semantic-release": "24.2.9",
125
+ "sonarqube-scanner": "^4.3.6",
110
126
  "storybook": "9.1.19",
111
- "storybook-addon-playground": "^3.0.0",
112
- "ts-node": "^10 >=10.9.2",
113
- "typescript": "~5.8.3"
127
+ "storybook-addon-playground": "3.0.0",
128
+ "ts-node": "10.9.2",
129
+ "typescript": "5.8.3"
114
130
  },
115
131
  "browserslist": [
116
132
  ">1%",
@@ -127,10 +143,21 @@
127
143
  "react-dom": "^18.3.1"
128
144
  },
129
145
  "dependencies": {
130
- "@floating-ui/dom": "^1.6.11",
131
- "core-js": "^3.38.1",
132
- "darkreader": "^4.9.105",
133
- "polished": "^4.3.1",
134
- "react-datepicker": "^7.5.0"
146
+ "@floating-ui/dom": "1.6.12",
147
+ "core-js": "3.39.0",
148
+ "darkreader": "4.9.105",
149
+ "polished": "4.3.1",
150
+ "react-datepicker": "7.5.0"
151
+ },
152
+ "pnpm": {
153
+ "onlyBuiltDependencies": [
154
+ "@swc/core",
155
+ "esbuild",
156
+ "unrs-resolver"
157
+ ],
158
+ "overrides": {
159
+ "prettier@^3": "3.3.3",
160
+ "eslint-plugin-prettier": "5.2.1"
161
+ }
135
162
  }
136
163
  }