Catalog npm
Back to packageRELEASE DETAILS

3.1.7

npm

@0x/monorepo-scripts

Helper scripts for the monorepo

Published28 Apr 2021
Direct dependencies33
Transitive dependenciesNot calculated

README

Current package documentation

Mono repo scripts

This repository contains a few helpful scripts for working with this mono repo.

Scripts

yarn deps_versions: Since we are a Yarn workspaces monorepo, shared dependencies between packages in the monorepo get hoisted to a top-level node_modules directory. If two packages use different versions of the same dependency however, both get installed. To avoid having many versions of a dependency installed, we try to keep dependency versions the same across packages in the monorepo. This script will list any dependencies for which we have multiple versions installed. We can then go through them and try to consolidate to a single version where possible.

yarn find_unused_deps: Sometimes we accidentally leave dependencies listed in package.json that are no longer being used. This script finds potential dependencies that might no longer be in use. Please verify that it is no longer in use before removing, the depcheck package we use under-the-hood doesn't handle some TS quirks perfectly.

yarn test:publish: Execute a test-run of the publish script. This dry run won't actually publish, nor will it commit/push anything to Github.

Usage

Dependency versions

In order to reduce the size of this repo, we try and use the same versions of dependencies between packages. To make it easier to discover version discrepancies between packages, you can run:

yarn script:deps_versions

This will list out any dependencies that differ in versions between packages.

Contributing

We welcome improvements and fixes from the wider community! To report bugs within this package, please create an issue in this repository.

Please read our contribution guidelines before getting started.

Install dependencies

If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:

yarn config set workspaces-experimental true

Then install dependencies

yarn install

Build

To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:

PKG=@0x/monorepo-scripts yarn build

Or continuously rebuild on change:

PKG=@0x/monorepo-scripts yarn watch

Clean

yarn clean

Lint

yarn lint

Run Tests

yarn test

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 33

Native requirements
33 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
glob
Environment
{
  "local_name": "glob",
  "alias": false,
  "peer_metadata": null
}
^7.1.2runtime
chalk
Environment
{
  "local_name": "chalk",
  "alias": false,
  "peer_metadata": null
}
^2.3.0runtime
yargs
Environment
{
  "local_name": "yargs",
  "alias": false,
  "peer_metadata": null
}
^10.0.3runtime
lodash
Environment
{
  "local_name": "lodash",
  "alias": false,
  "peer_metadata": null
}
^4.17.11runtime
mkdirp
Environment
{
  "local_name": "mkdirp",
  "alias": false,
  "peer_metadata": null
}
^0.5.1runtime
moment
Environment
{
  "local_name": "moment",
  "alias": false,
  "peer_metadata": null
}
2.21.0runtime
prompt
Environment
{
  "local_name": "prompt",
  "alias": false,
  "peer_metadata": null
}
^1.0.0runtime
rimraf
Environment
{
  "local_name": "rimraf",
  "alias": false,
  "peer_metadata": null
}
^2.6.2runtime
semver
Environment
{
  "local_name": "semver",
  "alias": false,
  "peer_metadata": null
}
5.5.0runtime
typedoc
Environment
{
  "local_name": "typedoc",
  "alias": false,
  "peer_metadata": null
}
~0.16.11runtime
@0x/types
Environment
{
  "local_name": "@0x/types",
  "alias": false,
  "peer_metadata": null
}
^3.3.3runtime
@0x/utils
Environment
{
  "local_name": "@0x/utils",
  "alias": false,
  "peer_metadata": null
}
^6.4.3runtime
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
12.12.54runtime
semver-diff
Environment
{
  "local_name": "semver-diff",
  "alias": false,
  "peer_metadata": null
}
^2.1.0runtime
semver-sort
Environment
{
  "local_name": "semver-sort",
  "alias": false,
  "peer_metadata": null
}
0.0.4runtime
es6-promisify
Environment
{
  "local_name": "es6-promisify",
  "alias": false,
  "peer_metadata": null
}
^5.0.0runtime
@types/depcheck
Environment
{
  "local_name": "@types/depcheck",
  "alias": false,
  "peer_metadata": null
}
^0.6.0runtime
publish-release
Environment
{
  "local_name": "publish-release",
  "alias": false,
  "peer_metadata": null
}
git+https://github.com/0xProject/publish-release.git#3f8be1105a356527f4b362ff456d94bf9a82f2edruntime
isomorphic-fetch
Environment
{
  "local_name": "isomorphic-fetch",
  "alias": false,
  "peer_metadata": null
}
2.2.1runtime
async-child-process
Environment
{
  "local_name": "async-child-process",
  "alias": false,
  "peer_metadata": null
}
^1.1.1runtime
@lerna/batch-packages
Environment
{
  "local_name": "@lerna/batch-packages",
  "alias": false,
  "peer_metadata": null
}
^3.0.0-beta.18runtime
promisify-child-process
Environment
{
  "local_name": "promisify-child-process",
  "alias": false,
  "peer_metadata": null
}
^1.0.5runtime
shx
Environment
{
  "local_name": "shx",
  "alias": false,
  "peer_metadata": null
}
^0.2.2development
tslint
Environment
{
  "local_name": "tslint",
  "alias": false,
  "peer_metadata": null
}
5.11.0development
depcheck
Environment
{
  "local_name": "depcheck",
  "alias": false,
  "peer_metadata": null
}
^0.6.9development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
4.2.2development
@types/glob
Environment
{
  "local_name": "@types/glob",
  "alias": false,
  "peer_metadata": null
}
5.0.35development
npm-run-all
Environment
{
  "local_name": "npm-run-all",
  "alias": false,
  "peer_metadata": null
}
^4.1.2development
@types/yargs
Environment
{
  "local_name": "@types/yargs",
  "alias": false,
  "peer_metadata": null
}
^11.0.0development
@types/mkdirp
Environment
{
  "local_name": "@types/mkdirp",
  "alias": false,
  "peer_metadata": null
}
^0.5.2development
@types/rimraf
Environment
{
  "local_name": "@types/rimraf",
  "alias": false,
  "peer_metadata": null
}
^2.0.2development
@types/semver
Environment
{
  "local_name": "@types/semver",
  "alias": false,
  "peer_metadata": null
}
5.5.0development
make-promises-safe
Environment
{
  "local_name": "make-promises-safe",
  "alias": false,
  "peer_metadata": null
}
^1.1.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "17e719b9e26875958562532ed705cd770d107a43",
  "tarball": "https://registry.npmjs.org/@0x/monorepo-scripts/-/monorepo-scripts-3.1.7.tgz",
  "fileCount": 104,
  "integrity": "sha512-Us3Rn77cIFWXTkenJFoMA71TXW0WaHIcypwGZ5KaGAtItAm9sEy/DUwYTCc0Wyb1C+5QdOTwL5Cmif0N3C2f9w==",
  "signatures": [
    {
      "sig": "MEUCIQCte4rinKPdZ5MuTpiPf8jPeqjAzTf+38bSrx1f4Kzg/wIgSRDr5CPOcyH2G0QjZOUonnoPsCObZkzX0zZAYXU/2a0=",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 284527,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiOqgCRA9TVsSAnZWagAAA9IQAKJ4EyvCMaDVATMo7/sF\nlTIc0NaGOJ1lToZDxcz/9PY5T4+sa5Uv7pmcIYjIpe+QflW6RyvXU/TyXI3e\nV9wbJIL3zDRVt2LUpVGGrlxjbtJStl+aQUzAe1RRqnKmrX3EzdCUd4oDtT4X\nI9kZz5+/y+atKxtQWeaIdXZRiz34F6omAMPHWPfqvrJgiDkQl5woJS7gkZ14\n1Ag+6Ha//X5LgoL3OYvqGpr9DnFvS3I4/3orJq1/B37stJIHUKjpfGaLeU2w\nCiEf39HJup8njWFFT8eIqPxdVkxJ57d6SEw+JoMdohGHZn4231cEnK2cmjXG\nx1I+K9lOkFs0Svxhp/GU/t6yvuKE44NDrd+JsEGsy2t9HaJbrYpu8b4taObd\nbeRo+IJDdkOqiEHa1xq60BAaiandTmlBFh4iTw9UwzePDQQ6oMQNHUs3nh6G\n/Kh37anM6CaKb5/BNZUk/R5ZzQzXiszgbUfqqfK4OyDCt0HfE8dvkp4qlFWq\ndF0L8vdfPYw5FdufWkESFs0f1LDYnPfidWihTrddqwB6gZUJYetuxLa8YGKh\neXpCNpkiodufUJAp0vSkgxf8SvCvaHfZFSB8xGZN2wJDyMfz/fwAXwDbLhpx\nhowUIG3py1eJovtk/Ixvw8UFEJsHT2wSW5UYUbekVnFz4lc5wLg03OdSonnq\nZJ9j\r\n=v1UF\r\n-----END PGP SIGNATURE-----\r\n"
}

Repository

PENDING
0xproject/tools

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:28 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:7e3b569b02a4e56191d4ed6936347175e60d87677506809dbbfdbdc394dbc60a

Other collected versions

3.2.726 Jan3.2.613 Oct3.2.518 Aug3.2.416 Mar3.2.316 Mar3.2.226 FebView all collected versions →