Skip to content

Commit 98918f9

Browse files
committed
init
0 parents  commit 98918f9

7,542 files changed

Lines changed: 1857675 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Recorded oracle outputs — committed on purpose, but generated:
2+
# collapse in GitHub diffs and exclude from language stats.
3+
tests/fixtures/**/expected*.json linguist-generated
4+
tests/fixtures/**/audit_signature.txt linguist-generated
5+
6+
# Committed benchmark reports (regenerated by `deno task bench`)
7+
benches/deno/results/report.json linguist-generated
8+
benches/deno/results/report.md linguist-generated

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: ryanatkn
2+
patreon: ryanatkn

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Questions, feature requests, problems, talk, etc
4+
url: https://github.com/fuzdev/tsv/discussions/new/choose
5+
about: discussions
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
name: New issue (bugs only)
3+
title: (bug reports only, make a discussion for everything else)
4+
about: bugs
5+
---
6+
7+
tip: use discussions for everything except bugs:
8+
https://github.com/fuzdev/tsv/discussions/new/choose
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Close External PRs
2+
3+
on:
4+
pull_request_target:
5+
types: [opened, reopened]
6+
7+
permissions:
8+
pull-requests: write
9+
10+
jobs:
11+
close-external-pr:
12+
runs-on: ubuntu-latest
13+
if: github.event.pull_request.head.repo.full_name != github.repository
14+
steps:
15+
- name: Close PR with message
16+
uses: actions/github-script@v7
17+
with:
18+
script: |
19+
const isReopen = context.payload.action === 'reopened';
20+
21+
// Only comment on first open, not reopens
22+
if (!isReopen) {
23+
await github.rest.issues.createComment({
24+
owner: context.repo.owner,
25+
repo: context.repo.repo,
26+
issue_number: context.payload.pull_request.number,
27+
body: `Thank you for your interest in contributing, our apologies but this project doesn't accept external pull requests at this time.\n\nPlease see [CONTRIBUTING.md](https://github.com/${context.repo.owner}/${context.repo.repo}/blob/main/CONTRIBUTING.md) for more details. If you found a bug or have a feature suggestion, please open an issue instead!`
28+
});
29+
}
30+
31+
await github.rest.pulls.update({
32+
owner: context.repo.owner,
33+
repo: context.repo.repo,
34+
pull_number: context.payload.pull_request.number,
35+
state: 'closed'
36+
});

.gitignore

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Deps
2+
node_modules
3+
.deno
4+
5+
# Output
6+
/target
7+
/.svelte-kit
8+
/build
9+
/dist
10+
/dist_*
11+
/.gro
12+
/.zzz
13+
14+
# WASM build output
15+
/crates/tsv_wasm/pkg
16+
17+
# Publish retry sentinel (scripts/publish.ts)
18+
/.publish-in-progress
19+
20+
# Drift-check generated file (left on failure for inspection)
21+
/scripts/.drift_check.gen.ts
22+
23+
# Benchmark results (report.json and report.md are committed; baseline.json lives here too)
24+
/benches/deno/results/*.json
25+
/benches/deno/results/*.md
26+
!/benches/deno/results/report.json
27+
!/benches/deno/results/report.md
28+
29+
# Env
30+
.env*
31+
!.env.example
32+
!.env.*.example
33+
!.env.test
34+
!.env.*.test
35+
36+
# Secrets
37+
*.pem
38+
id_rsa
39+
40+
# Ignore
41+
*.ignore
42+
*.ignore.*
43+
ignore
44+
45+
# Temporary files
46+
tmp/
47+
*.tmp
48+
.tmp*
49+
*.bak
50+
51+
# Log files
52+
*.log
53+
54+
# Workflow
55+
/worktree
56+
57+
# Os
58+
.DS_Store
59+
Thumbs.db

.prettierignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
tests/fixtures/
2+
src/
3+
node_modules/
4+
package-lock.json
5+
package.json

.prettierrc.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"plugins": ["prettier-plugin-svelte"],
3+
"useTabs": true,
4+
"printWidth": 100,
5+
"singleQuote": true,
6+
"bracketSpacing": false
7+
}

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# tsv changelog
2+
3+
Covers the npm packages published from this repo — `@fuzdev/tsv_format_wasm`,
4+
`@fuzdev/tsv_parse_wasm`, and `@fuzdev/tsv_wasm`. All move together at the
5+
`Cargo.toml [workspace.package]` version. `deno task publish --wetrun --bump <level>`
6+
converts the `## Unreleased` section into the released version's section.
7+
8+
## Unreleased
9+
10+
- init
11+
- add `@fuzdev/tsv_wasm` — the full tool (format + parse) in one package, with a
12+
`tsv` bin (`format` + `parse` subcommands mirroring the native CLI's flags and
13+
exit codes; single-threaded WASM — `--jobs` is accepted and ignored)
14+
- slim `@fuzdev/tsv_parse_wasm` to parse-only (the `format_*` exports and their
15+
printers move to `@fuzdev/tsv_wasm`; wasm drops from ~2.9 MB to ~1.7 MB raw,
16+
~895 KB to ~515 KB gzipped)

0 commit comments

Comments
 (0)