@adbayb/stack 0.0.0-next-e5749e5 → 0.0.0-next-6d1495c

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import process from 'node:process';
3
3
  import { resolve, join } from 'node:path';
4
4
  import { createRequire } from 'node:module';
5
5
  import { writeFile, chmod, mkdir, symlink, rm } from 'node:fs/promises';
6
- import { statSync, existsSync, cpSync, readFileSync, renameSync, writeFileSync, readdirSync } from 'node:fs';
6
+ import { existsSync, cpSync, readFileSync, renameSync, writeFileSync, readdirSync } from 'node:fs';
7
7
  import { fdir } from 'fdir';
8
8
 
9
9
  const require = createRequire(import.meta.url);
@@ -186,7 +186,7 @@ const ESLINT_EXTENSIONS = [
186
186
  "mdx"
187
187
  ];
188
188
 
189
- var version = "0.0.0-next-e5749e5";
189
+ var version = "0.0.0-next-6d1495c";
190
190
 
191
191
  const createWatchCommand = (program)=>{
192
192
  program.command({
@@ -299,8 +299,7 @@ const fixFormatting = async (files)=>{
299
299
  prettierFiles.push(`"**/!(${PRETTIER_IGNORE_FILES.join("|")})"`);
300
300
  } else {
301
301
  prettierFiles = files.filter((file)=>{
302
- return !PRETTIER_IGNORE_FILES.some((filename)=>file.endsWith(filename)) && // Do not format file acting as a symbolik link to prevent formatting errors.
303
- !statSync(file).isSymbolicLink();
302
+ return !PRETTIER_IGNORE_FILES.some((filename)=>file.endsWith(filename));
304
303
  });
305
304
  if (prettierFiles.length === 0) return;
306
305
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adbayb/stack",
3
- "version": "0.0.0-next-e5749e5",
3
+ "version": "0.0.0-next-6d1495c",
4
4
  "description": "My opinionated JavaScript-based toolchain",
5
5
  "publishConfig": {
6
6
  "access": "public"