New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@microsoft/rush

Package Overview
Dependencies
Maintainers
2
Versions
514
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/rush - npm Package Compare versions

Comparing version 1.5.1 to 1.7.0

lib/actions/CheckVersionsAction.d.ts

60

CHANGELOG.json

@@ -5,2 +5,62 @@ {

{
"version": "1.7.0",
"tag": "@microsoft/rush_v1.7.0",
"date": "Tue, 14 Feb 2017 02:31:40 GMT",
"comments": {
"minor": [
{
"comment": "Adds an extra command (rush check-versions), which can find inconsistencies in package.json dependency versions across a repository."
}
],
"dependency": [
{
"comment": "Updating dependency \"@microsoft/rush-lib\" from `1.6.0` to `1.7.0`"
}
]
}
},
{
"version": "1.6.0",
"tag": "@microsoft/rush_v1.6.0",
"date": "Sun, 05 Feb 2017 01:21:30 GMT",
"comments": {
"patch": [
{
"comment": "When the git policy fails, rush should return a non-zero error code."
},
{
"comment": "Lock version numbers for @types packages"
},
{
"comment": "Ensure world readiness"
},
{
"comment": "Update .npmignore"
},
{
"comment": "Cyclic dependency should not have version bumped when changes are applied."
}
],
"minor": [
{
"comment": "Add support for pre-release build"
}
],
"dependency": [
{
"comment": "Updating dependency \"@microsoft/rush-lib\" from `1.5.1` to `1.5.2`"
},
{
"comment": "Updating dependency \"@microsoft/stream-collator\" from `~1.0.2` to `~1.0.3`"
},
{
"comment": "Updating dependency \"@microsoft/ts-command-line\" from `~1.1.1` to `~1.1.2`"
},
{
"comment": "Updating dependency \"@microsoft/sp-build-node\" from `~0.2.1` to `~0.3.0`"
}
]
}
},
{
"version": "1.5.1",

@@ -7,0 +67,0 @@ "tag": "@microsoft/rush_v1.5.1",

24

CHANGELOG.md
# Change Log - @microsoft/rush
This log was last generated on Tue, 24 Jan 2017 03:36:19 GMT and should not be manually modified.
This log was last generated on Tue, 14 Feb 2017 02:31:40 GMT and should not be manually modified.
## 1.7.0
Tue, 14 Feb 2017 02:31:40 GMT
### Minor changes
- Adds an extra command (rush check-versions), which can find inconsistencies in package.json dependency versions across a repository.
## 1.6.0
Sun, 05 Feb 2017 01:21:30 GMT
### Minor changes
- Add support for pre-release build
### Patches
- When the git policy fails, rush should return a non-zero error code.
- Lock version numbers for @types packages
- Ensure world readiness
- Update .npmignore
- Cyclic dependency should not have version bumped when changes are applied.
## 1.5.1

@@ -6,0 +28,0 @@ Tue, 24 Jan 2017 03:26:05 GMT

5

lib/actions/BuildAction.js

@@ -1,4 +0,3 @@

/**
* @Copyright (c) Microsoft Corporation. All rights reserved.
*/
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -5,0 +4,0 @@ var __extends = (this && this.__extends) || function (d, b) {

@@ -1,4 +0,3 @@

/**
* @Copyright (c) Microsoft Corporation. All rights reserved.
*/
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -5,0 +4,0 @@ var __extends = (this && this.__extends) || function (d, b) {

/// <reference types="es6-collections" />
/**
* @Copyright (c) Microsoft Corporation. All rights reserved.
*/
import { IChangeInfoHash } from './PublishUtilities';

@@ -6,0 +3,0 @@ import { IChangeInfo, RushConfigurationProject } from '@microsoft/rush-lib';

@@ -1,4 +0,3 @@

/**
* @Copyright (c) Microsoft Corporation. All rights reserved.
*/
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -5,0 +4,0 @@ var PublishUtilities_1 = require("./PublishUtilities");

@@ -1,4 +0,3 @@

/**
* @Copyright (c) Microsoft Corporation. All rights reserved.
*/
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -5,0 +4,0 @@ var __extends = (this && this.__extends) || function (d, b) {

@@ -1,4 +0,3 @@

/**
* @Copyright (c) Microsoft Corporation. All rights reserved.
*/
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -5,0 +4,0 @@ var __extends = (this && this.__extends) || function (d, b) {

@@ -0,1 +1,3 @@

// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -2,0 +4,0 @@ var os = require("os");

@@ -1,4 +0,3 @@

/**
* @Copyright (c) Microsoft Corporation. All rights reserved.
*/
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -106,2 +105,3 @@ var __extends = (this && this.__extends) || function (d, b) {

if (!GitPolicy_1.default.check(this._rushConfiguration)) {
process.exit(1);
return;

@@ -108,0 +108,0 @@ }

@@ -1,4 +0,3 @@

/**
* @Copyright (c) Microsoft Corporation. All rights reserved.
*/
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -5,0 +4,0 @@ var __extends = (this && this.__extends) || function (d, b) {

@@ -1,4 +0,1 @@

/**
* @Copyright (c) Microsoft Corporation. All rights reserved.
*/
import { Package } from '@microsoft/rush-lib';

@@ -5,0 +2,0 @@ export default class PackageLookup {

@@ -1,4 +0,3 @@

/**
* @Copyright (c) Microsoft Corporation. All rights reserved.
*/
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -5,0 +4,0 @@ var PackageLookup = (function () {

@@ -1,4 +0,1 @@

/**
* @Copyright (c) Microsoft Corporation. All rights reserved.
*/
import { RushConfiguration } from '@microsoft/rush-lib';

@@ -5,0 +2,0 @@ export default class PackageReviewChecker {

@@ -1,4 +0,3 @@

/**
* @Copyright (c) Microsoft Corporation. All rights reserved.
*/
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -5,0 +4,0 @@ var rush_lib_1 = require("@microsoft/rush-lib");

@@ -0,1 +1,3 @@

// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -7,5 +9,2 @@ var __extends = (this && this.__extends) || function (d, b) {

};
/**
* @Copyright (c) Microsoft Corporation. All rights reserved.
*/
var colors = require("colors");

@@ -12,0 +11,0 @@ var path = require("path");

@@ -34,2 +34,3 @@ /// <reference types="es6-collections" />

private static _writePackageChanges(change, allChanges, allPackages, shouldCommit, prereleaseName?);
private static _isCyclicDependency(allPackages, packageName, dependencyName);
private static _updateDependencies(packageName, dependencies, allChanges, allPackages, prereleaseName);

@@ -36,0 +37,0 @@ /**

@@ -1,4 +0,3 @@

/**
* @Copyright (c) Microsoft Corporation. All rights reserved.
*/
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -148,14 +147,20 @@ /**

};
PublishUtilities._isCyclicDependency = function (allPackages, packageName, dependencyName) {
var packageConfig = allPackages.get(packageName);
return !!packageConfig && packageConfig.cyclicDependencyProjects.has(dependencyName);
};
PublishUtilities._updateDependencies = function (packageName, dependencies, allChanges, allPackages, prereleaseName) {
if (dependencies) {
Object.keys(dependencies).forEach(function (depName) {
var depChange = allChanges[depName];
if (depChange && prereleaseName) {
// For prelease, the newVersion needs to be appended with prerelease name.
// And dependency should specify the specific prerelease version.
dependencies[depName] = PublishUtilities._getChangeInfoNewVersion(depChange, prereleaseName);
if (!PublishUtilities._isCyclicDependency(allPackages, packageName, depName)) {
var depChange = allChanges[depName];
if (depChange && prereleaseName) {
// For prelease, the newVersion needs to be appended with prerelease name.
// And dependency should specify the specific prerelease version.
dependencies[depName] = PublishUtilities._getChangeInfoNewVersion(depChange, prereleaseName);
}
else if (depChange && depChange.changeType >= rush_lib_1.ChangeType.patch) {
PublishUtilities._updateDependencyVersion(packageName, dependencies, depName, depChange, allChanges, allPackages);
}
}
else if (depChange && depChange.changeType >= rush_lib_1.ChangeType.patch) {
PublishUtilities._updateDependencyVersion(packageName, dependencies, depName, depChange, allChanges, allPackages);
}
});

@@ -162,0 +167,0 @@ }

@@ -20,2 +20,3 @@ import { CommandLineAction, ICommandLineActionOptions } from '@microsoft/ts-command-line';

private _vsoParameter;
private _minimalParameter;
constructor(parser: RushCommandLineParser, options?: ICommandLineActionOptions);

@@ -22,0 +23,0 @@ protected onDefineParameters(): void;

@@ -1,4 +0,3 @@

/**
* @Copyright (c) Microsoft Corporation. All rights reserved.
*/
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -68,2 +67,8 @@ var __extends = (this && this.__extends) || function (d, b) {

});
this._minimalParameter = this.defineFlagParameter({
parameterLongName: '--minimal',
parameterShortName: '-m',
description: 'Invokes gulp with the "--minimal" option, which speeds up the build by running the minimal set ' +
'of tasks required to produce an executable output'
});
};

@@ -106,6 +111,7 @@ RebuildAction.prototype.onExecute = function () {

var toFlag = toFlags_1[_i];
if (!this._rushConfiguration.getProjectByName(toFlag)) {
var toProject = this._rushConfiguration.findProjectByShorthandName(toFlag);
if (!toProject) {
throw new Error("The project '" + toFlag + "' does not exist in rush.json");
}
var deps = this._collectAllDependencies(toFlag);
var deps = this._collectAllDependencies(toProject.packageName);
// Register any dependencies it may have

@@ -120,3 +126,4 @@ deps.forEach(function (dep) { return _this._registerTask(taskRunner, _this._rushConfiguration.getProjectByName(dep)); });

var _loop_1 = function (fromFlag) {
if (!this_1._rushConfiguration.getProjectByName(fromFlag)) {
var fromProject = this_1._rushConfiguration.findProjectByShorthandName(fromFlag);
if (!fromProject) {
throw new Error("The project '" + fromFlag + "' does not exist in rush.json");

@@ -127,3 +134,3 @@ }

// We will assume this project will be built, but act like it has no dependencies
var dependents = this_1._collectAllDependents(fromFlag);
var dependents = this_1._collectAllDependents(fromProject.packageName);
dependents.add(fromFlag);

@@ -201,3 +208,3 @@ // Register all downstream dependents

var errorDetector = new rush_lib_1.ErrorDetector(activeRules);
var projectTask = new ProjectBuildTask_1.default(project, this._rushConfiguration, errorDetector, errorMode, this._productionParameter.value, this._npmParameter.value, this._isIncrementalBuildAllowed);
var projectTask = new ProjectBuildTask_1.default(project, this._rushConfiguration, errorDetector, errorMode, this._productionParameter.value, this._npmParameter.value, this._minimalParameter.value, this._isIncrementalBuildAllowed);
if (!taskRunner.hasTask(projectTask.name)) {

@@ -204,0 +211,0 @@ taskRunner.addTask(projectTask);

@@ -1,4 +0,3 @@

/**
* @Copyright (c) Microsoft Corporation. All rights reserved.
*/
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -24,2 +23,3 @@ var __extends = (this && this.__extends) || function (d, b) {

var UnlinkAction_1 = require("./UnlinkAction");
var CheckVersionsAction_1 = require("./CheckVersionsAction");
var RushCommandLineParser = (function (_super) {

@@ -47,2 +47,3 @@ __extends(RushCommandLineParser, _super);

_this.addAction(new UnlinkAction_1.default(_this));
_this.addAction(new CheckVersionsAction_1.default(_this));
return _this;

@@ -49,0 +50,0 @@ }

@@ -0,1 +1,3 @@

// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -2,0 +4,0 @@ var chai_1 = require("chai");

@@ -38,4 +38,17 @@ {

"reviewCategory": "third-party"
},
{
"packageName": "cyclic-dep-explicit-1",
"projectFolder": "cyclic-dep-explicit-1",
"reviewCategory": "third-party"
},
{
"packageName": "cyclic-dep-explicit-2",
"projectFolder": "cyclic-dep-explicit-2",
"reviewCategory": "third-party",
"cyclicDependencyProjects": [
"cyclic-dep-explicit-1"
]
}
]
}

@@ -0,1 +1,3 @@

// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -108,2 +110,11 @@ var chai_1 = require("chai");

});
it('can update explicit cyclic dependency', function () {
var allPackages = rush_lib_1.RushConfiguration.loadFromConfigurationFile(path.resolve(__dirname, 'packages', 'rush.json')).projectsByName;
var allChanges = PublishUtilities_1.default.findChangeRequests(allPackages, path.join(__dirname, 'cyclicDepsExplicit'), false);
PublishUtilities_1.default.updatePackages(allChanges, allPackages, false);
chai_1.expect(allPackages.get('cyclic-dep-explicit-1').packageJson.version).equals('2.0.0', 'cyclic-dep-explicit-1 should have been updated.');
chai_1.expect(allPackages.get('cyclic-dep-explicit-1').packageJson.dependencies['cyclic-dep-explicit-2']).equals('>=1.0.1 <2.0.0', 'the "cyclic-dep-explicit-2" dependency in "cyclic-dep-explicit-1" should be updated');
chai_1.expect(allPackages.get('cyclic-dep-explicit-2').packageJson.version).equals('1.0.1', 'cyclic-dep-explicit-2 should have patch version update.');
chai_1.expect(allPackages.get('cyclic-dep-explicit-2').packageJson.dependencies['cyclic-dep-explicit-1']).equals('>=1.0.0 <2.0.0', 'the "cyclic-dep-explicit-1" dependency in "cyclic-dep-explicit-2" should not be updated');
});
it('can update root with patch change for prerelease', function () {

@@ -133,3 +144,3 @@ var allPackages = rush_lib_1.RushConfiguration.loadFromConfigurationFile(path.resolve(__dirname, 'packages', 'rush.json')).projectsByName;

});
it('can update cyclic dependency for prerelease', function () {
it('can update cyclic dependency for non-explicit prerelease', function () {
var allPackages = rush_lib_1.RushConfiguration.loadFromConfigurationFile(path.resolve(__dirname, 'packages', 'rush.json')).projectsByName;

@@ -136,0 +147,0 @@ var prereleaseName = 'beta.1';

@@ -1,4 +0,3 @@

/**
* @Copyright (c) Microsoft Corporation. All rights reserved.
*/
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -5,0 +4,0 @@ var __extends = (this && this.__extends) || function (d, b) {

@@ -1,4 +0,3 @@

/**
* @Copyright (c) Microsoft Corporation. All rights reserved.
*/
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -5,0 +4,0 @@ var os = require("os");

/// <reference types="es6-promise" />
/// <reference types="es6-collections" />
/**
* @file ITask.ts
* @Copyright (c) Microsoft Corporation. All rights reserved.
*
* The definition of a task as used by the TaskRunner
*/
import { ITaskWriter } from '@microsoft/stream-collator';

@@ -10,0 +4,0 @@ import { TaskError, Stopwatch } from '@microsoft/rush-lib';

@@ -1,9 +0,5 @@

/**
* @file ITask.ts
* @Copyright (c) Microsoft Corporation. All rights reserved.
*
* The definition of a task as used by the TaskRunner
*/
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";
//# sourceMappingURL=ITask.js.map

@@ -6,2 +6,5 @@ /// <reference types="es6-promise" />

import { ITaskDefinition } from '../taskRunner/ITask';
/**
* A TaskRunner task which cleans and builds a project
*/
export default class ProjectBuildTask implements ITaskDefinition {

@@ -16,4 +19,5 @@ name: string;

private _npmMode;
private _minimalMode;
private _hasWarningOrError;
constructor(rushProject: RushConfigurationProject, rushConfiguration: RushConfiguration, errorDetector: ErrorDetector, errorDisplayMode: ErrorDetectionMode, production: boolean, npmMode: boolean, isIncrementalBuildAllowed: boolean);
constructor(rushProject: RushConfigurationProject, rushConfiguration: RushConfiguration, errorDetector: ErrorDetector, errorDisplayMode: ErrorDetectionMode, production: boolean, npmMode: boolean, minimalMode: boolean, isIncrementalBuildAllowed: boolean);
execute(writer: ITaskWriter): Promise<TaskStatus>;

@@ -20,0 +24,0 @@ private _executeTask(writer, currentPackageDeps, resolve, reject);

@@ -1,7 +0,3 @@

/**
* @file ProjectBuildTask.ts
* @Copyright (c) Microsoft Corporation. All rights reserved.
*
* A TaskRunner task which cleans and builds a project
*/
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -15,4 +11,7 @@ var fsx = require("fs-extra");

var PACKAGE_DEPS_FILENAME = 'package-deps.json';
/**
* A TaskRunner task which cleans and builds a project
*/
var ProjectBuildTask = (function () {
function ProjectBuildTask(rushProject, rushConfiguration, errorDetector, errorDisplayMode, production, npmMode, isIncrementalBuildAllowed) {
function ProjectBuildTask(rushProject, rushConfiguration, errorDetector, errorDisplayMode, production, npmMode, minimalMode, isIncrementalBuildAllowed) {
this.name = rushProject.packageName;

@@ -25,2 +24,3 @@ this._errorDetector = errorDetector;

this._rushConfiguration = rushConfiguration;
this._minimalMode = minimalMode;
this.isIncrementalBuildAllowed = isIncrementalBuildAllowed;

@@ -60,7 +60,7 @@ }

// tslint:disable-next-line:max-line-length
throw new Error("The project [" + this._rushProject.packageName + "] does not define a 'clean' command in it's package.json");
throw new Error("The project [" + this._rushProject.packageName + "] does not define a 'clean' command in the 'scripts' section of its package.json");
}
if (!build) {
// tslint:disable-next-line:max-line-length
throw new Error("The project [" + this._rushProject.packageName + "] does not define a 'test' or 'build' command in it's package.json");
throw new Error("The project [" + this._rushProject.packageName + "] does not define a 'test' or 'build' command in the 'scripts' section of its package.json");
}

@@ -96,2 +96,5 @@ // Run the clean step

}
if (this._minimalMode) {
build.args.push('--minimal');
}
var actualBuildCommand = build.command + " " + build.args.join(' ');

@@ -147,2 +150,5 @@ // Run the test step

// tslint:disable-next-line:no-string-literal
if (!this._rushProject.packageJson.scripts) {
return undefined;
}
var rawCommand = this._rushProject.packageJson.scripts[script];

@@ -149,0 +155,0 @@ // tslint:disable-next-line:no-null-keyword

@@ -1,7 +0,3 @@

/**
* @file TaskRunner.ts
* @Copyright (c) Microsoft Corporation. All rights reserved.
*
* Executes an arbitrary sequence of tasks based on their dependency graph
*/
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";

@@ -8,0 +4,0 @@ var colors = require("colors");

/**
* @file TaskStatus.ts
* @Copyright (c) Microsoft Corporation. All rights reserved.
*
* Enumeration defining potential states of a task: not started, executing, or completed

@@ -6,0 +3,0 @@ */

@@ -0,8 +1,7 @@

// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
"use strict";
/**
* @file TaskStatus.ts
* @Copyright (c) Microsoft Corporation. All rights reserved.
*
* Enumeration defining potential states of a task: not started, executing, or completed
*/
"use strict";
var TaskStatus;

@@ -9,0 +8,0 @@ (function (TaskStatus) {

{
"name": "@microsoft/rush",
"version": "1.5.1",
"version": "1.7.0",
"description": "Manage building/installing of multiple NPM package folders",

@@ -13,6 +13,6 @@ "scripts": {

},
"license": "SEE LICENSE IN LICENSE.docx",
"license": "MIT",
"dependencies": {
"@microsoft/package-deps-hash": "~0.0.4",
"@microsoft/rush-lib": "1.5.1",
"@microsoft/rush-lib": "1.7.0",
"@microsoft/stream-collator": "~1.0.2",

@@ -34,11 +34,11 @@ "@microsoft/ts-command-line": "~1.1.1",

"devDependencies": {
"@microsoft/sp-build-node": "~0.2.1",
"@types/chai": "^3.4.34",
"@types/es6-collections": "^0.5.29",
"@microsoft/node-library-build": "~2.3.0",
"@types/chai": "3.4.34",
"@types/es6-collections": "0.5.29",
"@types/es6-promise": "0.0.32",
"@types/fs-extra": ">=0.0.34, <0.27.0",
"@types/glob": ">=5.0.30 <7.1.0",
"@types/minimatch": ">=2.0.29 <3.1.0",
"@types/mocha": "^2.2.32",
"@types/node": ">=6.0.51 <7.0.0",
"@types/fs-extra": "0.0.37",
"@types/glob": "5.0.30",
"@types/minimatch": "2.0.29",
"@types/mocha": "2.2.38",
"@types/node": "6.0.62",
"chai": "~3.5.0",

@@ -45,0 +45,0 @@ "gulp": "~3.9.1"

# rush
## Why Rush?
A typical web project may consume hundreds of NPM packages, each developed

@@ -74,2 +75,5 @@ independently by a random stranger somewhere on the internet. Each project

- Git-based incremental builds, so you only rebuild a project if a source file
in that project folder has changed.
- Support for cyclic dependencies: For example, suppose that **my-gulp-task**

@@ -81,4 +85,9 @@ depends on **my-library**, but **my-library**'s Gulpfile has a devDependency

- Support for enforcing certain Git policies, such as enforcing that Git committer
email addresses conform to a well-defined pattern.
# Usage
At any time, you can see the `--help` flag to find command-line usage information.
## Building a repo that is configured for Rush

@@ -155,4 +164,4 @@

"scripts": {
"clean": "gulp nuke",
"build": "echo",
"clean": "gulp clean",
"build": "gulp",
"test": "/usr/bin/testcommand --compile --things"

@@ -233,3 +242,3 @@ }

{
"name": "some-crazy-tool",
"name": "some-tool",
"allowedCategories": [ "experiment" ]

@@ -242,3 +251,3 @@ }

Above, we specified that only our internal projects and experiments are allowed
to use "lodash", whereas "gulp" is allowed everywhere. The "some-crazy-tool" library
to use "lodash", whereas "gulp" is allowed everywhere. The "some-tool" library
is being used by an experimental prototype, but should never be used in real projects.

@@ -245,0 +254,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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