Skip to content

Commit c45b446

Browse files
committed
build(deps): @flex-development/fst-util-from-fs integration
- https://github.com/flex-development/fst-util-from-fs Signed-off-by: Lexus Drumgold <[email protected]>
1 parent 9186828 commit c45b446

31 files changed

Lines changed: 324 additions & 1141 deletions

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -366,9 +366,7 @@ Information about a directory entry (`interface`).
366366
- `isSymbolicLink` ([`IsSymbolicLink`](#issymboliclink))
367367
— check if the entry is a symbolic link
368368
- `name` (`string`)
369-
— the path to the entry, relative to the `parentPath`
370-
- `parentPath` (`string`)
371-
— the path to the parent directory
369+
— the path to the entry, relative to its parent directory
372370
373371
### `FileExists`
374372

__fixtures__/fs/content.mts

Lines changed: 0 additions & 44 deletions
This file was deleted.

__fixtures__/fs/directories.mts

Lines changed: 0 additions & 23 deletions
This file was deleted.

__fixtures__/fs/files.mts

Lines changed: 0 additions & 39 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* @file Fixtures - fsa
3-
* @module fixtures/fs/fsa
3+
* @module fixtures/fsa
44
*/
55

66
import type { FileSystem } from '@flex-development/tsconfig-utils'

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@
137137
"typecheck:ui": "yarn test:ui --typecheck --mode=typecheck"
138138
},
139139
"dependencies": {
140+
"@flex-development/fst-util-from-fs": "1.0.0-beta.1",
140141
"@flex-development/mlly": "1.0.0-beta.4",
141142
"@flex-development/pathe": "4.0.2",
142143
"@flex-development/tsconfig-types": "5.1.0",
@@ -152,6 +153,7 @@
152153
"@commitlint/types": "20.4.0",
153154
"@flex-development/commitlint-config": "1.0.1",
154155
"@flex-development/eslint-config": "1.1.1",
156+
"@flex-development/fst": "1.0.0",
155157
"@flex-development/grease": "3.0.0-alpha.9",
156158
"@flex-development/is-builtin": "3.2.0",
157159
"@flex-development/pkg-types": "4.1.0",

src/interfaces/__tests__/dirent.spec-d.mts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,4 @@ describe('unit-d:interfaces/Dirent', () => {
3030
it('should match [name: string]', () => {
3131
expectTypeOf<TestSubject>().toHaveProperty('name').toEqualTypeOf<string>()
3232
})
33-
34-
it('should match [parentPath: string]', () => {
35-
expectTypeOf<TestSubject>()
36-
.toHaveProperty('parentPath')
37-
.toEqualTypeOf<string>()
38-
})
3933
})

src/interfaces/__tests__/file-system-entries.spec-d.mts

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/interfaces/__tests__/file-system.spec-d.mts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*/
55

66
import type TestSubject from '#interfaces/file-system'
7-
import type * as mlly from '@flex-development/mlly'
87
import type {
98
ReadFile,
109
Readdir,
@@ -13,10 +12,6 @@ import type {
1312
} from '@flex-development/tsconfig-utils'
1413

1514
describe('unit-d:interfaces/FileSystem', () => {
16-
it('should extend mlly.FileSystem', () => {
17-
expectTypeOf<TestSubject>().toExtend<mlly.FileSystem>()
18-
})
19-
2015
it('should match [readFile: ReadFile]', () => {
2116
expectTypeOf<TestSubject>()
2217
.toHaveProperty('readFile')

src/interfaces/dirent.mts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,9 @@ interface Dirent {
3535
isSymbolicLink: IsSymbolicLink
3636

3737
/**
38-
* The path to the entry, relative to the {@linkcode parentPath}.
38+
* The path to the entry, relative to its parent directory.
3939
*/
4040
name: string
41-
42-
/**
43-
* The path to the parent directory.
44-
*/
45-
parentPath: string
4641
}
4742

4843
export type { Dirent as default }

0 commit comments

Comments
 (0)