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.9 to 1.0.0-beta.10

5

bin/index.js
#!/usr/bin/env node
import { Command } from 'commander';
import chalk from 'chalk';
import { createRequire } from 'module';
const require = createRequire(import.meta.url);
import { readFile } from 'fs/promises';

@@ -15,3 +18,3 @@ import deploy from '../commands/deploy/index.js';

.description('CLI to interact with Less')
.version('0.0.1')
.version('1.0.0-beta.10')
.usage('[COMMAND]');

@@ -18,0 +21,0 @@

2

commands/add-template/create/mongodb_js_shared_client.js

@@ -15,3 +15,3 @@ import fs from 'fs';

const folder_path = '/src/shared/mongodb_client';
const folder_path = '/less/shared/mongodb_client';
const destination_folder = path.join(working_directory, folder_path);

@@ -18,0 +18,0 @@

@@ -48,3 +48,3 @@ import AdmZip from 'adm-zip';

const itemsToZip = glob.sync('{src,requirements.txt,yarn.lock,package.lock,less.config,package.json}', {
const itemsToZip = glob.sync('{less,requirements.txt,yarn.lock,package.lock,less.config,package.json}', {
cwd: projectPath,

@@ -51,0 +51,0 @@ });

@@ -35,8 +35,8 @@ import chalk from 'chalk';

const subdirectories = [
'src/apis/demo/messages',
'src/sockets',
'src/external_topics',
'src/shared',
'src/crons',
'src/topics/project_created',
'less/apis/demo/messages',
'less/sockets',
'less/external_topics',
'less/shared',
'less/crons',
'less/topics/project_created',
];

@@ -86,4 +86,4 @@

// Create src/apis/demo/messages/index.js
const messagesIndexPath = path.join(projectDir, 'src', 'apis', 'demo', 'messages', 'index.js');
// Create less/apis/demo/messages/index.js
const messagesIndexPath = path.join(projectDir, 'less', 'apis', 'demo', 'messages', 'index.js');
if (!fs.existsSync(messagesIndexPath)) {

@@ -107,3 +107,3 @@ const messagesIndexContent = `

} else {
console.log(chalk.yellow('Warning:'), 'src/apis/demo/messages/index.js file already exists.');
console.log(chalk.yellow('Warning:'), 'less/apis/demo/messages/index.js file already exists.');
}

@@ -110,0 +110,0 @@

{
"name": "@chuva.io/less-cli",
"version": "1.0.0-beta.9",
"version": "1.0.0-beta.10",
"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