Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Commit f03e9b7

Browse files
authored
chore: init trunk (#67)
1 parent ecb1b02 commit f03e9b7

26 files changed

+396
-351
lines changed
Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,28 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: ''
4+
title: ""
55
labels: bug
6-
assignees: ''
7-
6+
assignees: ""
87
---
98

10-
**Describe the bug**
11-
A clear and concise description of what the bug is.
9+
**Describe the bug** A clear and concise description of what the bug is.
1210

13-
**To Reproduce**
14-
Steps to reproduce the behavior:
11+
**To Reproduce** Steps to reproduce the behavior:
1512

1613
1. Go to '...'
1714
2. Click on '....'
1815
3. Scroll down to '....'
1916
4. See error
2017

21-
**Expected behavior**
22-
A clear and concise description of what you expected to happen.
18+
**Expected behavior** A clear and concise description of what you expected to happen.
2319

24-
**Screenshots**
25-
If applicable, add screenshots to help explain your problem.
20+
**Screenshots** If applicable, add screenshots to help explain your problem.
2621

2722
**Environment**
2823

2924
- OS: [e.g. macOS, Windows, Ubuntu]
3025
- Language [e.g. AssemblyScript, Go]
3126
- Version [e.g. v0.xx]
3227

33-
**Additional context**
34-
Add any other context about the problem here.
28+
**Additional context** Add any other context about the problem here.
Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ''
5-
labels: ''
6-
assignees: ''
7-
4+
title: ""
5+
labels: ""
6+
assignees: ""
87
---
98

10-
**Is your feature request related to a problem? Please describe.**
11-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9+
**Is your feature request related to a problem? Please describe.** A clear and concise description
10+
of what the problem is. Ex. I'm always frustrated when [...]
1211

13-
**Describe the solution you'd like**
14-
A clear and concise description of what you want to happen.
12+
**Describe the solution you'd like** A clear and concise description of what you want to happen.
1513

16-
**Describe alternatives you've considered**
17-
A clear and concise description of any alternative solutions or features you've considered.
14+
**Describe alternatives you've considered** A clear and concise description of any alternative
15+
solutions or features you've considered.
1816

19-
**Additional context**
20-
Add any other context or screenshots about the feature request here.
17+
**Additional context** Add any other context or screenshots about the feature request here.

.github/actionlint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
self-hosted-runner:
2+
# Labels of self-hosted runner in array of string
3+
labels:
4+
- warp-ubuntu-latest-x64-2x

.github/pull_request_template.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,19 @@ Please explain the changes you made here.
66

77
- [ ] Code compiles correctly and linting passes locally
88
- [ ] Tests added for new functionality, or regression tests for bug fixes added as applicable
9-
- [ ] For new features, etc., PR on [docs repo](https://github.com/hypermodeinc/docs) staged and linked here
9+
- [ ] For new features, etc., PR on [docs repo](https://github.com/hypermodeinc/docs) staged and
10+
linked here
1011

1112
**Instructions**
1213

13-
- The PR title should follow the [Conventional Commits](https://www.conventionalcommits.org/) syntax, leading with `fix:`, `feat:`, `chore:`, `ci:`, etc.
14-
- The description should briefly explain what the PR is about. In the case of a bugfix, describe or link to the bug.
14+
- The PR title should follow the [Conventional Commits](https://www.conventionalcommits.org/)
15+
syntax, leading with `fix:`, `feat:`, `chore:`, `ci:`, etc.
16+
- The description should briefly explain what the PR is about. In the case of a bugfix, describe or
17+
link to the bug.
1518
- In the checklist section, check the boxes in that are applicable, using `[x]` syntax.
16-
- If not applicable, remove the entire line. Only leave the box unchecked if you intend to come back and check the box later.
17-
- Delete the `Instructions` line and everything below it, to indicate you have read and are following these instructions. 🙂
19+
- If not applicable, remove the entire line. Only leave the box unchecked if you intend to come
20+
back and check the box later.
21+
- Delete the `Instructions` line and everything below it, to indicate you have read and are
22+
following these instructions. 🙂
1823

1924
Thank you for your contribution to the Modus project!

.github/workflows/ci-cli-lint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
name: ci-cli-lint
2+
23
on:
34
pull_request:
45
types:
56
- opened
67
- synchronize
78
- reopened
89
- ready_for_review
10+
11+
permissions:
12+
contents: read
13+
914
jobs:
1015
lint:
1116
runs-on: ubuntu-latest

.github/workflows/release-cli.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
1-
name: "Release CLI"
1+
name: Release CLI
2+
23
on:
34
push:
45
tags:
5-
- "v*"
6+
- v*
7+
68
permissions:
7-
contents: "write"
9+
contents: write
810
id-token: write
11+
912
jobs:
1013
release:
1114
# note: must use GitHub-hosted runner for publishing to NPM with --provenance flag
1215
runs-on: ubuntu-latest
1316
name: Release
1417
steps:
15-
- name: "Validate version"
18+
- name: Validate version
1619
if: ${{ !startsWith(github.ref_name, 'v') }}
17-
run: 'echo "Hyp CLI version must start with `v` && exit 1'
20+
run: echo "Hyp CLI version must start with `v` && exit 1
1821
- uses: actions/checkout@v4
1922
with:
2023
ref: "${{ github.ref_name }}"
@@ -27,15 +30,17 @@ jobs:
2730
uses: actions/setup-node@v4
2831
with:
2932
node-version: ">=22"
30-
registry-url: "https://registry.npmjs.org"
33+
registry-url: https://registry.npmjs.org
3134
- name: Prepare Release
3235
run: npm version ${{ steps.parse_cli_version.outputs.cli_version }} --no-git-tag-version
3336
- name: Install Dependencies
3437
run: npm ci
3538
- name: Build
3639
run: npm run build
3740
- name: Publish NPM Package
38-
run: npm publish --provenance --access public --tag ${{ steps.parse_cli_version.outputs.npm_tag }}
41+
run:
42+
npm publish --provenance --access public --tag ${{ steps.parse_cli_version.outputs.npm_tag
43+
}}
3944
env:
4045
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4146
- name: Create Release
@@ -56,7 +61,7 @@ jobs:
5661
with:
5762
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
5863
apiToken: ${{ secrets.CLOUDFLARE_TOKEN }}
59-
wranglerVersion: "3.83.0"
64+
wranglerVersion: 3.83.0
6065
preCommands: |
6166
cat install.sh
6267
command: |

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
oclif.manifest.json
99
tsconfig.tsbuildinfo
1010

11-
12-
1311
yarn.lock
1412
pnpm-lock.yaml
1513

@@ -25,4 +23,4 @@ oclif.manifest.json
2523
yarn.lock
2624
pnpm-lock.yaml
2725
bun.lockb
28-
rt/
26+
rt/

.prettierrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.trunk/.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*out
2+
*logs
3+
*actions
4+
*notifications
5+
*tools
6+
plugins
7+
user_trunk.yaml
8+
user.yaml
9+
tmp

.trunk/configs/.markdownlint.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"line-length": { "line_length": 150, "tables": false },
3+
"no-inline-html": false,
4+
"no-bare-urls": false,
5+
"no-space-in-emphasis": false,
6+
"no-emphasis-as-heading": false,
7+
"first-line-heading": false
8+
}

0 commit comments

Comments
 (0)