0.3.4 • Published 1 year ago

path-serializer v0.3.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

path-serializer

npm latest version

  1. stabilize pnpm dependencies path and update dependencies smoothly
  2. transform win32 path to posix path and more...
// __snapshots__/index.test.ts.snap
{
  "loader" : "<ROOT>/node_modules/<PNPM_INNER>/@rspack/core/dist/builtin-plugin/css-extract/loader-js"
}

Usage

// vitest.setup.ts
import { createSnapshotSerializer } from 'path-serializer';

expect.addSnapshotSerializer(
  createSnapshotSerializer({
    workspace: path.join(__dirname, '..'),
  }),
);

The specific usage can be found in ./src/types.ts

Showcases

Rslib Rsbuild

0.3.0

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.1.0

1 year ago

0.2.1

1 year ago

0.1.2

1 year ago

0.2.0

1 year ago

0.1.1

1 year ago

0.1.4

1 year ago

0.2.2

1 year ago

0.1.3

1 year ago

0.0.6

1 year ago

0.0.6-beta.2

1 year ago

0.0.6-beta.1

1 year ago

0.0.6-beta.0

1 year ago

0.0.5

1 year ago

0.0.5-beta.0

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago