@chuva.io/less-cli
Advanced tools
Comparing version 1.0.0-beta.8 to 1.0.0-beta.9
@@ -24,3 +24,3 @@ import AdmZip from 'adm-zip'; | ||
if (!config.hasOwnProperty('env_vars')) { | ||
console.error(chalk.redBright("Key 'env_vars' not found in the config.less file")); | ||
console.error(chalk.redBright("Key 'env_vars' not found in the less.config file")); | ||
process.exit(1); | ||
@@ -49,3 +49,3 @@ } | ||
const itemsToZip = glob.sync('{src,requirements.txt,yarn.lock,package.lock,config.less,package.json}', { | ||
const itemsToZip = glob.sync('{src,requirements.txt,yarn.lock,package.lock,less.config,package.json}', { | ||
cwd: projectPath, | ||
@@ -151,3 +151,3 @@ }); | ||
const currentWorkingDirectory = process.cwd(); | ||
const configFile = path.join(currentWorkingDirectory, 'config.less'); | ||
const configFile = path.join(currentWorkingDirectory, 'less.config'); | ||
const envVars = loadEnvironmentVariables(configFile); | ||
@@ -154,0 +154,0 @@ |
@@ -52,4 +52,4 @@ import chalk from 'chalk'; | ||
// Create a config.less file | ||
const configFilePath = path.join(projectDir, 'config.less'); | ||
// Create a less.config file | ||
const configFilePath = path.join(projectDir, 'less.config'); | ||
if (!fs.existsSync(configFilePath)) { | ||
@@ -63,3 +63,3 @@ const configContent = ` | ||
} else { | ||
console.log(chalk.yellow('Warning:'), 'config.less file already exists.'); | ||
console.log(chalk.yellow('Warning:'), 'less.config file already exists.'); | ||
} | ||
@@ -66,0 +66,0 @@ |
{ | ||
"name": "@chuva.io/less-cli", | ||
"version": "1.0.0-beta.8", | ||
"version": "1.0.0-beta.9", | ||
"description": "`less-cli` is a CLI tool that allows you to deploy your Less projects to AWS while providing several other tools to facilitate your interaction with Less.", | ||
@@ -5,0 +5,0 @@ "author": "Chuva, LLC", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package