Changes

Jump to navigation Jump to search
296 bytes added ,  13:47, 10 May 2022
m
Line 24: Line 24:  
</syntaxhighlight>
 
</syntaxhighlight>
   −
=== Fix broken ===
+
===Fix broken===
 
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
 
npm cache clean --force
 
npm cache clean --force
Line 30: Line 30:  
# rm package-lock.json  # If not updating packages
 
# rm package-lock.json  # If not updating packages
 
# npm install
 
# npm install
 +
</syntaxhighlight>
 +
 +
== package.json ==
 +
~ only allows patch updates
 +
 +
^ only allows minor version update
 +
 +
<nowiki>*</nowiki> allows mayor version upgrades<syntaxhighlight lang="json">
 +
"dependencies": {
 +
    "@angular/animations": "^12.2.9",
 +
    "@angular/cdk": "~12.2.9",
 +
    "@angular/common": "*"
 +
}
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Navigation menu