vanilla-jet 1.0.36 → 1.0.38

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/bin.js +28 -20
  2. package/package.json +1 -1
package/bin.js CHANGED
@@ -10,30 +10,38 @@ const generatePackagesJson = require(path.join(__dirname, './.scripts/generate_p
10
10
  switch (args[0]) {
11
11
 
12
12
  case 'setup':
13
- generatePackagesJson();
14
- break;
13
+ generatePackagesJson();
14
+ break;
15
15
 
16
16
  case 'dev':
17
- try {
18
- execSync('grunt --env=development', { stdio: 'inherit', cwd: __dirname });
19
- } catch (error) {
20
- console.error('Error ejecutando grunt:', error.message);
21
- }
22
- break;
17
+ try {
18
+ execSync('grunt --env=development', { stdio: 'inherit', cwd: __dirname });
19
+ } catch (error) {
20
+ console.error('Error ejecutando grunt:', error.message);
21
+ }
22
+ break;
23
23
 
24
24
  case 'build:qa':
25
- try {
26
- execSync('grunt build --env=qa', { stdio: 'inherit', cwd: __dirname });
27
- } catch (error) {
28
- console.error('Error ejecutando grunt:', error.message);
29
- }
30
- break;
25
+ try {
26
+ execSync('grunt build --env=qa', { stdio: 'inherit', cwd: __dirname });
27
+ } catch (error) {
28
+ console.error('Error ejecutando grunt:', error.message);
29
+ }
30
+ break;
31
+
32
+ case 'build:staging':
33
+ try {
34
+ execSync('grunt build --env=staging', { stdio: 'inherit', cwd: __dirname });
35
+ } catch (error) {
36
+ console.error('Error ejecutando grunt:', error.message);
37
+ }
38
+ break;
31
39
 
32
40
  case 'build:prod':
33
- try {
34
- execSync('grunt build --env=production', { stdio: 'inherit', cwd: __dirname });
35
- } catch (error) {
36
- console.error('Error ejecutando grunt:', error.message);
37
- }
38
- break;
41
+ try {
42
+ execSync('grunt build --env=production', { stdio: 'inherit', cwd: __dirname });
43
+ } catch (error) {
44
+ console.error('Error ejecutando grunt:', error.message);
45
+ }
46
+ break;
39
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vanilla-jet",
3
- "version": "1.0.36",
3
+ "version": "1.0.38",
4
4
  "description": "VannilaJet framework",
5
5
  "main": "index.js",
6
6
  "bin": {