Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1de869d
chore: WIP
sphamjoli Feb 2, 2026
e2d0183
chore: WIP pushing for visibility
sphamjoli Feb 5, 2026
62d812c
chore: minor fixes et al
sphamjoli Feb 5, 2026
b07b56d
chore: auto-fix format issues
sphamjoli Feb 5, 2026
1f127ee
fix: issues et al
sphamjoli Feb 5, 2026
e77d3b4
Merge branch 'spha/cli' of https://github.com/paritytech/dotns-sdk in…
sphamjoli Feb 5, 2026
435b6d7
fix: fixes et al
sphamjoli Feb 5, 2026
5f35c31
fix: CI
sphamjoli Feb 5, 2026
a8f81d5
fix: CI
sphamjoli Feb 5, 2026
cb0dc0e
fix: CI
sphamjoli Feb 5, 2026
e085726
fix: et al
sphamjoli Feb 5, 2026
3a3a030
fix: et al
sphamjoli Feb 5, 2026
896fe44
fix: ci
sphamjoli Feb 5, 2026
9208dff
fix: stuff
sphamjoli Feb 5, 2026
871be5a
fixL CI
sphamjoli Feb 5, 2026
b4ae455
fix: CI
sphamjoli Feb 5, 2026
795abeb
fix: CI
sphamjoli Feb 5, 2026
9ca9f9d
fix: CI
sphamjoli Feb 5, 2026
e2004dc
fix: CI
sphamjoli Feb 5, 2026
ac3a019
fix: CI
sphamjoli Feb 5, 2026
b6fc92d
fix: CI
sphamjoli Feb 5, 2026
5161b02
fix: CI
sphamjoli Feb 5, 2026
6f910c1
fix: CI
sphamjoli Feb 5, 2026
8644cf2
fix: CI
sphamjoli Feb 5, 2026
223ed75
fix: CI
sphamjoli Feb 5, 2026
fac30dc
fix: CI
sphamjoli Feb 5, 2026
bf5584d
fix : CI
sphamjoli Feb 5, 2026
256d1b8
fix: CI
sphamjoli Feb 5, 2026
32e6bb3
chore: ci
sphamjoli Feb 5, 2026
d2be824
fix: ci
sphamjoli Feb 5, 2026
afc89a7
fix: CI
sphamjoli Feb 5, 2026
9ca6d0c
fix: ci again :(
sphamjoli Feb 5, 2026
84c7845
fix: ci once again :(
sphamjoli Feb 5, 2026
e11e576
fix: et al
sphamjoli Feb 5, 2026
a877a83
fix: type check
sphamjoli Feb 5, 2026
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
56 changes: 56 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Contributing

## Where to Contribute

| Type | Repository |
|------|------------|
| Protocol | [paritytech/dotns](https://github.com/paritytech/dotns) |
| SDK/CLI | This repository |

## Setup
```bash
git clone https://github.com/parity/dotns-sdk.git
cd dotns-sdk
bun install
cd packages/cli && bun run build
```

## Development
```bash
bun run dev <command> # Run without building
bun run typecheck # Type check
bun run lint # Lint
bun run format # Format check
```

## Commits

Follow [Conventional Commits](https://www.conventionalcommits.org/):
```
<type>(<scope>): <description>
```

Types: feat, fix, docs, style, refactor, test, chore

Scopes: cli, bulletin, auth, register, deps, ci

Examples:
```
feat(cli): add parallel upload
fix(bulletin): resolve CID mismatch
docs(cli): update examples
chore(deps): bump polkadot-api
```

## Pull Requests

1. Create branch from `main`
2. Make changes
3. Run `bun run typecheck && bun run lint`
4. Open PR with clear description

## Code Style

- Run `bun run lint:fix` and `bun run format:fix` before committing
- Add JSDoc for public APIs
- Follow existing conventions
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
blank_issues_enabled: false
contact_links:
- name: Report Protocol Bug
url: https://github.com/paritytech/dotns/issues/new?template=bug_report.md
about: For bugs in the DotNS protocol or contracts, report on the main repository.

- name: Feature Request
url: https://github.com/paritytech/dotns/issues/new?template=feature_request.md
about: For protocol feature requests, submit to the main repository.

- name: Discussions
url: https://github.com/paritytech/dotns/discussions
about: Questions and general discussion.
97 changes: 97 additions & 0 deletions .github/ISSUE_TEMPLATE/sdk-bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: SDK Bug
description: Bug in SDK
labels: ["type: bug", "needs-info"]
body:
- type: markdown
attributes:
value: |
This tracker is for SDK and CLI bugs only.

Protocol bugs: https://github.com/paritytech/dotns/issues

- type: checkboxes
id: preflight
attributes:
label: Checklist
options:
- label: Searched existing issues
required: true
- label: Read documentation
required: true
- label: This is SDK/CLI specific
required: true

- type: dropdown
id: package
attributes:
label: Package
options:
- "@dotns/cli"
- "Build/CI"
validations:
required: true

- type: dropdown
id: scope
attributes:
label: Area
options:
- "bulletin"
- "registration"
- "content hash"
- "auth/keystore"
- "lookup"
- "pop"
- "build"
- "other"
validations:
required: true

- type: textarea
id: description
attributes:
label: Description
validations:
required: true

- type: textarea
id: reproduction
attributes:
label: Steps to Reproduce
placeholder: |
1. Run `dotns ...`
2. See error
validations:
required: true

- type: textarea
id: expected
attributes:
label: Expected
validations:
required: true

- type: textarea
id: actual
attributes:
label: Actual
render: shell
validations:
required: true

- type: textarea
id: environment
attributes:
label: Environment
value: |
OS:
Bun:
Package version:
validations:
required: true

- type: textarea
id: logs
attributes:
label: Logs
render: shell
60 changes: 60 additions & 0 deletions .github/ISSUE_TEMPLATE/sdk-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Build Issue
description: Build or installation issue
labels: ["type: bug", "scope: build"]
body:
- type: checkboxes
id: preflight
attributes:
label: Checklist
options:
- label: Using Bun 1.2.6+
required: true
- label: Tried `bun install --frozen-lockfile`
required: true

- type: dropdown
id: issue-type
attributes:
label: Type
options:
- "Installation"
- "Build"
- "Runtime"
- "Dependencies"
- "TypeScript"
validations:
required: true

- type: textarea
id: description
attributes:
label: Description
validations:
required: true

- type: textarea
id: command
attributes:
label: Command
render: shell
validations:
required: true

- type: textarea
id: output
attributes:
label: Output
render: shell
validations:
required: true

- type: textarea
id: environment
attributes:
label: Environment
value: |
OS:
Bun:
Node:
validations:
required: true
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/sdk-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Documentation
description: Documentation issue
labels: ["type: docs"]
body:
- type: dropdown
id: doc-type
attributes:
label: Type
options:
- "README"
- "Code comments"
- "CLI help"
- "Examples"
- "Types"
validations:
required: true

- type: dropdown
id: issue-type
attributes:
label: Issue
options:
- "Missing"
- "Incorrect"
- "Unclear"
- "Outdated"
- "Typo"
validations:
required: true

- type: textarea
id: location
attributes:
label: Location
placeholder: "README.md line 45"
validations:
required: true

- type: textarea
id: description
attributes:
label: Description
validations:
required: true

- type: textarea
id: suggestion
attributes:
label: Suggestion
49 changes: 49 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
## Description

## Type

- [ ] Bug fix
- [ ] Feature
- [ ] Breaking change
- [ ] Documentation
- [ ] Chore

## Package

- [ ] `@dotns/cli`
- [ ] Root/monorepo
- [ ] Documentation

## Related Issues

Fixes #

## Checklist

### Code

- [ ] Follows project style
- [ ] `bun run lint` passes
- [ ] `bun run format` passes
- [ ] `bun run typecheck` passes

### Documentation

- [ ] README updated if needed
- [ ] Types updated if needed

### Breaking Changes

- [ ] No breaking changes
- [ ] Breaking changes documented below

**Breaking changes:**

## Testing

How to test:

1.
2.

## Notes
41 changes: 41 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
"pkg: cli":
- changed-files:
- any-glob-to-any-file: "packages/cli/**"

"scope: bulletin":
- changed-files:
- any-glob-to-any-file:
- "packages/cli/src/**/bulletin/**"
- "packages/cli/src/commands/bulletin.ts"

"scope: auth":
- changed-files:
- any-glob-to-any-file:
- "packages/cli/src/**/auth/**"
- "packages/cli/src/**/keystore/**"

"scope: registration":
- changed-files:
- any-glob-to-any-file: "packages/cli/src/**/register/**"

"scope: contenthash":
- changed-files:
- any-glob-to-any-file:
- "packages/cli/src/**/content/**"
- "packages/cli/src/**/cid/**"

"type: docs":
- changed-files:
- any-glob-to-any-file:
- "**/*.md"
- "docs/**"

"type: test":
- changed-files:
- any-glob-to-any-file: "packages/cli/tests/**"

"dependencies":
- changed-files:
- any-glob-to-any-file:
- "**/package.json"
- "**/bun.lockb"
Loading