Skip to content

Commit

Permalink
Updated all 3rd part deps and updated project to TS
Browse files Browse the repository at this point in the history
  • Loading branch information
justinwilaby committed May 13, 2024
1 parent ff78f59 commit c5fa43a
Show file tree
Hide file tree
Showing 52 changed files with 6,313 additions and 3,369 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/dist
24 changes: 24 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"extends": [
"oclif",
"oclif-typescript"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"rules": {
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-explicit-any": "off",
"camelcase": "off",
"comma-dangle": "off",
"import/namespace": "off",
"indent": ["error", 2, {"ObjectExpression": "off"}],
"perfectionist/sort-named-imports": "off",
"perfectionist/sort-objects": "off",
"unicorn/catch-error-name": "off"
}
}
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Node CI Suite

on:
push

jobs:
test:

runs-on: ${{ matrix.os }}
name: Node Tests

strategy:
matrix:
node-version: [ 16.x ]
os: [ pub-hk-ubuntu-22.04-small, pub-hk-ubuntu-22.04-arm-large ]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g yarn
- run: yarn --frozen-lockfile --ignore-engines
- run: yarn test
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
/node_modules/
coverage
.nyc_output
.idea
/dist
10 changes: 10 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extension": ["ts"],
"spec": "test/**/*.test.ts",
"require": ["ts-node/register", "test/helpers.mjs"],
"package": "../package.json",
"reporter": "spec",
"timeout": 5000,
"recursive": true,
"watchExtension": "ts"
}
2 changes: 0 additions & 2 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Heroku CLI plugin to list and create builds for Heroku apps.

### Installation

heroku plugins:install heroku-builds
heroku plugins:install @heroku-cli/heroku-builds

### List builds

Lists 10 most recently created builds for `example-app`
Lists 15 most recently created builds for `example-app`

heroku builds -a example-app

Expand Down
35 changes: 0 additions & 35 deletions commands/builds/cache-purge.js

This file was deleted.

38 changes: 0 additions & 38 deletions commands/builds/cancel.js

This file was deleted.

120 changes: 0 additions & 120 deletions commands/builds/create.js

This file was deleted.

40 changes: 0 additions & 40 deletions commands/builds/index.js

This file was deleted.

41 changes: 0 additions & 41 deletions commands/builds/info.js

This file was deleted.

Loading

0 comments on commit c5fa43a

Please sign in to comment.