create-bananass 0.4.1 → 0.5.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
CHANGED
|
@@ -137,7 +137,7 @@ npm create bananass@latest
|
|
|
137
137
|
|
|
138
138
|
다만, 올바른 커뮤니티 환경을 준수하고 더 나은 오픈 소스를 만들기 위해, 바나나 프레임워크에 기여하기 전 반드시 아래 내용들을 확인해주세요.
|
|
139
139
|
|
|
140
|
-
- [기여자 행동 강령 규약](
|
|
140
|
+
- [기여자 행동 강령 규약](https://github.com/lumirlumir/.github/blob/main/CODE_OF_CONDUCT_KO.md#%EA%B8%B0%EC%97%AC%EC%9E%90-%ED%96%89%EB%8F%99-%EA%B0%95%EB%A0%B9-%EA%B7%9C%EC%95%BD)
|
|
141
141
|
- [기여하기](CONTRIBUTING.md)
|
|
142
142
|
|
|
143
143
|
## 버전 정책<sup>Versioning</sup>
|
|
@@ -146,7 +146,7 @@ npm create bananass@latest
|
|
|
146
146
|
|
|
147
147
|
## 기여자 행동 강령 규약<sup>Code of Conduct</sup>
|
|
148
148
|
|
|
149
|
-
커뮤니티에 기여하기 전, [기여자 행동 강령 규약](
|
|
149
|
+
커뮤니티에 기여하기 전, [기여자 행동 강령 규약](https://github.com/lumirlumir/.github/blob/main/CODE_OF_CONDUCT_KO.md#%EA%B8%B0%EC%97%AC%EC%9E%90-%ED%96%89%EB%8F%99-%EA%B0%95%EB%A0%B9-%EA%B7%9C%EC%95%BD)을 참고해주세요.
|
|
150
150
|
|
|
151
151
|
## 변경 사항<sup>Change Log</sup>
|
|
152
152
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-bananass",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Create a Bananass framework project for solving Baekjoon problems with JavaScript/TypeScript.🍌",
|
|
6
6
|
"exports": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"url": "https://github.com/lumirlumir/npm-bananass/issues"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
|
-
"node": "^20.
|
|
47
|
+
"node": "^20.19.0 || ^22.13.0 || >=24.0.0"
|
|
48
48
|
},
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"provenance": true
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"dev": "node src/cli.js"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"bananass-utils-console": "^0.
|
|
59
|
+
"bananass-utils-console": "^0.5.0",
|
|
60
60
|
"commander": "^14.0.1",
|
|
61
61
|
"consola": "^3.4.2"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "fb88d1af9375f2f49f56402a17216a7a217a6ac0"
|
|
64
64
|
}
|
package/src/cli.js
CHANGED
|
@@ -43,7 +43,7 @@ import { consola } from 'consola';
|
|
|
43
43
|
// Declarations
|
|
44
44
|
// --------------------------------------------------------------------------------
|
|
45
45
|
|
|
46
|
-
/** @type {
|
|
46
|
+
/** @type {{ description: string, homepage: string, name: string, version: string }} */
|
|
47
47
|
const {
|
|
48
48
|
description: pkgDescription,
|
|
49
49
|
homepage: pkgHomepage,
|
|
@@ -71,7 +71,10 @@ program
|
|
|
71
71
|
.option('--skip-git', 'skip initializing git', false)
|
|
72
72
|
.option('--skip-install', 'skip installing packages with npm', false)
|
|
73
73
|
.action(
|
|
74
|
-
async (
|
|
74
|
+
async (
|
|
75
|
+
/** @type {string} */ cliDirectory,
|
|
76
|
+
/** @type {Required<cliOptions>} */ cliOptions,
|
|
77
|
+
) => {
|
|
75
78
|
// --------------------------------------------------------------------------
|
|
76
79
|
// CLI
|
|
77
80
|
// --------------------------------------------------------------------------
|
|
@@ -266,7 +269,7 @@ program
|
|
|
266
269
|
|
|
267
270
|
installExtension.on('close', code => {
|
|
268
271
|
if (code === 0) {
|
|
269
|
-
res();
|
|
272
|
+
res(undefined);
|
|
270
273
|
} else {
|
|
271
274
|
rej(
|
|
272
275
|
new Error(
|
|
@@ -308,7 +311,7 @@ program
|
|
|
308
311
|
|
|
309
312
|
gitInit.on('close', code => {
|
|
310
313
|
if (code === 0) {
|
|
311
|
-
res();
|
|
314
|
+
res(undefined);
|
|
312
315
|
} else {
|
|
313
316
|
rej(new Error(`git init failed with exit code ${code}`));
|
|
314
317
|
}
|
|
@@ -342,7 +345,7 @@ program
|
|
|
342
345
|
|
|
343
346
|
npmInstall.on('close', code => {
|
|
344
347
|
if (code === 0) {
|
|
345
|
-
res();
|
|
348
|
+
res(undefined);
|
|
346
349
|
} else {
|
|
347
350
|
rej(new Error(`npm install failed with exit code ${code}`));
|
|
348
351
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"private": true,
|
|
3
3
|
"name": "create-bananass-javascript-cjs",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.5.0",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"engines": {
|
|
7
|
-
"node": "^20.
|
|
7
|
+
"node": "^20.19.0 || ^22.13.0 || >=24.0.0"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"add": "echo `add` command is still working in progress!",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"prettier:fix": "prettier . --write --ignore-unknown"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"bananass": "^0.
|
|
25
|
+
"bananass": "^0.5.0",
|
|
26
26
|
"eslint": "^9.35.0",
|
|
27
|
-
"eslint-config-bananass": "^0.
|
|
27
|
+
"eslint-config-bananass": "^0.5.0",
|
|
28
28
|
"prettier": "^3.6.2",
|
|
29
|
-
"prettier-config-bananass": "^0.
|
|
29
|
+
"prettier-config-bananass": "^0.5.0"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"private": true,
|
|
3
3
|
"name": "create-bananass-javascript-esm",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.5.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
|
-
"node": "^20.
|
|
7
|
+
"node": "^20.19.0 || ^22.13.0 || >=24.0.0"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"add": "echo `add` command is still working in progress!",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"prettier:fix": "prettier . --write --ignore-unknown"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"bananass": "^0.
|
|
25
|
+
"bananass": "^0.5.0",
|
|
26
26
|
"eslint": "^9.35.0",
|
|
27
|
-
"eslint-config-bananass": "^0.
|
|
27
|
+
"eslint-config-bananass": "^0.5.0",
|
|
28
28
|
"prettier": "^3.6.2",
|
|
29
|
-
"prettier-config-bananass": "^0.
|
|
29
|
+
"prettier-config-bananass": "^0.5.0"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"private": true,
|
|
3
3
|
"name": "create-bananass-typescript-cjs",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.5.0",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"engines": {
|
|
7
|
-
"node": "^20.
|
|
7
|
+
"node": "^20.19.0 || ^22.13.0 || >=24.0.0"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"add": "echo `add` command is still working in progress!",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"tsc": "tsc"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"bananass": "^0.
|
|
26
|
+
"bananass": "^0.5.0",
|
|
27
27
|
"eslint": "^9.35.0",
|
|
28
|
-
"eslint-config-bananass": "^0.
|
|
28
|
+
"eslint-config-bananass": "^0.5.0",
|
|
29
29
|
"jiti": "^2.5.1",
|
|
30
30
|
"prettier": "^3.6.2",
|
|
31
|
-
"prettier-config-bananass": "^0.
|
|
31
|
+
"prettier-config-bananass": "^0.5.0",
|
|
32
32
|
"typescript": "^5.9.2"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"private": true,
|
|
3
3
|
"name": "create-bananass-typescript-esm",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.5.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
|
-
"node": "^20.
|
|
7
|
+
"node": "^20.19.0 || ^22.13.0 || >=24.0.0"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"add": "echo `add` command is still working in progress!",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"tsc": "tsc"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"bananass": "^0.
|
|
26
|
+
"bananass": "^0.5.0",
|
|
27
27
|
"eslint": "^9.35.0",
|
|
28
|
-
"eslint-config-bananass": "^0.
|
|
28
|
+
"eslint-config-bananass": "^0.5.0",
|
|
29
29
|
"jiti": "^2.5.1",
|
|
30
30
|
"prettier": "^3.6.2",
|
|
31
|
-
"prettier-config-bananass": "^0.
|
|
31
|
+
"prettier-config-bananass": "^0.5.0",
|
|
32
32
|
"typescript": "^5.9.2"
|
|
33
33
|
}
|
|
34
34
|
}
|