@secondlayer/cli 8.14.3 → 9.0.1
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/README.md +12 -8
- package/dist/cli.js +103 -7
- package/dist/cli.js.map +3 -3
- package/dist/plugins/index.d.ts +6 -19
- package/dist/plugins/index.js +172 -264
- package/dist/plugins/index.js.map +8 -10
- package/package.json +5 -5
package/dist/plugins/index.d.ts
CHANGED
|
@@ -287,6 +287,11 @@ interface ClarinetPluginOptions {
|
|
|
287
287
|
include?: string[];
|
|
288
288
|
/** Exclude specific contracts */
|
|
289
289
|
exclude?: string[];
|
|
290
|
+
/**
|
|
291
|
+
* Also generate interfaces for dependency contracts declared under
|
|
292
|
+
* `[project.requirements]` in Clarinet.toml (default: true).
|
|
293
|
+
*/
|
|
294
|
+
includeRequirements?: boolean;
|
|
290
295
|
/** Enable debug output */
|
|
291
296
|
debug?: boolean;
|
|
292
297
|
}
|
|
@@ -298,24 +303,6 @@ declare const clarinet: PluginFactory<ClarinetPluginOptions>;
|
|
|
298
303
|
* Utility function to check if a Clarinet project exists
|
|
299
304
|
*/
|
|
300
305
|
declare function hasClarinetProject(path?: string): Promise<boolean>;
|
|
301
|
-
interface ActionsPluginOptions {
|
|
302
|
-
/** Include only specific contracts */
|
|
303
|
-
include?: string[];
|
|
304
|
-
/** Exclude specific contracts */
|
|
305
|
-
exclude?: string[];
|
|
306
|
-
/** Include only specific functions */
|
|
307
|
-
includeFunctions?: string[];
|
|
308
|
-
/** Exclude specific functions */
|
|
309
|
-
excludeFunctions?: string[];
|
|
310
|
-
/** Enable debug output */
|
|
311
|
-
debug?: boolean;
|
|
312
|
-
/** Environment variable name for default sender key (default: "STX_SENDER_KEY") */
|
|
313
|
-
senderKeyEnv?: string;
|
|
314
|
-
}
|
|
315
|
-
/**
|
|
316
|
-
* Actions plugin factory
|
|
317
|
-
*/
|
|
318
|
-
declare const actions: PluginFactory<ActionsPluginOptions>;
|
|
319
306
|
/**
|
|
320
307
|
* React plugin configuration options
|
|
321
308
|
*/
|
|
@@ -361,4 +348,4 @@ declare function filterByOptions<T extends {
|
|
|
361
348
|
* Utility function to create a simple plugin
|
|
362
349
|
*/
|
|
363
350
|
declare function createPlugin(name: string, version: string, implementation: Partial<SecondLayerPlugin>): SecondLayerPlugin;
|
|
364
|
-
export { testing, react, hasClarinetProject, filterByOptions, createPlugin, clarinet,
|
|
351
|
+
export { testing, react, hasClarinetProject, filterByOptions, createPlugin, clarinet, TestingPluginOptions, SecondLayerPlugin, ReactPluginOptions, PluginUtils, PluginOptions, PluginManager, PluginFactory, PluginContext, Logger, GenerateContext, ClarinetPluginOptions, BasePluginOptions };
|