@joshdb/ts-config 1.1.0-next.4e4fa02.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,3 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
package/README.md ADDED
@@ -0,0 +1,53 @@
1
+ <div align="center">
2
+
3
+ ![Josh Logo](https://evie.codes/josh-light.png)
4
+
5
+ # @joshdb/ts-config
6
+
7
+ **TypeScript configuration for all Josh Project repositories.**
8
+
9
+ [![GitHub](https://img.shields.io/github/license/josh-development/utilities)](https://github.com/josh-development/utilities/blob/main/LICENSE.md)
10
+ [![codecov](https://codecov.io/gh/josh-development/utilities/branch/main/graph/badge.svg?token=JnJcjxqT3k)](https://codecov.io/gh/josh-development/utilities)
11
+ [![npm](https://img.shields.io/npm/v/@joshdb/ts-config?color=crimson&logo=npm&style=flat-square)](https://www.npmjs.com/package/@joshdb/ts-config)
12
+
13
+ [![Support Server](https://discord.com/api/guilds/298508738623438848/embed.png?style=banner2)](https://discord.gg/N7ZKH3P)
14
+
15
+ </div>
16
+
17
+ ## Installation
18
+
19
+ You can use the following command to install this package, or replace `npm install` with your package manager of choice.
20
+
21
+ ```sh
22
+ npm install @joshdb/ts-config
23
+ ```
24
+
25
+ ## Usage
26
+
27
+ Add the ESLint config to your `package.json`:
28
+
29
+ ```json
30
+ {
31
+ "name": "my-project",
32
+ "eslintConfig": {
33
+ "extends": "@joshdb/ts-config"
34
+ }
35
+ }
36
+ ```
37
+
38
+ Or to your `.eslintrc.js` / `.eslintrc.json`:
39
+
40
+ ```json
41
+ {
42
+ "extends": "@joshdb/ts-config"
43
+ }
44
+ ```
45
+
46
+ Create `tsconfig.eslint.json` next to the eslint config file, for example with content:
47
+
48
+ ```json
49
+ {
50
+ "extends": "./tsconfig.base.json",
51
+ "include": ["src", "tests"]
52
+ }
53
+ ```
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@joshdb/ts-config",
3
+ "version": "1.1.0-next.4e4fa02.0",
4
+ "description": "Standard TypeScript config for the Josh Project",
5
+ "author": "Évelyne Lachance <eslachance@gmail.com> (https://evie.codes/)",
6
+ "contributors": [
7
+ "Hezekiah Hendry <hezekiah.hendry@gmail.com>"
8
+ ],
9
+ "main": "tsconfig.json",
10
+ "exports": {
11
+ "import": "./tsconfig.json",
12
+ "require": "./tsconfig.json"
13
+ },
14
+ "sideEffects": false,
15
+ "scripts": {
16
+ "bump": "cliff-jumper",
17
+ "check-update": "cliff-jumper --dry-run"
18
+ },
19
+ "dependencies": {
20
+ "@sapphire/ts-config": "^3.3.4"
21
+ },
22
+ "devDependencies": {
23
+ "@favware/cliff-jumper": "^1.8.8",
24
+ "gen-esm-wrapper": "^1.1.3",
25
+ "typedoc": "^0.23.19",
26
+ "typedoc-json-parser": "^7.0.1"
27
+ },
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "git+https://github.com/josh-development/utilities.git"
31
+ },
32
+ "files": [
33
+ "tsconfig.json"
34
+ ],
35
+ "engines": {
36
+ "node": ">=16.6.0",
37
+ "npm": ">=7"
38
+ },
39
+ "keywords": [
40
+ "eslint"
41
+ ],
42
+ "bugs": {
43
+ "url": "https://github.com/josh-development/utilities/issues"
44
+ },
45
+ "homepage": "https://josh.evie.dev",
46
+ "publishConfig": {
47
+ "access": "public"
48
+ }
49
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "extends": "@sapphire/ts-config/extra-strict",
3
+ "compilerOptions": {
4
+ "importHelpers": true,
5
+ "noEmitHelpers": true,
6
+ "lib": ["ESNext"],
7
+ "target": "ES2021",
8
+ "module": "ESNext"
9
+ }
10
+ }