@plasmicapp/cli 0.1.341 → 0.1.343

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.
@@ -0,0 +1,5 @@
1
+ import { CommonArgs } from "..";
2
+ export interface StatusArgs extends CommonArgs {
3
+ json?: boolean;
4
+ }
5
+ export declare function showProjectStatus(opts: StatusArgs): Promise<void>;
@@ -0,0 +1,5 @@
1
+ import { ChecksumBundle, ProjectMetaBundle } from "../api";
2
+ import { PlasmicContext, ProjectConfig, ProjectLock } from "../utils/config-utils";
3
+ export declare const DEFAULT_PROJECT_MODULE_NAME = "plasmic";
4
+ export declare function syncProjectModule(context: PlasmicContext, projectMeta: ProjectMetaBundle, projectConfig: ProjectConfig, projectLock: ProjectLock, checksums: ChecksumBundle, baseDir: string): Promise<void>;
5
+ export declare function getProjectModuleResourcePath(context: PlasmicContext, projectConfig: ProjectConfig): string;
@@ -0,0 +1,5 @@
1
+ import { ChecksumBundle, ProjectMetaBundle } from "../api";
2
+ import { PlasmicContext, ProjectConfig, ProjectLock } from "../utils/config-utils";
3
+ export declare const DEFAULT_STYLE_TOKENS_PROVIDER_NAME = "PlasmicStyleTokensProvider";
4
+ export declare function syncStyleTokensProvider(context: PlasmicContext, projectMeta: ProjectMetaBundle, projectConfig: ProjectConfig, projectLock: ProjectLock, checksums: ChecksumBundle, baseDir: string): Promise<void>;
5
+ export declare function getStyleTokensProviderResourcePath(context: PlasmicContext, projectConfig: ProjectConfig): string;
package/dist/api.d.ts CHANGED
@@ -39,6 +39,14 @@ export interface SplitsProviderBundle {
39
39
  id: string;
40
40
  module: string;
41
41
  }
42
+ export interface StyleTokensProviderBundle {
43
+ id: string;
44
+ module: string;
45
+ }
46
+ export interface ProjectModuleBundle {
47
+ id: string;
48
+ module: string;
49
+ }
42
50
  export interface JsBundleTheme {
43
51
  themeFileName: string;
44
52
  themeModule: string;
@@ -51,6 +59,8 @@ export interface ProjectMetaBundle {
51
59
  cssRules: string;
52
60
  globalContextBundle?: GlobalContextBundle;
53
61
  splitsProviderBundle?: SplitsProviderBundle;
62
+ styleTokensProviderBundle?: StyleTokensProviderBundle;
63
+ projectModuleBundle?: ProjectModuleBundle;
54
64
  reactWebExportedFiles?: Array<{
55
65
  fileName: string;
56
66
  content: string;
@@ -142,6 +152,8 @@ export interface ChecksumBundle {
142
152
  projectCssChecksum: string;
143
153
  globalContextsChecksum: string;
144
154
  splitsProviderChecksum: string;
155
+ styleTokensProviderChecksum: string;
156
+ projectModuleChecksum: string;
145
157
  }
146
158
  export interface CodeComponentMeta {
147
159
  id: string;