generator-hubble 0.0.3 → 0.0.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.
@@ -57,7 +57,7 @@ export default class extends Generator {
57
57
 
58
58
  writing() {
59
59
  if(this.props.AreYouSure) {
60
- this.log( chalk.blue(`🎉 Creating ${this.props.name} and copying files...`) )
60
+ this.log( chalk.blue(`🎉 Copying files...`) )
61
61
  this.fs.copyTpl(
62
62
  this.templatePath(),
63
63
  this.destinationPath(),
@@ -65,7 +65,7 @@ export default class extends Generator {
65
65
  );
66
66
  }
67
67
  else {
68
- this.log( chalk.red(`🔥 Canceling ${this.props.name}...`) )
68
+ this.log( chalk.red(`🔥 Canceling ${this.props.packageName}...`) )
69
69
  }
70
70
  }
71
71
 
@@ -75,18 +75,15 @@ export default class extends Generator {
75
75
 
76
76
  if(!this.props.areYouSure) return undefined;
77
77
 
78
- this.log( chalk.green(`🎉 Created ${this.props.name} and copied files...`) )
78
+ this.log( chalk.green(`🎉 Created ${this.props.packageName}...`) )
79
79
 
80
80
  this.log( `${chalk.blue(`📚 Installing dependencies...`)}` )
81
81
 
82
- await execute(`cd ${this.props.name} && npm i`);
82
+ await execute(`npm i`);
83
83
 
84
84
  this.log( `${chalk.green(`📚 Installed dependencies...`)}` )
85
85
 
86
- this.log()
87
- this.log(`${chalk.blue(`cd ${this.props.name} && npm start`)}` )
88
- this.log(`🚀 Run above to go to your new project and start it up` )
89
- this.log()
86
+ this.log(`🚀 Happy Hacking` )
90
87
  }
91
88
  catch (error) {
92
89
  this.log( `🔥 ${chalk.red(`Error Installing: ${error.message}`)}` )
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "generator-hubble",
3
3
  "type": "module",
4
- "version": "0.0.3",
4
+ "version": "0.0.5",
5
5
  "description": "A yeoman generator to easily create a lit-element project with tailwindcss and typescript",
6
6
  "homepage": "https://github.com/jsmithdev/generator-hubble",
7
7
  "author": {