@currents/cli
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -6,2 +6,4 @@ "use strict"; | ||
// @ts-ignore | ||
global.integrityCheck = function() {}; | ||
// @ts-ignore | ||
if ((ref = global.snapshotResult) == null ? void 0 : (ref1 = ref.customRequire) == null ? void 0 : ref1.exports) { | ||
@@ -25,2 +27,18 @@ // @ts-ignore | ||
Mod.prototype.require = function(...args) { | ||
if (args[0].match(/app\.json/)) { | ||
return { | ||
development: { | ||
api_url: "http://localhost:1234/" | ||
}, | ||
test: { | ||
api_url: "http://localhost:1234/" | ||
}, | ||
staging: { | ||
api_url: "https://api-staging.cypress.io/" | ||
}, | ||
production: { | ||
api_url: "https://cy.currents.dev" | ||
} | ||
}; | ||
} | ||
if (args[0] === "konfig") { | ||
@@ -27,0 +45,0 @@ return ()=>({ |
{ | ||
"name": "@currents/cli", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "./dist", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7493
162