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.18 to 1.0.19

29

dist/index.js

@@ -10,3 +10,3 @@ #!/usr/bin/env node

const prettier_1 = __importDefault(require("prettier"));
const code_1 = require("./code");
// import { indexFile, nodemonFile, gitIgnoreFile } from './code';
// import minimist from 'minimist';

@@ -41,9 +41,22 @@ // const argv = minimist(process.argv.slice(2));

onSuccess: () => {
Promise.all([
(0, utils_1.writeFileAsync)(`${name}/index.ts`, prettier_1.default.format(code_1.indexFile, { parser: 'typescript' })),
(0, utils_1.writeFileAsync)(`${name}/nodemon.json`, prettier_1.default.format(code_1.nodemonFile, { parser: 'json' })),
(0, utils_1.writeFileAsync)(`${name}/.gitignore`, code_1.gitIgnoreFile),
(0, utils_1.writeFileAsync)(`${name}/.env`, `PROJECT_NAME=${name}\nPORT=8080\nSERVER_URL=http://localhost:8080`),
(0, utils_1.writeFileAsync)(`${name}/README.md`, `#${name}\n\nWelcome on ${name}, this is a Bridge project, visit https://bridge.codes to learn how to automatically generate a complete online documentation and a fully typed client code in any language.`),
]);
console.log('success');
// Promise.all([
// writeFileAsync(
// `${name}/index.ts`,
// prettier.format(indexFile, { parser: 'typescript' }),
// ),
// writeFileAsync(
// `${name}/nodemon.json`,
// prettier.format(nodemonFile, { parser: 'json' }),
// ),
// writeFileAsync(`${name}/.gitignore`, gitIgnoreFile),
// writeFileAsync(
// `${name}/.env`,
// `PROJECT_NAME=${name}\nPORT=8080\nSERVER_URL=http://localhost:8080`,
// ),
// writeFileAsync(
// `${name}/README.md`,
// `#${name}\n\nWelcome on ${name}, this is a Bridge project, visit https://bridge.codes to learn how to automatically generate a complete online documentation and a fully typed client code in any language.`,
// ),
// ]);
},

@@ -50,0 +63,0 @@ });

{
"name": "create-bridge-app",
"version": "1.0.18",
"version": "1.0.19",
"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