@intune/typescript-config 1.0.0 → 1.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.
Files changed (2) hide show
  1. package/README.md +22 -13
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,41 +1,50 @@
1
- # intune/typescript-config
1
+ # @intune/typescript-config
2
2
 
3
- Shared `tsconfig` presets used across Intune repositories.
3
+ Shared `tsconfig` presets used across `@intune` projects.
4
4
 
5
5
  ## Install
6
6
 
7
7
  ```bash
8
- npm install -D intune/typescript-config typescript
8
+ pnpm add -D @intune/typescript-config typescript
9
9
  ```
10
10
 
11
- ## Available configs
11
+ ## Available Presets
12
12
 
13
- - `intune/typescript-config/base.json`
14
- - `intune/typescript-config/nextjs.json`
15
- - `intune/typescript-config/react-library.json`
13
+ - `@intune/typescript-config/base.json`
14
+ - `@intune/typescript-config/nestjs.json`
15
+ - `@intune/typescript-config/react-library.json`
16
+ - `@intune/typescript-config/nextjs.json`
16
17
 
17
18
  ## Usage
18
19
 
19
- ### Next.js app (`tsconfig.json`)
20
+ ### Base TypeScript project
20
21
 
21
22
  ```json
22
23
  {
23
-   "extends": "intune/typescript-config/nextjs.json"
24
+ "extends": "@intune/typescript-config/base.json"
24
25
  }
25
26
  ```
26
27
 
27
- ### React library (`tsconfig.json`)
28
+ ### NestJS project
28
29
 
29
30
  ```json
30
31
  {
31
-   "extends": "intune/typescript-config/react-library.json"
32
+ "extends": "@intune/typescript-config/nestjs.json"
32
33
  }
33
34
  ```
34
35
 
35
- ### Generic TypeScript project (`tsconfig.json`)
36
+ ### React library
36
37
 
37
38
  ```json
38
39
  {
39
-   "extends": "intune/typescript-config/base.json"
40
+ "extends": "@intune/typescript-config/react-library.json"
41
+ }
42
+ ```
43
+
44
+ ### Next.js app
45
+
46
+ ```json
47
+ {
48
+ "extends": "@intune/typescript-config/nextjs.json"
40
49
  }
41
50
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intune/typescript-config",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "files": [