Skip to content

Commit 1c20763

Browse files
committed
Checkpoint
1 parent db0458c commit 1c20763

File tree

4 files changed

+18
-16
lines changed

4 files changed

+18
-16
lines changed

CLAUDE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The project consists of:
1616

1717
- `/schema/`: JSON schemas defining the structure of JSON-DOC files
1818
- `/python/`: Python implementation
19-
- `/ts/`: TypeScript implementation (in progress)
19+
- `/typescript/`: TypeScript implementation
2020
- `/docs/`: Documentation
2121
- `/examples/`: Example files showing the format
2222
- `/tests/`: Tests for both implementations
@@ -53,15 +53,15 @@ ruff format .
5353

5454
```bash
5555
# Set up development environment
56-
cd /Users/onur/tc/JSON-DOC/ts
56+
cd /Users/onur/tc/JSON-DOC/typescript
5757
npm install
5858

5959
# Build TypeScript
60-
cd /Users/onur/tc/JSON-DOC/ts
60+
cd /Users/onur/tc/JSON-DOC/typescript
6161
npm run build
6262

6363
# Run tests
64-
cd /Users/onur/tc/JSON-DOC/ts
64+
cd /Users/onur/tc/JSON-DOC/typescript
6565
npm test
6666
```
6767

docs/typescript-implementation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,4 @@ While we strive to keep the API similar between the Python and TypeScript implem
131131

132132
## Development
133133

134-
If you want to contribute to the TypeScript implementation, see the [README.md](../ts/README.md) file in the `ts` directory for development instructions.
134+
If you want to contribute to the TypeScript implementation, see the [README.md](../typescript/README.md) file in the `typescript` directory for development instructions.

typescript/.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,31 @@ on:
44
push:
55
branches: [main]
66
paths:
7-
- "ts/**"
7+
- "typescript/**"
88
pull_request:
99
branches: [main]
1010
paths:
11-
- "ts/**"
11+
- "typescript/**"
1212

1313
jobs:
1414
build:
1515
runs-on: ubuntu-latest
1616
defaults:
1717
run:
18-
working-directory: ./ts
18+
working-directory: ./typescript
1919

2020
strategy:
2121
matrix:
22-
node-version: [16.x, 18.x, 20.x]
22+
node-version: [18.x, 20.x, 22.x]
2323

2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626
- name: Use Node.js ${{ matrix.node-version }}
27-
uses: actions/setup-node@v3
27+
uses: actions/setup-node@v4
2828
with:
2929
node-version: ${{ matrix.node-version }}
3030
cache: "npm"
31-
cache-dependency-path: ./ts/package-lock.json
31+
cache-dependency-path: ./typescript/package-lock.json
3232

3333
- name: Install dependencies
3434
run: npm ci

typescript/.github/workflows/publish.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@ jobs:
99
runs-on: ubuntu-latest
1010
defaults:
1111
run:
12-
working-directory: ./ts
12+
working-directory: ./typescript
1313

1414
steps:
15-
- uses: actions/checkout@v3
16-
- uses: actions/setup-node@v3
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-node@v4
1717
with:
18-
node-version: "16.x"
18+
node-version: "20.x"
1919
registry-url: "https://registry.npmjs.org"
20+
cache: "npm"
21+
cache-dependency-path: ./typescript/package-lock.json
2022

2123
- name: Install dependencies
2224
run: npm ci

0 commit comments

Comments
 (0)