Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-vxrn

Package Overview
Dependencies
Maintainers
0
Versions
391
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-vxrn - npm Package Compare versions

Comparing version 1.1.367 to 1.1.368

tsconfig.tsbuildinfo

8

dist/cjs/steps/one.js

@@ -42,6 +42,6 @@ var __create = Object.create;

}, preInstall = async ({ projectName, packageManager, projectPath }) => {
const envExample = (0, import_node_path.join)(projectPath, ".env.example");
import_fs_extra.default.existsSync(envExample) && (await import_fs_extra.default.move(envExample, (0, import_node_path.join)(projectPath, ".env")), console.info("Moved .env.example to .env")), packageManager === "pnpm" && (await import_fs_extra.default.writeFile((0, import_node_path.join)(projectPath, ".npmrc"), `node-linker=hoisted
const path = projectPath || projectName, envExample = (0, import_node_path.join)(path, ".env.example");
import_fs_extra.default.existsSync(envExample) && (await import_fs_extra.default.move(envExample, (0, import_node_path.join)(path, ".env")), console.info("Moved .env.example to .env")), packageManager === "pnpm" && (await import_fs_extra.default.writeFile((0, import_node_path.join)(path, ".npmrc"), `node-linker=hoisted
`), console.info("Set configuration to avoid symlinked node modules")), packageManager === "yarn" && (await import_fs_extra.default.writeFile(
(0, import_node_path.join)(projectPath, ".yarnrc.yml"),
(0, import_node_path.join)(path, ".yarnrc.yml"),
`

@@ -63,4 +63,4 @@ compressionLevel: mixed

`
), await (0, import_exec.execPromise)("yarn set version stable"), await import_fs_extra.default.writeFile((0, import_node_path.join)(projectPath, "yarn.lock"), ""), console.info("Set up yarn for latest version"));
), await (0, import_exec.execPromise)("yarn set version stable"), await import_fs_extra.default.writeFile((0, import_node_path.join)(path, "yarn.lock"), ""), console.info("Set up yarn for latest version"));
};
//# sourceMappingURL=one.js.map

@@ -42,5 +42,5 @@ "use strict";

}, preInstall = async function(param) {
var { projectName, packageManager, projectPath } = param, envExample = (0, import_node_path.join)(projectPath, ".env.example");
import_fs_extra.default.existsSync(envExample) && (await import_fs_extra.default.move(envExample, (0, import_node_path.join)(projectPath, ".env")), console.info("Moved .env.example to .env")), packageManager === "pnpm" && (await import_fs_extra.default.writeFile((0, import_node_path.join)(projectPath, ".npmrc"), `node-linker=hoisted
`), console.info("Set configuration to avoid symlinked node modules")), packageManager === "yarn" && (await import_fs_extra.default.writeFile((0, import_node_path.join)(projectPath, ".yarnrc.yml"), `
var { projectName, packageManager, projectPath } = param, path = projectPath || projectName, envExample = (0, import_node_path.join)(path, ".env.example");
import_fs_extra.default.existsSync(envExample) && (await import_fs_extra.default.move(envExample, (0, import_node_path.join)(path, ".env")), console.info("Moved .env.example to .env")), packageManager === "pnpm" && (await import_fs_extra.default.writeFile((0, import_node_path.join)(path, ".npmrc"), `node-linker=hoisted
`), console.info("Set configuration to avoid symlinked node modules")), packageManager === "yarn" && (await import_fs_extra.default.writeFile((0, import_node_path.join)(path, ".yarnrc.yml"), `
compressionLevel: mixed

@@ -60,3 +60,3 @@ enableGlobalCache: false

level: discard
`), await (0, import_exec.execPromise)("yarn set version stable"), await import_fs_extra.default.writeFile((0, import_node_path.join)(projectPath, "yarn.lock"), ""), console.info("Set up yarn for latest version"));
`), await (0, import_exec.execPromise)("yarn set version stable"), await import_fs_extra.default.writeFile((0, import_node_path.join)(path, "yarn.lock"), ""), console.info("Set up yarn for latest version"));
};

@@ -63,0 +63,0 @@ // Annotate the CommonJS export names for ESM import in node:

@@ -17,6 +17,6 @@ import ansis from "ansis";

}, preInstall = async ({ projectName, packageManager, projectPath }) => {
const envExample = join(projectPath, ".env.example");
FSExtra.existsSync(envExample) && (await FSExtra.move(envExample, join(projectPath, ".env")), console.info("Moved .env.example to .env")), packageManager === "pnpm" && (await FSExtra.writeFile(join(projectPath, ".npmrc"), `node-linker=hoisted
const path = projectPath || projectName, envExample = join(path, ".env.example");
FSExtra.existsSync(envExample) && (await FSExtra.move(envExample, join(path, ".env")), console.info("Moved .env.example to .env")), packageManager === "pnpm" && (await FSExtra.writeFile(join(path, ".npmrc"), `node-linker=hoisted
`), console.info("Set configuration to avoid symlinked node modules")), packageManager === "yarn" && (await FSExtra.writeFile(
join(projectPath, ".yarnrc.yml"),
join(path, ".yarnrc.yml"),
`

@@ -38,3 +38,3 @@ compressionLevel: mixed

`
), await execPromise("yarn set version stable"), await FSExtra.writeFile(join(projectPath, "yarn.lock"), ""), console.info("Set up yarn for latest version"));
), await execPromise("yarn set version stable"), await FSExtra.writeFile(join(path, "yarn.lock"), ""), console.info("Set up yarn for latest version"));
};

@@ -41,0 +41,0 @@ export {

@@ -17,5 +17,5 @@ import ansis from "ansis";

}, preInstall = async function(param) {
var { projectName, packageManager, projectPath } = param, envExample = join(projectPath, ".env.example");
FSExtra.existsSync(envExample) && (await FSExtra.move(envExample, join(projectPath, ".env")), console.info("Moved .env.example to .env")), packageManager === "pnpm" && (await FSExtra.writeFile(join(projectPath, ".npmrc"), `node-linker=hoisted
`), console.info("Set configuration to avoid symlinked node modules")), packageManager === "yarn" && (await FSExtra.writeFile(join(projectPath, ".yarnrc.yml"), `
var { projectName, packageManager, projectPath } = param, path = projectPath || projectName, envExample = join(path, ".env.example");
FSExtra.existsSync(envExample) && (await FSExtra.move(envExample, join(path, ".env")), console.info("Moved .env.example to .env")), packageManager === "pnpm" && (await FSExtra.writeFile(join(path, ".npmrc"), `node-linker=hoisted
`), console.info("Set configuration to avoid symlinked node modules")), packageManager === "yarn" && (await FSExtra.writeFile(join(path, ".yarnrc.yml"), `
compressionLevel: mixed

@@ -35,3 +35,3 @@ enableGlobalCache: false

level: discard
`), await execPromise("yarn set version stable"), await FSExtra.writeFile(join(projectPath, "yarn.lock"), ""), console.info("Set up yarn for latest version"));
`), await execPromise("yarn set version stable"), await FSExtra.writeFile(join(path, "yarn.lock"), ""), console.info("Set up yarn for latest version"));
};

@@ -38,0 +38,0 @@ export {

{
"name": "create-vxrn",
"version": "1.1.367",
"version": "1.1.368",
"bin": "run.js",

@@ -5,0 +5,0 @@ "main": "dist/cjs",

@@ -26,6 +26,7 @@ import ansis from 'ansis'

export const preInstall: ExtraSteps = async ({ projectName, packageManager, projectPath }) => {
const envExample = join(projectPath, '.env.example')
const path = projectPath || projectName
const envExample = join(path, '.env.example')
if (FSExtra.existsSync(envExample)) {
await FSExtra.move(envExample, join(projectPath, '.env'))
await FSExtra.move(envExample, join(path, '.env'))
console.info(`Moved .env.example to .env`)

@@ -35,3 +36,3 @@ }

if (packageManager === 'pnpm') {
await FSExtra.writeFile(join(projectPath, `.npmrc`), `node-linker=hoisted\n`)
await FSExtra.writeFile(join(path, `.npmrc`), `node-linker=hoisted\n`)
console.info(`Set configuration to avoid symlinked node modules`)

@@ -42,3 +43,3 @@ }

await FSExtra.writeFile(
join(projectPath, '.yarnrc.yml'),
join(path, '.yarnrc.yml'),
`

@@ -62,5 +63,5 @@ compressionLevel: mixed

await execPromise(`yarn set version stable`)
await FSExtra.writeFile(join(projectPath, 'yarn.lock'), '')
await FSExtra.writeFile(join(path, 'yarn.lock'), '')
console.info(`Set up yarn for latest version`)
}
}

@@ -1,3 +0,3 @@

export type ExtraSteps = (args: Required<CreateTemplateProps>) => Promise<void>
export type PreInstall = (args: Required<CreateTemplateProps>) => Promise<void>
export type ExtraSteps = (args: CreateTemplateProps) => Promise<void>
export type PreInstall = (args: CreateTemplateProps) => Promise<void>

@@ -4,0 +4,0 @@ export type CreateTemplateProps = {

{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"target": "es2022",
"module": "ES2022",
"moduleResolution": "node",
"strict": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"skipLibCheck": true,
"skipDefaultLibCheck": true
}
"composite": true,
},
"references": []
}

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

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