@procore/hammer-test-jest 0.7.0 → 0.9.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 +25 -0
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +7 -3
- package/dist/index.mjs +4 -1
- package/dist/transforms/file.mjs +2 -2
- package/dist/transforms/file.test.js +15935 -14016
- package/dist/transforms/file.test.mjs +15939 -14020
- package/dist/transforms/reactSvg.js +10 -2
- package/dist/transforms/reactSvg.mjs +11 -3
- package/dist/transforms/reactSvg.test.js +15956 -14028
- package/dist/transforms/reactSvg.test.mjs +15960 -14032
- package/package.json +17 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @procore/hammer-test-jest
|
|
2
2
|
|
|
3
|
+
## 0.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 63370d0: Upgrades @babel-scoped packages.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [5dd6e18]
|
|
12
|
+
- @procore/hammer-types@0.5.1
|
|
13
|
+
|
|
14
|
+
## 0.8.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- 9407067: Add new general command `init` for hammer and all plugins
|
|
19
|
+
- a3dadc6: Update engine.node version with actual supported node versions
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- bbcfdd5: Fix REQUIRE_ESM error in reactSvg transform
|
|
24
|
+
- Updated dependencies [2aa7e7b]
|
|
25
|
+
- Updated dependencies [9407067]
|
|
26
|
+
- @procore/hammer-types@0.5.0
|
|
27
|
+
|
|
3
28
|
## 0.7.0
|
|
4
29
|
|
|
5
30
|
### 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-
|
|
38
|
-
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(
|
|
38
|
+
// ../../node_modules/.store/tsup-virtual-a39005012c/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
|
};
|
package/dist/transforms/file.mjs
CHANGED
|
@@ -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-
|
|
9
|
+
// ../../node_modules/.store/tsup-virtual-a39005012c/package/assets/esm_shims.js
|
|
10
10
|
var init_esm_shims = __esm({
|
|
11
|
-
"../../node_modules/.store/tsup-virtual-
|
|
11
|
+
"../../node_modules/.store/tsup-virtual-a39005012c/package/assets/esm_shims.js"() {
|
|
12
12
|
"use strict";
|
|
13
13
|
}
|
|
14
14
|
});
|