Skip to content

Instantly share code, notes, and snippets.

@chrisobriensp
Created September 21, 2018 14:31
Show Gist options
  • Save chrisobriensp/980ee65911203a80050e9ce3edf2a34a to your computer and use it in GitHub Desktop.
Save chrisobriensp/980ee65911203a80050e9ce3edf2a34a to your computer and use it in GitHub Desktop.
Commands to upgrade an SPFx project to version 1.6 - though additional commands would be needed for any 3rd party npm packages used.
npm install @microsoft/sp-application-base@1.6.0 --save
npm install @microsoft/sp-build-web@1.6.0 --save
npm install @microsoft/sp-core-library@1.6.0 --save
npm install @microsoft/decorators@1.6.0 --save
npm install @microsoft/sp-dialog@1.6.0 --save
npm install @microsoft/sp-lodash-subset@1.6.0 --save
npm install @microsoft/sp-module-interfaces@1.6.0 --save
npm install @microsoft/sp-office-ui-fabric-core@1.6.0 --save
npm install @microsoft/sp-webpart-base@1.6.0 --save
npm install @microsoft/sp-webpart-workbench@1.6.0 --save
npm install @microsoft/sp-build-web@1.6.0 --save-dev
npm install @microsoft/sp-module-interfaces@1.6.0 --save-dev
npm install @microsoft/sp-webpart-workbench@1.6.0 --save-dev
npm install @microsoft/sp-build-web@1.6.0 --save-dev
@StfBauer
Copy link

StfBauer commented Oct 4, 2018

You know you can install all in a single line?

npm install --save @microsoft/sp-application-base@1.6.0 @microsoft/sp-build-web@1.6.0 @microsoft/sp-core-library@1.6.0  @microsoft/decorators@1.6.0  @microsoft/sp-dialog@1.6.0  @microsoft/sp-lodash-subset@1.6.0  @microsoft/sp-module-interfaces@1.6.0 @microsoft/sp-office-ui-fabric-core@1.6.0 @microsoft/sp-webpart-base@1.6.0  @microsoft/sp-webpart-workbench@1.6.0

npm install --save-dev @microsoft/sp-build-web@1.6.0  @microsoft/sp-module-interfaces@1.6.0 @microsoft/sp-webpart-workbench@1.6.0  @microsoft/sp-build-web@1.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment