@baeta/plugin-gitignore 1.0.11 → 2.0.0-next.1
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 +28 -0
- package/package.json +5 -5
- package/dist/index.d.ts +0 -25
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @baeta/plugin-gitignore
|
|
2
2
|
|
|
3
|
+
## 2.0.0-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Fix release version
|
|
8
|
+
|
|
9
|
+
- Updated dependencies []:
|
|
10
|
+
- @baeta/generator-sdk@2.0.0-next.1
|
|
11
|
+
|
|
12
|
+
## 2.0.0-next.0
|
|
13
|
+
|
|
14
|
+
### Major Changes
|
|
15
|
+
|
|
16
|
+
- [#214](https://github.com/andreisergiu98/baeta/pull/214) [`31d1a50`](https://github.com/andreisergiu98/baeta/commit/31d1a509f96535b43ae85d19c770eb1a5f09dc94) Thanks [@andreisergiu98](https://github.com/andreisergiu98)! - Baeta v2 – major refactor
|
|
17
|
+
- **Side-effect-free type generation & resolver definitions.**
|
|
18
|
+
The types generator and resolver definitions were reworked to be side-effect free, improving type safety.
|
|
19
|
+
- **Stricter type safety.**
|
|
20
|
+
You must now **explicitly define resolvers for every field** during development—breakages that used to surface at runtime are now caught at compile time.
|
|
21
|
+
- **Removed `@baeta/compiler`.**
|
|
22
|
+
Since modern runtimes can execute TypeScript natively, the separate compiler package is no longer needed. Use your runtime’s native TS support or your existing build setup.
|
|
23
|
+
- **Subscriptions update.**
|
|
24
|
+
`@baeta/subscriptions-pubsub` now targets **`graphql-subscriptions` v3**.
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [[`31d1a50`](https://github.com/andreisergiu98/baeta/commit/31d1a509f96535b43ae85d19c770eb1a5f09dc94)]:
|
|
29
|
+
- @baeta/generator-sdk@2.0.0-next.0
|
|
30
|
+
|
|
3
31
|
## 1.0.11
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baeta/plugin-gitignore",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-next.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"baeta",
|
|
6
6
|
"graphql",
|
|
@@ -43,16 +43,16 @@
|
|
|
43
43
|
"types": "tsc --noEmit"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@baeta/generator-sdk": "^
|
|
46
|
+
"@baeta/generator-sdk": "^2.0.0-next.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@baeta/builder": "^0.0.0",
|
|
50
50
|
"@baeta/tsconfig": "^0.0.0",
|
|
51
|
-
"@types/node": "^22.
|
|
52
|
-
"typescript": "^5.
|
|
51
|
+
"@types/node": "^22.18.11",
|
|
52
|
+
"typescript": "^5.9.3"
|
|
53
53
|
},
|
|
54
54
|
"engines": {
|
|
55
|
-
"node": ">=22.
|
|
55
|
+
"node": ">=22.20.0"
|
|
56
56
|
},
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public",
|
package/dist/index.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
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 };
|