@powerlines/plugin-jest 0.1.324 → 0.1.326

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.d.cts CHANGED
@@ -3,8 +3,8 @@ import "./types/index.cjs";
3
3
  import { Plugin } from "powerlines";
4
4
 
5
5
  //#region src/index.d.ts
6
- declare module "@powerlines/core" {
7
- interface BaseConfig {
6
+ declare module "powerlines" {
7
+ interface Config {
8
8
  jest?: JestPluginOptions;
9
9
  }
10
10
  }
package/dist/index.d.mts CHANGED
@@ -3,8 +3,8 @@ import "./types/index.mjs";
3
3
  import { Plugin } from "powerlines";
4
4
 
5
5
  //#region src/index.d.ts
6
- declare module "@powerlines/core" {
7
- interface BaseConfig {
6
+ declare module "powerlines" {
7
+ interface Config {
8
8
  jest?: JestPluginOptions;
9
9
  }
10
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":["config: Config.Argv"],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Config } from \"@jest/types\";\nimport { joinPaths } from \"@stryke/path/join\";\nimport chalk from \"chalk\";\nimport { runCLI } from \"jest\";\nimport { formatTime, pluralize } from \"jest-util\";\nimport { Plugin } from \"powerlines\";\nimport {\n JestPluginContext,\n JestPluginOptions,\n JestPluginUserConfig\n} from \"./types/plugin\";\n\nexport * from \"./types\";\n\ndeclare module \"@powerlines/core\" {\n interface BaseConfig {\n jest?: JestPluginOptions;\n }\n}\n\n/**\n * Jest plugin for Powerlines.\n *\n * @param options - The Jest plugin user configuration options.\n * @returns A Powerlines plugin that integrates Jest testing.\n */\nexport const plugin = <TContext extends JestPluginContext = JestPluginContext>(\n options: JestPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"jest\",\n async config() {\n const config: Config.Argv = {\n $0: undefined as unknown as string,\n _: [],\n coverage: options.codeCoverage,\n bail: options.bail,\n cache: true,\n cacheDirectory: joinPaths(this.cachePath, \"jest\"),\n ci: options.ci,\n color: options.colors ?? true,\n debug: this.config.mode === \"development\",\n detectOpenHandles: options.detectOpenHandles,\n forceExit: options.forceExit,\n logHeapUsage: options.logHeapUsage,\n detectLeaks: options.detectLeaks,\n json: options.json,\n maxWorkers: options.maxWorkers,\n onlyChanged: options.onlyChanged,\n changedSince: options.changedSince,\n outputFile: options.outputFile,\n passWithNoTests: options.passWithNoTests,\n runInBand: options.runInBand,\n showConfig: options.showConfig,\n silent: options.silent,\n testLocationInResults: options.testLocationInResults,\n testNamePattern: options.testNamePattern,\n testPathPatterns: options.testPathPatterns,\n testPathIgnorePatterns: options.testPathIgnorePatterns,\n testTimeout: options.testTimeout,\n colors: options.colors ?? true,\n verbose: options.verbose,\n testResultsProcessor: options.testResultsProcessor,\n updateSnapshot: options.updateSnapshot,\n useStderr: options.useStderr,\n watch: options.watch,\n watchAll: options.watchAll,\n randomize: options.randomize\n };\n\n if (options.testFile) {\n config._.push(options.testFile);\n }\n\n if (options.findRelatedTests) {\n const parsedTests = options.findRelatedTests.map(s => s.trim());\n config._.push(...parsedTests);\n config.findRelatedTests = true;\n }\n\n if (options.coverageDirectory) {\n config.coverageDirectory = joinPaths(\n this.workspaceConfig.workspaceRoot,\n options.coverageDirectory\n );\n }\n\n if (options.clearCache) {\n config.clearCache = true;\n }\n\n if (options.reporters && options.reporters.length > 0) {\n config.reporters = options.reporters;\n }\n\n if (\n Array.isArray(options.coverageReporters) &&\n options.coverageReporters.length > 0\n ) {\n config.coverageReporters = options.coverageReporters;\n }\n\n return {\n test: {\n jest: config\n }\n } as Partial<JestPluginUserConfig>;\n },\n async test() {\n if (this.config.test.jest) {\n const { results } = await runCLI(this.config.test.jest, [\n joinPaths(this.workspaceConfig.workspaceRoot, this.config.root)\n ]);\n\n const snapshotResults = results.snapshot;\n const snapshotsAdded = snapshotResults.added;\n const snapshotsFailed = snapshotResults.unmatched;\n const snapshotsOutdated = snapshotResults.unchecked;\n const snapshotsFilesRemoved = snapshotResults.filesRemoved;\n const snapshotsDidUpdate = snapshotResults.didUpdate;\n const snapshotsPassed = snapshotResults.matched;\n const snapshotsTotal = snapshotResults.total;\n const snapshotsUpdated = snapshotResults.updated;\n const suitesFailed = results.numFailedTestSuites;\n const suitesPassed = results.numPassedTestSuites;\n const suitesPending = results.numPendingTestSuites;\n const suitesRun = suitesFailed + suitesPassed;\n const suitesTotal = results.testResults.length;\n const testsFailed = results.numFailedTests;\n const testsPassed = results.numPassedTests;\n const testsPending = results.numPendingTests;\n const testsTodo = results.numTodoTests;\n const testsTotal = results.numTotalTests;\n\n const suites = `${\n chalk.bold(\"Test Suites: \") +\n (suitesFailed\n ? `${chalk.bold(chalk.red(`${suitesFailed} failed`))}, `\n : \"\") +\n (suitesPending\n ? `${chalk.bold(chalk.yellow(`${suitesPending} skipped`))}, `\n : \"\") +\n (suitesPassed\n ? `${chalk.bold(chalk.green(`${suitesPassed} passed`))}, `\n : \"\") +\n (suitesRun !== suitesTotal\n ? `${suitesRun} of ${suitesTotal}`\n : suitesTotal)\n } total`;\n\n const tests = `${\n chalk.bold(\"Tests: \") +\n (testsFailed > 0\n ? `${chalk.bold(chalk.red(`${testsFailed} failed`))}, `\n : \"\") +\n (testsPending > 0\n ? `${chalk.bold(chalk.yellow(`${testsPending} skipped`))}, `\n : \"\") +\n (testsTodo > 0\n ? `${chalk.bold(chalk.magenta(`${testsTodo} todo`))}, `\n : \"\") +\n (testsPassed > 0\n ? `${chalk.bold(chalk.green(`${testsPassed} passed`))}, `\n : \"\")\n }${testsTotal} total`;\n\n const snapshots = `${\n chalk.bold(\"Snapshots: \") +\n (snapshotsFailed\n ? `${chalk.bold(chalk.red(`${snapshotsFailed} failed`))}, `\n : \"\") +\n (snapshotsOutdated && !snapshotsDidUpdate\n ? `${chalk.bold(chalk.yellow(`${snapshotsOutdated} obsolete`))}, `\n : \"\") +\n (snapshotsOutdated && snapshotsDidUpdate\n ? `${chalk.bold(chalk.green(`${snapshotsOutdated} removed`))}, `\n : \"\") +\n (snapshotsFilesRemoved && !snapshotsDidUpdate\n ? `${chalk.bold(\n chalk.yellow(\n `${pluralize(\"file\", snapshotsFilesRemoved)} obsolete`\n )\n )}, `\n : \"\") +\n (snapshotsFilesRemoved && snapshotsDidUpdate\n ? `${chalk.bold(\n chalk.green(\n `${pluralize(\"file\", snapshotsFilesRemoved)} removed`\n )\n )}, `\n : \"\") +\n (snapshotsUpdated\n ? `${chalk.bold(chalk.green(`${snapshotsUpdated} updated`))}, `\n : \"\") +\n (snapshotsAdded\n ? `${chalk.bold(chalk.green(`${snapshotsAdded} written`))}, `\n : \"\") +\n (snapshotsPassed\n ? `${chalk.bold(chalk.green(`${snapshotsPassed} passed`))}, `\n : \"\")\n }${snapshotsTotal} total`;\n\n this.info(\n `\n${chalk.bold(`Test result summary:`)}\n${suites}\n${tests}\n${snapshots}\n${chalk.bold(`Time:`)} ${formatTime((Date.now() - results.startTime) / 1000)}\n `\n );\n }\n }\n } as Plugin<TContext>;\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;;;;;AA4CA,MAAa,UACX,UAA6B,EAAE,KACV;AACrB,QAAO;EACL,MAAM;EACN,MAAM,SAAS;GACb,MAAMA,SAAsB;IAC1B,IAAI;IACJ,GAAG,EAAE;IACL,UAAU,QAAQ;IAClB,MAAM,QAAQ;IACd,OAAO;IACP,gBAAgB,UAAU,KAAK,WAAW,OAAO;IACjD,IAAI,QAAQ;IACZ,OAAO,QAAQ,UAAU;IACzB,OAAO,KAAK,OAAO,SAAS;IAC5B,mBAAmB,QAAQ;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,WAAW;IAEd,MAAM,YAAY,GAChB,MAAM,KAAK,gBAAgB,IAC1B,kBACG,GAAG,MAAM,KAAK,MAAM,IAAI,GAAG,gBAAgB,SAAS,CAAC,CAAC,MACtD,OACH,qBAAqB,CAAC,qBACnB,GAAG,MAAM,KAAK,MAAM,OAAO,GAAG,kBAAkB,WAAW,CAAC,CAAC,MAC7D,OACH,qBAAqB,qBAClB,GAAG,MAAM,KAAK,MAAM,MAAM,GAAG,kBAAkB,UAAU,CAAC,CAAC,MAC3D,OACH,yBAAyB,CAAC,qBACvB,GAAG,MAAM,KACP,MAAM,OACJ,GAAG,UAAU,QAAQ,sBAAsB,CAAC,WAC7C,CACF,CAAC,MACF,OACH,yBAAyB,qBACtB,GAAG,MAAM,KACP,MAAM,MACJ,GAAG,UAAU,QAAQ,sBAAsB,CAAC,UAC7C,CACF,CAAC,MACF,OACH,mBACG,GAAG,MAAM,KAAK,MAAM,MAAM,GAAG,iBAAiB,UAAU,CAAC,CAAC,MAC1D,OACH,iBACG,GAAG,MAAM,KAAK,MAAM,MAAM,GAAG,eAAe,UAAU,CAAC,CAAC,MACxD,OACH,kBACG,GAAG,MAAM,KAAK,MAAM,MAAM,GAAG,gBAAgB,SAAS,CAAC,CAAC,MACxD,MACH,eAAe;AAElB,SAAK,KACH;EACR,MAAM,KAAK,uBAAuB,CAAC;EACnC,OAAO;EACP,MAAM;EACN,UAAU;EACV,MAAM,KAAK,QAAQ,CAAC,UAAU,YAAY,KAAK,KAAK,GAAG,QAAQ,aAAa,IAAK,CAAC;QAE3E;;;EAGN;;AAGH,kBAAe"}
1
+ {"version":3,"file":"index.mjs","names":["config: Config.Argv"],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Config } from \"@jest/types\";\nimport { joinPaths } from \"@stryke/path/join\";\nimport chalk from \"chalk\";\nimport { runCLI } from \"jest\";\nimport { formatTime, pluralize } from \"jest-util\";\nimport { Plugin } from \"powerlines\";\nimport {\n JestPluginContext,\n JestPluginOptions,\n JestPluginUserConfig\n} from \"./types/plugin\";\n\nexport * from \"./types\";\n\ndeclare module \"powerlines\" {\n interface Config {\n jest?: JestPluginOptions;\n }\n}\n\n/**\n * Jest plugin for Powerlines.\n *\n * @param options - The Jest plugin user configuration options.\n * @returns A Powerlines plugin that integrates Jest testing.\n */\nexport const plugin = <TContext extends JestPluginContext = JestPluginContext>(\n options: JestPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"jest\",\n async config() {\n const config: Config.Argv = {\n $0: undefined as unknown as string,\n _: [],\n coverage: options.codeCoverage,\n bail: options.bail,\n cache: true,\n cacheDirectory: joinPaths(this.cachePath, \"jest\"),\n ci: options.ci,\n color: options.colors ?? true,\n debug: this.config.mode === \"development\",\n detectOpenHandles: options.detectOpenHandles,\n forceExit: options.forceExit,\n logHeapUsage: options.logHeapUsage,\n detectLeaks: options.detectLeaks,\n json: options.json,\n maxWorkers: options.maxWorkers,\n onlyChanged: options.onlyChanged,\n changedSince: options.changedSince,\n outputFile: options.outputFile,\n passWithNoTests: options.passWithNoTests,\n runInBand: options.runInBand,\n showConfig: options.showConfig,\n silent: options.silent,\n testLocationInResults: options.testLocationInResults,\n testNamePattern: options.testNamePattern,\n testPathPatterns: options.testPathPatterns,\n testPathIgnorePatterns: options.testPathIgnorePatterns,\n testTimeout: options.testTimeout,\n colors: options.colors ?? true,\n verbose: options.verbose,\n testResultsProcessor: options.testResultsProcessor,\n updateSnapshot: options.updateSnapshot,\n useStderr: options.useStderr,\n watch: options.watch,\n watchAll: options.watchAll,\n randomize: options.randomize\n };\n\n if (options.testFile) {\n config._.push(options.testFile);\n }\n\n if (options.findRelatedTests) {\n const parsedTests = options.findRelatedTests.map(s => s.trim());\n config._.push(...parsedTests);\n config.findRelatedTests = true;\n }\n\n if (options.coverageDirectory) {\n config.coverageDirectory = joinPaths(\n this.workspaceConfig.workspaceRoot,\n options.coverageDirectory\n );\n }\n\n if (options.clearCache) {\n config.clearCache = true;\n }\n\n if (options.reporters && options.reporters.length > 0) {\n config.reporters = options.reporters;\n }\n\n if (\n Array.isArray(options.coverageReporters) &&\n options.coverageReporters.length > 0\n ) {\n config.coverageReporters = options.coverageReporters;\n }\n\n return {\n test: {\n jest: config\n }\n } as Partial<JestPluginUserConfig>;\n },\n async test() {\n if (this.config.test.jest) {\n const { results } = await runCLI(this.config.test.jest, [\n joinPaths(this.workspaceConfig.workspaceRoot, this.config.root)\n ]);\n\n const snapshotResults = results.snapshot;\n const snapshotsAdded = snapshotResults.added;\n const snapshotsFailed = snapshotResults.unmatched;\n const snapshotsOutdated = snapshotResults.unchecked;\n const snapshotsFilesRemoved = snapshotResults.filesRemoved;\n const snapshotsDidUpdate = snapshotResults.didUpdate;\n const snapshotsPassed = snapshotResults.matched;\n const snapshotsTotal = snapshotResults.total;\n const snapshotsUpdated = snapshotResults.updated;\n const suitesFailed = results.numFailedTestSuites;\n const suitesPassed = results.numPassedTestSuites;\n const suitesPending = results.numPendingTestSuites;\n const suitesRun = suitesFailed + suitesPassed;\n const suitesTotal = results.testResults.length;\n const testsFailed = results.numFailedTests;\n const testsPassed = results.numPassedTests;\n const testsPending = results.numPendingTests;\n const testsTodo = results.numTodoTests;\n const testsTotal = results.numTotalTests;\n\n const suites = `${\n chalk.bold(\"Test Suites: \") +\n (suitesFailed\n ? `${chalk.bold(chalk.red(`${suitesFailed} failed`))}, `\n : \"\") +\n (suitesPending\n ? `${chalk.bold(chalk.yellow(`${suitesPending} skipped`))}, `\n : \"\") +\n (suitesPassed\n ? `${chalk.bold(chalk.green(`${suitesPassed} passed`))}, `\n : \"\") +\n (suitesRun !== suitesTotal\n ? `${suitesRun} of ${suitesTotal}`\n : suitesTotal)\n } total`;\n\n const tests = `${\n chalk.bold(\"Tests: \") +\n (testsFailed > 0\n ? `${chalk.bold(chalk.red(`${testsFailed} failed`))}, `\n : \"\") +\n (testsPending > 0\n ? `${chalk.bold(chalk.yellow(`${testsPending} skipped`))}, `\n : \"\") +\n (testsTodo > 0\n ? `${chalk.bold(chalk.magenta(`${testsTodo} todo`))}, `\n : \"\") +\n (testsPassed > 0\n ? `${chalk.bold(chalk.green(`${testsPassed} passed`))}, `\n : \"\")\n }${testsTotal} total`;\n\n const snapshots = `${\n chalk.bold(\"Snapshots: \") +\n (snapshotsFailed\n ? `${chalk.bold(chalk.red(`${snapshotsFailed} failed`))}, `\n : \"\") +\n (snapshotsOutdated && !snapshotsDidUpdate\n ? `${chalk.bold(chalk.yellow(`${snapshotsOutdated} obsolete`))}, `\n : \"\") +\n (snapshotsOutdated && snapshotsDidUpdate\n ? `${chalk.bold(chalk.green(`${snapshotsOutdated} removed`))}, `\n : \"\") +\n (snapshotsFilesRemoved && !snapshotsDidUpdate\n ? `${chalk.bold(\n chalk.yellow(\n `${pluralize(\"file\", snapshotsFilesRemoved)} obsolete`\n )\n )}, `\n : \"\") +\n (snapshotsFilesRemoved && snapshotsDidUpdate\n ? `${chalk.bold(\n chalk.green(\n `${pluralize(\"file\", snapshotsFilesRemoved)} removed`\n )\n )}, `\n : \"\") +\n (snapshotsUpdated\n ? `${chalk.bold(chalk.green(`${snapshotsUpdated} updated`))}, `\n : \"\") +\n (snapshotsAdded\n ? `${chalk.bold(chalk.green(`${snapshotsAdded} written`))}, `\n : \"\") +\n (snapshotsPassed\n ? `${chalk.bold(chalk.green(`${snapshotsPassed} passed`))}, `\n : \"\")\n }${snapshotsTotal} total`;\n\n this.info(\n `\n${chalk.bold(`Test result summary:`)}\n${suites}\n${tests}\n${snapshots}\n${chalk.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MAAM,KAAK,uBAAuB,CAAC;EACnC,OAAO;EACP,MAAM;EACN,UAAU;EACV,MAAM,KAAK,QAAQ,CAAC,UAAU,YAAY,KAAK,KAAK,GAAG,QAAQ,aAAa,IAAK,CAAC;QAE3E;;;EAGN;;AAGH,kBAAe"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-jest",
3
- "version": "0.1.324",
3
+ "version": "0.1.326",
4
4
  "type": "module",
5
5
  "description": "A package containing the Jest testing plugin for Powerlines.",
6
6
  "repository": {
@@ -99,14 +99,14 @@
99
99
  "jest-config": "^30.2.0",
100
100
  "jest-resolve": "^30.2.0",
101
101
  "jest-util": "^30.2.0",
102
- "powerlines": "^0.40.3"
102
+ "powerlines": "^0.40.5"
103
103
  },
104
104
  "devDependencies": {
105
105
  "@jest/types": "^30.2.0",
106
- "@powerlines/plugin-plugin": "^0.12.267",
106
+ "@powerlines/plugin-plugin": "^0.12.269",
107
107
  "@types/jest": "^30.0.0"
108
108
  },
109
109
  "publishConfig": { "access": "public" },
110
110
  "types": "./dist/index.d.cts",
111
- "gitHead": "50b8a5ce8e5dbafd182ff7c8659469af86eef47c"
111
+ "gitHead": "842d89a4d59dd40606518bc727bfc31e3219b941"
112
112
  }