pds-dev-kit-web-test 2.4.5 → 2.4.7
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/dist/index.esm.js +102853 -0
- package/dist/src/common/styles/index.d.ts +0 -16
- package/package.json +5 -4
- package/release-note.md +6 -2
- package/{rollup.config.js → rollup.config.mjs} +31 -13
- package/dist/index.cjs.js +0 -1076
@@ -1,19 +1,3 @@
|
|
1
|
-
export declare const spacing: {
|
2
|
-
spacingA: string;
|
3
|
-
spacingB: string;
|
4
|
-
spacingC: string;
|
5
|
-
spacingD: string;
|
6
|
-
spacingE: string;
|
7
|
-
spacingF: string;
|
8
|
-
spacingG: string;
|
9
|
-
spacingH: string;
|
10
|
-
spacingI: string;
|
11
|
-
spacingJ: string;
|
12
|
-
spacingK: string;
|
13
|
-
spacingL: string;
|
14
|
-
spacingM: string;
|
15
|
-
spacingN: string;
|
16
|
-
};
|
17
1
|
export declare const theme: {
|
18
2
|
fontWeight: {
|
19
3
|
normal: string;
|
package/package.json
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
{
|
2
2
|
"name": "pds-dev-kit-web-test",
|
3
|
-
"version": "2.4.
|
3
|
+
"version": "2.4.7",
|
4
4
|
"license": "MIT",
|
5
5
|
"private": false,
|
6
|
-
"main": "dist/index.
|
6
|
+
"main": "dist/index.esm.js",
|
7
7
|
"types": "dist/index.d.ts",
|
8
8
|
"flies": [
|
9
9
|
"/dist"
|
10
10
|
],
|
11
11
|
"peerDependencies": {
|
12
|
-
"react": "^17.0.2",
|
13
|
-
"react-dom": "^17.0.2"
|
12
|
+
"react": "^17.0.2 || ^18.0.0",
|
13
|
+
"react-dom": "^17.0.2 || ^18.0.0"
|
14
14
|
},
|
15
15
|
"dependencies": {
|
16
16
|
"@babel/preset-env": "^7.24.7",
|
@@ -22,6 +22,7 @@
|
|
22
22
|
"@types/google-spreadsheet": "^3.1.5",
|
23
23
|
"@types/react": "^17.0.27",
|
24
24
|
"@types/react-dom": "^17.0.9",
|
25
|
+
"babel-plugin-styled-components": "^2.1.4",
|
25
26
|
"dotenv": "^8.2.0",
|
26
27
|
"google-spreadsheet": "^3.1.15",
|
27
28
|
"i18next": "^21.3.2",
|
package/release-note.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# PDS-DEV-KIT-WEB Release Notes
|
2
|
-
## [v2.4.
|
2
|
+
## [v2.4.7]
|
3
3
|
## release|https://design.storybook.publ.biz/
|
4
4
|
|
5
5
|
### bundle
|
6
|
-
*
|
6
|
+
* peerDependencies에 react18추가
|
7
|
+
* rollup.config.mjs 업데이트
|
8
|
+
* - external 확장하여 (!) Unresolved dependencies warning해결
|
9
|
+
* - styled component babel plugin 추가
|
10
|
+
* webpack.confing.js 변경
|
@@ -1,35 +1,53 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
import resolve from '@rollup/plugin-node-resolve';
|
2
|
+
import babel from '@rollup/plugin-babel';
|
3
|
+
import typescript from '@rollup/plugin-typescript';
|
4
|
+
import json from '@rollup/plugin-json';
|
5
|
+
import commonjs from '@rollup/plugin-commonjs';
|
6
|
+
import sourcemaps from 'rollup-plugin-sourcemaps';
|
7
|
+
import alias from '@rollup/plugin-alias';
|
8
8
|
|
9
|
-
|
9
|
+
import packageJson from './package.json' assert { type: 'json' };
|
10
10
|
|
11
|
-
|
11
|
+
export default {
|
12
12
|
input: './index.ts', // 진입 경로
|
13
13
|
output: [
|
14
14
|
{
|
15
15
|
file: packageJson.main,
|
16
|
-
format: '
|
16
|
+
format: 'esm',
|
17
17
|
sourcemap: false
|
18
18
|
}
|
19
19
|
],
|
20
|
-
|
20
|
+
external: [
|
21
|
+
'react',
|
22
|
+
'react-dom',
|
23
|
+
'tslib',
|
24
|
+
'react/jsx-runtime',
|
25
|
+
'smoothscroll-polyfill',
|
26
|
+
'styled-components',
|
27
|
+
'prop-types',
|
28
|
+
'react-router',
|
29
|
+
'void-elements',
|
30
|
+
'nuka-carousel',
|
31
|
+
'lottie-react'
|
32
|
+
],
|
21
33
|
plugins: [
|
22
34
|
// 바벨 트랜스파일러 설정
|
23
35
|
babel({
|
36
|
+
exclude: 'node_modules/**',
|
24
37
|
babelHelpers: 'bundled',
|
25
38
|
presets: ['@babel/preset-env', '@babel/preset-react', '@babel/preset-typescript'],
|
26
|
-
extensions: ['.js', '.jsx', '.ts', '.tsx']
|
39
|
+
extensions: ['.js', '.jsx', '.ts', '.tsx'],
|
40
|
+
plugins: ['babel-plugin-styled-components']
|
27
41
|
}),
|
28
42
|
typescript({
|
29
43
|
tsconfig: './tsconfig.json'
|
30
44
|
}),
|
31
45
|
json(),
|
32
|
-
commonjs(
|
46
|
+
commonjs({
|
47
|
+
include: 'node_modules/**',
|
48
|
+
sourceMap: false,
|
49
|
+
ignoreGlobal: true // this가 undefined로 처리되지 않도록 설정,
|
50
|
+
}),
|
33
51
|
alias({
|
34
52
|
entries: [
|
35
53
|
{ find: '@common', replacement: 'src/common' },
|