@turbo/types 2.11.5 → 2.11.6

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": "@turbo/types",
3
- "version": "2.11.5",
3
+ "version": "2.11.6",
4
4
  "description": "Turborepo types",
5
5
  "homepage": "https://turborepo.dev",
6
6
  "bugs": {
@@ -191,7 +191,7 @@
191
191
  ]
192
192
  },
193
193
  "tags": {
194
- "description": "Used to tag a package for boundaries rules.\n\nBoundaries rules can restrict which packages a tag group can import or be imported by.",
194
+ "description": "Arbitrary string labels for this package. In the root configuration, these labels apply to the root package.",
195
195
  "anyOf": [
196
196
  {
197
197
  "$ref": "#/definitions/Array_of_String"
@@ -678,6 +678,13 @@
678
678
  }
679
679
  ]
680
680
  },
681
+ "tags": {
682
+ "description": "Arbitrary string labels for this task. Package configurations replace inherited tags by default; an empty array clears them. Include `$TURBO_EXTENDS$` to append labels to inherited tags.",
683
+ "type": ["array", "null"],
684
+ "items": {
685
+ "$ref": "#/definitions/String"
686
+ }
687
+ },
681
688
  "with": {
682
689
  "description": "A list of tasks that will run alongside this task.\n\nTasks in this list will not be run until completion before this task starts execution.\n\nDocumentation: https://turborepo.dev/docs/reference/configuration#with",
683
690
  "type": ["array", "null"],
@@ -182,7 +182,7 @@
182
182
  ]
183
183
  },
184
184
  "tags": {
185
- "description": "Used to tag a package for boundaries rules.\n\nBoundaries rules can restrict which packages a tag group can import or be imported by.",
185
+ "description": "Arbitrary string labels for this package. In the root configuration, these labels apply to the root package.",
186
186
  "anyOf": [
187
187
  {
188
188
  "$ref": "#/definitions/Array_of_String"
@@ -507,6 +507,13 @@
507
507
  }
508
508
  ]
509
509
  },
510
+ "tags": {
511
+ "description": "Arbitrary string labels for this task. Package configurations replace inherited tags by default; an empty array clears them. Include `$TURBO_EXTENDS$` to append labels to inherited tags.",
512
+ "type": ["array", "null"],
513
+ "items": {
514
+ "$ref": "#/definitions/String"
515
+ }
516
+ },
510
517
  "with": {
511
518
  "description": "A list of tasks that will run alongside this task.\n\nTasks in this list will not be run until completion before this task starts execution.\n\nDocumentation: https://turborepo.dev/docs/reference/configuration#with",
512
519
  "type": ["array", "null"],
@@ -52,8 +52,8 @@ export interface WorkspaceSchema extends BaseSchema {
52
52
  */
53
53
  extends: Array<string>;
54
54
  /**
55
- * Used to tag a package for boundaries rules. Boundaries rules can restrict
56
- * which packages a tag group can import or be imported by.
55
+ * Arbitrary string labels for this package. In the root configuration,
56
+ * these labels apply to the root package.
57
57
  */
58
58
  tags?: Array<string>;
59
59
  /**
@@ -63,6 +63,12 @@ export interface WorkspaceSchema extends BaseSchema {
63
63
  }
64
64
 
65
65
  export interface RootSchema extends BaseSchema {
66
+ /**
67
+ * Arbitrary string labels for this package. In the root configuration,
68
+ * these labels apply to the root package.
69
+ */
70
+ tags?: Array<string>;
71
+
66
72
  /**
67
73
  * Controls whether turbo maintains a root AGENTS.md block for AI agents.
68
74
  * Set to false to opt out of future automatic updates.
@@ -537,6 +543,15 @@ export interface Pipeline {
537
543
  */
538
544
  description?: string;
539
545
 
546
+ /**
547
+ * Arbitrary string labels for this task. Package configurations replace
548
+ * inherited tags by default; an empty array clears them. Include
549
+ * `$TURBO_EXTENDS$` to append labels to inherited tags.
550
+ *
551
+ * @defaultValue `[]`
552
+ */
553
+ tags?: Array<string>;
554
+
540
555
  /**
541
556
  * The list of tasks that this task depends on.
542
557
  *