Skip to content

Commit c390bf6

Browse files
refactor: rename package from @scottluskcis/outport to @scottluskcis/export-toolkit v1.0.0 (#31)
* Initial plan * refactor: rename package from @scottluskcis/outport to @scottluskcis/export-toolkit v1.0.0 Co-authored-by: scottluskcis <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: scottluskcis <[email protected]>
1 parent b9cb39a commit c390bf6

File tree

9 files changed

+97
-56
lines changed

9 files changed

+97
-56
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ jobs:
3939

4040
- name: Report publication
4141
run: |
42-
echo "✅ Successfully published @scottluskcis/outport@$(node -p "require('./package.json').version") to npm"
42+
echo "✅ Successfully published @scottluskcis/export-toolkit@$(node -p "require('./package.json').version") to npm"

CHANGELOG.md

Lines changed: 44 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,46 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## 🚀 Migration Note
9+
10+
**The package has been renamed from `@scottluskcis/outport` to `@scottluskcis/export-toolkit`.**
11+
12+
To migrate:
13+
14+
```bash
15+
# Uninstall the old package
16+
npm uninstall @scottluskcis/outport
17+
18+
# Install the new package
19+
npm install @scottluskcis/export-toolkit
20+
```
21+
22+
Update your imports:
23+
24+
```typescript
25+
// Before
26+
import { outport } from '@scottluskcis/outport';
27+
28+
// After
29+
import { outport } from '@scottluskcis/export-toolkit';
30+
```
31+
32+
The API remains unchanged - only the package name has changed.
33+
34+
---
35+
36+
## [1.0.0] - 2025-10-23
37+
38+
### Changed
39+
40+
- **BREAKING**: Package renamed from `@scottluskcis/outport` to `@scottluskcis/export-toolkit`
41+
- **BREAKING**: Repository renamed from `scottluskcis/outport` to `scottluskcis/export-toolkit`
42+
- Version bumped to 1.0.0 to signify package stability and the rename
43+
44+
### Note
45+
46+
This is purely a rename - the API and functionality remain unchanged. Upgrading requires only updating the package name in your `package.json` and import statements.
47+
848
## [Unreleased]
949

1050
## [0.0.7] - 2025-10-21
@@ -15,7 +55,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1555

1656
### Added
1757

18-
- **Initial public release** of `@scottluskcis/outport`
58+
- **Initial public release** of `@scottluskcis/export-toolkit` (formerly `@scottluskcis/outport`)
1959
- **Fluent Builder API** - Intuitive, chainable configuration for data exports
2060
- **CSV Export Support**
2161
- Configurable delimiters (comma, tab, semicolon, pipe)
@@ -76,5 +116,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
76116
- Added npm provenance for supply chain security
77117
- Implemented granular npm access tokens
78118

79-
[unreleased]: https://github.com/scottluskcis/outport/compare/v0.0.7...HEAD
80-
[0.0.7]: https://github.com/scottluskcis/outport/releases/tag/v0.0.7
119+
[unreleased]: https://github.com/scottluskcis/export-toolkit/compare/v1.0.0...HEAD
120+
[1.0.0]: https://github.com/scottluskcis/export-toolkit/releases/tag/v1.0.0
121+
[0.0.7]: https://github.com/scottluskcis/export-toolkit/releases/tag/v0.0.7

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# outport
1+
# export-toolkit
22

33
> Tool for exporting data to a format that can be used for reporting such as CSV, JSON, etc.
44
5-
[![CI](https://github.com/scottluskcis/outport/actions/workflows/ci.yml/badge.svg)](https://github.com/scottluskcis/outport/actions/workflows/ci.yml)
5+
[![CI](https://github.com/scottluskcis/export-toolkit/actions/workflows/ci.yml/badge.svg)](https://github.com/scottluskcis/export-toolkit/actions/workflows/ci.yml)
66
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
77
[![Node Version](https://img.shields.io/badge/node-%3E%3D18.0.0-brightgreen.svg)](https://nodejs.org)
88
[![TypeScript](https://img.shields.io/badge/TypeScript-5.6-blue.svg)](https://www.typescriptlang.org/)
9-
[![npm version](https://badge.fury.io/js/@scottluskcis%2Foutport.svg)](https://www.npmjs.com/package/@scottluskcis/outport)
10-
[![npm downloads](https://img.shields.io/npm/dm/@scottluskcis/outport.svg)](https://www.npmjs.com/package/@scottluskcis/outport)
9+
[![npm version](https://badge.fury.io/js/@scottluskcis%2Fexport-toolkit.svg)](https://www.npmjs.com/package/@scottluskcis/export-toolkit)
10+
[![npm downloads](https://img.shields.io/npm/dm/@scottluskcis/export-toolkit.svg)](https://www.npmjs.com/package/@scottluskcis/export-toolkit)
1111

1212
## ✨ Features
1313

@@ -25,17 +25,17 @@
2525
### Installation
2626

2727
```bash
28-
npm install @scottluskcis/outport
28+
npm install @scottluskcis/export-toolkit
2929
# or
30-
pnpm add @scottluskcis/outport
30+
pnpm add @scottluskcis/export-toolkit
3131
# or
32-
yarn add @scottluskcis/outport
32+
yarn add @scottluskcis/export-toolkit
3333
```
3434

3535
### Simple Export
3636

3737
```typescript
38-
import { outport } from '@scottluskcis/outport';
38+
import { outport } from '@scottluskcis/export-toolkit';
3939

4040
interface User {
4141
id: number;
@@ -104,7 +104,7 @@ console.log(`Total exported: ${result.value}`);
104104

105105
```typescript
106106
import { Command } from 'commander';
107-
import { outport } from '@scottluskcis/outport';
107+
import { outport } from '@scottluskcis/export-toolkit';
108108

109109
const program = new Command();
110110

@@ -224,8 +224,8 @@ Node.js File System
224224

225225
```bash
226226
# Clone the repository
227-
git clone https://github.com/scottluskcis/outport.git
228-
cd outport
227+
git clone https://github.com/scottluskcis/export-toolkit.git
228+
cd export-toolkit
229229

230230
# Install dependencies
231231
pnpm install
@@ -249,7 +249,7 @@ pnpm install
249249
### Project Structure
250250

251251
```
252-
outport/
252+
export-toolkit/
253253
├── .github/ # GitHub Actions workflows and configs
254254
├── docs/ # Documentation
255255
│ └── csv-writer.md # CSV Writer usage guide
@@ -327,6 +327,6 @@ MIT © [scottluskcis](https://github.com/scottluskcis)
327327

328328
## 🔗 Links
329329

330-
- [GitHub Repository](https://github.com/scottluskcis/outport)
331-
- [Issue Tracker](https://github.com/scottluskcis/outport/issues)
332-
- [Changelog](https://github.com/scottluskcis/outport/blob/main/CHANGELOG.md)
330+
- [GitHub Repository](https://github.com/scottluskcis/export-toolkit)
331+
- [Issue Tracker](https://github.com/scottluskcis/export-toolkit/issues)
332+
- [Changelog](https://github.com/scottluskcis/export-toolkit/blob/main/CHANGELOG.md)

docs/builder-api.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The Builder API provides a fluent, chainable interface for configuring and execu
55
## Quick Start
66

77
```typescript
8-
import { outport } from '@scottluskcis/outport';
8+
import { outport } from '@scottluskcis/export-toolkit';
99

1010
// Simple CSV export
1111
await outport<User>().to('./users.csv').write(users);
@@ -307,7 +307,7 @@ Perfect for CLI tools using Commander.js:
307307

308308
```typescript
309309
import { Command } from 'commander';
310-
import { outport } from '@scottluskcis/outport';
310+
import { outport } from '@scottluskcis/export-toolkit';
311311

312312
const program = new Command();
313313

@@ -343,7 +343,7 @@ program.parse();
343343
### Example 1: Database Export with Pagination
344344

345345
```typescript
346-
import { outport } from '@scottluskcis/outport';
346+
import { outport } from '@scottluskcis/export-toolkit';
347347
import { db } from './database';
348348

349349
async function* fetchAllUsers() {
@@ -532,7 +532,7 @@ await outport<User>()
532532
### Before (Direct Writer)
533533

534534
```typescript
535-
import { CsvWriter } from '@scottluskcis/outport';
535+
import { CsvWriter } from '@scottluskcis/export-toolkit';
536536

537537
const writer = new CsvWriter<User>({
538538
type: 'csv',
@@ -550,7 +550,7 @@ const result = await writer.write(users);
550550
### After (Builder API)
551551

552552
```typescript
553-
import { outport } from '@scottluskcis/outport';
553+
import { outport } from '@scottluskcis/export-toolkit';
554554

555555
const result = await outport<User>()
556556
.to('./users.csv')

docs/csv-writer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Quick reference for using the `CsvWriter` class to export data to CSV files.
77
### Simple Write
88

99
```typescript
10-
import { CsvWriter } from '@scottluskcis/outport';
10+
import { CsvWriter } from '@scottluskcis/export-toolkit';
1111

1212
interface User {
1313
id: number;
@@ -177,7 +177,7 @@ if (result.success) {
177177
Use the `WriterFactory` to create writers:
178178

179179
```typescript
180-
import { WriterFactory } from '@scottluskcis/outport';
180+
import { WriterFactory } from '@scottluskcis/export-toolkit';
181181

182182
const writer = WriterFactory.create<User>({
183183
type: 'csv',

docs/json-writer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Quick reference for using the `JsonWriter` class to export data to JSON files.
77
### Simple Write
88

99
```typescript
10-
import { JsonWriter } from '@scottluskcis/outport';
10+
import { JsonWriter } from '@scottluskcis/export-toolkit';
1111

1212
interface User {
1313
id: number;
@@ -158,7 +158,7 @@ if (result.success) {
158158
Use the `WriterFactory` to create writers:
159159

160160
```typescript
161-
import { WriterFactory } from '@scottluskcis/outport';
161+
import { WriterFactory } from '@scottluskcis/export-toolkit';
162162

163163
const writer = WriterFactory.create<User>({
164164
type: 'json',

docs/release-process.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release Process
22

3-
This document outlines the standardized release process for `@scottluskcis/outport`.
3+
This document outlines the standardized release process for `@scottluskcis/export-toolkit`.
44

55
## Pre-Release Checklist
66

@@ -49,8 +49,8 @@ Follow the [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format:
4949
- **Security** - Security improvements
5050
4. **Update comparison links at bottom of file**:
5151
```markdown
52-
[unreleased]: https://github.com/scottluskcis/outport/compare/vX.Y.Z...HEAD
53-
[x.y.z]: https://github.com/scottluskcis/outport/compare/vX.Y.Z-1...vX.Y.Z
52+
[unreleased]: https://github.com/scottluskcis/export-toolkit/compare/vX.Y.Z...HEAD
53+
[x.y.z]: https://github.com/scottluskcis/export-toolkit/compare/vX.Y.Z-1...vX.Y.Z
5454
```
5555

5656
Example:
@@ -69,8 +69,8 @@ Example:
6969

7070
- Bug fix for issue #123
7171

72-
[unreleased]: https://github.com/scottluskcis/outport/compare/v0.0.7...HEAD
73-
[0.0.7]: https://github.com/scottluskcis/outport/compare/v0.0.6...v0.0.7
72+
[unreleased]: https://github.com/scottluskcis/export-toolkit/compare/v0.0.7...HEAD
73+
[0.0.7]: https://github.com/scottluskcis/export-toolkit/compare/v0.0.6...v0.0.7
7474
```
7575

7676
### 4. Commit Changelog
@@ -118,7 +118,7 @@ This pushes:
118118
### 3. Create GitHub Release
119119

120120
1. **Navigate to Releases**:
121-
- Go to: https://github.com/scottluskcis/outport/releases/new
121+
- Go to: https://github.com/scottluskcis/export-toolkit/releases/new
122122

123123
2. **Select the Tag**:
124124
- Choose the tag you just created (e.g., `v0.0.7`)
@@ -137,7 +137,7 @@ This pushes:
137137
### 4. Monitor Workflow
138138

139139
1. **Watch the GitHub Action**:
140-
- Go to: https://github.com/scottluskcis/outport/actions
140+
- Go to: https://github.com/scottluskcis/export-toolkit/actions
141141
- Look for "Publish to npm" workflow
142142
- Ensure it completes successfully
143143

@@ -152,29 +152,29 @@ After the workflow completes:
152152
1. **Check npm Registry**:
153153

154154
```bash
155-
npm view @scottluskcis/outport
155+
npm view @scottluskcis/export-toolkit
156156
```
157157

158158
Should show the new version.
159159

160160
2. **Visit npm Package Page**:
161-
- Go to: https://www.npmjs.com/package/@scottluskcis/outport
161+
- Go to: https://www.npmjs.com/package/@scottluskcis/export-toolkit
162162
- Verify the new version is listed
163163
- Check for the provenance badge (🔒 verified)
164164

165165
3. **Test Installation**:
166166

167167
```bash
168-
npm install @scottluskcis/outport@latest
168+
npm install @scottluskcis/export-toolkit@latest
169169
```
170170

171171
Or in a test project:
172172

173173
```bash
174174
mkdir test-install && cd test-install
175175
npm init -y
176-
npm install @scottluskcis/outport
177-
node -e "console.log(require('@scottluskcis/outport'))"
176+
npm install @scottluskcis/export-toolkit
177+
node -e "console.log(require('@scottluskcis/export-toolkit'))"
178178
```
179179

180180
## Post-Release
@@ -184,7 +184,7 @@ After the workflow completes:
184184
Check what was actually published:
185185

186186
```bash
187-
npm pack @scottluskcis/outport@latest --dry-run
187+
npm pack @scottluskcis/export-toolkit@latest --dry-run
188188
```
189189

190190
This shows the files included in the published package.
@@ -260,7 +260,7 @@ Increment when you make **backward-compatible bug fixes**:
260260

261261
1. **Authentication Error**:
262262
- Verify `NPM_TOKEN` secret is set correctly
263-
- Ensure token has "Read and write" permissions for `@scottluskcis/outport`
263+
- Ensure token has "Read and write" permissions for `@scottluskcis/export-toolkit`
264264
- Check token hasn't expired
265265

266266
2. **Version Already Published**:
@@ -281,7 +281,7 @@ Increment when you make **backward-compatible bug fixes**:
281281

282282
```bash
283283
# Unpublish the incorrect version (use sparingly!)
284-
npm unpublish @scottluskcis/outport@X.Y.Z
284+
npm unpublish @scottluskcis/export-toolkit@X.Y.Z
285285

286286
# Publish the correct version
287287
npm version patch
@@ -308,7 +308,7 @@ git push && git push --tags
308308

309309
2. **Deprecate the broken version**:
310310
```bash
311-
npm deprecate @scottluskcis/outport@X.Y.Z "Critical bug, please upgrade to X.Y.Z+1"
311+
npm deprecate @scottluskcis/export-toolkit@X.Y.Z "Critical bug, please upgrade to X.Y.Z+1"
312312
```
313313

314314
## Emergency Contacts
@@ -323,21 +323,21 @@ git push && git push --tags
323323
npm pack --dry-run
324324

325325
# View package info on npm
326-
npm view @scottluskcis/outport
326+
npm view @scottluskcis/export-toolkit
327327

328328
# View specific version
329-
npm view @scottluskcis/outport@X.Y.Z
329+
npm view @scottluskcis/export-toolkit@X.Y.Z
330330

331331
# List all published versions
332-
npm view @scottluskcis/outport versions
332+
npm view @scottluskcis/export-toolkit versions
333333

334334
# Check latest version
335-
npm view @scottluskcis/outport version
335+
npm view @scottluskcis/export-toolkit version
336336

337337
# Test package in a temporary directory
338338
mkdir /tmp/test-outport && cd /tmp/test-outport
339339
npm init -y
340-
npm install @scottluskcis/outport
340+
npm install @scottluskcis/export-toolkit
341341
```
342342

343343
## Release Frequency

0 commit comments

Comments
 (0)