fix(core): re-add cleanPublic fix
fix(core): re-add cleanPublic fix

part of https://github.com/pattern-lab/patternlab-node/pull/1074 was merged out
pattern-lab/patternlab-node,pattern-lab/patternlab-node,pattern-lab/patternlab-node,pattern-lab/patternlab-node