@feathersjs/generators 5.0.0 → 5.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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
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.1](https://github.com/feathersjs/feathers/compare/v5.0.0...v5.0.1) (2023-03-15)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **generators:** Conditionally import channels in Express app ([#3106](https://github.com/feathersjs/feathers/issues/3106)) ([c2dbaaa](https://github.com/feathersjs/feathers/commit/c2dbaaa4d1d5a5675b5812a7ed2317076ac414fe))
11
+
6
12
  # [5.0.0](https://github.com/feathersjs/feathers/compare/v5.0.0-pre.38...v5.0.0) (2023-02-24)
7
13
 
8
14
  ### Bug Fixes
@@ -73,7 +73,7 @@ ${schema !== false ? `import { configurationValidator } from './configuration'`
73
73
  import { logger } from './logger'
74
74
  import { logError } from './hooks/log-error'
75
75
  import { services } from './services/index'
76
- import { channels } from './channels'
76
+ ${transports.includes('websockets') ? `import { channels } from './channels'` : ''}
77
77
 
78
78
  const app: Application = express(feathers())
79
79
 
@@ -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,uCA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;;;;;;;;;;;;;;;;;;;;;;;;CAwBC,CAAA;AAED,MAAM,QAAQ,GAAG,CAAC,GAAwB,EAAE,EAAE,CAC5C,GAAG,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,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"}
@@ -81,7 +81,7 @@ ${schema !== false ? `import { configurationValidator } from './configuration'`
81
81
  import { logger } from './logger'
82
82
  import { logError } from './hooks/log-error'
83
83
  import { services } from './services/index'
84
- import { channels } from './channels'
84
+ ${transports.includes('websockets') ? `import { channels } from './channels'` : ''}
85
85
 
86
86
  const app: Application = express(feathers())
87
87
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feathersjs/generators",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "Feathers CLI core generators, powered by Pinion",
5
5
  "homepage": "https://feathersjs.com",
6
6
  "keywords": [
@@ -59,36 +59,36 @@
59
59
  "typescript": "^4.9.5"
60
60
  },
61
61
  "devDependencies": {
62
- "@feathersjs/adapter-commons": "^5.0.0",
63
- "@feathersjs/authentication": "^5.0.0",
64
- "@feathersjs/authentication-client": "^5.0.0",
65
- "@feathersjs/authentication-local": "^5.0.0",
66
- "@feathersjs/authentication-oauth": "^5.0.0",
67
- "@feathersjs/configuration": "^5.0.0",
68
- "@feathersjs/errors": "^5.0.0",
69
- "@feathersjs/express": "^5.0.0",
70
- "@feathersjs/feathers": "^5.0.0",
71
- "@feathersjs/knex": "^5.0.0",
72
- "@feathersjs/koa": "^5.0.0",
73
- "@feathersjs/mongodb": "^5.0.0",
74
- "@feathersjs/rest-client": "^5.0.0",
75
- "@feathersjs/schema": "^5.0.0",
76
- "@feathersjs/socketio": "^5.0.0",
77
- "@feathersjs/transport-commons": "^5.0.0",
78
- "@feathersjs/typebox": "^5.0.0",
62
+ "@feathersjs/adapter-commons": "^5.0.1",
63
+ "@feathersjs/authentication": "^5.0.1",
64
+ "@feathersjs/authentication-client": "^5.0.1",
65
+ "@feathersjs/authentication-local": "^5.0.1",
66
+ "@feathersjs/authentication-oauth": "^5.0.1",
67
+ "@feathersjs/configuration": "^5.0.1",
68
+ "@feathersjs/errors": "^5.0.1",
69
+ "@feathersjs/express": "^5.0.1",
70
+ "@feathersjs/feathers": "^5.0.1",
71
+ "@feathersjs/knex": "^5.0.1",
72
+ "@feathersjs/koa": "^5.0.1",
73
+ "@feathersjs/mongodb": "^5.0.1",
74
+ "@feathersjs/rest-client": "^5.0.1",
75
+ "@feathersjs/schema": "^5.0.1",
76
+ "@feathersjs/socketio": "^5.0.1",
77
+ "@feathersjs/transport-commons": "^5.0.1",
78
+ "@feathersjs/typebox": "^5.0.1",
79
79
  "@types/mocha": "^10.0.1",
80
- "@types/node": "^18.14.1",
80
+ "@types/node": "^18.14.6",
81
81
  "@types/prettier": "^2.7.2",
82
82
  "axios": "^1.3.4",
83
83
  "mocha": "^10.2.0",
84
84
  "mongodb": "^5.1.0",
85
85
  "mssql": "^9.1.1",
86
86
  "mysql": "^2.18.1",
87
- "pg": "^8.9.0",
87
+ "pg": "^8.10.0",
88
88
  "shx": "^0.3.4",
89
89
  "sqlite3": "^5.1.4",
90
90
  "ts-node": "^10.9.1",
91
- "type-fest": "^3.6.0"
91
+ "type-fest": "^3.6.1"
92
92
  },
93
- "gitHead": "90caf635aec850550b9d37bea2762af959d9e8d5"
93
+ "gitHead": "18b7f4ab0a8075572a81d78956ba1205a9795c91"
94
94
  }