@jterrazz/typescript 5.0.0 → 5.1.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/README.md CHANGED
@@ -14,9 +14,9 @@ npm install @jterrazz/typescript
14
14
 
15
15
  ```json
16
16
  // tsconfig.json - Pick one:
17
- { "extends": "@jterrazz/typescript/tsconfig/node" } // Node.js projects
18
- { "extends": "@jterrazz/typescript/tsconfig/next" } // Next.js projects
19
- { "extends": "@jterrazz/typescript/tsconfig/expo" } // Expo/React Native
17
+ { "extends": "@jterrazz/typescript/presets/tsconfig/node" } // Node.js projects
18
+ { "extends": "@jterrazz/typescript/presets/tsconfig/next" } // Next.js projects
19
+ { "extends": "@jterrazz/typescript/presets/tsconfig/expo" } // Expo/React Native
20
20
  ```
21
21
 
22
22
  ### 2. Use the CLI
package/bin/typescript.sh CHANGED
@@ -63,11 +63,11 @@ run_tsdown() {
63
63
 
64
64
  case "$COMMAND" in
65
65
  build)
66
- run_tsdown "$SCRIPT_DIR/../config/tsdown.build.ts" "Building application (ESM + types)"
66
+ run_tsdown "$SCRIPT_DIR/../presets/tsdown/build.ts" "Building application (ESM + types)"
67
67
  ;;
68
68
 
69
69
  bundle)
70
- run_tsdown "$SCRIPT_DIR/../config/tsdown.bundle.ts" "Bundling library (ESM + CJS + types)"
70
+ run_tsdown "$SCRIPT_DIR/../presets/tsdown/bundle.ts" "Bundling library (ESM + CJS + types)"
71
71
  ;;
72
72
 
73
73
  start)
@@ -76,7 +76,7 @@ case "$COMMAND" in
76
76
  ;;
77
77
 
78
78
  dev)
79
- CONFIG_PATH="$SCRIPT_DIR/../config/tsdown.build.ts"
79
+ CONFIG_PATH="$SCRIPT_DIR/../presets/tsdown/build.ts"
80
80
 
81
81
  printf "${CYAN_BG}${BRIGHT_WHITE} TYPESCRIPT ${NC} Starting dev mode...\n\n"
82
82
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jterrazz/typescript",
3
- "version": "5.0.0",
3
+ "version": "5.1.0",
4
4
  "author": "Jean-Baptiste Terrazzoni <contact@jterrazz.com>",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,8 +11,7 @@
11
11
  },
12
12
  "files": [
13
13
  "bin",
14
- "config",
15
- "tsconfig"
14
+ "presets"
16
15
  ],
17
16
  "type": "module",
18
17
  "publishConfig": {
File without changes
File without changes
File without changes