create-bananass 0.6.0 → 0.7.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/LICENSE.md +1 -1
- package/README.md +1 -2
- package/package.json +6 -5
- package/templates/javascript-cjs/eslint.config.mjs +2 -3
- package/templates/javascript-cjs/package.json +4 -4
- package/templates/javascript-esm/eslint.config.mjs +2 -3
- package/templates/javascript-esm/package.json +4 -4
- package/templates/typescript-cjs/eslint.config.mts +5 -5
- package/templates/typescript-cjs/package.json +7 -6
- package/templates/typescript-cjs/tsconfig.json +3 -1
- package/templates/typescript-esm/eslint.config.mts +5 -5
- package/templates/typescript-esm/package.json +7 -6
- package/templates/typescript-esm/tsconfig.json +3 -1
package/LICENSE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2024-present
|
|
3
|
+
Copyright (c) 2024-present lumir(lumirlumir)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
# 바나나<sup>Bananass</sup>
|
|
2
2
|
|
|
3
|
-
[](https://github.com/lumirlumir/npm-bananass/actions/workflows/ci.yml)
|
|
4
4
|
[](https://github.com/lumirlumir/npm-bananass/actions/workflows/test.yml)
|
|
5
|
-
[](https://github.com/lumirlumir/npm-bananass/actions/workflows/test-cross-platform.yml)
|
|
6
5
|
[](https://codecov.io/gh/lumirlumir/npm-bananass)
|
|
7
6
|

|
|
8
7
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-bananass",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Create a Bananass framework project for solving Baekjoon problems with JavaScript/TypeScript.🍌",
|
|
6
6
|
"exports": {
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
"create",
|
|
33
33
|
"create-bananass"
|
|
34
34
|
],
|
|
35
|
-
"author": "
|
|
35
|
+
"author": "lumir <rpfos@naver.com> (https://github.com/lumirlumir)",
|
|
36
|
+
"funding": "https://github.com/sponsors/lumirlumir",
|
|
36
37
|
"license": "MIT",
|
|
37
38
|
"homepage": "https://bananass.lumir.page",
|
|
38
39
|
"repository": {
|
|
@@ -51,13 +52,13 @@
|
|
|
51
52
|
},
|
|
52
53
|
"scripts": {
|
|
53
54
|
"prepublishOnly": "npm run build",
|
|
54
|
-
"build": "
|
|
55
|
+
"build": "tsc --noEmit && node ../../scripts/cp.js ../../LICENSE.md LICENSE.md ../../README.md README.md",
|
|
55
56
|
"test": "node --test",
|
|
56
57
|
"dev": "node src/cli.js"
|
|
57
58
|
},
|
|
58
59
|
"dependencies": {
|
|
59
|
-
"bananass-utils-console": "^0.
|
|
60
|
-
"commander": "^14.0.
|
|
60
|
+
"bananass-utils-console": "^0.7.0",
|
|
61
|
+
"commander": "^14.0.3",
|
|
61
62
|
"consola": "^3.4.2"
|
|
62
63
|
}
|
|
63
64
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { defineConfig, globalIgnores } from 'eslint/config';
|
|
2
|
-
import
|
|
2
|
+
import js from 'eslint-config-bananass/js';
|
|
3
3
|
|
|
4
|
-
/** @type {import("eslint").Linter.Config[]} */
|
|
5
4
|
export default defineConfig([
|
|
6
5
|
// Bananass build directory.
|
|
7
6
|
// Rename it if you change the `outDir` field in `bananass.config.cjs`.
|
|
8
7
|
globalIgnores(['**/.bananass/']),
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
js,
|
|
11
10
|
|
|
12
11
|
// Add your custom ESLint configuration here.
|
|
13
12
|
//
|
|
@@ -21,9 +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.8.
|
|
24
|
+
"bananass": "^0.7.0",
|
|
25
|
+
"eslint": "^9.39.4",
|
|
26
|
+
"eslint-config-bananass": "^0.7.0",
|
|
27
|
+
"prettier": "^3.8.3"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { defineConfig, globalIgnores } from 'eslint/config';
|
|
2
|
-
import
|
|
2
|
+
import js from 'eslint-config-bananass/js';
|
|
3
3
|
|
|
4
|
-
/** @type {import("eslint").Linter.Config[]} */
|
|
5
4
|
export default defineConfig([
|
|
6
5
|
// Bananass build directory.
|
|
7
6
|
// Rename it if you change the `outDir` field in `bananass.config.mjs`.
|
|
8
7
|
globalIgnores(['**/.bananass/']),
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
js,
|
|
11
10
|
|
|
12
11
|
// Add your custom ESLint configuration here.
|
|
13
12
|
//
|
|
@@ -21,9 +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.8.
|
|
24
|
+
"bananass": "^0.7.0",
|
|
25
|
+
"eslint": "^9.39.4",
|
|
26
|
+
"eslint-config-bananass": "^0.7.0",
|
|
27
|
+
"prettier": "^3.8.3"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineConfig, globalIgnores } from 'eslint/config';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import js from 'eslint-config-bananass/js';
|
|
3
|
+
import ts from 'eslint-config-bananass/ts';
|
|
4
4
|
|
|
5
5
|
export default defineConfig([
|
|
6
6
|
// Bananass build directory.
|
|
7
7
|
// Rename it if you change the `outDir` field in `bananass.config.cts`.
|
|
8
8
|
globalIgnores(['**/.bananass/']),
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
js,
|
|
11
|
+
ts,
|
|
12
12
|
|
|
13
13
|
// Add your custom ESLint configuration here.
|
|
14
14
|
//
|
|
@@ -20,7 +20,7 @@ export default defineConfig([
|
|
|
20
20
|
// },
|
|
21
21
|
// }
|
|
22
22
|
// ...
|
|
23
|
-
]
|
|
23
|
+
]);
|
|
24
24
|
|
|
25
25
|
// Please take a look at https://eslint-config-bananass.lumir.page
|
|
26
26
|
// which contains all the available configurations.
|
|
@@ -22,11 +22,12 @@
|
|
|
22
22
|
"tsc": "tsc"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"eslint
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
25
|
+
"@types/node": "^20.19.41",
|
|
26
|
+
"bananass": "^0.7.0",
|
|
27
|
+
"eslint": "^9.39.4",
|
|
28
|
+
"eslint-config-bananass": "^0.7.0",
|
|
29
|
+
"jiti": "^2.7.0",
|
|
30
|
+
"prettier": "^3.8.3",
|
|
31
|
+
"typescript": "^6.0.3"
|
|
31
32
|
}
|
|
32
33
|
}
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
"allowImportingTsExtensions": true,
|
|
4
4
|
"noEmit": true,
|
|
5
5
|
"module": "NodeNext",
|
|
6
|
-
"moduleResolution": "nodenext"
|
|
6
|
+
"moduleResolution": "nodenext",
|
|
7
|
+
"strictNullChecks": false,
|
|
8
|
+
"types": ["node"]
|
|
7
9
|
},
|
|
8
10
|
"include": ["bananass/**/*.ts", "bananass/**/*.mts", "bananass/**/*.cts"]
|
|
9
11
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineConfig, globalIgnores } from 'eslint/config';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import js from 'eslint-config-bananass/js';
|
|
3
|
+
import ts from 'eslint-config-bananass/ts';
|
|
4
4
|
|
|
5
5
|
export default defineConfig([
|
|
6
6
|
// Bananass build directory.
|
|
7
7
|
// Rename it if you change the `outDir` field in `bananass.config.mts`.
|
|
8
8
|
globalIgnores(['**/.bananass/']),
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
js,
|
|
11
|
+
ts,
|
|
12
12
|
|
|
13
13
|
// Add your custom ESLint configuration here.
|
|
14
14
|
//
|
|
@@ -20,7 +20,7 @@ export default defineConfig([
|
|
|
20
20
|
// },
|
|
21
21
|
// }
|
|
22
22
|
// ...
|
|
23
|
-
]
|
|
23
|
+
]);
|
|
24
24
|
|
|
25
25
|
// Please take a look at https://eslint-config-bananass.lumir.page
|
|
26
26
|
// which contains all the available configurations.
|
|
@@ -22,11 +22,12 @@
|
|
|
22
22
|
"tsc": "tsc"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"eslint
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
25
|
+
"@types/node": "^20.19.41",
|
|
26
|
+
"bananass": "^0.7.0",
|
|
27
|
+
"eslint": "^9.39.4",
|
|
28
|
+
"eslint-config-bananass": "^0.7.0",
|
|
29
|
+
"jiti": "^2.7.0",
|
|
30
|
+
"prettier": "^3.8.3",
|
|
31
|
+
"typescript": "^6.0.3"
|
|
31
32
|
}
|
|
32
33
|
}
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
"allowImportingTsExtensions": true,
|
|
4
4
|
"noEmit": true,
|
|
5
5
|
"module": "NodeNext",
|
|
6
|
-
"moduleResolution": "nodenext"
|
|
6
|
+
"moduleResolution": "nodenext",
|
|
7
|
+
"strictNullChecks": false,
|
|
8
|
+
"types": ["node"]
|
|
7
9
|
},
|
|
8
10
|
"include": ["bananass/**/*.ts", "bananass/**/*.mts", "bananass/**/*.cts"]
|
|
9
11
|
}
|