@uscreen.de/create-fastify-app 1.0.0 → 1.0.1
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/.eslintcache +1 -1
- package/README.md +2 -2
- package/bin/cli.js +4 -4
- package/package.json +1 -1
package/.eslintcache
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"/Users/martin/repos/uscreen/npm/create-fastify-app/bin/cli.js":"1"},{"size":
|
|
1
|
+
[{"/Users/martin/repos/uscreen/npm/create-fastify-app/bin/cli.js":"1"},{"size":4734,"mtime":1669379661449,"results":"2","hashOfConfig":"3"},{"filePath":"4","messages":"5","suppressedMessages":"6","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"1s60doj","/Users/martin/repos/uscreen/npm/create-fastify-app/bin/cli.js",[],[]]
|
package/README.md
CHANGED
package/bin/cli.js
CHANGED
|
@@ -100,15 +100,15 @@ const addPackageConfig = (path, skelPath) => {
|
|
|
100
100
|
pack.packageJson.main = skelPack.packageJson.main
|
|
101
101
|
|
|
102
102
|
pack.packageJson.scripts = Object.assign(pack.packageJson.scripts || {}, {
|
|
103
|
-
start: 'pm2 start pm2-dev.config.
|
|
104
|
-
stop: 'pm2 delete pm2-dev.config.
|
|
103
|
+
start: 'pm2 start pm2-dev.config.cjs',
|
|
104
|
+
stop: 'pm2 delete pm2-dev.config.cjs',
|
|
105
105
|
logs: `pm2 logs ${pack.packageJson.name} --raw | pino-pretty -t`,
|
|
106
106
|
lint: "eslint '**/*.js' --fix",
|
|
107
107
|
test: 'tap test/**/*.test.js',
|
|
108
108
|
'test:cov': 'tap --coverage-report=html test/**/*.test.js',
|
|
109
109
|
'test:ci': 'tap --coverage-report=text-summary test/**/*.test.js',
|
|
110
|
-
deploy: 'pm2 deploy pm2.config.
|
|
111
|
-
postdeploy: 'pm2 reload pm2.config.
|
|
110
|
+
deploy: 'pm2 deploy pm2.config.cjs',
|
|
111
|
+
postdeploy: 'pm2 reload pm2.config.cjs'
|
|
112
112
|
})
|
|
113
113
|
pack.packageJson.gitHooks = {
|
|
114
114
|
'pre-commit': 'lint-staged'
|