@powerlines/plugin-jest 0.1.684 → 0.1.686
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/dist/index.cjs +3 -5
- package/dist/index.d.cts +0 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -2
- package/dist/index.mjs +1 -2
- package/dist/types/plugin.d.cts +0 -2
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +0 -2
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
2
|
+
// \0rolldown/runtime.js
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -25,15 +25,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
25
25
|
enumerable: true
|
|
26
26
|
}) : target, mod));
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
require('./types/index.cjs');
|
|
28
|
+
require("./types/index.cjs");
|
|
30
29
|
let _stryke_path_join = require("@stryke/path/join");
|
|
31
30
|
let chalk = require("chalk");
|
|
32
31
|
chalk = __toESM(chalk, 1);
|
|
33
32
|
let jest = require("jest");
|
|
34
33
|
let jest_util = require("jest-util");
|
|
35
34
|
|
|
36
|
-
|
|
35
|
+
// src/index.ts
|
|
37
36
|
/**
|
|
38
37
|
* Jest plugin for Powerlines.
|
|
39
38
|
*
|
|
@@ -130,5 +129,4 @@ ${chalk.default.bold(`Time:`)} ${(0, jest_util.formatTime)((Date.now() -
|
|
|
130
129
|
};
|
|
131
130
|
};
|
|
132
131
|
|
|
133
|
-
//#endregion
|
|
134
132
|
exports.plugin = plugin;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { JestPluginContext, JestPluginOptions, JestPluginResolvedConfig, JestPluginUserConfig } from "./types/plugin.cjs";
|
|
2
2
|
import "./types/index.cjs";
|
|
3
3
|
import { Plugin } from "powerlines";
|
|
4
|
-
//#region src/index.d.ts
|
|
5
4
|
declare module "powerlines" {
|
|
6
5
|
interface Config {
|
|
7
6
|
jest?: JestPluginOptions;
|
|
@@ -14,6 +13,5 @@ declare module "powerlines" {
|
|
|
14
13
|
* @returns A Powerlines plugin that integrates Jest testing.
|
|
15
14
|
*/
|
|
16
15
|
declare const plugin: <TContext extends JestPluginContext = JestPluginContext>(options?: JestPluginOptions) => Plugin<TContext>;
|
|
17
|
-
//#endregion
|
|
18
16
|
export { JestPluginContext, JestPluginOptions, JestPluginResolvedConfig, JestPluginUserConfig, plugin };
|
|
19
17
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;YA6BY;IACR,OAAO;;;;;;;;;cAUE,SAAU,iBAAiB,oBAAoB,mBAC1D,UAAS,sBACR,OAAO"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { JestPluginContext, JestPluginOptions, JestPluginResolvedConfig, JestPluginUserConfig } from "./types/plugin.mjs";
|
|
2
2
|
import "./types/index.mjs";
|
|
3
3
|
import { Plugin } from "powerlines";
|
|
4
|
-
//#region src/index.d.ts
|
|
5
4
|
declare module "powerlines" {
|
|
6
5
|
interface Config {
|
|
7
6
|
jest?: JestPluginOptions;
|
|
@@ -14,6 +13,5 @@ declare module "powerlines" {
|
|
|
14
13
|
* @returns A Powerlines plugin that integrates Jest testing.
|
|
15
14
|
*/
|
|
16
15
|
declare const plugin: <TContext extends JestPluginContext = JestPluginContext>(options?: JestPluginOptions) => Plugin<TContext>;
|
|
17
|
-
//#endregion
|
|
18
16
|
export { JestPluginContext, JestPluginOptions, JestPluginResolvedConfig, JestPluginUserConfig, plugin };
|
|
19
17
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import chalk from "chalk";
|
|
|
4
4
|
import { runCLI } from "jest";
|
|
5
5
|
import { formatTime, pluralize } from "jest-util";
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
// src/index.ts
|
|
8
8
|
/**
|
|
9
9
|
* Jest plugin for Powerlines.
|
|
10
10
|
*
|
|
@@ -101,6 +101,5 @@ ${chalk.bold(`Time:`)} ${formatTime((Date.now() - results.startTime) / 1e
|
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
103
|
|
|
104
|
-
//#endregion
|
|
105
104
|
export { plugin };
|
|
106
105
|
//# sourceMappingURL=index.mjs.map
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
2
2
|
import { Config } from "@jest/types";
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
3
|
interface JestPluginOptions {
|
|
5
4
|
/**
|
|
6
5
|
* Indicates that test coverage information should be collected and reported in the output.
|
|
@@ -208,6 +207,5 @@ interface JestPluginResolvedConfig extends ResolvedConfig {
|
|
|
208
207
|
};
|
|
209
208
|
}
|
|
210
209
|
type JestPluginContext<TResolvedConfig extends JestPluginResolvedConfig = JestPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
211
|
-
//#endregion
|
|
212
210
|
export { JestPluginContext, JestPluginOptions, JestPluginResolvedConfig, JestPluginUserConfig };
|
|
213
211
|
//# sourceMappingURL=plugin.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;UAqBiB;;;;;;EAMf;;;;;;EAOA;;;;;;EAOA;;;;EAKA;;;;EAKA;;;;EAKA;;;;;;EAOA;;;;EAKA;;;;EAKA;;;;EAKA;;;;;;EAOA;;;;EAKA;;;;EAKA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;EAKA;;;;;;;;EASA;;;;EAKA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA;;;;EAKA;;;;EAKA;;;;;;EAOA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;EAKA;;;;;;EAOA;;;;;;;;EASA;;UAGe,6BAA6B;EAC5C;;;;IAIE,MAAM,OAAO;;;UAIA,iCAAiC;EAChD;;;;IAIE,MAAM,OAAO;;;KAIL,kBACV,wBAAwB,2BAA2B,4BACjD,cAAc"}
|
package/dist/types/plugin.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PluginContext, ResolvedConfig, UserConfig } from "powerlines";
|
|
2
2
|
import { Config } from "@jest/types";
|
|
3
|
-
//#region src/types/plugin.d.ts
|
|
4
3
|
interface JestPluginOptions {
|
|
5
4
|
/**
|
|
6
5
|
* Indicates that test coverage information should be collected and reported in the output.
|
|
@@ -208,6 +207,5 @@ interface JestPluginResolvedConfig extends ResolvedConfig {
|
|
|
208
207
|
};
|
|
209
208
|
}
|
|
210
209
|
type JestPluginContext<TResolvedConfig extends JestPluginResolvedConfig = JestPluginResolvedConfig> = PluginContext<TResolvedConfig>;
|
|
211
|
-
//#endregion
|
|
212
210
|
export { JestPluginContext, JestPluginOptions, JestPluginResolvedConfig, JestPluginUserConfig };
|
|
213
211
|
//# sourceMappingURL=plugin.d.mts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-jest",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.686",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing the Jest testing plugin for Powerlines.",
|
|
6
6
|
"repository": {
|
|
@@ -103,13 +103,13 @@
|
|
|
103
103
|
"jest-config": "^30.5.2",
|
|
104
104
|
"jest-resolve": "^30.5.1",
|
|
105
105
|
"jest-util": "^30.5.1",
|
|
106
|
-
"powerlines": "^0.47.
|
|
106
|
+
"powerlines": "^0.47.216"
|
|
107
107
|
},
|
|
108
108
|
"devDependencies": {
|
|
109
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
109
|
+
"@powerlines/plugin-plugin": "^0.12.629",
|
|
110
110
|
"@types/jest": "^30.0.0"
|
|
111
111
|
},
|
|
112
112
|
"publishConfig": { "access": "public" },
|
|
113
113
|
"types": "./dist/index.d.cts",
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "75efa1cc4eb8bc90093202669065576aa70fbfef"
|
|
115
115
|
}
|