Mirror: The small sibling of the graphql package, slimmed down for client-side libraries.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: Add missing clean script

+23 -9
+11 -9
.gitignore
··· 1 + 2 + /*/**/*.d.ts 3 + /*/**/*.js 4 + /*/**/*.mjs 5 + /*.d.ts 6 + /*.js 7 + /*.mjs 8 + 9 + !/alias/**/* 10 + !/scripts/**/* 11 + 1 12 yarn-error.log 2 13 node_modules/ 3 14 coverage/ ··· 6 17 /cypress/screenshots/** 7 18 /scripts/buildenv/dist-* 8 19 yarn.lock 9 - 10 - !/alias/ 11 - !/scripts/ 12 - /*/**/*.d.ts 13 - /*/**/*.js 14 - /*/**/*.mjs 15 - /*.d.ts 16 - /*.js 17 - /*.mjs
+12
scripts/clean.js
··· 1 + const { globSync } = require('glob'); 2 + const rimraf = require('rimraf'); 3 + const meta = require('../package.json'); 4 + 5 + rimraf.sync( 6 + meta.files 7 + .filter(x => x !== 'LICENSE.md' && x !== 'README.md') 8 + .reduce((acc, x) => { 9 + const globbed = globSync(x); 10 + return globbed.length ? [...acc, ...globbed] : [...acc, x]; 11 + }, []) 12 + );