@uscreen.de/create-fastify-app 0.4.2 → 0.4.4
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/.eslintignore +1 -0
- package/.husky/.gitignore +1 -0
- package/.husky/_/.gitignore +1 -0
- package/.husky/pre-commit +4 -0
- package/package.json +11 -20
- package/skeleton/test/app/noop.test.js +1 -1
- package/skeleton/test/helper.js +1 -1
package/.eslintignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/skeleton/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
_
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uscreen.de/create-fastify-app",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "cli to create a new @uscreen.de/fastify-app",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": "git@gitlab.uscreen.net:uscreen/npm/create-fastify-app.git",
|
|
@@ -10,30 +10,21 @@
|
|
|
10
10
|
"create-fastify-app": "./bin/cli.js"
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
|
-
"lint": "eslint
|
|
14
|
-
"
|
|
15
|
-
"test:cov": "tap --coverage-report=html test/**/*.test.js",
|
|
16
|
-
"test:ci": "tap --coverage-report=text-summary test/**/*.test.js"
|
|
17
|
-
},
|
|
18
|
-
"gitHooks": {
|
|
19
|
-
"pre-commit": "lint-staged"
|
|
20
|
-
},
|
|
21
|
-
"lint-staged": {
|
|
22
|
-
"*.{js}": [
|
|
23
|
-
"eslint --fix",
|
|
24
|
-
"git add"
|
|
25
|
-
]
|
|
13
|
+
"lint": "eslint --fix",
|
|
14
|
+
"prepare": "husky install"
|
|
26
15
|
},
|
|
27
16
|
"dependencies": {
|
|
28
|
-
"commander": "^
|
|
29
|
-
"fs-extra": "^
|
|
17
|
+
"commander": "^8.3.0",
|
|
18
|
+
"fs-extra": "^10.0.0",
|
|
30
19
|
"read-pkg-up": "^7.0.1",
|
|
31
20
|
"write-pkg": "^4.0.0"
|
|
32
21
|
},
|
|
33
22
|
"devDependencies": {
|
|
34
|
-
"@uscreen.de/eslint-config-prettystandard-node": "^0.
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
|
|
23
|
+
"@uscreen.de/eslint-config-prettystandard-node": "^0.2.2",
|
|
24
|
+
"husky": ">=6",
|
|
25
|
+
"lint-staged": ">=12.3.2"
|
|
26
|
+
},
|
|
27
|
+
"lint-staged": {
|
|
28
|
+
"*.js": "eslint --cache --fix"
|
|
38
29
|
}
|
|
39
30
|
}
|
package/skeleton/test/helper.js
CHANGED
|
@@ -23,7 +23,7 @@ const build = async (t, featureSwitches = {}, ConfigOverwrite = {}) => {
|
|
|
23
23
|
app.register(fp(App), { ...Config, ...ConfigOverwrite })
|
|
24
24
|
|
|
25
25
|
// tear down our app after we are done
|
|
26
|
-
t.
|
|
26
|
+
t.teardown(app.close.bind(app))
|
|
27
27
|
|
|
28
28
|
app.ready((err) => {
|
|
29
29
|
if (err) throw err
|