@xylabs/tsconfig 7.4.18 → 7.4.19
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/README.body.md +24 -0
- package/README.md +46 -0
- package/package.json +2 -2
package/README.body.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
## Install
|
|
2
|
+
|
|
3
|
+
```sh
|
|
4
|
+
yarn add -D {{name}}
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
Extend this config in your project's `tsconfig.json`:
|
|
10
|
+
|
|
11
|
+
```json
|
|
12
|
+
{
|
|
13
|
+
"extends": "@xylabs/tsconfig",
|
|
14
|
+
"compilerOptions": {
|
|
15
|
+
"outDir": "./dist"
|
|
16
|
+
},
|
|
17
|
+
"include": ["src"]
|
|
18
|
+
}
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
This provides a strict, ESM-only TypeScript configuration targeting ESNext with NodeNext module resolution. It enables strict type checking, source maps, and declaration file generation.
|
|
22
|
+
|
|
23
|
+
For projects that need DOM types, use [`@xylabs/tsconfig-dom`](https://www.npmjs.com/package/@xylabs/tsconfig-dom) instead.
|
|
24
|
+
For React projects, use [`@xylabs/tsconfig-react`](https://www.npmjs.com/package/@xylabs/tsconfig-react).
|
package/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
[![logo][]](https://xylabs.com)
|
|
2
|
+
|
|
3
|
+
# @xylabs/tsconfig
|
|
4
|
+
|
|
5
|
+
[![npm][npm-badge]][npm-link]
|
|
6
|
+
[![license][license-badge]][license-link]
|
|
7
|
+
|
|
8
|
+
> Typescript Base Config used throughout XY Labs TypeScript/JavaScript libraries and react projects
|
|
9
|
+
|
|
10
|
+
## Install
|
|
11
|
+
|
|
12
|
+
```sh
|
|
13
|
+
yarn add -D {{name}}
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
Extend this config in your project's `tsconfig.json`:
|
|
19
|
+
|
|
20
|
+
```json
|
|
21
|
+
{
|
|
22
|
+
"extends": "@xylabs/tsconfig",
|
|
23
|
+
"compilerOptions": {
|
|
24
|
+
"outDir": "./dist"
|
|
25
|
+
},
|
|
26
|
+
"include": ["src"]
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
This provides a strict, ESM-only TypeScript configuration targeting ESNext with NodeNext module resolution. It enables strict type checking, source maps, and declaration file generation.
|
|
31
|
+
|
|
32
|
+
For projects that need DOM types, use [`@xylabs/tsconfig-dom`](https://www.npmjs.com/package/@xylabs/tsconfig-dom) instead.
|
|
33
|
+
For React projects, use [`@xylabs/tsconfig-react`](https://www.npmjs.com/package/@xylabs/tsconfig-react).
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## License
|
|
37
|
+
|
|
38
|
+
See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
[logo]: https://cdn.xy.company/img/brand/XYPersistentCompany_Logo_Icon_Colored.svg
|
|
43
|
+
[npm-badge]: https://img.shields.io/npm/v/@xylabs/tsconfig.svg
|
|
44
|
+
[npm-link]: https://www.npmjs.com/package/@xylabs/tsconfig
|
|
45
|
+
[license-badge]: https://img.shields.io/npm/l/@xylabs/tsconfig.svg
|
|
46
|
+
[license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@xylabs/tsconfig",
|
|
4
|
-
"version": "7.4.
|
|
4
|
+
"version": "7.4.19",
|
|
5
5
|
"description": "Typescript Base Config used throughout XY Labs TypeScript/JavaScript libraries and react projects",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"xylabs",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"package-compile": "echo Compiled"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@xylabs/ts-scripts-yarn3": "~7.4.
|
|
43
|
+
"@xylabs/ts-scripts-yarn3": "~7.4.19"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|