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

@epig/create-app

Package Overview
Dependencies
Maintainers
4
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@epig/create-app - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

9

createReactApp.js

@@ -110,2 +110,3 @@ const chalk = require('chalk');

'tslib',
'buildcache',
];

@@ -284,4 +285,10 @@

let entryConfigContent = fs.readFileSync(entryConfigPath, 'utf-8');
entryConfigContent = entryConfigContent.replace('<%= appName %>', () => appName);
entryConfigContent = entryConfigContent.replace(/<%= appName %>/ig, () => appName);
fs.writeFileSync(entryConfigPath, entryConfigContent, { encoding: 'utf-8' });
if (projectType === 'admin') {
const dockerComposeYmlPath = path.join(root, 'docker-compose.yml');
let dockerComposeYmlContent = fs.readFileSync(dockerComposeYmlPath, 'utf-8');
dockerComposeYmlContent = dockerComposeYmlContent.replace(/<%= appName %>/ig, () => appName);
fs.writeFileSync(dockerComposeYmlPath, dockerComposeYmlContent, { encoding: 'utf-8' });
}
} catch (err) {

@@ -288,0 +295,0 @@ console.log();

2

package.json
{
"name": "@epig/create-app",
"version": "1.2.1",
"version": "1.3.0",
"description": "create react app",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -32,6 +32,6 @@ # @epig/create-react-app

管理后台
管理后台([使用说明看这里](https://github.com/evel-pig/create-admin-app))
```bash
npx @epig/create-app my-admin-app --admin
```
```

@@ -17,3 +17,5 @@ {

"skipLibCheck": true,
"experimentalDecorators": true
"experimentalDecorators": true,
"incremental": true,
"tsBuildInfoFile": "./buildcache/front-end"
},

@@ -20,0 +22,0 @@ "include": [

@@ -17,3 +17,5 @@ {

"module": "esNext",
"allowUnusedLabels": false
"allowUnusedLabels": false,
"incremental": true,
"tsBuildInfoFile": "./buildcache/front-end"
},

@@ -20,0 +22,0 @@ "exclude": [

@@ -17,3 +17,5 @@ {

"module": "esNext",
"allowUnusedLabels": false
"allowUnusedLabels": false,
"incremental": true,
"tsBuildInfoFile": "./buildcache/front-end"
},

@@ -20,0 +22,0 @@ "exclude": [

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