Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ jobs:
name: Validate Pull Request
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18, 20]

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -22,10 +18,10 @@ jobs:
with:
version: latest

- name: Setup Node.js ${{ matrix.node-version }}
- name: Setup Node.js LTS
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version: 'lts/*'
cache: 'pnpm'

- name: Install dependencies
Expand All @@ -44,7 +40,4 @@ jobs:
run: pnpm run test:run

- name: Build project
run: pnpm run build

- name: Validate package can be published
run: pnpm pack --dry-run
run: pnpm run build
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

> A modern TypeScript library for building organized, dynamic terminal interfaces with zone-based layouts

[![npm version](https://badge.fury.io/js/zonr.svg)](https://badge.fury.io/js/zonr)
[![npm version](https://badge.fury.io/js/@zonr-logs%2Fcore.svg)](https://badge.fury.io/js/@zonr-logs%2Fcore)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Node.js Version](https://img.shields.io/node/v/zonr.svg)](https://nodejs.org/)
[![Node.js Version](https://img.shields.io/node/v/@zonr-logs%2Fcore.svg)](https://nodejs.org/)

---

Expand Down
21 changes: 12 additions & 9 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
export { default } from './zonr.js';
export type {
Zone,
ZoneConfig,
Transport,
LogLevel,
ANSIColor,
} from './types.js';
export { FileTransport, type FileTransportOptions } from './transports/file-transport.js';
export { default } from './zonr.js';
export type {
Zone,
ZoneConfig,
Transport,
LogLevel,
ANSIColor,
} from './types.js';
export {
FileTransport,
type FileTransportOptions,
} from './transports/file-transport.js';
Loading