@dxtmisha/scripts 0.7.9 → 0.7.10

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.7.9",
4
+ "version": "0.7.10",
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": [
@@ -75,4 +75,4 @@
75
75
  "typescript": "^6.0.2",
76
76
  "vue": "^3.5.32"
77
77
  }
78
- }
78
+ }
@@ -215,7 +215,7 @@ export class DesignReplace {
215
215
  && !this.isNoMark(mark, name)
216
216
  ) {
217
217
  const typesString = !constructor && !types.match(/string|boolean/) && types.match(/'/)
218
- ? `${types}` // string |
218
+ ? `string | ${types}`
219
219
  : types
220
220
 
221
221
  templates.push(`${name}?: ${typesString}`)
@@ -1,4 +1,4 @@
1
- import { forEach } from '@dxtmisha/functional-basic'
1
+ import { forEach, ServerStorage } from '@dxtmisha/functional-basic'
2
2
  import { getPackageJson } from '../../functions/getPackageJson'
3
3
  import { useAi } from '../../composables/useAi'
4
4
 
@@ -32,6 +32,7 @@ export class DesignTypes {
32
32
  constructor(
33
33
  protected readonly dir: string = 'dist'
34
34
  ) {
35
+ ServerStorage.setErrorStatus(true)
35
36
  this.dirArray = this.dir.split('/')
36
37
  }
37
38