@commonsku/styles 1.17.72 → 1.17.74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -25,7 +25,7 @@ You can also check out the src/App.tsx to see how to import in your projects
25
25
 
26
26
  ### Testing locally with main repo
27
27
 
28
- You can add this into the `~/.bashrc` or `~/.profile`
28
+ You can add this into the `~/.zshrc`
29
29
 
30
30
  Below code adds commnand `cskustyled` to build and install commonsku styles into your local project
31
31
 
@@ -35,6 +35,9 @@ CSKU_STYLES_DIR="$HOME/projects/commonsku-styles"
35
35
  function fn_cskustyled() {
36
36
  CSKUS_PKG_VERSION=$(cat $CSKU_STYLES_DIR/package.json 2>&1 | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g' | tr -d '[[:space:]]')
37
37
  touch $CSKU_STYLES_DIR/dist && rm -r $CSKU_STYLES_DIR/dist \
38
+ && cd $CSKU_DEV_DIR \
39
+ && rm -rf node_modules/ \
40
+ && npm cache clean --force \
38
41
  && touch $CSKU_STYLES_DIR/commonsku-styles-$CSKUS_PKG_VERSION.tgz && rm $CSKU_STYLES_DIR/commonsku-styles-$CSKUS_PKG_VERSION.tgz \
39
42
  && touch $CSKU_DEV_DIR/commonsku-styles-$CSKUS_PKG_VERSION.tgz && rm $CSKU_DEV_DIR/commonsku-styles-$CSKUS_PKG_VERSION.tgz \
40
43
  && cd $CSKU_STYLES_DIR \