snowbase-templates-installer 1.0.3 → 1.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.
Files changed (2) hide show
  1. package/bin/cli.js +2 -1
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -6,7 +6,8 @@ const path = require('path');
6
6
  const chalk = require('chalk');
7
7
  const ora = require('ora');
8
8
 
9
- const templates = require('../templates.json');
9
+ const templatesPath = path.join(__dirname, '../templates.json');
10
+ const templates = require(templatesPath);
10
11
 
11
12
  async function showMainMenu() {
12
13
  console.log(chalk.blue.bold('\nšŸš€ Landing Page Installer\n'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snowbase-templates-installer",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "CLI tool to browse and install landing page templates",
5
5
  "main": "index.js",
6
6
  "bin": {