@travetto/terminal 5.0.0-rc.0 → 5.0.0-rc.2

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
@@ -47,7 +47,7 @@ export const cliTpl = StyleUtil.getTemplate({
47
47
  });
48
48
  ```
49
49
 
50
- When the color palette is combined with [Base](https://github.com/travetto/travetto/tree/main/module/base#readme "Environment config and common utilities for travetto applications.")'s Util.makeTemplate, you produce a string template function that will automatically colorize:
50
+ When the color palette is combined with [Base](https://github.com/travetto/travetto/tree/main/module/runtime#readme "Environment config and common utilities 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.0",
3
+ "version": "5.0.0-rc.2",
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/base": "^5.0.0-rc.0",
27
+ "@travetto/runtime": "^5.0.0-rc.2",
28
28
  "chalk": "^4.1.2"
29
29
  },
30
30
  "travetto": {
package/src/style.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import chalk from 'chalk';
2
2
 
3
- import { Env, TypedObject } from '@travetto/base';
3
+ import { Env, TypedObject } from '@travetto/runtime';
4
4
 
5
5
  type TemplatePrim = number | string | bigint | boolean | RegExp;
6
6
  type Color = `#${string}`;
package/src/terminal.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import tty from 'node:tty';
2
2
 
3
- import { Env, Util } from '@travetto/base';
3
+ import { Env, Util } from '@travetto/runtime';
4
4
 
5
5
  import { TerminalWriter } from './writer';
6
6
 
package/src/writer.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import tty from 'node:tty';
2
2
 
3
- import { ShutdownManager } from '@travetto/base';
3
+ import { ShutdownManager } from '@travetto/runtime';
4
4
 
5
5
  type State = { output: tty.WriteStream, height: number, width: number };
6
6
  type TermCoord = { x: number, y: number };