@adbayb/stack 2.7.0 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -186,7 +186,7 @@ const ESLINT_EXTENSIONS = [
|
|
|
186
186
|
"mdx"
|
|
187
187
|
];
|
|
188
188
|
|
|
189
|
-
var version = "2.
|
|
189
|
+
var version = "2.8.0";
|
|
190
190
|
|
|
191
191
|
const createWatchCommand = (program)=>{
|
|
192
192
|
program.command({
|
|
@@ -291,7 +291,6 @@ const fixLinter = eslint({
|
|
|
291
291
|
});
|
|
292
292
|
|
|
293
293
|
const PRETTIER_IGNORE_FILES = [
|
|
294
|
-
"CHANGELOG.md",
|
|
295
294
|
"pnpm-lock.yaml"
|
|
296
295
|
];
|
|
297
296
|
const fixFormatting = async (files)=>{
|
|
@@ -300,8 +299,7 @@ const fixFormatting = async (files)=>{
|
|
|
300
299
|
prettierFiles.push(`"**/!(${PRETTIER_IGNORE_FILES.join("|")})"`);
|
|
301
300
|
} else {
|
|
302
301
|
prettierFiles = files.filter((file)=>{
|
|
303
|
-
return !PRETTIER_IGNORE_FILES.some((filename)=>file.endsWith(filename))
|
|
304
|
-
file !== "README.md";
|
|
302
|
+
return !PRETTIER_IGNORE_FILES.some((filename)=>file.endsWith(filename));
|
|
305
303
|
});
|
|
306
304
|
if (prettierFiles.length === 0) return;
|
|
307
305
|
}
|