solidui-cli 0.1.5 → 0.1.6

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/dist/index.js +6 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -817,8 +817,12 @@ function writeTsconfig(alias) {
817
817
  const indicator = spinner3();
818
818
  indicator.start("Configuring your tsconfig.json");
819
819
  readJsonFile(process.cwd() + "/tsconfig.json", (error, data) => {
820
- if (error)
821
- log3.error("Something went wrong while configuring your tsconfig.json");
820
+ if (error) {
821
+ log3.error(
822
+ "Something went wrong while configuring your tsconfig.json. Please make sure it is formatted correctly and doesn't contain any comments."
823
+ );
824
+ process.exit(1);
825
+ }
822
826
  const tsconfigData = data;
823
827
  if (!tsconfigData.compilerOptions.paths) {
824
828
  tsconfigData.compilerOptions.paths = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solidui-cli",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Add Solid UI Components to your application using the Solid-UI CLI tool",
5
5
  "publishConfig": {
6
6
  "access": "public"