@anthonylzq/simba.js 1.8.0 → 1.9.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/CHANGELOG.md +12 -0
- package/lib/src/functions/eslint.js +12 -25
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [1.9.0](https://github.com/AnthonyLzq/simba.js/compare/v1.8.0...v1.9.0) (2021-12-13)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* updated packages and example folder to include license and heroku config ([7267e7a](https://github.com/AnthonyLzq/simba.js/commit/7267e7ab40bf7333d566d7e90d85ad4f4357b731))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* linted eslint.js file ([a47ea79](https://github.com/AnthonyLzq/simba.js/commit/a47ea795e2f6cf4363bd82ed05fc2c31b4fa8a26))
|
|
16
|
+
|
|
5
17
|
## [1.8.0](https://github.com/AnthonyLzq/simba.js/compare/v1.7.0...v1.8.0) (2021-12-13)
|
|
6
18
|
|
|
7
19
|
|
|
@@ -12,11 +12,7 @@ module.exports = async projectName => {
|
|
|
12
12
|
},
|
|
13
13
|
root: true,
|
|
14
14
|
parser: '@typescript-eslint/parser',
|
|
15
|
-
plugins: [
|
|
16
|
-
'@typescript-eslint',
|
|
17
|
-
'import',
|
|
18
|
-
'prettier'
|
|
19
|
-
],
|
|
15
|
+
plugins: ['@typescript-eslint', 'import', 'prettier'],
|
|
20
16
|
extends: [
|
|
21
17
|
'standard',
|
|
22
18
|
'eslint:recommended',
|
|
@@ -27,10 +23,7 @@ module.exports = async projectName => {
|
|
|
27
23
|
rules: {
|
|
28
24
|
'@typescript-eslint/no-var-requires': 'off',
|
|
29
25
|
'@typescript-eslint/no-empty-interface': 'off',
|
|
30
|
-
'arrow-parens': [
|
|
31
|
-
'error',
|
|
32
|
-
'as-needed'
|
|
33
|
-
],
|
|
26
|
+
'arrow-parens': ['error', 'as-needed'],
|
|
34
27
|
'import/extensions': [
|
|
35
28
|
2,
|
|
36
29
|
{
|
|
@@ -60,28 +53,22 @@ module.exports = async projectName => {
|
|
|
60
53
|
}
|
|
61
54
|
],
|
|
62
55
|
'newline-before-return': 'error',
|
|
63
|
-
'object-curly-spacing': [
|
|
64
|
-
'error',
|
|
65
|
-
'always'
|
|
66
|
-
],
|
|
56
|
+
'object-curly-spacing': ['error', 'always'],
|
|
67
57
|
'prefer-const': 'error',
|
|
68
58
|
'prettier/prettier': [
|
|
69
59
|
'error',
|
|
70
60
|
{
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
61
|
+
arrowParens: 'avoid',
|
|
62
|
+
bracketSpacing: true,
|
|
63
|
+
printWidth: 80,
|
|
64
|
+
quoteProps: 'as-needed',
|
|
65
|
+
semi: false,
|
|
66
|
+
singleQuote: true,
|
|
67
|
+
tabWidth: 2,
|
|
68
|
+
trailingComma: 'none'
|
|
79
69
|
}
|
|
80
70
|
],
|
|
81
|
-
radix: [
|
|
82
|
-
'error',
|
|
83
|
-
'as-needed'
|
|
84
|
-
],
|
|
71
|
+
radix: ['error', 'as-needed'],
|
|
85
72
|
'spaced-comment': ['error', 'always']
|
|
86
73
|
}
|
|
87
74
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anthonylzq/simba.js",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "set up a modern backend app by running one command",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"scripts": {
|
|
11
11
|
"service": "node ./bin",
|
|
12
12
|
"release": "standard-version",
|
|
13
|
-
"test": "npm run rm && node ./bin -a AnthonyLzq -e sluzquinosa@uni.pe -
|
|
13
|
+
"test": "npm run rm && node ./bin -N example -D 'This is a test' -a AnthonyLzq -e sluzquinosa@uni.pe -l mit -H",
|
|
14
14
|
"lint": "eslint --ext js lib/ --fix",
|
|
15
15
|
"rm": "if [ -d \"example\" ]; then rm -rf example; fi"
|
|
16
16
|
},
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"yargs": "^17.3.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"eslint": "^
|
|
40
|
+
"eslint": "^8.4.1",
|
|
41
41
|
"eslint-config-prettier": "^8.3.0",
|
|
42
42
|
"eslint-config-standard": "^16.0.3",
|
|
43
43
|
"eslint-plugin-import": "^2.25.3",
|