SPFX(gulp) and NPM basic commands
yo @microsoft/sharepoint
gulp build
gulp serve
gulp serve --nobrowser
gulp bundle
gulp bundle --ship
gulp package-solution
gulp package-solution --ship
gulp clean
To check the list of globally installed compiler in npm
npm ls -g --depth=0
Result:
E:\SharePointFrameWorkDEV\ReactSPFXSolution>npm ls -g --depth=0
C:\Users\m.muqtdeer\AppData\Roaming\npm
+-- @angular/cli@8.3.22
+-- @microsoft/generator-sharepoint@1.10.0
+-- gulp@4.0.2
+-- npm@6.13.6
+-- typescript@3.7.5
`-- yo@3.1.1
To check the version of current package and new version when upgrading the current solution
npm outdated
Result:
E:\SharePointFrameWorkDEV\ReactSPFXSolution>npm outdated
Package Current Wanted Latest Location
@microsoft/rush-stack-compiler-2.9 0.7.16 0.7.16 0.10.1 student-details
@microsoft/rush-stack-compiler-3.3 0.3.5 0.3.5 0.5.1 student-details
@pnp/common 1.3.9 1.3.9 2.0.0 student-details
@pnp/graph 1.3.9 1.3.9 2.0.0 student-details
@pnp/logging 1.3.9 1.3.9 2.0.0 student-details
@pnp/odata 1.3.9 1.3.9 2.0.0 student-details
@pnp/sp 1.3.9 1.3.9 2.0.0 student-details
@types/chai 3.4.34 3.4.34 4.2.7 student-details
@types/es6-promise 0.0.33 0.0.33 3.3.0 student-details
@types/mocha 2.2.38 2.2.38 5.2.7 student-details
@types/react 16.8.8 16.8.8 16.9.18 student-details
@types/react-dom 16.8.3 16.8.3 16.9.5 student-details
@types/webpack-env 1.13.1 1.13.1 1.15.0 student-details
ajv 5.2.5 5.2.5 6.11.0 student-details
gulp 3.9.1 3.9.1 4.0.2 student-details
office-ui-fabric-react 6.189.2 6.189.2 7.83.2 student-details
react 16.8.5 16.8.5 16.12.0 student-details
react-dom 16.8.5 16.8.5 16.12.0 student-details
styled-components 4.4.1 4.4.1 5.0.0 student-details
To check globally installed package
npm outdated -g
E:\SharePointFrameWorkDEV\ReactSPFXSolution>npm outdated -g
Package Current Wanted Latest Location
@angular/cli 8.3.22 8.3.23 8.3.23 global
No comments:
Post a Comment