@baeta/plugin-gitignore 2.0.0-next.1 → 2.0.0-next.2
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/CHANGELOG.md +9 -0
- package/dist/index.d.ts +25 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as _baeta_generator_sdk from '@baeta/generator-sdk';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Configuration options for the gitignore plugin.
|
|
5
|
+
*/
|
|
6
|
+
interface GitignoreOptions {
|
|
7
|
+
/**
|
|
8
|
+
* Array of file tags to exclude from .gitignore.
|
|
9
|
+
* File tags are identifiers assigned to generated files
|
|
10
|
+
* to categorize them by their plugin or purpose.
|
|
11
|
+
*/
|
|
12
|
+
ignoreTags?: string[];
|
|
13
|
+
}
|
|
14
|
+
interface GitignoreOptions {
|
|
15
|
+
ignoreTags?: string[];
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A plugin that adds .gitignore entries for generated files.
|
|
19
|
+
*
|
|
20
|
+
* @param options - Plugin configuration options
|
|
21
|
+
* @returns A Baeta generator plugin
|
|
22
|
+
*/
|
|
23
|
+
declare function gitignorePlugin(options?: GitignoreOptions): _baeta_generator_sdk.GeneratorPluginV1<unknown>;
|
|
24
|
+
|
|
25
|
+
export { type GitignoreOptions, gitignorePlugin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baeta/plugin-gitignore",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.2",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"baeta",
|
|
6
6
|
"graphql",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"types": "tsc --noEmit"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@baeta/generator-sdk": "^2.0.0-next.
|
|
46
|
+
"@baeta/generator-sdk": "^2.0.0-next.2"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@baeta/builder": "^0.0.0",
|