From e3847266a1c34eedb9e3fac55f6f6a9672a46151 Mon Sep 17 00:00:00 2001 From: Scott Doxey Date: Fri, 26 Apr 2024 21:47:34 -0400 Subject: [PATCH 1/2] Disable gitignore in globby. --- bin/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/index.js b/bin/index.js index 9693200..366a8f8 100755 --- a/bin/index.js +++ b/bin/index.js @@ -50,7 +50,7 @@ const [ignoreFile = '.onlyignore'] = [args.flags['--ignore'], args.flags['-i']] await buildFiles( await globby(['**/*.mjs', '!_*/**/*', '!node_modules/', `!${buildDir}`], { - gitignore: true, + gitignore: false, ignoreFiles: [ignoreFile], cwd: args.inputs[0] }), @@ -69,7 +69,7 @@ await copyFiles( `!${buildDir}` ], { - gitignore: true, + gitignore: false, ignoreFiles: [ignoreFile], cwd: args.inputs[0] } From 1e042d04c786f50ec40102138388f2990808d38f Mon Sep 17 00:00:00 2001 From: Scott Doxey Date: Fri, 26 Apr 2024 21:53:42 -0400 Subject: [PATCH 2/2] Added dynamic files in benchmark test to gitignore. --- tests/benchmarks/.gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/benchmarks/.gitignore b/tests/benchmarks/.gitignore index e568fe8..bf36e39 100644 --- a/tests/benchmarks/.gitignore +++ b/tests/benchmarks/.gitignore @@ -1,3 +1,5 @@ node_modules/ build/ + +posts/