@sendoutcards/quantum-design-ui 2.0.0-alpha.7 → 2.0.0-canary.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.
package/package.json CHANGED
@@ -1,60 +1,47 @@
1
1
  {
2
2
  "name": "@sendoutcards/quantum-design-ui",
3
- "version": "2.0.0-alpha.7",
3
+ "version": "2.0.0-canary.2",
4
+ "type": "module",
4
5
  "description": "UI component library for Quantum Design System",
5
- "module": "dist/index.mjs",
6
- "jsnext:main": "dist/index.mjs",
7
- "typings": "dist/index.d.ts",
6
+ "module": "dist/index.js",
7
+ "main": "dist/index.js",
8
+ "types": "dist/index.d.ts",
9
+ "style": "dist/index.css",
8
10
  "exports": {
9
11
  ".": {
10
12
  "types": "./dist/index.d.ts",
11
- "import": "./dist/index.mjs",
12
- "require": "./dist/index.mjs"
13
- }
13
+ "import": "./dist/index.js",
14
+ "require": "./dist/index.js"
15
+ },
16
+ "./style.css": "./dist/index.css"
14
17
  },
15
18
  "author": "nickqweaver",
16
19
  "license": "MIT",
17
- "jest": {
18
- "transform": {
19
- ".(js|ts|tsx)": "ts-jest"
20
- },
21
- "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
22
- "moduleFileExtensions": [
23
- "ts",
24
- "tsx",
25
- "js",
26
- "json"
27
- ],
28
- "moduleDirectories": [
29
- "node_modules",
30
- "<rootDir>"
31
- ]
32
- },
20
+ "files": [
21
+ "dist"
22
+ ],
33
23
  "scripts": {
24
+ "preinstall": "npx only-allow npm",
34
25
  "build": "vite build",
35
26
  "test": "jest",
36
- "lint": "eslint src",
27
+ "lint": "ESLINT_USE_FLAT_CONFIG=false eslint src",
37
28
  "lint-staged": "lint-staged",
38
- "publish": "npm publish",
39
29
  "storybook": "storybook dev -p 6006",
40
30
  "build-storybook": "storybook build",
41
- "prettier": "prettier --write src"
31
+ "prettier": "prettier --write src",
32
+ "clean": "rm -rf ./node_modules package-lock.json && npm cache clean --force",
33
+ "reinstall": "npm run clean && npm install"
42
34
  },
43
35
  "peerDependencies": {
44
- "@types/react": "<18",
45
- "react": "<18",
46
- "react-dom": "<18"
36
+ "@types/react": ">=18",
37
+ "react": ">=18",
38
+ "react-dom": ">=18"
47
39
  },
48
- "files": [
49
- "dist"
50
- ],
51
40
  "dependencies": {
52
- "@babel/preset-react": "^7.10.4",
53
41
  "@types/color": "^3.0.1",
54
42
  "@types/react-color": "^3.0.4",
55
43
  "@types/react-infinite-scroller": "^1.2.1",
56
44
  "@types/react-lazyload": "^3.1.0",
57
- "@zerollup/ts-transform-paths": "^1.7.18",
58
45
  "color": "^3.1.2",
59
46
  "fast-deep-equal": "^3.1.3",
60
47
  "framer-motion": "6.5.1",
@@ -66,38 +53,78 @@
66
53
  "react-infinite-scroll-component": "^6.1.0",
67
54
  "react-infinite-scroller": "^1.2.4",
68
55
  "react-parallax-tilt": "^1.7.228",
69
- "react-use-dimensions": "^1.2.1",
70
- "ttypescript": "^1.5.15",
71
56
  "use-callback-ref": "^1.2.4",
72
57
  "use-resize-observer": "^7.0.0"
73
58
  },
74
59
  "devDependencies": {
60
+ "@semantic-release/changelog": "^6.0.3",
61
+ "@semantic-release/git": "^10.0.1",
75
62
  "@sendoutcards/prettier-config": "*",
76
- "@storybook/addon-actions": "^8.6.4",
77
- "@storybook/addon-essentials": "^8.6.4",
78
- "@storybook/addon-knobs": "8.0.1",
79
- "@storybook/addon-links": "^8.6.4",
80
- "@storybook/react": "^8.6.4",
81
- "@storybook/react-vite": "^8.6.14",
82
- "@types/jest": "^26.0.13",
63
+ "@storybook/addon-essentials": "^8.6.15",
64
+ "@storybook/addon-links": "^8.6.15",
65
+ "@storybook/react": "^8.6.15",
66
+ "@storybook/react-vite": "^8.6.15",
67
+ "@testing-library/jest-dom": "^5.11.4",
68
+ "@testing-library/react": "^14.0.0",
69
+ "@testing-library/user-event": "^12.1.10",
70
+ "@types/jest": "^29.5.12",
83
71
  "@types/node": "^22.10.5",
72
+ "@types/react": "^18.3.0",
73
+ "@types/react-dom": "^18.3.0",
74
+ "@typescript-eslint/eslint-plugin": "^5.62.0",
75
+ "@typescript-eslint/parser": "^5.62.0",
84
76
  "@vitejs/plugin-react": "^4.3.4",
85
- "jest": "^26.4.2",
86
- "react": "^17.0.2",
87
- "react-is": "^16.13.1",
88
- "storybook": "^8.6.4",
89
- "ts-jest": "^26.3.0",
77
+ "conventional-changelog-conventionalcommits": "^8.0.0",
78
+ "esbuild": "^0.25.6",
79
+ "eslint": "^8.57.0",
80
+ "eslint-config-react-app": "^7.0.1",
81
+ "eslint-plugin-import": "^2.29.1",
82
+ "eslint-plugin-jsx-a11y": "^6.8.0",
83
+ "eslint-plugin-promise": "^6.1.1",
84
+ "eslint-plugin-react": "^7.34.1",
85
+ "eslint-plugin-react-hooks": "^4.6.0",
86
+ "husky": "^6.0.0",
87
+ "jest": "^29.7.0",
88
+ "lint-staged": "*",
89
+ "only-allow": "^1.2.2",
90
+ "prettier": "*",
91
+ "react": "^18.3.1",
92
+ "react-dom": "^18.3.1",
93
+ "react-is": "^18.3.1",
94
+ "semantic-release": "^25.0.2",
95
+ "storybook": "^8.6.15",
96
+ "ts-jest": "^29.1.2",
90
97
  "typescript": "^5.7.3",
91
98
  "vite": "^6.0.7",
92
- "vite-plugin-dts": "^4.5.4"
99
+ "vite-plugin-dts": "^4.5.4",
100
+ "vite-plugin-lib-inject-css": "^2.1.0"
101
+ },
102
+ "overrides": {
103
+ "webpack": "5.98.0"
104
+ },
105
+ "jest": {
106
+ "transform": {
107
+ ".(js|ts|tsx)": "ts-jest"
108
+ },
109
+ "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
110
+ "moduleFileExtensions": [
111
+ "ts",
112
+ "tsx",
113
+ "js",
114
+ "json"
115
+ ],
116
+ "moduleDirectories": [
117
+ "node_modules",
118
+ "<rootDir>"
119
+ ]
93
120
  },
94
121
  "lint-staged": {
95
122
  "*.{ts,tsx}": [
96
- "../../node_modules/.bin/eslint --ext js,ts,tsx"
123
+ "npm run lint"
97
124
  ],
98
125
  "*.{ts,tsx,json,css}": [
99
- "prettier --write",
100
- "git add"
126
+ "prettier --write"
101
127
  ]
102
- }
128
+ },
129
+ "prettier": "@sendoutcards/prettier-config"
103
130
  }