harmonyc 0.16.0 → 0.16.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "harmonyc",
3
3
  "description": "Harmony Code - model-driven BDD for Vitest",
4
- "version": "0.16.0",
4
+ "version": "0.16.1",
5
5
  "author": "Bernát Kalló",
6
6
  "type": "module",
7
7
  "bin": {
package/vitest.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ import type { Plugin } from 'vite'
2
+ export interface HarmonyPluginOptions {
3
+ watchDir: string
4
+ }
5
+ declare const harmony: (opts: HarmonyPluginOptions) => Plugin
6
+ export default harmony
package/test.d.ts DELETED
@@ -1,7 +0,0 @@
1
- type FeatureContext = {
2
- Action(s: string): Promise<void>
3
- Action(s: string, fn: Function): void
4
- Response(s: string): Promise<void>
5
- Response(s: string, fn: Function): void
6
- }
7
- export function Feature(name: string, fn: (ctx: FeatureContext) => void): void