Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
coverage
dist
19 changes: 19 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
env: {
node: true,
},
extends: ['./node_modules/@heroku-cli/test-utils/dist/eslint-config.js'],
overrides: [
{
files: ['src/**/*.ts'],
rules: {
'@typescript-eslint/no-explicit-any': 'warn',
},
},
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
}
19 changes: 17 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
node_modules/
yarn.lock
*-debug.log
*-error.log
**/.DS_Store
/.idea
/dist
/tmp
/node_modules
oclif.manifest.json

yarn.lock
pnpm-lock.yaml
.pnp.*
.yarn/*

.jshint*
coverage
.nyc_output
.editorconfig
12 changes: 8 additions & 4 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"extension": ["js"],
"spec": "test/**/*.js",
"require": ["test/init.js"],
"extension": ["ts"],
"spec": "test/**/*.test.ts",
"require": ["ts-node/register", "test/helpers.mjs"],
"package": "./package.json",
"reporter": "spec",
"timeout": 5000,
"recursive": true,
"watchExtension": "js"
"watchExtension": "ts",
"node-option": [
"loader=ts-node/esm",
"experimental-specifier-resolution=node"
]
}
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.19.3
9 changes: 9 additions & 0 deletions .nycrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"all": true,
"include": [
"src/**/*.ts"
],
"exclude": [
"dist/**/*"
]
}
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 20.19.3
67 changes: 0 additions & 67 deletions CONTRIBUTING copy.md

This file was deleted.

4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing Guide For Heroku PG Extras
# Contributing Guide For Heroku PG Extras CLI plugin

This page lists the operational governance model of this project, as well as the recommendations and requirements for how to best contribute to the Heroku PG Extras. We strive to obey these as best as possible. As always, thanks for contributing – we hope these guidelines make it easier and shed some light on our approach and processes.
This page lists the operational governance model of this project, as well as the recommendations and requirements for how to best contribute to the Heroku PG Extras CLI plugin. We strive to obey these as best as possible. As always, thanks for contributing – we hope these guidelines make it easier and shed some light on our approach and processes.

# Governance Model
## Published but not supported
Expand Down
3 changes: 3 additions & 0 deletions bin/dev.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@echo off

node --loader ts-node/esm --no-warnings=ExperimentalWarning "%~dp0\dev" %*
6 changes: 6 additions & 0 deletions bin/dev.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env -S node --loader ts-node/esm --disable-warning=ExperimentalWarning

// eslint-disable-next-line n/shebang
import {execute} from '@oclif/core'

await execute({development: true, dir: import.meta.url})
5 changes: 5 additions & 0 deletions bin/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env node

import {execute} from '@oclif/core'

await execute({dir: import.meta.url})
3 changes: 3 additions & 0 deletions bin/run.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@echo off

node "%~dp0\run" %*
Binary file added heroku-heroku-cli-util-10.0.0-beta.0.tgz
Binary file not shown.
13 changes: 0 additions & 13 deletions index.js

This file was deleted.

66 changes: 0 additions & 66 deletions lib/util.js

This file was deleted.

Loading
Loading