@feathersjs/generators 5.0.8 → 5.0.10

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/CHANGELOG.md CHANGED
@@ -3,24 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [5.0.8](https://github.com/feathersjs/feathers/compare/v5.0.7...v5.0.8) (2023-07-19)
6
+ ## [5.0.10](https://github.com/feathersjs/feathers/compare/v5.0.9...v5.0.10) (2023-10-03)
7
7
 
8
8
  **Note:** Version bump only for package @feathersjs/generators
9
9
 
10
+ ## [5.0.9](https://github.com/feathersjs/feathers/compare/v5.0.8...v5.0.9) (2023-09-27)
10
11
 
12
+ ### Bug Fixes
11
13
 
14
+ - **generators:** Fix configure channels when not real-time app ([#3271](https://github.com/feathersjs/feathers/issues/3271)) ([c619ab2](https://github.com/feathersjs/feathers/commit/c619ab2c57f692c419fee610c269c1502b124852))
12
15
 
16
+ ## [5.0.8](https://github.com/feathersjs/feathers/compare/v5.0.7...v5.0.8) (2023-07-19)
13
17
 
14
- ## [5.0.7](https://github.com/feathersjs/feathers/compare/v5.0.6...v5.0.7) (2023-07-14)
18
+ **Note:** Version bump only for package @feathersjs/generators
15
19
 
20
+ ## [5.0.7](https://github.com/feathersjs/feathers/compare/v5.0.6...v5.0.7) (2023-07-14)
16
21
 
17
22
  ### Bug Fixes
18
23
 
19
- * **generators:** Fix channel/service configuration order for Koa based apps ([580344e](https://github.com/feathersjs/feathers/commit/580344e96fe8a2f17fd53476af5a0c7ddefac0b6))
20
-
21
-
22
-
23
-
24
+ - **generators:** Fix channel/service configuration order for Koa based apps ([580344e](https://github.com/feathersjs/feathers/commit/580344e96fe8a2f17fd53476af5a0c7ddefac0b6))
24
25
 
25
26
  ## [5.0.6](https://github.com/feathersjs/feathers/compare/v5.0.5...v5.0.6) (2023-06-15)
26
27
 
@@ -39,7 +39,7 @@ ${transports.includes('websockets')
39
39
  }))`
40
40
  : ''}
41
41
  app.configure(services)
42
- app.configure(channels)
42
+ ${transports.includes('websockets') ? 'app.configure(channels)' : ''}
43
43
 
44
44
 
45
45
  // Register hooks that run on all service methods
@@ -95,7 +95,7 @@ ${transports.includes('websockets')
95
95
  }))`
96
96
  : ''}
97
97
  app.configure(services)
98
- app.configure(channels)
98
+ ${transports.includes('websockets') ? 'app.configure(channels)' : ''}
99
99
 
100
100
  // Configure a middleware for 404s and the error handler
101
101
  app.use(notFound())
@@ -1 +1 @@
1
- {"version":3,"file":"app.tpl.js","sourceRoot":"","sources":["../../../src/app/templates/app.tpl.ts"],"names":[],"mappings":";;;AAAA,+CAAsD;AACtD,2CAA4C;AAG5C,MAAM,QAAQ,GAAG,CAAC,EAChB,UAAU,EACV,MAAM,EACc,EAAE,EAAE,CAAC,QAAQ,CAAC;;;;;;EAMlC,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,6CAA6C,CAAC,CAAC,CAAC,EAAE;;EAEtF,MAAM,KAAK,KAAK,CAAC,CAAC,CAAC,0DAA0D,CAAC,CAAC,CAAC,EAAE;;;;EAIlF,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,uCAAuC,CAAC,CAAC,CAAC,EAAE;;;;;8BAKpD,MAAM,KAAK,KAAK,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE;;;;;;;;;;;EAY5E,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC;IAC/B,CAAC,CAAC;;;;IAIF;IACA,CAAC,CAAC,EACN;;;;;;;;;;;;;;;;;;;;;CAqBC,CAAA;AAED,MAAM,YAAY,GAAG,CAAC,EACpB,UAAU,EACV,MAAM,EACc,EAAE,EAAE,CAAC,QAAQ,CAAC;;;;;;;EAOlC,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,6CAA6C,CAAC,CAAC,CAAC,EAAE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C,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAA;AAE1D,MAAM,QAAQ,GAAG,CAAC,GAAwB,EAAE,EAAE,CACnD,IAAA,kBAAS,EAAC,GAAG,CAAC,CAAC,IAAI,CACjB,IAAA,sBAAY,EACV,QAAQ,EACR,IAAA,eAAM,EAAsB,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,CACrD,CACF,CAAA;AANU,QAAA,QAAQ,YAMlB"}
@@ -43,7 +43,7 @@ ${
43
43
  : ''
44
44
  }
45
45
  app.configure(services)
46
- app.configure(channels)
46
+ ${transports.includes('websockets') ? 'app.configure(channels)' : ''}
47
47
 
48
48
 
49
49
  // Register hooks that run on all service methods
@@ -105,7 +105,7 @@ ${
105
105
  : ''
106
106
  }
107
107
  app.configure(services)
108
- app.configure(channels)
108
+ ${transports.includes('websockets') ? 'app.configure(channels)' : ''}
109
109
 
110
110
  // Configure a middleware for 404s and the error handler
111
111
  app.use(notFound())
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feathersjs/generators",
3
- "version": "5.0.8",
3
+ "version": "5.0.10",
4
4
  "description": "Feathers CLI core generators, powered by Pinion",
5
5
  "homepage": "https://feathersjs.com",
6
6
  "keywords": [
@@ -55,41 +55,41 @@
55
55
  "@feathershq/pinion": "^0.3.5",
56
56
  "chalk": "^4.0.1",
57
57
  "lodash": "^4.17.21",
58
- "prettier": "^3.0.0",
59
- "typescript": "^5.1.6"
58
+ "prettier": "^3.0.3",
59
+ "typescript": "^5.2.2"
60
60
  },
61
61
  "devDependencies": {
62
- "@feathersjs/adapter-commons": "^5.0.8",
63
- "@feathersjs/authentication": "^5.0.8",
64
- "@feathersjs/authentication-client": "^5.0.8",
65
- "@feathersjs/authentication-local": "^5.0.8",
66
- "@feathersjs/authentication-oauth": "^5.0.8",
67
- "@feathersjs/configuration": "^5.0.8",
68
- "@feathersjs/errors": "^5.0.8",
69
- "@feathersjs/express": "^5.0.8",
70
- "@feathersjs/feathers": "^5.0.8",
71
- "@feathersjs/knex": "^5.0.8",
72
- "@feathersjs/koa": "^5.0.8",
73
- "@feathersjs/mongodb": "^5.0.8",
74
- "@feathersjs/rest-client": "^5.0.8",
75
- "@feathersjs/schema": "^5.0.8",
76
- "@feathersjs/socketio": "^5.0.8",
77
- "@feathersjs/transport-commons": "^5.0.8",
78
- "@feathersjs/typebox": "^5.0.8",
79
- "@types/mocha": "^10.0.1",
80
- "@types/node": "^20.4.2",
62
+ "@feathersjs/adapter-commons": "^5.0.10",
63
+ "@feathersjs/authentication": "^5.0.10",
64
+ "@feathersjs/authentication-client": "^5.0.10",
65
+ "@feathersjs/authentication-local": "^5.0.10",
66
+ "@feathersjs/authentication-oauth": "^5.0.10",
67
+ "@feathersjs/configuration": "^5.0.10",
68
+ "@feathersjs/errors": "^5.0.10",
69
+ "@feathersjs/express": "^5.0.10",
70
+ "@feathersjs/feathers": "^5.0.10",
71
+ "@feathersjs/knex": "^5.0.10",
72
+ "@feathersjs/koa": "^5.0.10",
73
+ "@feathersjs/mongodb": "^5.0.10",
74
+ "@feathersjs/rest-client": "^5.0.10",
75
+ "@feathersjs/schema": "^5.0.10",
76
+ "@feathersjs/socketio": "^5.0.10",
77
+ "@feathersjs/transport-commons": "^5.0.10",
78
+ "@feathersjs/typebox": "^5.0.10",
79
+ "@types/mocha": "^10.0.2",
80
+ "@types/node": "^20.8.2",
81
81
  "@types/prettier": "^2.7.3",
82
- "axios": "^1.4.0",
82
+ "axios": "^1.5.1",
83
83
  "mocha": "^10.2.0",
84
- "mongodb": "^5.7.0",
85
- "mssql": "^9.1.1",
84
+ "mongodb": "^6.1.0",
85
+ "mssql": "^10.0.1",
86
86
  "mysql": "^2.18.1",
87
- "pg": "^8.11.1",
87
+ "pg": "^8.11.3",
88
88
  "shx": "^0.3.4",
89
89
  "sqlite3": "^5.1.6",
90
90
  "ts-node": "^10.9.1",
91
- "type-fest": "^3.13.0",
92
- "typescript": "^5.1.6"
91
+ "type-fest": "^4.3.3",
92
+ "typescript": "^5.2.2"
93
93
  },
94
- "gitHead": "414336a047a556f1986b4bb253416d5b8a973d9f"
94
+ "gitHead": "463dedcd35b16e43bc55e04df877ca82ed38dcea"
95
95
  }