create-bananass 0.5.2 → 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 +1 -1
- 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
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.39.
|
|
26
|
-
"eslint-config-bananass": "^0.
|
|
27
|
-
"prettier": "^3.
|
|
28
|
-
"prettier-config-bananass": "^0.5.2"
|
|
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.39.
|
|
26
|
-
"eslint-config-bananass": "^0.
|
|
27
|
-
"prettier": "^3.
|
|
28
|
-
"prettier-config-bananass": "^0.5.2"
|
|
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.39.
|
|
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.39.
|
|
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.
|