Skip to content
Permalink
Browse files

fix: cleanup to include new ignored files

  • Loading branch information...
dariocravero committed Jun 23, 2019
1 parent 7ee8840 commit 1382d8547cfe0fe6f774ea9ee1f20d84cdef90c8
Showing with 16 additions and 6 deletions.
  1. +15 −5 clean.js
  2. +1 −1 package.json
@@ -4,11 +4,21 @@ import glob from 'fast-glob'
import path from 'path'

export default async function clean(src, verbose) {
let morphed = await glob(['**/*.view.js', `Fonts/*.js`, 'use-flow.js'], {
bashNative: ['linux'],
cwd: src,
ignore: ['*node_modules*'],
})
let morphed = await glob(
[
'**/*.view.js',
`Fonts/*.js`,
'useFlow.js',
'useIsMedia.js',
'useIsBefore.js',
'useTools.js',
],
{
bashNative: ['linux'],
cwd: src,
ignore: ['*node_modules*'],
}
)

await Promise.all(
morphed.map(f => {
@@ -1,6 +1,6 @@
{
"name": "@viewstools/morph",
"version": "19.6.3",
"version": "19.6.4",
"description": "Views language morpher",
"main": "index.js",
"type": "module",

0 comments on commit 1382d85

Please sign in to comment.
You can’t perform that action at this time.