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

create-bridge-app

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-bridge-app - npm Package Compare versions

Comparing version 1.0.25 to 1.0.26

18

dist/index.js

@@ -16,2 +16,5 @@ #!/usr/bin/env node

Object.defineProperty(exports, "__esModule", { value: true });
/* eslint-disable import/no-extraneous-dependencies */
const utils_1 = require("./utils");
const prettier_1 = __importDefault(require("prettier"));
// import { indexFile, nodemonFile, gitIgnoreFile } from './code';

@@ -29,3 +32,16 @@ // import minimist from 'minimist';

console.log(`Downloading dependencies... OK`);
yield exec(`mkdir ${name} && cd ${name} && npx tsc --init --outDir dist`);
yield exec(`mkdir ${name}`);
yield (0, utils_1.writeFileAsync)(`${name}/package.json`, prettier_1.default.format(`{
"name": "${name
.toLowerCase()
.normalize('NFD')
.replace(/[^a-zA-Z0-9]/g, '')}",
"version": "1.0.0",
"scripts": {
"start": "node ./dist/index.js",
"dev": "nodemon --config nodemon.json ./index.ts",
"build": "tsc"
}
}`, { parser: 'json' }));
yield exec(`cd ${name} && npm i bridge express zod dotenv && npm i --save-dev @types/express @types/node typescript ts-node nodemon && npx tsc --init --outDir dist`);
// runCommand({

@@ -32,0 +48,0 @@ // command: `mkdir ${name} & cd ${name} & npx tsc --init --outDir dist`,

2

package.json
{
"name": "create-bridge-app",
"version": "1.0.25",
"version": "1.0.26",
"description": "Create Bridge-powered Express app with one command",

@@ -5,0 +5,0 @@ "author": "Bridge Team <support@bridge.codes>",

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