fastnode-cli 0.4.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 -0
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -153,6 +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.
157
+ // Upload routes can use @Upload() and @File() to save files under ./static/uploads by default.
156
158
  createApp([${moduleName}], {
157
159
  executionPolicy: {
158
160
  timeout: 30000,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastnode-cli",
3
- "version": "0.4.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"
@@ -19,23 +19,23 @@
19
19
  "scaffolding",
20
20
  "generator",
21
21
  "fastnode"
22
- ],
23
- "author": "Valentine Emmanuel Ikechukwu",
24
- "license": "MIT",
22
+ ],
23
+ "author": "Valentine Emmanuel Ikechukwu",
24
+ "license": "MIT",
25
25
  "dependencies": {
26
26
  "chalk": "^5.3.0",
27
27
  "commander": "^11.0.0",
28
- "fastnode-core": "^0.4.0",
28
+ "fastnode-core": "^0.6.0",
29
29
  "reflect-metadata": "^0.1.13"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^24.5.2",
33
33
  "typescript": "^5.0.0"
34
34
  },
35
- "engines": {
36
- "node": ">=18.0.0"
37
- },
35
+ "engines": {
36
+ "node": ">=18.0.0"
37
+ },
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  }
41
- }
41
+ }