@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 CHANGED
@@ -1 +1 @@
1
- [{"/Users/martin/repos/uscreen/npm/create-fastify-app/bin/cli.js":"1"},{"size":4730,"mtime":1660576700000,"results":"2","hashOfConfig":"3"},{"filePath":"4","messages":"5","suppressedMessages":"6","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"sa97p0","/Users/martin/repos/uscreen/npm/create-fastify-app/bin/cli.js",[],[]]
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
@@ -37,8 +37,8 @@ new-app
37
37
  │   └── services
38
38
  │   └── noop.js
39
39
  ├── package.json
40
- ├── pm2-dev.config.js
41
- ├── pm2.config.js
40
+ ├── pm2-dev.config.cjs
41
+ ├── pm2.config.cjs
42
42
  ├── test
43
43
  │   ├── helper.js
44
44
  │   └── noop.test.js
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.js',
104
- stop: 'pm2 delete pm2-dev.config.js',
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.js',
111
- postdeploy: 'pm2 reload pm2.config.js'
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'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uscreen.de/create-fastify-app",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "cli to create a new @uscreen.de/fastify-app",
5
5
  "main": "index.js",
6
6
  "type": "module",