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

@currents/nx

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@currents/nx - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

package.json
{
"name": "@currents/nx",
"version": "2.0.0",
"version": "2.0.1",
"description": "Currents plugin for Nx",

@@ -5,0 +5,0 @@ "author": "Andrew Goldis",

import { ExecutorContext } from '@nrwl/devkit';
export type Json = {
[k: string]: any;
[k: string]: unknown;
};

@@ -5,0 +5,0 @@ export interface CypressExecutorOptions extends Json {

@@ -8,3 +8,2 @@ "use strict";

const cypress_cloud_1 = require("cypress-cloud");
const process_1 = require("process");
function cypressExecutor(options, context) {

@@ -22,3 +21,3 @@ var _a, e_1, _b, _c;

try {
const baseUrl = _c;
const _baseUrl = _c;
try {

@@ -59,14 +58,4 @@ success = yield runCurrents(options);

}
// warnDeprecatedCypressVersion();
return options;
}
// function warnDeprecatedCypressVersion() {
// if (installedCypressVersion() < 10) {
// logger.warn(stripIndents`
// NOTE:
// Support for Cypress versions < 10 is deprecated. Please upgrade to at least Cypress version 10.
// A generator to migrate from v8 to v10 is provided. See https://nx.dev/cypress/v10-migration-guide
// `);
// }
// }
function startDevServer(opts, context) {

@@ -116,7 +105,6 @@ return tslib_1.__asyncGenerator(this, arguments, function* startDevServer_1() {

function runCurrents(opts) {
var _a;
return tslib_1.__awaiter(this, void 0, void 0, function* () {
// Cypress expects the folder where a cypress config is present
const projectFolderPath = (0, path_1.dirname)(opts.cypressConfig);
console.log((0, process_1.cwd)());
// chdir(resolve(projectFolderPath));
const options = {

@@ -143,5 +131,3 @@ project: projectFolderPath,

options.parallel = opts.parallel;
options.ciBuildId = Date.now().toString();
// TODO: restore
// options.ciBuildId = opts.ciBuildId?.toString();
options.ciBuildId = (_a = opts.ciBuildId) === null || _a === void 0 ? void 0 : _a.toString();
options.group = opts.group;

@@ -148,0 +134,0 @@ if (opts.reporter) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.cypressCloudVersion = exports.nxVersion = void 0;
// eslint-disable-next-line @typescript-eslint/no-var-requires
exports.nxVersion = require('../../package.json').version;
exports.cypressCloudVersion = '^1.7.0';
//# sourceMappingURL=versions.js.map

Sorry, the diff of this file is not supported yet

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