Skip to content

Commit a8631f6

Browse files
0.3.0
1 parent 07954dd commit a8631f6

16 files changed

+92
-34
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
## [0.3.0] - 2020-02-03
11+
1012
### Added
1113
- Logging improvements
1214

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@userfrosting/vinyl-fs-vpath](./vinyl-fs-vpath.md) &gt; [IConfig](./vinyl-fs-vpath.iconfig.md) &gt; [base](./vinyl-fs-vpath.iconfig.base.md)
4+
5+
## IConfig.base property
6+
7+
Specifies the folder relative to the cwd This is used to determine the file names when saving in .dest() Default: cwd
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
base?: string;
13+
```

docs/api/vinyl-fs-vpath.iconfig.cwd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## IConfig.cwd property
66

7-
Current working directory. NodeJS cwd is used if not supplied.
7+
Current working directory. Default: process.cwd()
88

99
<b>Signature:</b>
1010

docs/api/vinyl-fs-vpath.iconfig.logger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## IConfig.logger property
66

7-
Optional logger.
7+
Optional logger. Use this to debug issues and trace behaviours. Adheres to interface defined in ts-log package.
88

99
<b>Signature:</b>
1010

docs/api/vinyl-fs-vpath.iconfig.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ export interface IConfig
1515

1616
| Property | Type | Description |
1717
| --- | --- | --- |
18-
| [cwd](./vinyl-fs-vpath.iconfig.cwd.md) | <code>string</code> | Current working directory. NodeJS cwd is used if not supplied. |
18+
| [base](./vinyl-fs-vpath.iconfig.base.md) | <code>string</code> | Specifies the folder relative to the cwd This is used to determine the file names when saving in .dest() Default: cwd |
19+
| [cwd](./vinyl-fs-vpath.iconfig.cwd.md) | <code>string</code> | Current working directory. Default: process.cwd() |
1920
| [globs](./vinyl-fs-vpath.iconfig.globs.md) | <code>string &#124; string[]</code> | Input file matchers. |
20-
| [logger](./vinyl-fs-vpath.iconfig.logger.md) | <code>Logger</code> | Optional logger. |
21-
| [virtPathMaps](./vinyl-fs-vpath.iconfig.virtpathmaps.md) | <code>IVirtualPathMapping[]</code> | Virtual path mappings. Collision resolution uses the last mapping to select the file. Resolution is \*not\* recursive. |
21+
| [logger](./vinyl-fs-vpath.iconfig.logger.md) | <code>Logger</code> | Optional logger. Use this to debug issues and trace behaviours. Adheres to interface defined in ts-log package. |
22+
| [removeBOM](./vinyl-fs-vpath.iconfig.removebom.md) | <code>boolean</code> | Causes the BOM to be removed on UTF-8 encoded files. Set to false if you need the BOM for some reason. Default: true |
23+
| [since](./vinyl-fs-vpath.iconfig.since.md) | <code>Date &#124; number</code> | Only find files that have been modified since the time specified |
24+
| [sourcemaps](./vinyl-fs-vpath.iconfig.sourcemaps.md) | <code>boolean</code> | Setting this to true will enable sourcemaps. Default: false |
25+
| [virtPathMaps](./vinyl-fs-vpath.iconfig.virtpathmaps.md) | <code>IVirtPathMapping[]</code> | Virtual path mappings. Collision resolution uses the last mapping to select the file. Internally mapping occurs on absolute path strings, conversion and normalisation is performed automatically. Resolution is \*not\* recursive. |
2226

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@userfrosting/vinyl-fs-vpath](./vinyl-fs-vpath.md) &gt; [IConfig](./vinyl-fs-vpath.iconfig.md) &gt; [removeBOM](./vinyl-fs-vpath.iconfig.removebom.md)
4+
5+
## IConfig.removeBOM property
6+
7+
Causes the BOM to be removed on UTF-8 encoded files. Set to false if you need the BOM for some reason. Default: true
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
removeBOM?: boolean;
13+
```
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@userfrosting/vinyl-fs-vpath](./vinyl-fs-vpath.md) &gt; [IConfig](./vinyl-fs-vpath.iconfig.md) &gt; [since](./vinyl-fs-vpath.iconfig.since.md)
4+
5+
## IConfig.since property
6+
7+
Only find files that have been modified since the time specified
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
since?: Date | number;
13+
```
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@userfrosting/vinyl-fs-vpath](./vinyl-fs-vpath.md) &gt; [IConfig](./vinyl-fs-vpath.iconfig.md) &gt; [sourcemaps](./vinyl-fs-vpath.iconfig.sourcemaps.md)
4+
5+
## IConfig.sourcemaps property
6+
7+
Setting this to true will enable sourcemaps. Default: false
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
sourcemaps?: boolean;
13+
```

docs/api/vinyl-fs-vpath.iconfig.virtpathmaps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
## IConfig.virtPathMaps property
66

7-
Virtual path mappings. Collision resolution uses the last mapping to select the file. Resolution is \*not\* recursive.
7+
Virtual path mappings. Collision resolution uses the last mapping to select the file. Internally mapping occurs on absolute path strings, conversion and normalisation is performed automatically. Resolution is \*not\* recursive.
88

99
<b>Signature:</b>
1010

1111
```typescript
12-
virtPathMaps: IVirtualPathMapping[];
12+
virtPathMaps: IVirtPathMapping[];
1313
```

docs/api/vinyl-fs-vpath.ivirtualpathmapping.match.md renamed to docs/api/vinyl-fs-vpath.ivirtpathmapping.match.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
22

3-
[Home](./index.md) &gt; [@userfrosting/vinyl-fs-vpath](./vinyl-fs-vpath.md) &gt; [IVirtualPathMapping](./vinyl-fs-vpath.ivirtualpathmapping.md) &gt; [match](./vinyl-fs-vpath.ivirtualpathmapping.match.md)
3+
[Home](./index.md) &gt; [@userfrosting/vinyl-fs-vpath](./vinyl-fs-vpath.md) &gt; [IVirtPathMapping](./vinyl-fs-vpath.ivirtpathmapping.md) &gt; [match](./vinyl-fs-vpath.ivirtpathmapping.match.md)
44

5-
## IVirtualPathMapping.match property
5+
## IVirtPathMapping.match property
66

77
Path prefix to match (relative to cwd).
88

0 commit comments

Comments
 (0)