@dxtmisha/scripts 0.5.13 → 0.5.14

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@dxtmisha/scripts",
3
3
  "private": false,
4
- "version": "0.5.13",
4
+ "version": "0.5.14",
5
5
  "type": "module",
6
6
  "description": "Development scripts and CLI tools for DXT UI projects - automated component generation, library building and project management tools",
7
7
  "keywords": [
@@ -70,7 +70,7 @@ export abstract class AiDocItemAbstract {
70
70
  PropertiesConfig.getWikiLanguage()
71
71
  )
72
72
 
73
- const status = await this.build.make()
73
+ const status = this.isBuildDisabled() || await this.build.make()
74
74
 
75
75
  if (status) {
76
76
  this.makeAi()
@@ -105,6 +105,17 @@ export abstract class AiDocItemAbstract {
105
105
  }
106
106
  }
107
107
 
108
+ /**
109
+ * Checks if the item is marked as not to be built.
110
+ *
111
+ * Проверяет, помечен ли элемент как не подлежащий сборке.
112
+ */
113
+ isBuildDisabled(): boolean {
114
+ return Boolean(
115
+ this.code.read().match('// wiki:build-none')
116
+ )
117
+ }
118
+
108
119
  /**
109
120
  * Returns the path to the Wiki file.
110
121
  *