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

create-tigris-app

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-tigris-app - npm Package Compare versions

Comparing version 1.0.0-beta.11 to 1.0.0-beta.12

3

dist/helpers/create-app.js

@@ -16,3 +16,3 @@ "use strict";

const examples_1 = require("./examples");
async function createApp({ appPath, packageManager, example, clientId, clientSecret, environment, }) {
async function createApp({ appPath, packageManager, example, clientId, clientSecret, environment, databaseBranch, }) {
const template = example ? example : "default";

@@ -54,2 +54,3 @@ const found = await (0, examples_1.existsInRepo)(template);

environment,
databaseBranch,
});

@@ -56,0 +57,0 @@ if ((0, git_1.tryGitInit)(root)) {

@@ -26,3 +26,3 @@ "use strict";

*/
const installEnv = ({ root, project, clientId, clientSecret, environment, }) => {
const installEnv = ({ root, project, clientId, clientSecret, environment, databaseBranch, }) => {
const parsedEnv = environment

@@ -36,3 +36,4 @@ ? exports.ENVIRONMENTS.includes(environment)

TIGRIS_CLIENT_ID=${clientId}
TIGRIS_CLIENT_SECRET=${clientSecret}`;
TIGRIS_CLIENT_SECRET=${clientSecret}
TIGRIS_DB_BRANCH=${databaseBranch}`;
fs_1.default.writeFileSync(path_1.default.join(root, ".env"), envContent + os_1.default.EOL);

@@ -44,3 +45,3 @@ };

*/
const installTemplate = async ({ appName, root, packageManager, isOnline, template, clientId, clientSecret, environment, }) => {
const installTemplate = async ({ appName, root, packageManager, isOnline, template, clientId, clientSecret, environment, databaseBranch, }) => {
console.log(`Downloading files for example ${chalk_1.default.cyan(template)}. This might take a moment.`);

@@ -83,4 +84,5 @@ console.log();

clientSecret: clientSecret,
databaseBranch: databaseBranch,
});
};
exports.installTemplate = installTemplate;

@@ -167,2 +167,4 @@ #!/usr/bin/env node

}
// for now we default the database branch to "main"
const databaseBranch = "main";
await (0, create_app_1.createApp)({

@@ -175,2 +177,3 @@ appPath: resolvedProjectPath,

environment,
databaseBranch,
});

@@ -177,0 +180,0 @@ }

{
"name": "create-tigris-app",
"version": "1.0.0-beta.11",
"version": "1.0.0-beta.12",
"keywords": [

@@ -5,0 +5,0 @@ "database",

{
"name": "create-tigris-app",
"version": "1.0.0-beta.11",
"version": "1.0.0-beta.12",
"keywords": [

@@ -5,0 +5,0 @@ "database",

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