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

@multiplatform.one/cli

Package Overview
Dependencies
Maintainers
0
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@multiplatform.one/cli - npm Package Compare versions

Comparing version 1.0.33 to 1.0.34

4

package.json
{
"name": "@multiplatform.one/cli",
"version": "1.0.33",
"version": "1.0.34",
"author": "BitSpur <support@bitspur.com> (https://bitspur.com)",

@@ -55,3 +55,3 @@ "contributors": [

"typescript": "~5.3.3",
"@multiplatform.one/utils": "^0.0.18"
"@multiplatform.one/utils": "^0.0.19"
},

@@ -58,0 +58,0 @@ "dependencies": {

@@ -32,3 +32,3 @@ /*

process.env.COOKIECUTTER = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../../scripts/cookiecutter.sh');
process.env.COOKIECUTTER = `sh ${path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../../scripts/cookiecutter.sh')}`;
program.name('multiplatform.one');

@@ -64,16 +64,20 @@ program.version(

const cookieCutterConfigFile = path.join(await fs.mkdtemp(path.join(os.tmpdir(), 'multiplatform-')), 'config.json');
await fs.writeFile(cookieCutterConfigFile, JSON.stringify(cookieCutterConfig, null, 2));
await execa(
'sh',
[
path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../../scripts/init.sh'),
'-f',
'--config-file',
cookieCutterConfigFile,
remote,
],
{
stdio: 'inherit',
},
);
try {
await fs.writeFile(cookieCutterConfigFile, JSON.stringify(cookieCutterConfig, null, 2));
await execa(
'sh',
[
path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../../scripts/init.sh'),
'-f',
'--config-file',
cookieCutterConfigFile,
remote,
],
{
stdio: 'inherit',
},
);
} finally {
await fs.rm(cookieCutterConfigFile, { recursive: true, force: true });
}
});

@@ -112,19 +116,23 @@

const cookieCutterConfigFile = path.join(await fs.mkdtemp(path.join(os.tmpdir(), 'multiplatform-')), 'config.json');
await fs.writeFile(cookieCutterConfigFile, JSON.stringify(cookieCutterConfig, null, 2));
await execa(
'sh',
[
path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../../scripts/update.sh'),
'-f',
'--config-file',
cookieCutterConfigFile,
remote,
],
{
cwd: projectRoot,
stdio: 'inherit',
},
);
try {
await fs.writeFile(cookieCutterConfigFile, JSON.stringify(cookieCutterConfig, null, 2));
await execa(
'sh',
[
path.resolve(path.dirname(fileURLToPath(import.meta.url)), '../../scripts/update.sh'),
'-f',
'--config-file',
cookieCutterConfigFile,
remote,
],
{
cwd: projectRoot,
stdio: 'inherit',
},
);
} finally {
await fs.rm(cookieCutterConfigFile, { recursive: true, force: true });
}
});
program.parse(process.argv);

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