New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

clarity-cli

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clarity-cli - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

lib/commands/init-project.js

41

.vscode/launch.json

@@ -7,7 +7,23 @@ {

"request": "launch",
"name": "Launch Create Program",
"name": "Launch Create Project",
"program": "${workspaceRoot}/lib/index.js",
"args": [
"create-project",
"project-name2",
"babel"
],
"preLaunchTask": "compile",
"cwd": "${workspaceRoot}/sample-projects/",
"outFiles": [
"${workspaceRoot}/lib/**/*.js"
],
"sourceMaps": true
},
{
"type": "node",
"request": "launch",
"name": "Launch Create System Project",
"program": "${workspaceRoot}/lib/index.js",
"args": [
"create-project",
"dispatcher-system",
"--type",

@@ -17,4 +33,6 @@ "system"

"preLaunchTask": "compile",
"cwd": "${workspaceRoot}",
"outFiles": ["${workspaceRoot}/lib/**/*.js"],
"cwd": "${workspaceRoot}/sample-projects/",
"outFiles": [
"${workspaceRoot}/lib/**/*.js"
],
"sourceMaps": true

@@ -24,2 +42,17 @@ },

"type": "node",
"request": "launch",
"name": "Launch Initialize Project",
"program": "${workspaceRoot}/lib/index.js",
"args": [
"init-project"
],
"preLaunchTask": "compile",
"cwd": "${workspaceRoot}/sample-projects/babel/",
"outFiles": [
"${workspaceRoot}/lib/**/*.js"
],
"sourceMaps": true
},
{
"type": "node",
"request": "attach",

@@ -26,0 +59,0 @@ "name": "Attach to Process",

2

lib/commands/create-project.js

@@ -36,3 +36,3 @@ "use strict";

var templateDirectory = path.join(__dirname, "../../", templateName);
var templateDirectory = path.join(__dirname, "../../templates/", templateName);
var projectDirectory = path.join(process.cwd(), projectName);

@@ -39,0 +39,0 @@ var packageJsonFile = path.join(projectDirectory, "package.json");

{
"name": "clarity-cli",
"version": "1.0.5",
"version": "1.0.6",
"description": "Clarity setup for vscode.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -22,3 +22,3 @@ import * as fs from "fs-extra";

var templateDirectory = path.join(__dirname, "../../", templateName);
var templateDirectory = path.join(__dirname, "../../templates/", templateName);
var projectDirectory = path.join(process.cwd(), projectName);

@@ -25,0 +25,0 @@ var packageJsonFile = path.join(projectDirectory, "package.json");

Sorry, the diff of this file is not supported yet

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