@plasmicapp/cli 0.1.340 → 0.1.342

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 { 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;
@@ -49,9 +57,10 @@ export interface ProjectMetaBundle {
49
57
  projectName: string;
50
58
  cssFileName: string;
51
59
  cssRules: string;
52
- jsBundleThemes?: JsBundleTheme[];
53
60
  globalContextBundle?: GlobalContextBundle;
54
61
  splitsProviderBundle?: SplitsProviderBundle;
62
+ styleTokensProviderBundle?: StyleTokensProviderBundle;
63
+ projectModuleBundle?: ProjectModuleBundle;
55
64
  reactWebExportedFiles?: Array<{
56
65
  fileName: string;
57
66
  content: string;
@@ -143,6 +152,8 @@ export interface ChecksumBundle {
143
152
  projectCssChecksum: string;
144
153
  globalContextsChecksum: string;
145
154
  splitsProviderChecksum: string;
155
+ styleTokensProviderChecksum: string;
156
+ projectModuleChecksum: string;
146
157
  }
147
158
  export interface CodeComponentMeta {
148
159
  id: string;