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

@adonisjs/ignitor

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adonisjs/ignitor - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="1.0.11"></a>
## [1.0.11](https://github.com/adonisjs/adonis-ignitor/compare/v1.0.10...v1.0.11) (2017-09-14)
### Features
* **ignitor:** switch node env to testing on exec test command ([10ba6bd](https://github.com/adonisjs/adonis-ignitor/commit/10ba6bd))
<a name="1.0.10"></a>

@@ -2,0 +12,0 @@ ## [1.0.10](https://github.com/adonisjs/adonis-ignitor/compare/v1.0.9...v1.0.10) (2017-08-22)

2

package.json
{
"name": "@adonisjs/ignitor",
"version": "1.0.10",
"version": "1.0.11",
"description": "Fire the adonis-app (in good sense)",

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

@@ -577,2 +577,15 @@ 'use strict'

async fireAce () {
/**
* Since ignitor is just used by Adonis, I am taking the privelage
* to update the `NODE_ENV` to testing when `test` command is
* executed.
*
* This is the only place I can do this weird thing, since everything
* else is executed once the app has been booted, and changing
* the node env will have no impact.
*/
if (process.argv.slice(2)[0] === 'test') {
process.env.NODE_ENV = 'testing'
}
this.loadCommands()

@@ -579,0 +592,0 @@ await this.fire()

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