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

@dtinsight/create

Package Overview
Dependencies
Maintainers
8
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dtinsight/create - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

5

dist/cli.js

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

const ora_1 = __importDefault(require("ora"));
const chalk_1 = __importDefault(require("chalk"));
(async () => {
const pkg = JSON.parse(fs_1.default.readFileSync(path_1.default.resolve(__dirname, "../package.json"), "utf-8"));
console.log(chalk_1.default.blueBright("[INFO]: "), chalk_1.default.yellowBright(pkg.name, `v${pkg.version}`));
const { applicationName, template } = await (0, prompts_1.default)([

@@ -36,3 +39,3 @@ {

fs_1.default.mkdirSync(path_1.default.join(root, applicationName), { recursive: true });
const templatePath = path_1.default.join(__dirname, "..", "src", "templates", `template-${template}`);
const templatePath = path_1.default.join(__dirname, "..", "dist", "templates", `template-${template}`);
const staffs = fs_1.default.readdirSync(templatePath);

@@ -39,0 +42,0 @@ staffs.forEach((staff) => {

2

package.json
{
"name": "@dtinsight/create",
"version": "1.1.1",
"version": "1.1.2",
"description": "Create Molecule Application with create-react-app.",

@@ -5,0 +5,0 @@ "keywords": [

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