Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
b0e2390
chore: add lint and formatting checks
grayfoxd Oct 27, 2026
3568cdc
Revert "Revert "Release 2.0.0""
grayfoxd Oct 27, 2026
198c3ec
Restore Sunhat 2.0 with latest lint changes
grayfoxd Oct 27, 2026
bedda4a
refactor: move initialization configuration into templates
grayfoxd Oct 27, 2026
0e93ca4
refactor: use TOML library and native init argument parsing
grayfoxd Oct 27, 2026
5ff4d6b
refactor: separate TOML parsing from binding validation
grayfoxd Oct 27, 2026
ad937c1
refactor: initialize Foundry toolchains from templates
grayfoxd Oct 27, 2026
d424313
docs: rewrite Sunhat 2 overview and add QuickStart guide
grayfoxd Oct 27, 2026
66762cc
Merge pull request #60 from sun-protocol/restore/sunhat-2
grayfoxd Oct 27, 2026
3f1938e
fix: check initialization parent paths before writing files
grayfoxd Oct 27, 2026
96e1bb3
fix: validate framework JSON input types
grayfoxd Oct 27, 2026
1804eef
fix: distinguish initialization write failures from conflicts
grayfoxd Oct 27, 2026
e4bad10
fix: clean up native process handlers on every exit path
grayfoxd Oct 27, 2026
94924ba
refactor: separate toolchain services from command handlers
grayfoxd Oct 27, 2026
917cab0
chore: strengthen source quality gates and error handling
grayfoxd Oct 27, 2026
100325a
fix: preserve installation results when temporary cleanup fails
grayfoxd Oct 27, 2026
f22b006
fix: validate adopted project paths before writing configuration
grayfoxd Oct 27, 2026
c4a746b
test: isolate CLI fixtures and bound child process execution
grayfoxd Oct 27, 2026
e0f0c29
Merge pull request #61 from sun-protocol/restore/sunhat-2
grayfoxd Oct 27, 2026
1f1ffa5
fix: generate portable Sunhat dependencies from package metadata
grayfoxd Oct 28, 2026
70a2365
build: verify packed CLI through an isolated installation
grayfoxd Oct 28, 2026
1338561
refactor: separate initialization planning from file writes
grayfoxd Oct 28, 2026
df92e15
refactor: decouple installer I/O and remove source-rewriting fixtures
grayfoxd Oct 28, 2026
87f792b
refactor: consolidate source layout and CLI modules
grayfoxd Oct 28, 2026
8922d57
test: make binding assertions independent of line endings
grayfoxd Oct 28, 2026
54dbaba
refactor: separate project init from toolchain install
grayfoxd Oct 28, 2026
becf0b7
Merge pull request #62 from sun-protocol/restore/sunhat-2
grayfoxd Oct 28, 2026
70bb493
refactor: tighten CLI types and toolchain path handling
grayfoxd Oct 28, 2026
093a0d1
Merge pull request #63 from sun-protocol/restore/sunhat-2
grayfoxd Oct 28, 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
1 change: 0 additions & 1 deletion .agents/skills/sunhat

This file was deleted.

1 change: 0 additions & 1 deletion .env

This file was deleted.

7 changes: 0 additions & 7 deletions .eslintignore

This file was deleted.

22 changes: 0 additions & 22 deletions .eslintrc.js

This file was deleted.

34 changes: 0 additions & 34 deletions .github/ISSUE_TEMPLATE/bug_report.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/ISSUE_TEMPLATE/feature_request.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

53 changes: 53 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: ci

on:
push:
pull_request:

permissions:
contents: read

jobs:
node:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: 24.22.1
cache: npm
- run: npm ci
- run: npm run lint
- run: npm run format:check
- run: npm test
- run: npm run test:templates
- run: npm run pack:check

minimum-node:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: 24.22.1
cache: npm
- run: npm ci
- run: npm run build
- uses: actions/setup-node@v7
with:
node-version: 20.11.0
- run: npm ci --omit=dev --ignore-scripts
- run: npm run test:runtime

windows-toolchain:
runs-on: windows-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: 24.22.1
cache: npm
- run: npm ci
- run: npm run build
- run: node --test test/toolchain.test.js test/process.test.js
- run: npm run pack:check
25 changes: 0 additions & 25 deletions .github/workflows/linux-test.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/release.yml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/workflows/sunhat-dev-publish.yml

This file was deleted.

18 changes: 5 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
dist
node_modules
pnpm-lock.yaml
artifacts
cache
extendedArtifacts/
package-lock.json
.vscode/
*.swp
*.swo
.pnpm-store
out/
*.vsix
/dist/
/node_modules/
/.sunhat/toolchains/
/*.tgz
**/.DS_Store
8 changes: 8 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
node_modules/
dist/
.sunhat/
.codex/
.agents/
.aws/
package-lock.json
*.tgz
4 changes: 0 additions & 4 deletions .prettierrc

This file was deleted.

16 changes: 16 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"singleQuote": true,
"semi": true,
"endOfLine": "lf",
"plugins": ["prettier-plugin-solidity"],
"overrides": [
{
"files": "**/*.sol",
"options": {
"tabWidth": 4,
"printWidth": 120,
"singleQuote": false
}
}
]
}
11 changes: 0 additions & 11 deletions .setup.js

This file was deleted.

19 changes: 0 additions & 19 deletions .vscode/settings.json

This file was deleted.

19 changes: 0 additions & 19 deletions .vscode/settings.json.default

This file was deleted.

Loading
Loading