Skip to content

Commit

Permalink
fix: all around improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
vladcos committed Dec 11, 2022
1 parent dea1053 commit 764866c
Show file tree
Hide file tree
Showing 17 changed files with 521 additions and 123 deletions.
15 changes: 0 additions & 15 deletions .eslintrc

This file was deleted.

20 changes: 20 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// @ts-check
const { defineConfig } = require('eslint-define-config')
module.exports = defineConfig({
parserOptions: {
project: ['./tsconfig.test.json'],
},
extends: [
'oclif',
'oclif-typescript',
'./node_modules/chetzof-lint-config/eslint/index.js',
],
overrides: [
{
files: 'src/commands/**/*.ts',
rules: {
'import/no-unused-modules': 'off',
},
},
],
})
2 changes: 1 addition & 1 deletion bin/dev
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const oclif = require('@oclif/core')

const path = require('path')
const project = path.join(__dirname, '..', 'tsconfig.dev.json')
const project = path.join(__dirname, '..', 'tsconfig.json')

// In dev mode -> use ts-node and dev plugins
process.env.NODE_ENV = 'development'
Expand Down
13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,14 @@
"@oclif/core": "^1.19.1",
"@oclif/plugin-help": "^5",
"@oclif/plugin-plugins": "^2.1.7",
"chalk": "4.1.2",
"chokidar": "^3.5.3",
"fs-extra": "^11.1.0",
"tsconfig-paths": "^4.1.1"
"listr2": "^5.0.6",
"log-symbols": "4.0.0",
"node-notifier": "^10.0.1",
"tsconfig-paths": "^4.1.1",
"zod": "^3.19.1"
},
"devDependencies": {
"@oclif/test": "^2.2.12",
Expand All @@ -32,10 +37,12 @@
"@types/fs-extra": "^9.0.13",
"@types/mocha": "^9.0.0",
"@types/node": "^16.18.4",
"@types/node-notifier": "^8.0.2",
"chai": "^4",
"chetzof-lint-config": "^1.0.4",
"eslint-config-oclif": "^4",
"eslint-config-oclif-typescript": "^1.0.3",
"eslint-define-config": "^1.12.0",
"mocha": "^9",
"oclif": "^3",
"shx": "^0.3.3",
Expand All @@ -61,12 +68,12 @@
}
},
"scripts": {
"build": "shx rm -rf dist && tsc -b",
"buildd": "shx rm -rf dist && tsc -b",
"watch": "tsc -w",
"lint": "eslint . && prettier --write .",
"postpack": "shx rm -f oclif.manifest.json",
"posttest": "yarn lint",
"prepack": "yarn build && oclif manifest && oclif readme",
"prepackk": "yarn build && oclif manifest && oclif readme",
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
"vitest": "vitest",
"version": "oclif readme && git add README.md"
Expand Down
28 changes: 0 additions & 28 deletions src/commands/ololo.ts

This file was deleted.

Loading

0 comments on commit 764866c

Please sign in to comment.