Socket
Book a DemoInstallSign in
Socket

@dojo/cli-upgrade-app

Package Overview
Dependencies
Maintainers
5
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dojo/cli-upgrade-app

Upgrade a Dojo application to a newer Dojo version

next
latest
Source
npmnpm
Version
8.0.1
Version published
Weekly downloads
17
466.67%
Maintainers
5
Weekly downloads
 
Created
Source

@dojo/cli-upgrade

Build Status

The official CLI command for upgrading Dojo applications.

Usage

Prerequisites

This command requires the @dojo/cli package to be installed globally.

npm install --global @dojo/cli

Installation

To use the @dojo/cli-upgrade-app in a single project, install the package using npm.

npm install @dojo/cli-upgrade-app

Basic Usage

Within the root of a Dojo application the command can be used with the upgrade command.

dojo upgrade

Contributing

We appreciate your interest! Please see the Dojo Contributing Guidelines.

Version upgrades are defined in directories starting with "v" and the major version number, (e.g. v3). Each version's configuration should be exported as config from a main.ts file in the directory.

Installation

After running npm install, run the npm build script

npm run build

Testing

Test cases should be written using Intern To test, run the npm test command.

npm test

Building a local package

Sometimes it is useful to build a local package for testing. @dojo/cli-upgrade-app can be built into a local tarball and installed.

  • npm run build
  • cd dist/release
  • npm pack
  • update package.json with the dependency { "@dojo/cli-upgrade-app": "file:[path to tarball]" }

Licensing Information

© 2019 OpenJS Foundation. New BSD license.

FAQs

Package last updated on 30 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts