Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hypermodeinc/hyp-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.0.6
Choose a base ref
...
head repository: hypermodeinc/hyp-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Oct 25, 2024

  1. fix hangup logic (#20)

    jairad26 authored Oct 25, 2024
    Copy the full SHA
    7ddf659 View commit details
  2. Copy the full SHA
    c669dcb View commit details
  3. unref server (#22)

    jairad26 authored Oct 25, 2024
    Copy the full SHA
    790637c View commit details
  4. Copy the full SHA
    5150e82 View commit details

Commits on Nov 4, 2024

  1. Create SECURITY.md

    ryanfoxtyler authored Nov 4, 2024
    Copy the full SHA
    6d9d4bf View commit details
  2. Create CODEOWNERS

    ryanfoxtyler authored Nov 4, 2024
    Copy the full SHA
    dc4b9e4 View commit details
  3. Copy the full SHA
    b0d01b7 View commit details
  4. Copy the full SHA
    b0d04a1 View commit details

Commits on Nov 5, 2024

  1. add hyp link (#24)

    * add initial hyp link logic
    
    * .
    
    * lots of fixes
    
    * add server logic
    
    * .
    
    * .
    
    * finish
    jairad26 authored Nov 5, 2024
    Copy the full SHA
    68c0993 View commit details
  2. Copy the full SHA
    114989c View commit details
  3. Jai/hyp 2571 hyp login error no such file or directory open (#31)

    * add ci for build and lint
    
    * .
    
    * fix hyp login when settings is empty or doesnt exist
    jairad26 authored Nov 5, 2024
    Copy the full SHA
    f71aa1d View commit details
  4. better error handling for link when git repo not found (#32)

    * better error handling for link when git repo not found
    
    * .
    jairad26 authored Nov 5, 2024
    Copy the full SHA
    7883bfa View commit details
  5. Copy the full SHA
    7a128d2 View commit details
  6. Copy the full SHA
    9689d19 View commit details
  7. Jai/hyp 2574 fix async functions to use async fs (#36)

    * improve async functions and writing installation to settings
    jairad26 authored Nov 5, 2024
    Copy the full SHA
    15affd3 View commit details
  8. update help text (#30)

    * Update index.ts
    
    * Update index.ts
    
    * Update index.ts
    
    * Update help.ts
    
    ---------
    
    Co-authored-by: Jai Radhakrishnan <55522316+jairad26@users.noreply.github.com>
    ryanfoxtyler and jairad26 authored Nov 5, 2024
    Copy the full SHA
    99e584e View commit details
  9. Update frontend minor and patch (#28)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Jai Radhakrishnan <55522316+jairad26@users.noreply.github.com>
    renovate[bot] and jairad26 authored Nov 5, 2024
    Copy the full SHA
    0ad9b5b View commit details
  10. Update dev minor and patch (#27)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Jai Radhakrishnan <55522316+jairad26@users.noreply.github.com>
    renovate[bot] and jairad26 authored Nov 5, 2024
    Copy the full SHA
    6d71564 View commit details

Commits on Nov 6, 2024

  1. Update dev minor and patch (#38)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 6, 2024
    Copy the full SHA
    4574898 View commit details
  2. Update actions/setup-node action to v4 (#37)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 6, 2024
    Copy the full SHA
    72ec5c6 View commit details

Commits on Nov 7, 2024

  1. Copy the full SHA
    f8cfe7a View commit details

Commits on Nov 8, 2024

  1. Copy the full SHA
    6ab8326 View commit details
  2. Copy the full SHA
    108b49e View commit details
  3. Cleanup (#42)

    mattjohnsonpint authored Nov 8, 2024
    Copy the full SHA
    b40e0d1 View commit details

Commits on Nov 18, 2024

  1. rename ci (#45)

    jairad26 authored Nov 18, 2024
    Copy the full SHA
    66ff112 View commit details

Commits on Nov 20, 2024

  1. Update frontend minor and patch (#46)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 20, 2024
    Copy the full SHA
    e865b48 View commit details
  2. add scraf for telemetry (#47)

    octref authored Nov 20, 2024
    Copy the full SHA
    f43ed88 View commit details
  3. chore: add issue and PR templates (#43)

    * create bug_report.md
    
    * Create feature_request.md
    
    * Create config.yml
    
    * Create pull_request_template.md
    
    * Update README.md
    ryanfoxtyler authored Nov 20, 2024
    Copy the full SHA
    a7fabc3 View commit details
  4. Copy the full SHA
    de493ca View commit details

Commits on Nov 21, 2024

  1. Copy the full SHA
    0c7d81a View commit details
  2. fix CI workflow name (#52)

    jairad26 authored Nov 21, 2024
    Copy the full SHA
    f521c09 View commit details
  3. Copy the full SHA
    f6d49cd View commit details

Commits on Nov 22, 2024

  1. chore(deps): update dev minor and patch (#44)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Nov 22, 2024
    Copy the full SHA
    659ad66 View commit details
  2. Copy the full SHA
    6eb10c1 View commit details
  3. remove logging (#55)

    octref authored Nov 22, 2024
    Copy the full SHA
    f471650 View commit details

Commits on Nov 26, 2024

  1. Copy the full SHA
    942cd77 View commit details

Commits on Nov 27, 2024

  1. HYP-2624: hyp link should guide the user to create remote origin (#57)

    * HYP-2624: hyp link should guide the user to create remote origin
    
    * HYP-2682: `hyp link` check branch name is `main`
    octref authored Nov 27, 2024
    Copy the full SHA
    a53eb62 View commit details
  2. fix(deps): update dependency @oclif/core to v4.0.33 (#59)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Jai Radhakrishnan <55522316+jairad26@users.noreply.github.com>
    renovate[bot] and jairad26 authored Nov 27, 2024
    Copy the full SHA
    3e8281b View commit details
  3. chore(deps): update dev minor and patch (#58)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    Co-authored-by: Jai Radhakrishnan <55522316+jairad26@users.noreply.github.com>
    renovate[bot] and jairad26 authored Nov 27, 2024
    Copy the full SHA
    e4e6640 View commit details

Commits on Dec 6, 2024

  1. chore(deps): Update dev minor and patch (#60)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 6, 2024
    Copy the full SHA
    09cc368 View commit details

Commits on Dec 11, 2024

  1. chore(deps): Update dev minor and patch (#61)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 11, 2024
    Copy the full SHA
    6b58019 View commit details

Commits on Dec 18, 2024

  1. chore(deps): Update dev minor and patch (#63)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 18, 2024
    Copy the full SHA
    be0a48f View commit details

Commits on Dec 19, 2024

  1. chore(deps): Update dependency @inquirer/core to v10.1.1 (#62)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 19, 2024
    Copy the full SHA
    5427579 View commit details

Commits on Dec 26, 2024

  1. chore(deps): Update frontend minor and patch (#65)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 26, 2024
    Copy the full SHA
    ac224e7 View commit details

Commits on Dec 27, 2024

  1. chore(deps): Update dev minor and patch (#64)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Dec 27, 2024
    Copy the full SHA
    855dd4e View commit details

Commits on Jan 1, 2025

  1. chore(deps): Update dev minor and patch to v4.1.5 (#66)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 1, 2025
    Copy the full SHA
    ecb1b02 View commit details

Commits on Jan 3, 2025

  1. Copy the full SHA
    f03e9b7 View commit details

Commits on Jan 8, 2025

  1. chore(deps): Update dev minor and patch (#68)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 8, 2025
    Copy the full SHA
    e71d914 View commit details

Commits on Jan 11, 2025

  1. fix trunk issues (#69)

    jairad26 authored Jan 11, 2025
    Copy the full SHA
    3e60904 View commit details

Commits on Jan 15, 2025

  1. chore(deps): Update dev minor and patch (#72)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jan 15, 2025
    Copy the full SHA
    c2327c9 View commit details
Showing with 4,693 additions and 14,713 deletions.
  1. +0 −2 .eslintignore
  2. +0 −3 .eslintrc.json
  3. +4 −0 .github/CODEOWNERS
  4. +28 −0 .github/ISSUE_TEMPLATE/bug_report.md
  5. +5 −0 .github/ISSUE_TEMPLATE/config.yml
  6. +17 −0 .github/ISSUE_TEMPLATE/feature_request.md
  7. +4 −0 .github/actionlint.yml
  8. +24 −0 .github/pull_request_template.md
  9. +4 −0 .github/renovate.json
  10. +29 −0 .github/workflows/ci-cli-build.yml
  11. +32 −8 .github/workflows/release-cli.yml
  12. +14 −0 .github/workflows/trunk.yml
  13. +2 −3 .gitignore
  14. +0 −8 .mocharc.json
  15. +0 −1 .prettierrc.json
  16. +9 −0 .trunk/.gitignore
  17. +8 −0 .trunk/configs/.markdownlint.json
  18. +6 −0 .trunk/configs/.prettierrc
  19. +7 −0 .trunk/configs/.shellcheckrc
  20. +7 −0 .trunk/configs/.yamllint.yaml
  21. +261 −0 .trunk/configs/biome.json
  22. +18 −0 .trunk/configs/cspell.json
  23. +49 −0 .trunk/trunk.yaml
  24. +3 −0 .vscode/extensions.json
  25. +5 −1 .vscode/launch.json
  26. +9 −0 .vscode/settings.json
  27. +113 −0 CODE_OF_CONDUCT.md
  28. +33 −51 README.md
  29. +10 −0 SECURITY.md
  30. +2 −3 bin/dev.js
  31. +2 −2 bin/run.js
  32. +206 −204 install.sh
  33. +2,644 −14,127 package-lock.json
  34. +21 −48 package.json
  35. +4 −0 src/.prettierrc
  36. +298 −0 src/commands/link/index.ts
  37. +149 −73 src/commands/login/index.ts
  38. +28 −8 src/commands/logout/index.ts
  39. +19 −15 src/commands/org/switch.ts
  40. +2 −6 src/custom/header.ts
  41. +143 −79 src/custom/help.ts
  42. +1 −5 src/custom/logo.ts
  43. +6 −1 src/index.ts
  44. +65 −0 src/util/ci.ts
  45. +16 −0 src/util/fs.ts
  46. +161 −0 src/util/graphql.ts
  47. +200 −63 src/util/index.ts
  48. +24 −0 src/util/types.ts
  49. +1 −1 tsconfig.json
  50. +0 −1 tsconfig.tsbuildinfo
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# CODEOWNERS info: https://help.github.com/en/articles/about-code-owners
# Owners are automatically requested for review for PRs that changes code
# that they own.
* @hypermodeinc/app
28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Bug report
about: Create a report to help us improve
title: ""
labels: bug
assignees: ""
---

**Describe the bug** A clear and concise description of what the bug is.

**To Reproduce** Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior** A clear and concise description of what you expected to happen.

**Screenshots** If applicable, add screenshots to help explain your problem.

**Environment**

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

**Additional context** Add any other context about the problem here.
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Hypermode Community Support
url: https://discord.hypermode.com
about: Please ask and answer questions here
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an idea for this project
title: ""
labels: ""
assignees: ""
---

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

**Describe the solution you'd like** A clear and concise description of what you want to happen.

**Describe alternatives you've considered** A clear and concise description of any alternative
solutions or features you've considered.

**Additional context** Add any other context or screenshots about the feature request here.
4 changes: 4 additions & 0 deletions .github/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
self-hosted-runner:
# Labels of self-hosted runner in array of string
labels:
- warp-ubuntu-latest-x64-2x
24 changes: 24 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
**Description**

Please explain the changes you made here.

**Checklist**

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

**Instructions**

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

Thank you for your contribution to the Modus project!
4 changes: 4 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>hypermodeinc/renovate-config"]
}
29 changes: 29 additions & 0 deletions .github/workflows/ci-cli-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: ci-cli-build

on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.17.0
- name: Install dependencies
run: npm install
- name: Build Program
run: npm run build
- name: Run Hyp CLI
run: ./bin/run.js
40 changes: 32 additions & 8 deletions .github/workflows/release-cli.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
name: "Release CLI"
name: Release CLI

on:
push:
tags:
- "v*"
- v*

permissions:
contents: "write"
contents: write
id-token: write

jobs:
release:
# note: must use GitHub-hosted runner for publishing to NPM with --provenance flag
runs-on: ubuntu-latest
name: Release
steps:
- name: "Validate version"
- name: Validate version
if: ${{ !startsWith(github.ref_name, 'v') }}
run: 'echo "Hyp CLI version must start with `v` && exit 1'
run: echo "Hyp CLI version must start with `v` && exit 1
- uses: actions/checkout@v4
with:
ref: "${{ github.ref_name }}"
@@ -25,20 +29,40 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ">=22"
registry-url: "https://registry.npmjs.org"
node-version: 22.17.0
registry-url: https://registry.npmjs.org
- name: Prepare Release
run: npm version ${{ steps.parse_cli_version.outputs.cli_version }} --no-git-tag-version
- name: Install Dependencies
run: npm ci
- name: Build
run: npm run build
- name: Publish NPM Package
run: npm publish --provenance --access public --tag ${{ steps.parse_cli_version.outputs.npm_tag }}
run:
npm publish --provenance --access public --tag ${{ steps.parse_cli_version.outputs.npm_tag
}}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Create Release
uses: softprops/action-gh-release@v2
with:
prerelease: ${{ contains(steps.parse_cli_version.outputs.cli_version, '-') }}
make_latest: ${{ contains(steps.parse_cli_version.outputs.cli_version, '-') }}
release-install-script:
needs: release
name: Release Install Script
runs-on: warp-ubuntu-latest-x64-2x
steps:
- uses: actions/checkout@v4
with:
ref: "${{ github.ref_name }}"
- name: Push to R2 Bucket
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_TOKEN }}
wranglerVersion: 3.83.0
preCommands: |
cat install.sh
command: |
r2 object put install/hyp.sh -f install.sh --content-type text/x-sh
14 changes: 14 additions & 0 deletions .github/workflows/trunk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Trunk Code Quality
on:
pull_request:
branches: main

permissions:
contents: read
actions: write
checks: write

jobs:
trunk-code-quality:
name: Trunk Code Quality
uses: hypermodeinc/.github/.github/workflows/trunk.yml@main
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -6,8 +6,7 @@
/tmp
/node_modules
oclif.manifest.json


tsconfig.tsbuildinfo

yarn.lock
pnpm-lock.yaml
@@ -24,4 +23,4 @@ oclif.manifest.json
yarn.lock
pnpm-lock.yaml
bun.lockb
rt/
rt/
8 changes: 0 additions & 8 deletions .mocharc.json

This file was deleted.

1 change: 0 additions & 1 deletion .prettierrc.json

This file was deleted.

9 changes: 9 additions & 0 deletions .trunk/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*out
*logs
*actions
*notifications
*tools
plugins
user_trunk.yaml
user.yaml
tmp
8 changes: 8 additions & 0 deletions .trunk/configs/.markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"line-length": { "line_length": 150, "tables": false },
"no-inline-html": false,
"no-bare-urls": false,
"no-space-in-emphasis": false,
"no-emphasis-as-heading": false,
"first-line-heading": false
}
6 changes: 6 additions & 0 deletions .trunk/configs/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"semi": false,
"proseWrap": "always",
"printWidth": 100,
"singleQuote": false
}
7 changes: 7 additions & 0 deletions .trunk/configs/.shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
enable=all
source-path=SCRIPTDIR
disable=SC2154

# If you're having issues with shellcheck following source, disable the errors via:
# disable=SC1090
# disable=SC1091
7 changes: 7 additions & 0 deletions .trunk/configs/.yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
rules:
quoted-strings:
required: only-when-needed
extra-allowed: ["{|}"]
key-duplicates: {}
octal-values:
forbid-implicit-octal: true
Loading