@dxtmisha/scripts 0.7.6 → 0.7.7

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.6",
4
+ "version": "0.7.7",
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": [
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "scripts": {
31
31
  "library": "dxt-library",
32
- "publish": "npm publish --access public"
32
+ "publish-to-npm": "npm publish --access public"
33
33
  },
34
34
  "files": [
35
35
  "bin/",
@@ -11,7 +11,7 @@ import { PropertiesFile } from '../Properties/PropertiesFile'
11
11
  import { DesignStructure } from './DesignStructure'
12
12
  import { DesignReplace } from './DesignReplace'
13
13
 
14
- import { UI_FILE_PACKAGE, UI_KEY_CONSTRUCTOR } from '../../config'
14
+ import { UI_FILE_PACKAGE } from '../../config'
15
15
 
16
16
  const dirnamePath = hasNativeDirname()
17
17
  ? __dirname
@@ -117,11 +117,7 @@ export abstract class DesignCommand {
117
117
  */
118
118
  protected getStructure(): DesignStructure {
119
119
  if (!this.structure) {
120
- const [design, component] = this.getCommand().split('.', 2)
121
- this.structure = new DesignStructure(
122
- design ?? UI_KEY_CONSTRUCTOR,
123
- component ?? 'component'
124
- )
120
+ this.structure = new DesignStructure(this.getCommand())
125
121
  }
126
122
 
127
123
  return this.structure
@@ -1,4 +1,4 @@
1
- // :component.once import { WikiStorybook } from '@dxtmisha/wiki'
1
+ // :component.once import { WikiStorybook } from '@dxtmisha/wiki/lite'
2
2
  // :component.once import { wiki, wikiDescriptions } from '@dxtmisha/wiki/media'
3
3
 
4
4
  // :component.once import { ComponentWikiData } from './wikiData'
@@ -1,4 +1,4 @@
1
- // :component.once import { type StorybookProps, type StorybookSlots, type WikiDataItem } from '@dxtmisha/wiki'
1
+ // :component.once import { type StorybookProps, type StorybookSlots, type WikiDataItem } from '@dxtmisha/wiki/lite'
2
2
 
3
3
  // :component.once import { wiki[Design] } from '../../../wiki/wiki'
4
4
  // :component.once import { defaults } from './props'