fastnode-cli 0.5.0 → 0.6.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -153,7 +153,8 @@ class ${toPascalCase(projectName)}SocketController {
153
153
  @Module({ controllers: [${className}, ${toPascalCase(projectName)}SocketController] })
154
154
  class ${moduleName} {}
155
155
 
156
- // Drop files into ./static to serve them automatically, for example static/logo.png -> /logo.png.
156
+ // Drop files into ./static to serve them automatically, for example static/logo.png -> /logo.png.
157
+ // Upload routes can use @Upload() and @File() to save files under ./static/uploads by default.
157
158
  createApp([${moduleName}], {
158
159
  executionPolicy: {
159
160
  timeout: 30000,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastnode-cli",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "The official CLI for scaffolding and serving FastNode applications.",
5
5
  "bin": {
6
6
  "fastnode": "dist/index.js"
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "chalk": "^5.3.0",
27
27
  "commander": "^11.0.0",
28
- "fastnode-core": "^0.5.0",
28
+ "fastnode-core": "^0.6.0",
29
29
  "reflect-metadata": "^0.1.13"
30
30
  },
31
31
  "devDependencies": {