@travetto/terminal 5.0.0-rc.1 → 5.0.0-rc.11
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 +1 -1
- package/package.json +2 -2
- package/src/style.ts +1 -1
- package/src/terminal.ts +1 -1
- package/src/writer.ts +1 -1
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@ export const cliTpl = StyleUtil.getTemplate({
|
|
|
47
47
|
});
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
When the color palette is combined with [
|
|
50
|
+
When the color palette is combined with [Runtime](https://github.com/travetto/travetto/tree/main/module/runtime#readme "Runtime for travetto applications.")'s Util.makeTemplate, you produce a string template function that will automatically colorize:
|
|
51
51
|
|
|
52
52
|
**Code: Sample Template Usage**
|
|
53
53
|
```typescript
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/terminal",
|
|
3
|
-
"version": "5.0.0-rc.
|
|
3
|
+
"version": "5.0.0-rc.11",
|
|
4
4
|
"description": "General terminal support",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"terminal",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"directory": "module/terminal"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@travetto/
|
|
27
|
+
"@travetto/runtime": "^5.0.0-rc.11",
|
|
28
28
|
"chalk": "^4.1.2"
|
|
29
29
|
},
|
|
30
30
|
"travetto": {
|
package/src/style.ts
CHANGED
package/src/terminal.ts
CHANGED
package/src/writer.ts
CHANGED