create-bananass 0.5.1 → 0.6.0
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/README.md +2 -2
- package/package.json +4 -4
- package/src/cli.js +1 -1
- package/templates/javascript-cjs/package.json +4 -5
- package/templates/javascript-cjs/prettier.config.mjs +3 -6
- package/templates/javascript-esm/package.json +4 -5
- package/templates/javascript-esm/prettier.config.mjs +3 -6
- package/templates/typescript-cjs/package.json +6 -7
- package/templates/typescript-cjs/prettier.config.mjs +3 -6
- package/templates/typescript-esm/package.json +6 -7
- package/templates/typescript-esm/prettier.config.mjs +3 -6
package/README.md
CHANGED
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
- `fs` 모듈을 사용한 더욱 빠른 입출력 지원.
|
|
110
110
|
- 편의를 위한 다양한 CLI 명령어 지원.
|
|
111
111
|
- 풍부하고 상세한 문서 지원.
|
|
112
|
-
- ESLint 및 Prettier
|
|
112
|
+
- ESLint 및 Prettier 설정 지원.
|
|
113
113
|
|
|
114
114
|
어떤가요? 바나나 프레임워크를 통해 더욱 편리한 문제 풀이를 경험해보고 싶지 않으신가요?
|
|
115
115
|
|
|
@@ -154,7 +154,7 @@ npm create bananass@latest
|
|
|
154
154
|
|
|
155
155
|
## 보안<sup>Security</sup>
|
|
156
156
|
|
|
157
|
-
보안 문제를 발견하셨나요? [보안](
|
|
157
|
+
보안 문제를 발견하셨나요? [보안](https://github.com/lumirlumir/.github/blob/main/SECURITY_KO.md#%EB%B3%B4%EC%95%88) 문서를 참고해주세요.
|
|
158
158
|
|
|
159
159
|
## 라이선스<sup>License</sup>
|
|
160
160
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-bananass",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Create a Bananass framework project for solving Baekjoon problems with JavaScript/TypeScript.🍌",
|
|
6
6
|
"exports": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"templates",
|
|
19
19
|
"LICENSE.md",
|
|
20
20
|
"README.md",
|
|
21
|
-
"!src/**/*.test.js",
|
|
21
|
+
"!src/**/*.test.{js,ts}",
|
|
22
22
|
"!**/fixtures/**"
|
|
23
23
|
],
|
|
24
24
|
"keywords": [
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"dev": "node src/cli.js"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"bananass-utils-console": "^0.
|
|
60
|
-
"commander": "^14.0.
|
|
59
|
+
"bananass-utils-console": "^0.6.0",
|
|
60
|
+
"commander": "^14.0.2",
|
|
61
61
|
"consola": "^3.4.2"
|
|
62
62
|
}
|
|
63
63
|
}
|
package/src/cli.js
CHANGED
|
@@ -23,7 +23,7 @@ import { program } from 'commander';
|
|
|
23
23
|
import { consola } from 'consola';
|
|
24
24
|
|
|
25
25
|
// --------------------------------------------------------------------------------
|
|
26
|
-
//
|
|
26
|
+
// Typedef
|
|
27
27
|
// --------------------------------------------------------------------------------
|
|
28
28
|
|
|
29
29
|
/**
|
|
@@ -21,10 +21,9 @@
|
|
|
21
21
|
"prettier:fix": "prettier . --write --ignore-unknown"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"bananass": "^0.
|
|
25
|
-
"eslint": "^9.
|
|
26
|
-
"eslint-config-bananass": "^0.
|
|
27
|
-
"prettier": "^3.
|
|
28
|
-
"prettier-config-bananass": "^0.5.1"
|
|
24
|
+
"bananass": "^0.6.0",
|
|
25
|
+
"eslint": "^9.39.2",
|
|
26
|
+
"eslint-config-bananass": "^0.6.0",
|
|
27
|
+
"prettier": "^3.8.1"
|
|
29
28
|
}
|
|
30
29
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import bananass from 'prettier-config-bananass';
|
|
2
|
-
|
|
3
1
|
/** @type {import("prettier").Config} */
|
|
4
2
|
export default {
|
|
5
|
-
|
|
3
|
+
printWidth: 90,
|
|
4
|
+
singleQuote: true,
|
|
5
|
+
arrowParens: 'avoid',
|
|
6
6
|
|
|
7
7
|
// Add your custom Prettier configuration here.
|
|
8
8
|
//
|
|
@@ -12,6 +12,3 @@ export default {
|
|
|
12
12
|
// singleQuote: false,
|
|
13
13
|
// ...
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
// Please take a look at https://github.com/lumirlumir/npm-bananass/blob/main/packages/prettier-config-bananass/src/index.js
|
|
17
|
-
// which contains the default configuration.
|
|
@@ -21,10 +21,9 @@
|
|
|
21
21
|
"prettier:fix": "prettier . --write --ignore-unknown"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"bananass": "^0.
|
|
25
|
-
"eslint": "^9.
|
|
26
|
-
"eslint-config-bananass": "^0.
|
|
27
|
-
"prettier": "^3.
|
|
28
|
-
"prettier-config-bananass": "^0.5.1"
|
|
24
|
+
"bananass": "^0.6.0",
|
|
25
|
+
"eslint": "^9.39.2",
|
|
26
|
+
"eslint-config-bananass": "^0.6.0",
|
|
27
|
+
"prettier": "^3.8.1"
|
|
29
28
|
}
|
|
30
29
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import bananass from 'prettier-config-bananass';
|
|
2
|
-
|
|
3
1
|
/** @type {import("prettier").Config} */
|
|
4
2
|
export default {
|
|
5
|
-
|
|
3
|
+
printWidth: 90,
|
|
4
|
+
singleQuote: true,
|
|
5
|
+
arrowParens: 'avoid',
|
|
6
6
|
|
|
7
7
|
// Add your custom Prettier configuration here.
|
|
8
8
|
//
|
|
@@ -12,6 +12,3 @@ export default {
|
|
|
12
12
|
// singleQuote: false,
|
|
13
13
|
// ...
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
// Please take a look at https://github.com/lumirlumir/npm-bananass/blob/main/packages/prettier-config-bananass/src/index.js
|
|
17
|
-
// which contains the default configuration.
|
|
@@ -22,12 +22,11 @@
|
|
|
22
22
|
"tsc": "tsc"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"bananass": "^0.
|
|
26
|
-
"eslint": "^9.
|
|
27
|
-
"eslint-config-bananass": "^0.
|
|
28
|
-
"jiti": "^2.
|
|
29
|
-
"prettier": "^3.
|
|
30
|
-
"
|
|
31
|
-
"typescript": "^5.9.2"
|
|
25
|
+
"bananass": "^0.6.0",
|
|
26
|
+
"eslint": "^9.39.2",
|
|
27
|
+
"eslint-config-bananass": "^0.6.0",
|
|
28
|
+
"jiti": "^2.6.1",
|
|
29
|
+
"prettier": "^3.8.1",
|
|
30
|
+
"typescript": "^5.9.3"
|
|
32
31
|
}
|
|
33
32
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import bananass from 'prettier-config-bananass';
|
|
2
|
-
|
|
3
1
|
/** @type {import("prettier").Config} */
|
|
4
2
|
export default {
|
|
5
|
-
|
|
3
|
+
printWidth: 90,
|
|
4
|
+
singleQuote: true,
|
|
5
|
+
arrowParens: 'avoid',
|
|
6
6
|
|
|
7
7
|
// Add your custom Prettier configuration here.
|
|
8
8
|
//
|
|
@@ -12,6 +12,3 @@ export default {
|
|
|
12
12
|
// singleQuote: false,
|
|
13
13
|
// ...
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
// Please take a look at https://github.com/lumirlumir/npm-bananass/blob/main/packages/prettier-config-bananass/src/index.js
|
|
17
|
-
// which contains the default configuration.
|
|
@@ -22,12 +22,11 @@
|
|
|
22
22
|
"tsc": "tsc"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"bananass": "^0.
|
|
26
|
-
"eslint": "^9.
|
|
27
|
-
"eslint-config-bananass": "^0.
|
|
28
|
-
"jiti": "^2.
|
|
29
|
-
"prettier": "^3.
|
|
30
|
-
"
|
|
31
|
-
"typescript": "^5.9.2"
|
|
25
|
+
"bananass": "^0.6.0",
|
|
26
|
+
"eslint": "^9.39.2",
|
|
27
|
+
"eslint-config-bananass": "^0.6.0",
|
|
28
|
+
"jiti": "^2.6.1",
|
|
29
|
+
"prettier": "^3.8.1",
|
|
30
|
+
"typescript": "^5.9.3"
|
|
32
31
|
}
|
|
33
32
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import bananass from 'prettier-config-bananass';
|
|
2
|
-
|
|
3
1
|
/** @type {import("prettier").Config} */
|
|
4
2
|
export default {
|
|
5
|
-
|
|
3
|
+
printWidth: 90,
|
|
4
|
+
singleQuote: true,
|
|
5
|
+
arrowParens: 'avoid',
|
|
6
6
|
|
|
7
7
|
// Add your custom Prettier configuration here.
|
|
8
8
|
//
|
|
@@ -12,6 +12,3 @@ export default {
|
|
|
12
12
|
// singleQuote: false,
|
|
13
13
|
// ...
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
// Please take a look at https://github.com/lumirlumir/npm-bananass/blob/main/packages/prettier-config-bananass/src/index.js
|
|
17
|
-
// which contains the default configuration.
|