@feathersjs/cli 4.6.2 → 5.0.0-pre.24
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 +10 -917
- package/LICENSE +1 -1
- package/README.md +9 -34
- package/bin/feathers +9 -0
- package/lib/app/index.d.ts +29 -0
- package/lib/app/index.js +123 -0
- package/lib/app/index.js.map +1 -0
- package/lib/app/index.ts +198 -0
- package/lib/app/static/.gitignore +121 -0
- package/lib/app/templates/app.test.tpl.d.ts +2 -0
- package/lib/app/templates/app.test.tpl.js +48 -0
- package/lib/app/templates/app.test.tpl.js.map +1 -0
- package/lib/app/templates/app.test.tpl.ts +48 -0
- package/lib/app/templates/app.tpl.d.ts +2 -0
- package/lib/app/templates/app.tpl.js +110 -0
- package/lib/app/templates/app.tpl.js.map +1 -0
- package/lib/app/templates/app.tpl.ts +119 -0
- package/lib/app/templates/channels.tpl.d.ts +2 -0
- package/lib/app/templates/channels.tpl.js +76 -0
- package/lib/app/templates/channels.tpl.js.map +1 -0
- package/lib/app/templates/channels.tpl.ts +81 -0
- package/lib/app/templates/client.tpl.d.ts +2 -0
- package/lib/app/templates/client.tpl.js +22 -0
- package/lib/app/templates/client.tpl.js.map +1 -0
- package/lib/app/templates/client.tpl.ts +27 -0
- package/lib/app/templates/config.tpl.d.ts +2 -0
- package/lib/app/templates/config.tpl.js +21 -0
- package/lib/app/templates/config.tpl.js.map +1 -0
- package/lib/app/templates/config.tpl.ts +21 -0
- package/lib/app/templates/configuration.tpl.d.ts +2 -0
- package/lib/app/templates/configuration.tpl.js +36 -0
- package/lib/app/templates/configuration.tpl.js.map +1 -0
- package/lib/app/templates/configuration.tpl.ts +41 -0
- package/lib/app/templates/declarations.tpl.d.ts +2 -0
- package/lib/app/templates/declarations.tpl.js +23 -0
- package/lib/app/templates/declarations.tpl.js.map +1 -0
- package/lib/app/templates/declarations.tpl.ts +31 -0
- package/lib/app/templates/index.html.tpl.d.ts +2 -0
- package/lib/app/templates/index.html.tpl.js +85 -0
- package/lib/app/templates/index.html.tpl.js.map +1 -0
- package/lib/app/templates/index.html.tpl.ts +85 -0
- package/lib/app/templates/index.tpl.d.ts +2 -0
- package/lib/app/templates/index.tpl.js +18 -0
- package/lib/app/templates/index.tpl.js.map +1 -0
- package/lib/app/templates/index.tpl.ts +23 -0
- package/lib/app/templates/logger.tpl.d.ts +2 -0
- package/lib/app/templates/logger.tpl.js +33 -0
- package/lib/app/templates/logger.tpl.js.map +1 -0
- package/lib/app/templates/logger.tpl.ts +38 -0
- package/lib/app/templates/package.json.tpl.d.ts +2 -0
- package/lib/app/templates/package.json.tpl.js +53 -0
- package/lib/app/templates/package.json.tpl.js.map +1 -0
- package/lib/app/templates/package.json.tpl.ts +65 -0
- package/lib/app/templates/readme.md.tpl.d.ts +2 -0
- package/lib/app/templates/readme.md.tpl.js +50 -0
- package/lib/app/templates/readme.md.tpl.js.map +1 -0
- package/lib/app/templates/readme.md.tpl.ts +50 -0
- package/lib/app/templates/services.tpl.d.ts +2 -0
- package/lib/app/templates/services.tpl.js +14 -0
- package/lib/app/templates/services.tpl.js.map +1 -0
- package/lib/app/templates/services.tpl.ts +19 -0
- package/lib/app/templates/tsconfig.json.tpl.d.ts +2 -0
- package/lib/app/templates/tsconfig.json.tpl.js +20 -0
- package/lib/app/templates/tsconfig.json.tpl.js.map +1 -0
- package/lib/app/templates/tsconfig.json.tpl.ts +26 -0
- package/lib/authentication/index.d.ts +71 -0
- package/lib/authentication/index.js +94 -0
- package/lib/authentication/index.js.map +1 -0
- package/lib/authentication/index.ts +103 -0
- package/lib/authentication/templates/authentication.tpl.d.ts +2 -0
- package/lib/authentication/templates/authentication.tpl.js +40 -0
- package/lib/authentication/templates/authentication.tpl.js.map +1 -0
- package/lib/authentication/templates/authentication.tpl.ts +53 -0
- package/lib/authentication/templates/config.tpl.d.ts +2 -0
- package/lib/authentication/templates/config.tpl.js +46 -0
- package/lib/authentication/templates/config.tpl.js.map +1 -0
- package/lib/authentication/templates/config.tpl.ts +51 -0
- package/lib/authentication/templates/declarations.tpl.d.ts +2 -0
- package/lib/authentication/templates/declarations.tpl.js +19 -0
- package/lib/authentication/templates/declarations.tpl.js.map +1 -0
- package/lib/authentication/templates/declarations.tpl.ts +29 -0
- package/lib/authentication/templates/knex.tpl.d.ts +2 -0
- package/lib/authentication/templates/knex.tpl.js +41 -0
- package/lib/authentication/templates/knex.tpl.js.map +1 -0
- package/lib/authentication/templates/knex.tpl.ts +59 -0
- package/lib/authentication/templates/test.tpl.d.ts +2 -0
- package/lib/authentication/templates/test.tpl.js +43 -0
- package/lib/authentication/templates/test.tpl.js.map +1 -0
- package/lib/authentication/templates/test.tpl.ts +50 -0
- package/lib/authentication/templates/user.resolver.tpl.d.ts +2 -0
- package/lib/authentication/templates/user.resolver.tpl.js +96 -0
- package/lib/authentication/templates/user.resolver.tpl.js.map +1 -0
- package/lib/authentication/templates/user.resolver.tpl.ts +109 -0
- package/lib/authentication/templates/user.schema.tpl.d.ts +2 -0
- package/lib/authentication/templates/user.schema.tpl.js +85 -0
- package/lib/authentication/templates/user.schema.tpl.js.map +1 -0
- package/lib/authentication/templates/user.schema.tpl.ts +93 -0
- package/lib/commons.d.ts +120 -0
- package/lib/commons.js +137 -0
- package/lib/commons.js.map +1 -0
- package/lib/commons.ts +187 -0
- package/lib/connection/index.d.ts +53 -0
- package/lib/connection/index.js +86 -0
- package/lib/connection/index.js.map +1 -0
- package/lib/connection/index.ts +109 -0
- package/lib/connection/templates/knex.tpl.d.ts +2 -0
- package/lib/connection/templates/knex.tpl.js +59 -0
- package/lib/connection/templates/knex.tpl.js.map +1 -0
- package/lib/connection/templates/knex.tpl.ts +79 -0
- package/lib/connection/templates/mongodb.tpl.d.ts +2 -0
- package/lib/connection/templates/mongodb.tpl.js +39 -0
- package/lib/connection/templates/mongodb.tpl.js.map +1 -0
- package/lib/connection/templates/mongodb.tpl.ts +51 -0
- package/lib/hook/index.d.ts +22 -0
- package/lib/hook/index.js +40 -0
- package/lib/hook/index.js.map +1 -0
- package/lib/hook/index.ts +45 -0
- package/lib/hook/templates/hook.tpl.d.ts +2 -0
- package/lib/hook/templates/hook.tpl.js +21 -0
- package/lib/hook/templates/hook.tpl.js.map +1 -0
- package/lib/hook/templates/hook.tpl.ts +28 -0
- package/lib/index.d.ts +16 -0
- package/lib/index.js +24 -62
- package/lib/index.js.map +1 -0
- package/lib/index.ts +27 -0
- package/lib/service/index.d.ts +130 -0
- package/lib/service/index.js +84 -0
- package/lib/service/index.js.map +1 -0
- package/lib/service/index.ts +150 -0
- package/lib/service/templates/client.tpl.d.ts +2 -0
- package/lib/service/templates/client.tpl.js +16 -0
- package/lib/service/templates/client.tpl.js.map +1 -0
- package/lib/service/templates/client.tpl.ts +27 -0
- package/lib/service/templates/resolver.tpl.d.ts +2 -0
- package/lib/service/templates/resolver.tpl.js +73 -0
- package/lib/service/templates/resolver.tpl.js.map +1 -0
- package/lib/service/templates/resolver.tpl.ts +78 -0
- package/lib/service/templates/schema.tpl.d.ts +2 -0
- package/lib/service/templates/schema.tpl.js +75 -0
- package/lib/service/templates/schema.tpl.js.map +1 -0
- package/lib/service/templates/schema.tpl.ts +80 -0
- package/lib/service/templates/service.tpl.d.ts +2 -0
- package/lib/service/templates/service.tpl.js +92 -0
- package/lib/service/templates/service.tpl.js.map +1 -0
- package/lib/service/templates/service.tpl.ts +117 -0
- package/lib/service/templates/test.tpl.d.ts +2 -0
- package/lib/service/templates/test.tpl.js +24 -0
- package/lib/service/templates/test.tpl.js.map +1 -0
- package/lib/service/templates/test.tpl.ts +29 -0
- package/lib/service/type/custom.tpl.d.ts +4 -0
- package/lib/service/type/custom.tpl.js +79 -0
- package/lib/service/type/custom.tpl.js.map +1 -0
- package/lib/service/type/custom.tpl.ts +81 -0
- package/lib/service/type/knex.tpl.d.ts +5 -0
- package/lib/service/type/knex.tpl.js +50 -0
- package/lib/service/type/knex.tpl.js.map +1 -0
- package/lib/service/type/knex.tpl.ts +62 -0
- package/lib/service/type/mongodb.tpl.d.ts +4 -0
- package/lib/service/type/mongodb.tpl.js +29 -0
- package/lib/service/type/mongodb.tpl.js.map +1 -0
- package/lib/service/type/mongodb.tpl.ts +34 -0
- package/package.json +56 -36
- package/bin/feathers.js +0 -5
package/package.json
CHANGED
|
@@ -1,67 +1,87 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feathersjs/cli",
|
|
3
|
-
"description": "
|
|
4
|
-
"version": "
|
|
5
|
-
"homepage": "https://
|
|
3
|
+
"description": "The command line interface for creating Feathers applications",
|
|
4
|
+
"version": "5.0.0-pre.24",
|
|
5
|
+
"homepage": "https://feathersjs.com",
|
|
6
6
|
"main": "lib/",
|
|
7
7
|
"bin": {
|
|
8
|
-
"feathers": "./bin/feathers
|
|
8
|
+
"feathers": "./bin/feathers"
|
|
9
9
|
},
|
|
10
10
|
"keywords": [
|
|
11
11
|
"feathers",
|
|
12
12
|
"feathers-plugin"
|
|
13
13
|
],
|
|
14
14
|
"license": "MIT",
|
|
15
|
+
"funding": {
|
|
16
|
+
"type": "github",
|
|
17
|
+
"url": "https://github.com/sponsors/daffl"
|
|
18
|
+
},
|
|
15
19
|
"repository": {
|
|
16
20
|
"type": "git",
|
|
17
|
-
"url": "git://github.com/feathersjs/
|
|
21
|
+
"url": "git://github.com/feathersjs/feathers.git"
|
|
18
22
|
},
|
|
19
23
|
"author": {
|
|
20
24
|
"name": "Feathers contributors",
|
|
21
25
|
"email": "hello@feathersjs.com",
|
|
22
26
|
"url": "https://feathersjs.com"
|
|
23
27
|
},
|
|
28
|
+
"contributors": [],
|
|
24
29
|
"bugs": {
|
|
25
|
-
"url": "https://github.com/feathersjs/
|
|
30
|
+
"url": "https://github.com/feathersjs/feathers/issues"
|
|
26
31
|
},
|
|
27
32
|
"engines": {
|
|
28
|
-
"node": ">=
|
|
33
|
+
"node": ">= 14"
|
|
29
34
|
},
|
|
35
|
+
"files": [
|
|
36
|
+
"CHANGELOG.md",
|
|
37
|
+
"LICENSE",
|
|
38
|
+
"README.md",
|
|
39
|
+
"lib/**",
|
|
40
|
+
"bin/**",
|
|
41
|
+
"*.d.ts",
|
|
42
|
+
"*.js"
|
|
43
|
+
],
|
|
30
44
|
"scripts": {
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"release:minor": "npm version minor && npm publish --access public",
|
|
36
|
-
"release:major": "npm version major && npm publish --access public",
|
|
37
|
-
"mocha": "mocha --recursive test/",
|
|
38
|
-
"test": "npm run lint && npm run mocha",
|
|
39
|
-
"lint": "semistandard --fix",
|
|
40
|
-
"update-dependencies": "ncu -u -x yeoman-environment"
|
|
45
|
+
"prepublish": "npm run compile",
|
|
46
|
+
"compile": "shx rm -rf lib/ && tsc && shx cp -r src/. lib/",
|
|
47
|
+
"mocha": "mocha --timeout 60000 --config ../../.mocharc.json --recursive test/**.test.ts test/**/*.test.ts",
|
|
48
|
+
"test": "npm run compile && npm run mocha"
|
|
41
49
|
},
|
|
42
50
|
"directories": {
|
|
43
|
-
"lib": "lib"
|
|
51
|
+
"lib": "lib/cli"
|
|
44
52
|
},
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"env": [
|
|
48
|
-
"mocha"
|
|
49
|
-
]
|
|
53
|
+
"publishConfig": {
|
|
54
|
+
"access": "public"
|
|
50
55
|
},
|
|
51
|
-
"preferGlobal": true,
|
|
52
56
|
"dependencies": {
|
|
53
|
-
"@
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"semver": "^7.3.5",
|
|
58
|
-
"update-notifier": "^5.1.0",
|
|
59
|
-
"yeoman-environment": "^2.10.3"
|
|
57
|
+
"@feathershq/pinion": "^0.3.3",
|
|
58
|
+
"chalk": "^4.0.1",
|
|
59
|
+
"lodash": "^4.17.21",
|
|
60
|
+
"prettier": "^2.7.1"
|
|
60
61
|
},
|
|
61
62
|
"devDependencies": {
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
|
|
63
|
+
"@feathersjs/authentication": "^5.0.0-pre.24",
|
|
64
|
+
"@feathersjs/authentication-local": "^5.0.0-pre.24",
|
|
65
|
+
"@feathersjs/authentication-oauth": "^5.0.0-pre.24",
|
|
66
|
+
"@feathersjs/configuration": "^5.0.0-pre.24",
|
|
67
|
+
"@feathersjs/errors": "^5.0.0-pre.24",
|
|
68
|
+
"@feathersjs/express": "^5.0.0-pre.24",
|
|
69
|
+
"@feathersjs/feathers": "^5.0.0-pre.24",
|
|
70
|
+
"@feathersjs/knex": "^5.0.0-pre.24",
|
|
71
|
+
"@feathersjs/koa": "^5.0.0-pre.24",
|
|
72
|
+
"@feathersjs/mongodb": "^5.0.0-pre.24",
|
|
73
|
+
"@feathersjs/schema": "^5.0.0-pre.24",
|
|
74
|
+
"@feathersjs/socketio": "^5.0.0-pre.24",
|
|
75
|
+
"@feathersjs/transport-commons": "^5.0.0-pre.24",
|
|
76
|
+
"@types/mocha": "^9.1.1",
|
|
77
|
+
"@types/node": "^17.0.40",
|
|
78
|
+
"@types/prettier": "^2.6.3",
|
|
79
|
+
"axios": "^0.27.2",
|
|
80
|
+
"mocha": "^10.0.0",
|
|
81
|
+
"shx": "^0.3.4",
|
|
82
|
+
"ts-node": "^10.8.1",
|
|
83
|
+
"type-fest": "^2.13.0",
|
|
84
|
+
"typescript": "^4.7.3"
|
|
85
|
+
},
|
|
86
|
+
"gitHead": "72779fa2938f43d7b345b6861ff0035481a07de3"
|
|
67
87
|
}
|