Skip to content

Commit

Permalink
chore(update): cleaning up package
Browse files Browse the repository at this point in the history
  • Loading branch information
bassrock committed Nov 30, 2023
1 parent 6c991e8 commit 406c675
Show file tree
Hide file tree
Showing 7 changed files with 3,034 additions and 8,255 deletions.
3 changes: 0 additions & 3 deletions .eslintrc.js

This file was deleted.

95 changes: 0 additions & 95 deletions .github/workflows/linter.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
20
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ This setups up your Typescript tslint settings based on best practices. Check th

```
npm i -D @pocket-tools/tsconfig # or yarn install --dev @pocket-tools/tsconfig
npx install-peerdeps --dev @pocket-tools/tsconfig
```

2. You will see several dependencies were installed. Now, create (or update) a `tsconfig.json` file with the following content:

If you don't already have one the NPM post install script will create it for you.

```json
{
"extends": "@pocket-tools/tsconfig",
Expand All @@ -36,4 +36,4 @@ If you don't already have one the NPM post install script will create it for you
}
```

Concepts are used from https://github.com/Chatie/tsconfig
Concepts are used from <https://github.com/Chatie/tsconfig>
4 changes: 2 additions & 2 deletions bin/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import fs from 'fs';
import path from 'path';

import { pkgUp } from 'pkg-up';
import { packageUp } from 'package-up';

import { fileURLToPath } from 'url';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
Expand All @@ -27,7 +27,7 @@ const TSCONFIG_JSON_CONTENT = `{

async function main() {
const cwd = path.join(__dirname, '..', '..');
const pkg = await pkgUp({ cwd });
const pkg = await packageUp({ cwd });
if (!pkg) {
return 0;
}
Expand Down
Loading

0 comments on commit 406c675

Please sign in to comment.