path-serializer 0.0.6 → 0.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "path-serializer",
3
- "version": "0.0.6",
3
+ "version": "0.1.0",
4
4
  "description": "path-serializer",
5
5
  "keywords": [
6
6
  "snapshot",
@@ -39,15 +39,18 @@
39
39
  "vitest": "^2.0.5",
40
40
  "@biomejs/biome": "^1.8.3",
41
41
  "@microsoft/api-extractor": "^7.47.5",
42
- "@rslib/core": "file:./scripts/rslib-core-0.0.0.tgz",
42
+ "@rslib/core": "0.0.12",
43
43
  "@types/lodash-es": "^4.17.12",
44
44
  "@types/node": "^22.1.0",
45
45
  "lodash-es": "^4.17.21",
46
46
  "nano-staged": "^0.8.0",
47
47
  "simple-git-hooks": "^2.11.1",
48
48
  "slash": "5.1.0",
49
- "typescript": "^5.5.2",
50
- "upath": "^2.0.1"
49
+ "typescript": "^5.6.3",
50
+ "upath": "^2.0.1",
51
+ "execa": "9.3.1",
52
+ "fs-extra": "11.2.0",
53
+ "semver": "7.6.3"
51
54
  },
52
55
  "publishConfig": {
53
56
  "access": "public",
@@ -64,6 +67,7 @@
64
67
  "lint": "biome check --write",
65
68
  "test:watch": "vitest",
66
69
  "test": "vitest run",
67
- "prepublish": "pnpm run build"
70
+ "prepublish": "pnpm run build",
71
+ "release": "node ./scripts/release.mjs"
68
72
  }
69
73
  }
@@ -1,20 +0,0 @@
1
- export declare function createSnapshotSerializer(options?: SnapshotSerializerOptions): {
2
- pathMatchers: PathMatcher[];
3
- test: (val: unknown) => boolean;
4
- print: (val: unknown) => string;
5
- };
6
-
7
- declare interface PathMatcher {
8
- match: PathMatchExpression;
9
- mark: string | ((substring: string, ...args: any[]) => string);
10
- }
11
-
12
- declare type PathMatchExpression = string | RegExp;
13
-
14
- declare interface SnapshotSerializerOptions {
15
- cwd?: string;
16
- workspace?: string;
17
- replace?: PathMatcher[];
18
- }
19
-
20
- export { }
@@ -1,20 +0,0 @@
1
- export declare function createSnapshotSerializer(options?: SnapshotSerializerOptions): {
2
- pathMatchers: PathMatcher[];
3
- test: (val: unknown) => boolean;
4
- print: (val: unknown) => string;
5
- };
6
-
7
- declare interface PathMatcher {
8
- match: PathMatchExpression;
9
- mark: string | ((substring: string, ...args: any[]) => string);
10
- }
11
-
12
- declare type PathMatchExpression = string | RegExp;
13
-
14
- declare interface SnapshotSerializerOptions {
15
- cwd?: string;
16
- workspace?: string;
17
- replace?: PathMatcher[];
18
- }
19
-
20
- export { }