@feathersjs/cli 5.0.16 → 5.0.17
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 +6 -0
- package/lib/index.js +3 -1
- package/lib/index.js.map +1 -1
- package/package.json +20 -20
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.17](https://github.com/feathersjs/feathers/compare/v5.0.16...v5.0.17) (2024-01-22)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **cli:** Fix another ES module issue ([#3395](https://github.com/feathersjs/feathers/issues/3395)) ([8e39884](https://github.com/feathersjs/feathers/commit/8e39884a23d0e7868546dce4f7a3ee6e954c2b31))
|
|
11
|
+
|
|
6
12
|
## [5.0.16](https://github.com/feathersjs/feathers/compare/v5.0.15...v5.0.16) (2024-01-22)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @feathersjs/cli
|
package/lib/index.js
CHANGED
|
@@ -2,15 +2,17 @@ import chalk from 'chalk';
|
|
|
2
2
|
import { Command } from 'commander';
|
|
3
3
|
import { dirname } from 'path';
|
|
4
4
|
import { runGenerator, getContext, version } from '@feathersjs/generators';
|
|
5
|
+
import { createRequire } from 'node:module';
|
|
5
6
|
export * from 'commander';
|
|
6
7
|
export { chalk };
|
|
8
|
+
const require = createRequire(import.meta.url);
|
|
7
9
|
export const commandRunner = (name) => async (options) => {
|
|
8
10
|
const folder = dirname(require.resolve('@feathersjs/generators'));
|
|
9
11
|
const ctx = getContext({
|
|
10
12
|
...options
|
|
11
13
|
});
|
|
12
14
|
await Promise.resolve(ctx)
|
|
13
|
-
.then(runGenerator(folder, name, 'index'))
|
|
15
|
+
.then(runGenerator(folder, name, 'index.js'))
|
|
14
16
|
.catch((error) => {
|
|
15
17
|
const { logger } = ctx.pinion;
|
|
16
18
|
logger.error(`Error: ${chalk.white(error.message)}`);
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAC9B,OAAO,EAAE,YAAY,EAAE,UAAU,EAAuB,OAAO,EAAE,MAAM,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAC9B,OAAO,EAAE,YAAY,EAAE,UAAU,EAAuB,OAAO,EAAE,MAAM,wBAAwB,CAAA;AAC/F,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE3C,cAAc,WAAW,CAAA;AACzB,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AAE9C,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,KAAK,EAAE,OAAY,EAAE,EAAE;IACpE,MAAM,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAA;IACjE,MAAM,GAAG,GAAG,UAAU,CAAsB;QAC1C,GAAG,OAAO;KACX,CAAC,CAAA;IAEF,MAAM,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC;SACvB,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,EAAE,UAAU,CAAC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AC,YAAY,CAAC;KACrB,WAAW,CAAC,+BAA+B,CAAC;KAC5C,MAAM,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC,CAAA;AAEtC,QAAQ;KACL,OAAO,CAAC,gBAAgB,CAAC;KACzB,WAAW,CAAC,uCAAuC,CAAC;KACpD,MAAM,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAA;AAE1C,QAAQ,CAAC,WAAW,CAClB,6CAA6C,QAAQ,CAAC,QAAQ;KAC3D,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,KAAK,GAAG,CAAC,WAAW,EAAE,GAAG,CAAC;KAChE,IAAI,CAAC,MAAM,CAAC,EAAE,CAClB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feathersjs/cli",
|
|
3
3
|
"description": "The command line interface for creating Feathers applications",
|
|
4
|
-
"version": "5.0.
|
|
4
|
+
"version": "5.0.17",
|
|
5
5
|
"homepage": "https://feathersjs.com",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"type": "module",
|
|
@@ -53,28 +53,28 @@
|
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@feathersjs/generators": "^5.0.
|
|
56
|
+
"@feathersjs/generators": "^5.0.17",
|
|
57
57
|
"chalk": "^5.3.0",
|
|
58
58
|
"commander": "^11.1.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@feathersjs/adapter-commons": "^5.0.
|
|
62
|
-
"@feathersjs/authentication": "^5.0.
|
|
63
|
-
"@feathersjs/authentication-client": "^5.0.
|
|
64
|
-
"@feathersjs/authentication-local": "^5.0.
|
|
65
|
-
"@feathersjs/authentication-oauth": "^5.0.
|
|
66
|
-
"@feathersjs/configuration": "^5.0.
|
|
67
|
-
"@feathersjs/errors": "^5.0.
|
|
68
|
-
"@feathersjs/express": "^5.0.
|
|
69
|
-
"@feathersjs/feathers": "^5.0.
|
|
70
|
-
"@feathersjs/knex": "^5.0.
|
|
71
|
-
"@feathersjs/koa": "^5.0.
|
|
72
|
-
"@feathersjs/mongodb": "^5.0.
|
|
73
|
-
"@feathersjs/rest-client": "^5.0.
|
|
74
|
-
"@feathersjs/schema": "^5.0.
|
|
75
|
-
"@feathersjs/socketio": "^5.0.
|
|
76
|
-
"@feathersjs/transport-commons": "^5.0.
|
|
77
|
-
"@feathersjs/typebox": "^5.0.
|
|
61
|
+
"@feathersjs/adapter-commons": "^5.0.17",
|
|
62
|
+
"@feathersjs/authentication": "^5.0.17",
|
|
63
|
+
"@feathersjs/authentication-client": "^5.0.17",
|
|
64
|
+
"@feathersjs/authentication-local": "^5.0.17",
|
|
65
|
+
"@feathersjs/authentication-oauth": "^5.0.17",
|
|
66
|
+
"@feathersjs/configuration": "^5.0.17",
|
|
67
|
+
"@feathersjs/errors": "^5.0.17",
|
|
68
|
+
"@feathersjs/express": "^5.0.17",
|
|
69
|
+
"@feathersjs/feathers": "^5.0.17",
|
|
70
|
+
"@feathersjs/knex": "^5.0.17",
|
|
71
|
+
"@feathersjs/koa": "^5.0.17",
|
|
72
|
+
"@feathersjs/mongodb": "^5.0.17",
|
|
73
|
+
"@feathersjs/rest-client": "^5.0.17",
|
|
74
|
+
"@feathersjs/schema": "^5.0.17",
|
|
75
|
+
"@feathersjs/socketio": "^5.0.17",
|
|
76
|
+
"@feathersjs/transport-commons": "^5.0.17",
|
|
77
|
+
"@feathersjs/typebox": "^5.0.17",
|
|
78
78
|
"@types/mocha": "^10.0.6",
|
|
79
79
|
"@types/node": "^20.11.5",
|
|
80
80
|
"@types/prettier": "^2.7.3",
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"type-fest": "^4.9.0",
|
|
86
86
|
"typescript": "^5.3.3"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "33a2e000e762db37ede9b1282edb754e03cd4c30"
|
|
89
89
|
}
|