@jterrazz/typescript 1.9.4 → 1.9.5

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.
@@ -18,6 +18,9 @@ if [ $? -ne 0 ]; then
18
18
  echo "$0: Can't create temporary .swcrc file"
19
19
  exit 1
20
20
  fi
21
+
22
+ # Ensure we're in the project root directory for TypeScript configuration
23
+ cd "$PROJECT_ROOT"
21
24
  npx tsconfig-to-swcconfig --output="$TMP_SWCRC"
22
25
 
23
26
  # Create typescript declaration files
package/bin/swc-watch.sh CHANGED
@@ -18,6 +18,9 @@ if [ $? -ne 0 ]; then
18
18
  echo "$0: Can't create temporary .swcrc file"
19
19
  exit 1
20
20
  fi
21
+
22
+ # Ensure we're in the project root directory for TypeScript configuration
23
+ cd "$PROJECT_ROOT"
21
24
  npx tsconfig-to-swcconfig --output="$TMP_SWCRC"
22
25
 
23
26
  # Watch for changes in the src directory, compile and run
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jterrazz/typescript",
3
3
  "author": "Jean-Baptiste Terrazzoni <jterrazzoni@gmail.com>",
4
- "version": "1.9.4",
4
+ "version": "1.9.5",
5
5
  "files": [
6
6
  "tsconfig",
7
7
  "bin"