@plasmicapp/cli 0.1.317 → 0.1.319

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/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Plasmic
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,5 @@
1
+ import { ChecksumBundle, ProjectMetaBundle } from "../api";
2
+ import { PlasmicContext, ProjectConfig, ProjectLock } from "../utils/config-utils";
3
+ export declare const DEFAULT_SPLITS_PROVIDER_NAME = "PlasmicSplitsProvider";
4
+ export declare function syncSplitsProvider(context: PlasmicContext, projectMeta: ProjectMetaBundle, projectConfig: ProjectConfig, projectLock: ProjectLock, checksums: ChecksumBundle, baseDir: string): Promise<void>;
5
+ export declare function getSplitsProviderResourcePath(context: PlasmicContext, projectConfig: ProjectConfig): string;
package/dist/api.d.ts CHANGED
@@ -29,6 +29,10 @@ export interface GlobalContextBundle {
29
29
  id: string;
30
30
  contextModule: string;
31
31
  }
32
+ export interface SplitsProviderBundle {
33
+ id: string;
34
+ module: string;
35
+ }
32
36
  export interface JsBundleTheme {
33
37
  themeFileName: string;
34
38
  themeModule: string;
@@ -41,6 +45,7 @@ export interface ProjectMetaBundle {
41
45
  cssRules: string;
42
46
  jsBundleThemes?: JsBundleTheme[];
43
47
  globalContextBundle?: GlobalContextBundle;
48
+ splitsProviderBundle?: SplitsProviderBundle;
44
49
  }
45
50
  export interface IconBundle {
46
51
  id: string;
@@ -127,6 +132,7 @@ export interface ChecksumBundle {
127
132
  globalVariantChecksums: Array<[string, string]>;
128
133
  projectCssChecksum: string;
129
134
  globalContextsChecksum: string;
135
+ splitsProviderChecksum: string;
130
136
  }
131
137
  export interface CodeComponentMeta {
132
138
  id: string;