Socket
Socket
Sign inDemoInstall

@connectedcars/setup

Package Overview
Dependencies
Maintainers
13
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@connectedcars/setup - npm Package Compare versions

Comparing version 0.14.0 to 0.15.0

12

build/dist/src/index.js

@@ -32,3 +32,4 @@ "use strict";

async function copyTemplateFiles(templatePath, target, ignoreFiles, options = {}) {
async function copyTemplateFiles(templatePath, target, ignoreFiles) {
let options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
const force = options.force ? true : false; // TODO: Also handle folders like .vscode

@@ -58,3 +59,4 @@

async function initTarget(templatePath, target, options = {}) {
async function initTarget(templatePath, target) {
let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
(0, _log.default)(`Started copying template files`, options);

@@ -74,3 +76,4 @@ await copyTemplateFiles(templatePath, target, templateFilesIgnore, options);

async function updateTarget(templatePath, target, options = {}) {
async function updateTarget(templatePath, target) {
let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
(0, _log.default)(`Started updating package.json`, options);

@@ -90,3 +93,4 @@ const wasChanged = await (0, _packageJson.updatePackageJson)(templatePath, target, { ...options,

async function fixTarget(templatePath, target, options = {}) {
async function fixTarget(templatePath, target) {
let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
(0, _log.default)(`Started updating tsconfig.json`, options);

@@ -93,0 +97,0 @@ await (0, _tsconfigJson.fixTSConfigJson)(templatePath, target, options);

@@ -18,3 +18,4 @@ "use strict";

function log(msg, options = {}) {
function log(msg) {
let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
const verbose = options.verbose ? true : false;

@@ -21,0 +22,0 @@

@@ -34,3 +34,4 @@ "use strict";

async function updatePackageJson(templatePath, target, options = {}) {
async function updatePackageJson(templatePath, target) {
let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
const force = options.force ? true : false;

@@ -37,0 +38,0 @@ const onlyDeps = options.onlyDeps ? true : false;

@@ -21,3 +21,5 @@ "use strict";

async function fixTSConfigJson(templatePath, target, options = {}) {
async function fixTSConfigJson(templatePath, target) {
let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
if (!(await (0, _fsutils.isFileReadable)(`${target}/tsconfig.json`))) {

@@ -24,0 +26,0 @@ return;

{
"name": "@connectedcars/setup",
"version": "0.14.0",
"version": "0.15.0",
"description": "Connected Cars JavaScript/TypeScript development setup",

@@ -5,0 +5,0 @@ "main": "build/dist/src/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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