Skip to content

Commit b40e0d1

Browse files
Cleanup (#42)
1 parent 108b49e commit b40e0d1

29 files changed

+3781
-16500
lines changed

.github/workflows/release-cli.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,16 @@ jobs:
4848
name: Release Install Script
4949
runs-on: warp-ubuntu-latest-x64-2x
5050
steps:
51-
- uses: actions/checkout@v4
52-
with:
53-
ref: "${{ github.ref_name }}"
54-
- name: Push to R2 Bucket
55-
uses: cloudflare/wrangler-action@v3
56-
with:
57-
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
58-
apiToken: ${{ secrets.CLOUDFLARE_TOKEN }}
59-
wranglerVersion: "3.83.0"
60-
preCommands: |
61-
cat install.sh
62-
command: |
63-
r2 object put install/hyp.sh -f install.sh --content-type text/x-sh
51+
- uses: actions/checkout@v4
52+
with:
53+
ref: "${{ github.ref_name }}"
54+
- name: Push to R2 Bucket
55+
uses: cloudflare/wrangler-action@v3
56+
with:
57+
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
58+
apiToken: ${{ secrets.CLOUDFLARE_TOKEN }}
59+
wranglerVersion: "3.83.0"
60+
preCommands: |
61+
cat install.sh
62+
command: |
63+
r2 object put install/hyp.sh -f install.sh --content-type text/x-sh

.mocharc.json

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

.prettierrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"singleQuote": false
3+
}

.prettierrc.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

.vscode/extensions.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"recommendations": [
3+
"dbaeumer.vscode-eslint",
4+
"DavidAnson.vscode-markdownlint",
5+
"esbenp.prettier-vscode",
6+
"streetsidesoftware.code-spell-checker"
7+
]
8+
}

.vscode/launch.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@
1414
"name": "Execute Command",
1515
"skipFiles": ["<node_internals>/**"],
1616
"runtimeExecutable": "node",
17-
"runtimeArgs": ["--loader", "ts-node/esm", "--no-warnings=ExperimentalWarning"],
17+
"runtimeArgs": [
18+
"--loader",
19+
"ts-node/esm",
20+
"--no-warnings=ExperimentalWarning"
21+
],
1822
"program": "${workspaceFolder}/bin/dev.js",
1923
"args": ["hello", "world"]
2024
}

.vscode/settings.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"cSpell.flagWords": ["teh", "hte"],
3+
"editor.formatOnSave": true,
4+
"files.insertFinalNewline": true,
5+
"files.trimFinalNewlines": true,
6+
"files.associations": {
7+
"CODEOWNERS": "plaintext",
8+
"LICENSE": "plaintext"
9+
},
10+
"[javascript]": {
11+
"editor.defaultFormatter": "esbenp.prettier-vscode"
12+
},
13+
"[json]": {
14+
"editor.defaultFormatter": "esbenp.prettier-vscode"
15+
},
16+
"[jsonc]": {
17+
"editor.defaultFormatter": "esbenp.prettier-vscode"
18+
},
19+
"[typescript]": {
20+
"editor.defaultFormatter": "esbenp.prettier-vscode"
21+
}
22+
}

CODE_OF_CONDUCT.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ diverse, inclusive, and healthy community.
1717
Examples of behavior that contributes to a positive environment for our
1818
community include:
1919

20-
* Demonstrating empathy and kindness toward other people
21-
* Being respectful of differing opinions, viewpoints, and experiences
22-
* Giving and gracefully accepting constructive feedback
23-
* Accepting responsibility and apologizing to those affected by our mistakes,
20+
- Demonstrating empathy and kindness toward other people
21+
- Being respectful of differing opinions, viewpoints, and experiences
22+
- Giving and gracefully accepting constructive feedback
23+
- Accepting responsibility and apologizing to those affected by our mistakes,
2424
and learning from the experience
25-
* Focusing on what is best not just for us as individuals, but for the
25+
- Focusing on what is best not just for us as individuals, but for the
2626
overall community
2727

2828
Examples of unacceptable behavior include:
2929

30-
* The use of sexualized language or imagery, and sexual attention or
30+
- The use of sexualized language or imagery, and sexual attention or
3131
advances of any kind
32-
* Trolling, insulting or derogatory comments, and personal or political attacks
33-
* Public or private harassment
34-
* Publishing others' private information, such as a physical or email
32+
- Trolling, insulting or derogatory comments, and personal or political attacks
33+
- Public or private harassment
34+
- Publishing others' private information, such as a physical or email
3535
address, without their explicit permission
36-
* Other conduct which could reasonably be considered inappropriate in a
36+
- Other conduct which could reasonably be considered inappropriate in a
3737
professional setting
3838

3939
## Enforcement Responsibilities
@@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
106106
### 4. Permanent Ban
107107

108108
**Community Impact**: Demonstrating a pattern of violation of community
109-
standards, including sustained inappropriate behavior, harassment of an
109+
standards, including sustained inappropriate behavior, harassment of an
110110
individual, or aggression toward or disparagement of classes of individuals.
111111

112112
**Consequence**: A permanent ban from any sort of public interaction within

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,16 @@ A new CLI for the Hypermode service
77
[![Downloads/week](https://img.shields.io/npm/dw/hyp.svg)](https://npmjs.org/package/hyp)
88

99
<!-- toc -->
10-
* [hyp](#hyp)
11-
* [Usage](#usage)
12-
* [Commands](#commands)
10+
11+
- [hyp](#hyp)
12+
- [Usage](#usage)
13+
- [Commands](#commands)
1314
<!-- tocstop -->
1415

1516
## Usage
1617

1718
<!-- usage -->
19+
1820
```sh-session
1921
$ npm install -g @hypermode/hyp-cli
2022
$ hyp COMMAND
@@ -26,14 +28,16 @@ USAGE
2628
$ hyp COMMAND
2729
...
2830
```
31+
2932
<!-- usagestop -->
3033

3134
## Commands
3235

3336
<!-- commands -->
34-
* [`hyp login`](#hyp-login)
35-
* [`hyp logout`](#hyp-logout)
36-
* [`hyp org switch`](#hyp-org-switch)
37+
38+
- [`hyp login`](#hyp-login)
39+
- [`hyp logout`](#hyp-logout)
40+
- [`hyp org switch`](#hyp-org-switch)
3741

3842
### `hyp login`
3943

@@ -64,4 +68,5 @@ hyp org switch
6468
```
6569

6670
_See code: [src/commands/org/switch.ts](https://github.com/hypermodeinc/hyp-cli/blob/v0.0.1-alpha.1/src/commands/org/switch.ts)_
71+
6772
<!-- commandsstop -->

bin/dev.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env -S node --loader ts-node/esm --no-warnings --disable-warning=ExperimentalWarning
22

3-
import {execute} from '@oclif/core'
3+
import { execute } from "@oclif/core";
44

5-
await execute({development: true, dir: import.meta.url})
5+
await execute({ development: true, dir: import.meta.url });

bin/run.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env node
22

3-
import {execute} from '@oclif/core'
3+
import { execute } from "@oclif/core";
44

5-
await execute({dir: import.meta.url})
5+
await execute({ dir: import.meta.url });

cspell.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"version": "0.2",
3+
"language": "en",
4+
"words": [
5+
"acifani",
6+
"commandsstop",
7+
"Hypermode",
8+
"hypermodeinc",
9+
"oclif",
10+
"pjson",
11+
"postpack",
12+
"sindresorhus",
13+
"tinygo",
14+
"tocstop",
15+
"tseslint",
16+
"usagestop"
17+
]
18+
}

eslint.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ import tseslint from "typescript-eslint";
55

66
export default tseslint.config({
77
extends: [eslint.configs.recommended, ...tseslint.configs.recommended],
8-
files: ["**/*.ts"],
98

10-
ignores: ["**/node_modules/**", "**/dist/**"],
9+
ignores: ["node_modules/**", "dist/**"],
1110
rules: {
1211
"no-undef": "off",
1312
"@typescript-eslint/no-explicit-any": "off",

0 commit comments

Comments
 (0)