@travetto/scaffold 5.1.0 → 6.0.0-rc.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.
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ In addition to the core functionality, the `rest` feature has some useful sub-fe
|
|
|
39
39
|
[Logging](https://github.com/travetto/travetto/tree/main/module/log#readme "Logging framework that integrates at the console.log level.") support for better formatting, [debug](https://www.npmjs.com/package/debug) like support, and colorized output. This is generally useful for server logs, especially during development.
|
|
40
40
|
|
|
41
41
|
## Authentication
|
|
42
|
-
Authentication is also supported on the Restful endpoints by selecting [Rest Auth](https://github.com/travetto/travetto/tree/main/module/auth-rest#readme "Rest authentication integration support for the Travetto framework") during setup. This will support basic authentication running out of local memory
|
|
42
|
+
Authentication is also supported on the Restful endpoints by selecting [Rest Auth](https://github.com/travetto/travetto/tree/main/module/auth-rest#readme "Rest authentication integration support for the Travetto framework") during setup. This will support basic authentication running out of local memory.
|
|
43
43
|
|
|
44
44
|
## Testing
|
|
45
45
|
[Testing](https://github.com/travetto/travetto/tree/main/module/test#readme "Declarative test framework") can also be configured out of the box to provide simple test cases for the data model.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/scaffold",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-rc.0",
|
|
4
4
|
"description": "App Scaffold for the Travetto framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"generator",
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
"trv-scaffold": "bin/trv-scaffold.js"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@travetto/cli": "^
|
|
31
|
-
"@travetto/runtime": "^
|
|
30
|
+
"@travetto/cli": "^6.0.0-rc.0",
|
|
31
|
+
"@travetto/runtime": "^6.0.0-rc.0",
|
|
32
32
|
"enquirer": "^2.4.1",
|
|
33
33
|
"mustache": "^4.2.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@travetto/model": "^
|
|
36
|
+
"@travetto/model": "^6.0.0-rc.0",
|
|
37
37
|
"@types/mustache": "^4.2.5"
|
|
38
38
|
},
|
|
39
39
|
"travetto": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Authorizer, Authenticator, AuthenticationError } from '@travetto/auth';
|
|
2
|
-
import { SessionModelSymbol } from '@travetto/
|
|
2
|
+
import { SessionModelSymbol } from '@travetto/auth-session';
|
|
3
3
|
import { InjectableFactory } from '@travetto/di';
|
|
4
4
|
import { ModelExpirySupport } from '@travetto/model';
|
|
5
5
|
import { MemoryModelService } from '@travetto/model-memory';
|
package/support/bin/features.ts
CHANGED
|
@@ -45,8 +45,7 @@ export const FEATURES: Feature[] = [
|
|
|
45
45
|
title: 'Rest Authentication',
|
|
46
46
|
package: '@travetto/auth-rest',
|
|
47
47
|
addons: [
|
|
48
|
-
{ title: '
|
|
49
|
-
{ title: 'Auth Rest Session', package: ['@travetto/auth-rest-session', '@travetto/model-memory'] },
|
|
48
|
+
{ title: 'Session Support', package: ['@travetto/auth-session', '@travetto/auth-rest-session', '@travetto/model-memory'] },
|
|
50
49
|
]
|
|
51
50
|
},
|
|
52
51
|
{
|