bimba-cli 0.2.6 → 0.2.7

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/index.js +4 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -114,7 +114,7 @@ async function bundle() {
114
114
  });
115
115
 
116
116
  if(stats.failed)
117
- console.log(theme.start(theme.failure("Failure.") +` Imba compiler failed to proceed ${theme.count(stats.failed)} file${stats.failed > 1 ? 's' : ''}`));
117
+ console.log(theme.start(theme.failure("Failure.") + theme.filename(` Imba compiler failed to proceed ${stats.failed} file${stats.failed > 1 ? 's' : ''}`)));
118
118
  else
119
119
  console.log(theme.start(theme.success("Success.") +` It took ${theme.time(Date.now() - start)} ms to bundle ${theme.count(stats.bundled)} file${stats.bundled > 1 ? 's' : ''} to the folder: ${theme.filedir(flags.outdir)}`));
120
120
 
@@ -125,8 +125,11 @@ async function bundle() {
125
125
  }
126
126
  }
127
127
  catch(error) {
128
+ console.log('--------------------------------------------------------------')
128
129
  console.log('')
129
130
  console.log(error)
131
+ console.log('--------------------------------------------------------------')
132
+ console.log(theme.failure("Failure.") + theme.filename(' Bun found an error in the compiled JS file:'))
130
133
  }
131
134
  finally {
132
135
  bundling = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bimba-cli",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/HeapVoid/bimba.git"