Skip to content

Commit

Permalink
fix: add testStats to npmignore
Browse files Browse the repository at this point in the history
  • Loading branch information
revelt committed Jan 27, 2021
1 parent ff6581f commit f3c84e9
Show file tree
Hide file tree
Showing 127 changed files with 1,274 additions and 41 deletions.
971 changes: 957 additions & 14 deletions .semaphore/semaphore.yml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/all-named-html-entities/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
2 changes: 2 additions & 0 deletions packages/all-named-html-entities/README.md
Expand Up @@ -63,4 +63,6 @@ MIT License

Copyright (c) 2010-2021 Roy Revelt and other contributors


<img src="https://codsen.com/images/png-codsen-ok.png" width="98" alt="ok" align="center"> <img src="https://codsen.com/images/png-codsen-1.png" width="148" alt="codsen" align="center"> <img src="https://codsen.com/images/png-codsen-star-small.png" width="32" alt="star" align="center">

4 changes: 1 addition & 3 deletions packages/all-named-html-entities/rollup.config.js
Expand Up @@ -121,9 +121,7 @@ export default (commandLineArgs) => {
// CommonJS
{
input: "src/main.ts",
output: [
{ dir: "./", entryFileNames: pkg.main, format: "cjs", indent: false },
],
output: [{ dir: "./", entryFileNames: pkg.main, format: "cjs", indent: false }],
external: makeExternalPredicate([
...Object.keys(pkg.dependencies || {}),
...Object.keys(pkg.peerDependencies || {}),
Expand Down
1 change: 1 addition & 0 deletions packages/array-group-str-omit-num-char/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/array-includes-with-glob/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/array-of-arrays-into-ast/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/array-of-arrays-sort-by-col/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/array-pull-all-with-glob/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/arrayiffy-if-string/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/ast-compare/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/ast-contains-only-empty-space/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/ast-deep-contains/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/ast-delete-object/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/ast-get-object/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/ast-get-values-by-key/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/ast-is-empty/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/ast-loose-compare/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/ast-monkey-traverse-with-lookahead/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/ast-monkey-traverse/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/ast-monkey-util/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/ast-monkey/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/bitbucket-slug/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/charcode-is-valid-xml-name-character/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/check-types-mini/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/codsen-parser/.npmignore
Expand Up @@ -24,3 +24,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/codsen-tokenizer/.npmignore
Expand Up @@ -24,3 +24,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/color-shorthand-hex-to-six-digit/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/csv-sort-cli/.npmignore
Expand Up @@ -19,3 +19,4 @@ test

.npmignore
.prettierignore
testStats.md
1 change: 1 addition & 0 deletions packages/csv-sort/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/csv-split-easy/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/detect-is-it-html-or-xhtml/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/detect-templating-language/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/detergent/.npmignore
Expand Up @@ -24,3 +24,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/easy-replace/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/edit-package-json/.npmignore
Expand Up @@ -24,3 +24,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/email-all-chars-within-ascii-cli/.npmignore
Expand Up @@ -19,3 +19,4 @@ test

.npmignore
.prettierignore
testStats.md
1 change: 1 addition & 0 deletions packages/email-all-chars-within-ascii/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/email-comb/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/email-homey/.npmignore
Expand Up @@ -20,3 +20,4 @@ fixtures
.npmignore
.prettierignore
test.js
testStats.md
1 change: 1 addition & 0 deletions packages/emlint/.npmignore
Expand Up @@ -25,3 +25,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/eslint-plugin-row-num/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/eslint-plugin-test-num/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/generate-atomic-css-cli/.npmignore
Expand Up @@ -19,3 +19,4 @@ test

.npmignore
.prettierignore
testStats.md
1 change: 1 addition & 0 deletions packages/generate-atomic-css/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/gulp-email-remove-unused-css/.npmignore
Expand Up @@ -19,3 +19,4 @@ test

.npmignore
.prettierignore
testStats.md
1 change: 1 addition & 0 deletions packages/helga/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/html-all-known-attributes/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/html-crush/.npmignore
Expand Up @@ -24,3 +24,4 @@ test_alt
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/html-entities-not-email-friendly/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/html-img-alt/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/html-table-patcher/.npmignore
Expand Up @@ -24,3 +24,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/is-char-suitable-for-html-attr-name/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/is-html-attribute-closing/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/is-html-tag-opening/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/is-language-code/.npmignore
Expand Up @@ -24,3 +24,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/is-media-descriptor/.npmignore
Expand Up @@ -24,3 +24,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/is-relative-uri/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/js-row-num-cli/.npmignore
Expand Up @@ -19,3 +19,4 @@ test

.npmignore
.prettierignore
testStats.md
1 change: 1 addition & 0 deletions packages/js-row-num/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/json-comb-core/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/json-comb/.npmignore
Expand Up @@ -19,3 +19,4 @@ test

.npmignore
.prettierignore
testStats.md
1 change: 1 addition & 0 deletions packages/json-sort-cli/.npmignore
Expand Up @@ -19,3 +19,4 @@ test

.npmignore
.prettierignore
testStats.md
1 change: 1 addition & 0 deletions packages/json-variables/.npmignore
Expand Up @@ -23,3 +23,4 @@ test
.prettierignore
rollup.config.js
tsconfig.json
testStats.md
1 change: 1 addition & 0 deletions packages/lect/.npmignore
Expand Up @@ -21,3 +21,4 @@ test

.npmignore
.prettierignore
testStats.md
32 changes: 9 additions & 23 deletions packages/lect/cli.js
Expand Up @@ -12,6 +12,7 @@ const pack = require("./src/pack");
const npmIgnore = require("./src/npmIgnore");
const rollupConfig = require("./src/rollupConfig");
const tsconfig = require("./src/tsconfig");
const semaphore = require("./src/semaphore");

(async () => {
//
Expand Down Expand Up @@ -55,37 +56,22 @@ const tsconfig = require("./src/tsconfig");
// For the record, npm ignores are being updated in lectrc via inquirer.
state.originalLectrc = { ...lectrc };

// return Promise.all([
// // write README.md
// readme({ state, examples: received[0], lectrc }),
// // write new files
// hardWrite({ lectrc }),
// // delete bad files
// hardDelete({ lectrc }),
// // write package.json
// pack({ state, lectrc }),
// // write .npmignore
// npmIgnore({ state, lectrc }),
// // write rollup.config.js
// rollupConfig({ state }),
// // write tsconfig.json
// tsconfig({ state }),
// ]);

// write README.md
readme({ state, examples: received[0], lectrc });
// // write new files
// write new files
hardWrite({ lectrc });
// // delete bad files
// delete bad files
hardDelete({ lectrc });
// // write package.json
// write package.json
pack({ state, lectrc });
// // write .npmignore
// write .npmignore
npmIgnore({ state, lectrc });
// // write rollup.config.js
// write rollup.config.js
rollupConfig({ state });
// // write tsconfig.json
// write tsconfig.json
tsconfig({ state });
// write ./.semaphore/semaphore.yml
semaphore({ state });
})
.catch((e) => {
console.log(
Expand Down
2 changes: 1 addition & 1 deletion packages/lect/src/npmIgnore.js
Expand Up @@ -197,7 +197,7 @@ async function npmIgnore({ lectrc }) {
.join("\n")}\n\n# files:\n\n${badFiles
.filter((v) => !blacklist.includes(v))
.sort()
.join("\n")}\n`;
.join("\n")}\ntestStats.md\n`;

try {
await writeFileAtomic(".npmignore", finalNpmIgnoreFile);
Expand Down

0 comments on commit f3c84e9

Please sign in to comment.