@athenna/tsconfig 4.8.1 → 4.8.2

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/package-lock.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenna/tsconfig",
3
- "version": "4.8.1",
3
+ "version": "4.8.2",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@athenna/tsconfig",
3
- "version": "4.8.1",
3
+ "version": "4.8.2",
4
4
  "description": "Exports the base TypeScript configuration for Athena applications and packages.",
5
5
  "license": "MIT",
6
6
  "author": "João Lenon <lenon@athenna.io>",
package/src/build.js CHANGED
@@ -17,11 +17,6 @@ import { rimraf } from 'rimraf'
17
17
  */
18
18
  rimraf('build')
19
19
 
20
- /**
21
- * Run tsc compiler.
22
- */
23
- await tsc()
24
-
25
20
  /**
26
21
  * Copy default files to build folder.
27
22
  */
@@ -35,4 +30,10 @@ copyfiles([
35
30
  'build'
36
31
  ], '', (err) => {
37
32
  if (err) throw err
33
+
34
+ /**
35
+ * Run tsc compiler after copyfiles because
36
+ * `tsc` exits the process after compile.
37
+ */
38
+ tsc()
38
39
  })