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

create-treble-app

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-treble-app - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

2

package.json
{
"name": "create-treble-app",
"version": "0.0.16",
"version": "0.0.17",
"main": "index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -68,2 +68,18 @@ import path, { dirname } from 'path';

async function renameGitIgnore(outputDir) {
// We need to rename the gitignore file to .gitignore
if (
!fs.pathExistsSync(path.join(outputDir, '.gitignore')) &&
fs.pathExistsSync(path.join(outputDir, 'gitignore'))
) {
await fs.move(
path.join(outputDir, 'gitignore'),
path.join(outputDir, '.gitignore')
);
}
if (fs.pathExistsSync(path.join(outputDir, 'gitignore'))) {
fs.removeSync(path.join(outputDir, 'gitignore'));
}
}
export default async function cloneTemplate(

@@ -86,2 +102,3 @@ projectName,

await installDependencies(outputDir);
await renameGitIgnore(outputDir);
messages.complete(outputDir, projectName);

@@ -88,0 +105,0 @@ } catch (e) {

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