@procore/hammer-test-jest 0.7.0 → 0.8.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @procore/hammer-test-jest
2
2
 
3
+ ## 0.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 9407067: Add new general command `init` for hammer and all plugins
8
+ - a3dadc6: Update engine.node version with actual supported node versions
9
+
10
+ ### Patch Changes
11
+
12
+ - bbcfdd5: Fix REQUIRE_ESM error in reactSvg transform
13
+ - Updated dependencies [2aa7e7b]
14
+ - Updated dependencies [9407067]
15
+ - @procore/hammer-types@0.5.0
16
+
3
17
  ## 0.7.0
4
18
 
5
19
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as _procore_hammer_types from '@procore/hammer-types';
2
2
 
3
+ declare const init: (rootDir: string, config: _procore_hammer_types.HammerConfig) => Promise<void>;
3
4
  declare const test: (rootDir: string, config: _procore_hammer_types.HammerConfig, options: {
4
5
  watch: boolean;
5
6
  coverage: boolean;
@@ -10,4 +11,4 @@ declare const test: (rootDir: string, config: _procore_hammer_types.HammerConfig
10
11
  fileFilters?: string[];
11
12
  }) => Promise<void>;
12
13
 
13
- export { test };
14
+ export { init, test };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as _procore_hammer_types from '@procore/hammer-types';
2
2
 
3
+ declare const init: (rootDir: string, config: _procore_hammer_types.HammerConfig) => Promise<void>;
3
4
  declare const test: (rootDir: string, config: _procore_hammer_types.HammerConfig, options: {
4
5
  watch: boolean;
5
6
  coverage: boolean;
@@ -10,4 +11,4 @@ declare const test: (rootDir: string, config: _procore_hammer_types.HammerConfig
10
11
  fileFilters?: string[];
11
12
  }) => Promise<void>;
12
13
 
13
- export { test };
14
+ export { init, test };
package/dist/index.js CHANGED
@@ -30,12 +30,13 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
30
30
  // src/index.ts
31
31
  var src_exports = {};
32
32
  __export(src_exports, {
33
+ init: () => init,
33
34
  test: () => test
34
35
  });
35
36
  module.exports = __toCommonJS(src_exports);
36
37
 
37
- // ../../node_modules/.store/tsup-virtual-c87351f6b5/package/assets/cjs_shims.js
38
- var getImportMetaUrl = () => typeof document === "undefined" ? new URL("file:" + __filename).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
38
+ // ../../node_modules/.store/tsup-virtual-e96d96848d/package/assets/cjs_shims.js
39
+ var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
39
40
  var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
40
41
 
41
42
  // src/performTest.ts
@@ -238,12 +239,15 @@ async function performTest(options) {
238
239
  }
239
240
 
240
241
  // src/index.ts
241
- var { test } = {
242
+ var { init, test } = {
243
+ init: async function init2() {
244
+ },
242
245
  test: async function test2(rootDir, config, options) {
243
246
  await performTest({ ...options, rootDir, config });
244
247
  }
245
248
  };
246
249
  // Annotate the CommonJS export names for ESM import in node:
247
250
  0 && (module.exports = {
251
+ init,
248
252
  test
249
253
  });
package/dist/index.mjs CHANGED
@@ -198,11 +198,14 @@ async function performTest(options) {
198
198
  }
199
199
 
200
200
  // src/index.ts
201
- var { test } = {
201
+ var { init, test } = {
202
+ init: async function init2() {
203
+ },
202
204
  test: async function test2(rootDir, config, options) {
203
205
  await performTest({ ...options, rootDir, config });
204
206
  }
205
207
  };
206
208
  export {
209
+ init,
207
210
  test
208
211
  };
@@ -6,9 +6,9 @@ var __commonJS = (cb, mod) => function __require() {
6
6
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
7
7
  };
8
8
 
9
- // ../../node_modules/.store/tsup-virtual-c87351f6b5/package/assets/esm_shims.js
9
+ // ../../node_modules/.store/tsup-virtual-e96d96848d/package/assets/esm_shims.js
10
10
  var init_esm_shims = __esm({
11
- "../../node_modules/.store/tsup-virtual-c87351f6b5/package/assets/esm_shims.js"() {
11
+ "../../node_modules/.store/tsup-virtual-e96d96848d/package/assets/esm_shims.js"() {
12
12
  "use strict";
13
13
  }
14
14
  });