@skyscanner/foundations-migration

0.0.2 • Public • Published

foundations-migration

npm version

Renames dependencies related to Backpack to use scoped packages. Works on dependencies, devDependencies and peerDependencies.

Example

Before

{
    "name": "my-package",
    "version": "1.0.0",
    "dependencies": {
        "bpk-svgs": "^1.2.3",
        "bpk-tokens": "4.5.6",
        "lodash": "^7.8.9"
    }
}

After

{
    "name": "my-package",
    "version": "1.0.0",
    "dependencies": {
        "@skyscanner/bpk-svgs": "^1.2.3",
        "@skyscanner/bpk-foundations-web": "4.5.6",
        "lodash": "^7.8.9"
    }
}

Usage

In the folder where your package.json is stored:

npx @skyscanner/foundations-migration

Readme

Keywords

none

Package Sidebar

Install

npm i @skyscanner/foundations-migration

Weekly Downloads

1

Version

0.0.2

License

ISC

Unpacked Size

6.59 kB

Total Files

8

Last publish

Collaborators

  • mungodewar
  • anambl
  • skyscanner-koalasquad
  • gert-jan.vercauteren
  • frugoman
  • marianeumayer-skyscanner
  • ojcurt