Skip to content

Releases: feature-sliced/filesystem

v1.1.0

07 May 20:00
9871342
Compare
Choose a tag to compare

Added

  1. A TypeScript-compliant path resolver. Here's an example:
    const tsCompilerOptions = {
      moduleResolution: ModuleResolutionKind.Bundler,
      baseUrl: ".",
      paths: {
        "~/*": ["./src/*"],
      },
    };
    
    function fileExists(path: string) {
      return path === "src/shared/ui/index.ts";
    }
    
      resolveImport(
        "~/shared/ui",
        "src/pages/home/ui/HomePage.tsx",
        tsCompilerOptions,
        fileExists,
      ); // "src/shared/ui/index.ts"
  2. Exports for all internal FSD-related types

v1.0.0

07 May 18:12
4d87dc6
Compare
Choose a tag to compare

Initial release