Socket
Socket
Sign inDemoInstall

@machinat/create-app

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@machinat/create-app - npm Package Compare versions

Comparing version 0.4.1-alpha.15 to 0.4.1-alpha.16

1

lib/cli.d.ts

@@ -0,1 +1,2 @@

#!/usr/bin/env node
export {};

@@ -0,1 +1,2 @@

#!/usr/bin/env node
"use strict";

@@ -2,0 +3,0 @@

7

lib/createApp.js

@@ -64,3 +64,4 @@ "use strict";

const {
default: buildContent
default: buildContent,
mode
} = await Promise.resolve(`${file}`).then(s => _interopRequireWildcard(require(s)));

@@ -79,3 +80,5 @@ const content = buildContent(context);

const ext = (0, _path.extname)(targetPath);
await _thenifiedly.default.call(_fs.writeFile, targetPath, ext === '.ts' ? formatCode(content, 'typescript') : ext === '.js' ? formatCode(content, 'babel') : ext === '.json' ? formatCode(content, 'json-stringify') : content);
await _thenifiedly.default.call(_fs.writeFile, targetPath, ext === '.ts' ? formatCode(content, 'typescript') : ext === '.js' ? formatCode(content, 'babel') : ext === '.json' ? formatCode(content, 'json-stringify') : content, {
mode
});
}

@@ -82,0 +85,0 @@ }));

@@ -0,2 +1,3 @@

export declare const mode = 509;
declare const _default: () => string | null;
export default _default;

@@ -6,7 +6,11 @@ "use strict";

});
exports.default = void 0;
exports.default = exports.mode = void 0;
var _templateHelper = require("../../../templateHelper");
const mode = 0o775;
exports.mode = mode;
var _default = () => (0, _templateHelper.polishFileContent)(`
#!/usr/bin/env node
import { config as configEnv } from 'dotenv';

@@ -13,0 +17,0 @@ import localtunnel from 'localtunnel';

import { CreateAppContext } from '../../../types';
export declare const mode = 509;
declare const _default: ({ platforms }: CreateAppContext) => string | null;
export default _default;

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

});
exports.default = void 0;
exports.default = exports.mode = void 0;

@@ -13,5 +13,9 @@ var _types = require("../../../types");

const mode = 0o775;
exports.mode = mode;
var _default = ({
platforms
}) => (0, _templateHelper.polishFileContent)(`
#!/usr/bin/env node
import { config as configEnv } from 'dotenv';

@@ -18,0 +22,0 @@ import { resolve as resolvePath } from 'path';

{
"name": "@machinat/create-app",
"version": "0.4.1-alpha.15",
"version": "0.4.1-alpha.16",
"author": "Patrick Liu <zeldalink0515@gmail.com> (https://github.com/lrills)",

@@ -34,3 +34,3 @@ "repository": {

},
"gitHead": "6d3989bfccaddae6df36c6daccd81060f9da5ca1"
"gitHead": "e5add42a0f92c0e5fd1a1e831c84873b2164e1cc"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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