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

aeproject

Package Overview
Dependencies
Maintainers
8
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aeproject - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

aeproject-contracts/aeproject-contracts.js

@@ -53,3 +53,3 @@ const util = require('util');

await exec(`yarn install`);
await exec(`yarn install --force`);

@@ -56,0 +56,0 @@ const startingAeppProcess = spawn('yarn', ['run', 'start:dev']);

@@ -39,5 +39,4 @@ /*

// TODO check whether we would need `--windows` option in compiler.
let compilerImage = option.windows ? compilerConfigs.dockerImage : compilerConfigs.dockerServiceCompilerName;
let compilerImage = compilerConfigs.dockerServiceCompilerName;
try {

@@ -44,0 +43,0 @@

@@ -60,5 +60,6 @@ /*

async run (option) {
let running;
let dockerImage = option.windows ? nodeConfiguration.dockerImage : nodeConfiguration.dockerServiceNodeName;
let compilerImage = option.windows ? compilerConfiguration.dockerImage : compilerConfiguration.dockerServiceCompilerName;
let dockerImage = nodeConfiguration.dockerServiceNodeName
let compilerImage = compilerConfiguration.dockerServiceCompilerName;

@@ -65,0 +66,0 @@ running = await this.areNodeAndCompilerRunning(dockerImage, compilerImage)

@@ -39,4 +39,3 @@ /*

let dockerImage = option.windows ? nodeConfiguration.dockerServiceNodeName : nodeConfiguration.dockerImage;
dockerImage = nodeConfiguration.dockerServiceNodeName;
let dockerImage = nodeConfiguration.dockerServiceNodeName

@@ -43,0 +42,0 @@ try {

@@ -31,3 +31,3 @@ /*

async function run(update) {
async function run (update) {
if (update) {

@@ -52,2 +52,3 @@ await updateAEprojectProjectLibraries(sdkVersion);

print(`===== Creating project file & dir structure =====`);
await setupContracts(shape);

@@ -70,2 +71,3 @@ await setupTests(shape);

await installYarn();
await uninstallForgaeDependencies();

@@ -107,2 +109,26 @@ print('===== AEproject was successfully updated! =====');

const uninstallForgaeDependencies = async () => {
const localPackageJson = require(process.cwd() + `/package.json`);
let forgaeRgx = /\s*"(forgae[^"]*)"\s*/gm;
let forgaeDependencies = JSON.stringify(localPackageJson);
let match;
match = forgaeRgx.exec(forgaeDependencies);
if (match[1] == 'forgae-project') {
match = forgaeRgx.exec(forgaeDependencies)
}
if (!match) {
return
}
print(`===== Removing ForgAE deprecated dependencies =====`);
while (match) {
await execute(/^win/.test(process.platform) ? 'npm.cmd' : 'npm', 'uninstall', [`${ match[1] }`]);
match = forgaeRgx.exec(forgaeDependencies)
}
}
const setupContracts = async (shape) => {

@@ -222,3 +248,3 @@

async function prompt(error) {
async function prompt (error) {
const args = [...arguments];

@@ -225,0 +251,0 @@ // [0] - error

@@ -70,3 +70,3 @@ /*

.command('env')
.description('Running a local node. Without any argument node will be run with --start argument')
.description('Running a local network. Without any argument node will be run with --start argument')
.option('--stop', 'Stop the node')

@@ -73,0 +73,0 @@ .option('--start', 'Start the node')

{
"name": "aeproject",
"version": "2.0.0",
"version": "2.0.1",
"description": "This is the default package.json generated for your project",

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

"dependencies": {
"aeproject-config": "^2.0.0",
"aeproject-logger": "^2.0.0",
"aeproject-utils": "^2.0.0",
"aeproject-config": "^2.0.1",
"aeproject-logger": "^2.0.1",
"aeproject-utils": "^2.0.1",
"chai": "^4.1.2",

@@ -17,0 +17,0 @@ "chai-as-promised": "^7.1.1",

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