@fxhash/tsconfig 0.0.1
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 +7 -0
- package/README.md +20 -0
- package/package.json +27 -0
- package/tsconfig.base.json +11 -0
- package/tsconfig.compiler.options.json +5 -0
- package/tsconfig.node.json +6 -0
- package/tsconfig.react.json +9 -0
package/CHANGELOG.md
ADDED
package/README.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# @fxhash/tsconfig
|
2
|
+
|
3
|
+
This package contains tsconfigs used with the @fxhash organisation tuned for different contexts.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
```sh
|
8
|
+
pnpm add -D -E @fxhash/tsconfig
|
9
|
+
```
|
10
|
+
|
11
|
+
## Configs
|
12
|
+
|
13
|
+
All configs can be imported via `@fxhash/tsconfig/<config-name>` or `@fxhash/tsconfig/<alias>`. Additionally there are aliases available to import the configs.
|
14
|
+
|
15
|
+
- `tsconfig.base.json` use for universal (client + backend) projects
|
16
|
+
- alias: `@fxhash/tsconfig/base`
|
17
|
+
- `tsconfig.node.json` use for backend only projects
|
18
|
+
- alias: `@fxhash/tsconfig/node`
|
19
|
+
- `tsconfig.react.json` use for react / dom projects
|
20
|
+
- alias: `@fxhash/tsconfig/react` and `@fxhash/tsconfig/dom`
|
package/package.json
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
{
|
2
|
+
"name": "@fxhash/tsconfig",
|
3
|
+
"description": "",
|
4
|
+
"version": "0.0.1",
|
5
|
+
"author": "",
|
6
|
+
"dependencies": {
|
7
|
+
"@tsconfig/create-react-app": "2.0.5",
|
8
|
+
"@tsconfig/node22": "22.0.0",
|
9
|
+
"@tsconfig/recommended": "1.0.8"
|
10
|
+
},
|
11
|
+
"exports": {
|
12
|
+
"./tsconfig.base.json": "./tsconfig.base.json",
|
13
|
+
"./base": "./tsconfig.base.json",
|
14
|
+
"./tsconfig.node.json": "./tsconfig.node.json",
|
15
|
+
"./node": "./tsconfig.node.json",
|
16
|
+
"./tsconfig.react.json": "./tsconfig.react.json",
|
17
|
+
"./react": "./tsconfig.react.json"
|
18
|
+
},
|
19
|
+
"keywords": [],
|
20
|
+
"license": "ISC",
|
21
|
+
"publishConfig": {
|
22
|
+
"access": "public"
|
23
|
+
},
|
24
|
+
"scripts": {
|
25
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
26
|
+
}
|
27
|
+
}
|