Socket
Socket
Sign inDemoInstall

@chuva.io/less-cli

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chuva.io/less-cli - npm Package Compare versions

Comparing version 1.0.0-beta.8 to 1.0.0-beta.9

6

commands/deploy/index.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc