yo-unit 0.19.1 → 0.19.3

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.
@@ -6,6 +6,7 @@ interface YoTestOptions {
6
6
  params?: Record<string, unknown>;
7
7
  options?: Record<string, unknown>;
8
8
  build?: (...args: unknown[]) => void;
9
+ setupTmpDir?: (dir: string) => void;
9
10
  }
10
- declare const YoTest: ({ source, params, options, build }: YoTestOptions) => any;
11
+ declare const YoTest: ({ source, params, options, build, setupTmpDir }: YoTestOptions) => any;
11
12
  export { YoTest, assert };
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
- "version": "0.19.1",
2
+ "version": "0.19.3",
3
3
  "name": "yo-unit",
4
4
  "repository": {
5
5
  "type": "git",
6
- "url": "https://github.com/react-atomic/reshow",
7
- "directory": "packages/yo-unit"
6
+ "url": "https://github.com/modality-ai/yo-modality",
7
+ "directory": "yo-unit"
8
8
  },
9
- "homepage": "https://github.com/react-atomic/reshow/tree/main/packages/yo-unit",
9
+ "homepage": "https://github.com/modality-ai/yo-modality/tree/main/yo-unit",
10
10
  "description": "Yeoman test utility.",
11
11
  "keywords": [],
12
12
  "author": "Hill <hill@kimo.com>",
@@ -33,7 +33,7 @@
33
33
  "module": "./dist/index.js",
34
34
  "scripts": {
35
35
  "build:clean": "find ./dist -name '*.*' | xargs rm -rf",
36
- "build:src": "bun build src/index.ts --outdir dist --target node",
36
+ "build:src": "bun build src/index.ts --outdir dist --target node --external yeoman-environment --external yeoman-test --external yeoman-assert",
37
37
  "build:types": "bun tsc -p ./",
38
38
  "build": "npm run build:clean && npm run build:src && npm run build:types",
39
39
  "test": "npm run build && bun test --timeout 5000 ./src/__tests__/",