pds-dev-kit-web 2.2.317 → 2.2.318-beta.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/.nvmrc ADDED
@@ -0,0 +1 @@
1
+ 20
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web",
3
- "version": "2.2.317",
3
+ "version": "2.2.318-beta.1",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -9,63 +9,25 @@
9
9
  "/dist"
10
10
  ],
11
11
  "dependencies": {
12
- "@testing-library/jest-dom": "^5.14.1",
13
- "@testing-library/react": "^11.2.7",
14
- "@testing-library/user-event": "^12.8.3",
15
12
  "@tinymce/tinymce-react": "^4.3.0",
16
- "@types/google-spreadsheet": "^3.1.5",
17
- "@types/react": "^17.0.27",
18
- "@types/react-dom": "^17.0.9",
19
- "@types/uuid": "^8.3.4",
20
- "dotenv": "^8.2.0",
21
- "google-spreadsheet": "^3.1.15",
22
13
  "i18next": "^21.3.2",
23
14
  "i18next-browser-languagedetector": "^6.1.2",
24
15
  "i18next-intervalplural-postprocessor": "^3.0.0",
25
16
  "lottie-react": "^2.3.1",
26
- "nuka-carousel": "^4.8.4",
17
+ "nuka-carousel": "^5.6.0",
27
18
  "publ-echo": "^0.0.134",
28
- "react-hook-form": "^7.28.1",
29
19
  "react-i18next": "^11.12.0",
30
- "react-router-dom": "^5.2.0",
31
- "react-scripts": "4.0.3",
32
20
  "smoothscroll-polyfill": "^0.4.4",
33
- "styled-components": "^5.2.1",
34
21
  "swiper": "^9.4.1",
35
22
  "tinymce": "^6.3.1",
36
- "tsc-init": "^2.1.0",
37
- "uuid": "^8.3.2",
38
- "web-vitals": "^1.1.2"
23
+ "uuid": "^8.3.2"
39
24
  },
40
25
  "scripts": {
41
26
  "build": "rm -rf ./dist && tsc && tsc-alias && npm run copy:tinymce",
42
27
  "copy:tinymce": "node scripts/copy-tinymce.js",
43
- "prepare": "npm run build | husky install",
44
- "sync:color": "dotenv -e env/.env node syncColor.ts",
45
- "storybook": "start-storybook -p 6006",
46
- "build:storybook": "build-storybook",
47
- "chromatic": "chromatic --project-token=f76344f57b83"
48
- },
49
- "babel": {
50
- "presets": [
51
- "@babel/preset-react"
52
- ]
53
- },
54
- "eslintConfig": {
55
- "extends": [
56
- "react-app",
57
- "react-app/jest"
58
- ],
59
- "overrides": [
60
- {
61
- "files": [
62
- "**/*.stories.*"
63
- ],
64
- "rules": {
65
- "import/no-anonymous-default-export": "off"
66
- }
67
- }
68
- ]
28
+ "prepare": "husky install",
29
+ "prepack": "npm run build",
30
+ "sync:color": "dotenv -e env/.env node syncColor.ts"
69
31
  },
70
32
  "browserslist": {
71
33
  "production": [
@@ -80,22 +42,18 @@
80
42
  ]
81
43
  },
82
44
  "devDependencies": {
83
- "@babel/cli": "^7.10.5",
84
- "@babel/preset-react": "^7.10.4",
85
- "@storybook/addon-actions": "^6.3.12",
86
- "@storybook/addon-essentials": "^6.3.12",
87
- "@storybook/addon-links": "^6.3.12",
88
- "@storybook/node-logger": "^6.3.12",
89
- "@storybook/preset-create-react-app": "^3.2.0",
90
- "@storybook/react": "^6.3.12",
45
+ "@types/google-spreadsheet": "^3.1.5",
91
46
  "@types/lodash": "^4.14.175",
92
47
  "@types/node": "^16.10.2",
48
+ "@types/react": "^17.0.27",
49
+ "@types/react-dom": "^17.0.9",
93
50
  "@types/react-router-dom": "^5.3.3",
94
51
  "@types/smoothscroll-polyfill": "^0.3.1",
95
52
  "@types/styled-components": "^5.1.9",
53
+ "@types/uuid": "^8.3.4",
96
54
  "@typescript-eslint/eslint-plugin": "^6.4.1",
97
55
  "@typescript-eslint/parser": "^6.3.0",
98
- "chromatic": "^6.0.6",
56
+ "dotenv": "^8.2.0",
99
57
  "dotenv-cli": "^4.0.0",
100
58
  "eslint": "^7.27.0",
101
59
  "eslint-config-airbnb": "^18.2.1",
@@ -105,23 +63,28 @@
105
63
  "eslint-plugin-import": "^2.23.4",
106
64
  "eslint-plugin-prettier": "^4.0.0",
107
65
  "eslint-plugin-react": "^7.24.0",
66
+ "google-spreadsheet": "^3.1.15",
108
67
  "husky": "^8.0.3",
109
68
  "lint-staged": "^11.0.0",
110
69
  "postcss-styled-components": "^0.2.1",
111
70
  "prettier": "^2.4.1",
112
71
  "react": "^17.0.2",
113
72
  "react-dom": "^17.0.2",
73
+ "react-hook-form": "^7.28.1",
74
+ "react-router-dom": "^5.2.0",
75
+ "styled-components": "^5.2.1",
114
76
  "stylelint": "^15.0.0",
115
77
  "stylelint-config-standard": "^30.0.0",
116
78
  "stylelint-order": "^6.0.4",
117
- "ts-loader": "^8.4.0",
118
79
  "tsc-alias": "^1.8.3",
119
80
  "tsconfig-paths": "^4.1.2",
120
- "typescript": "^4.9.5",
121
- "webpack": "^4.46.0",
122
- "webpack-cli": "^4.9.0"
81
+ "typescript": "^4.9.5"
123
82
  },
124
- "overrides": {
125
- "@storybook/react-docgen-typescript-plugin": "1.0.2--canary.12.cf35881ff63bf958b8998e8dd1dfd5626ee868c2.0"
83
+ "peerDependencies": {
84
+ "react": "^17.0.2 || ^18.0.0",
85
+ "react-dom": "^17.0.2 || ^18.0.0",
86
+ "react-hook-form": "^7.28.1",
87
+ "react-router-dom": "^5.2.0",
88
+ "styled-components": "^5.2.1"
126
89
  }
127
90
  }
package/release-note.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v2.2.317]
2
+ ## [v2.2.318-beta.1]
3
3
  ## daily|https://design.storybook.publ.biz/
4
4
 
5
5
  ### 업데이트 사항
6
- * 텍스트 에디터 컴포넌트 볼드·기울임·Heading 서식이 전역 span 스타일에 덮이는 문제 수정
6
+ * React 18 앱에서 React가 중복 설치되어 TextField 등 폼 컴포넌트가 동작하지 않던 문제 수정 (react, react-dom, styled-components, react-hook-form, react-router-dom을 peerDependencies로 전환)
7
+ * 사용하는 앱에 함께 설치되던 불필요한 의존성 제거 (react-scripts, 테스트·타입 패키지 등)
8
+ * nuka-carousel 5 업그레이드 (ImageSlide, React 18 지원)
9
+ * Storybook·Chromatic 제거, 패키지 빌드를 배포 시점(prepack)으로 이동