dependency-cruiser
Advanced tools
Comparing version 15.4.0 to 15.5.0
{ | ||
"name": "dependency-cruiser", | ||
"version": "15.4.0", | ||
"version": "15.5.0", | ||
"description": "Validate and visualize dependencies. With your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.", | ||
@@ -54,29 +54,39 @@ "keywords": [ | ||
".": { | ||
"import": "./src/main/index.mjs", | ||
"types": "./types/dependency-cruiser.d.ts" | ||
"types": "./types/dependency-cruiser.d.mts", | ||
"import": "./src/main/index.mjs" | ||
}, | ||
"./config-utl/extract-babel-config": { | ||
"import": "./src/config-utl/extract-babel-config.mjs", | ||
"types": "./types/extract-babel-config.d.ts" | ||
"types": "./types/config-utl/extract-babel-config.d.mts", | ||
"import": "./src/config-utl/extract-babel-config.mjs" | ||
}, | ||
"./config-utl/extract-depcruise-config": { | ||
"import": "./src/config-utl/extract-depcruise-config/index.mjs", | ||
"types": "./types/extract-depcruise-config.d.ts" | ||
"types": "./types/config-utl/extract-depcruise-config.d.mts", | ||
"import": "./src/config-utl/extract-depcruise-config/index.mjs" | ||
}, | ||
"./config-utl/extract-ts-config": { | ||
"import": "./src/config-utl/extract-ts-config.mjs", | ||
"types": "./types/extract-ts-config.d.ts" | ||
"types": "./types/config-utl/extract-ts-config.d.mts", | ||
"import": "./src/config-utl/extract-ts-config.mjs" | ||
}, | ||
"./config-utl/extract-webpack-resolve-config": { | ||
"import": "./src/config-utl/extract-webpack-resolve-config.mjs", | ||
"types": "./types/extract-webpack-resolve-config.d.ts" | ||
"types": "./types/config-utl/extract-webpack-resolve-config.d.mts", | ||
"import": "./src/config-utl/extract-webpack-resolve-config.mjs" | ||
}, | ||
"./sample-reporter-plugin": "./configs/plugins/stats-reporter-plugin.mjs", | ||
"./sample-3d-reporter-plugin": "./configs/plugins/3d-reporter-plugin.mjs", | ||
"./mermaid-reporter-plugin": "./src/report/mermaid.mjs" | ||
"./sample-reporter-plugin": { | ||
"types": "./types/plugins/stats-reporter-plugin.d.mts", | ||
"import": "./configs/plugins/stats-reporter-plugin.mjs" | ||
}, | ||
"./sample-3d-reporter-plugin": { | ||
"types": "./types/plugins/3d-reporter-plugin.d.mts", | ||
"import": "./configs/plugins/3d-reporter-plugin.mjs" | ||
}, | ||
"./mermaid-reporter-plugin": { | ||
"types": "./types/plugins/mermaid-reporter-plugin.d.mts", | ||
"import": "./src/report/mermaid.mjs" | ||
} | ||
}, | ||
"types": "types/dependency-cruiser.d.ts", | ||
"types": "types/dependency-cruiser.d.mts", | ||
"files": [ | ||
"bin", | ||
"configs/**/*.js", | ||
"configs/plugins/", | ||
"src", | ||
@@ -87,3 +97,3 @@ "!src/**/*.json", | ||
"!**/*.DS_Store", | ||
"types/*.d.ts", | ||
"types/**/*.d.mts", | ||
"LICENSE", | ||
@@ -108,3 +118,3 @@ "package.json", | ||
"depcruise:graph:doc:fmt-schema": "cd tools/schema && node ../../bin/dependency-cruise.mjs . --output-type dot | dot -T svg | tee ../overview.svg | node ../../bin/wrap-stream-in-html.mjs > ../../docs/schema-overview.html && cd -", | ||
"depcruise:graph:doc:fmt-types": "cd types && node ../bin/dependency-cruise.mjs . --output-type dot | dot -T svg > overview.svg && cd -", | ||
"depcruise:graph:doc:fmt-types": "cd types && node ../bin/dependency-cruise.mjs . --output-type dot | dot -T svg | tee overview.svg | ../bin/wrap-stream-in-html.mjs > overview.html && cd -", | ||
"depcruise:graph:doc:samples": "sh tools/generate-samples.sh", | ||
@@ -119,4 +129,4 @@ "depcruise:graph:mermaid": "node ./bin/dependency-cruise.mjs bin src --include-only ^src/ --collapse 2 --output-type mermaid", | ||
"depcruise:reaches": "node ./bin/dependency-cruise.mjs src bin test configs types tools --progress --no-cache --config configs/.dependency-cruiser-unlimited.mjs --output-type text --reaches", | ||
"format": "prettier --log-level warn --write \"src/**/*.js\" \"configs/**/*.js\" \"tools/**/*.mjs\" \"bin/*\" \"types/*.d.ts\" \"test/**/*.spec.{cjs,js}\" \"test/**/*.{spec,utl}.mjs\"", | ||
"format:check": "prettier --log-level warn --check \"src/**/*.js\" \"configs/**/*.js\" \"tools/**/*.mjs\" \"bin/*\" \"types/*.d.ts\" \"test/**/*.spec.{cjs,js}\" \"test/**/*.{spec,utl}.mjs\"", | ||
"format": "prettier --log-level warn --write \"src/**/*.js\" \"configs/**/*.js\" \"tools/**/*.mjs\" \"bin/*\" \"types/*.d.mts\" \"test/**/*.spec.{cjs,js}\" \"test/**/*.{spec,utl}.mjs\"", | ||
"format:check": "prettier --log-level warn --check \"src/**/*.js\" \"configs/**/*.js\" \"tools/**/*.mjs\" \"bin/*\" \"types/*.d.mts\" \"test/**/*.spec.{cjs,js}\" \"test/**/*.{spec,utl}.mjs\"", | ||
"lint": "npm-run-all --parallel --aggregate-output lint:eslint format:check lint:types", | ||
@@ -129,4 +139,4 @@ "lint:eslint": "eslint bin/dependency-cruise.mjs bin src test configs tools/**/*.mjs --cache --cache-location node_modules/.cache/eslint/", | ||
"lint:types:tsc": "tsc --project types/tsconfig.json", | ||
"lint:types:lint": "eslint --no-ignore --config types/.eslintrc.json types/*.d.ts", | ||
"lint:types:fix": "eslint --no-ignore --config types/.eslintrc.json --fix types/*.d.ts", | ||
"lint:types:lint": "eslint --no-ignore --config types/.eslintrc.json types/*.d.mts", | ||
"lint:types:fix": "eslint --no-ignore --config types/.eslintrc.json --fix types/*.d.mts", | ||
"prepare": "husky install", | ||
@@ -194,7 +204,7 @@ "scm:push": "run-p --aggregate-output scm:push:*", | ||
"@types/lodash": "4.14.202", | ||
"@types/node": "20.9.3", | ||
"@types/node": "20.10.0", | ||
"@types/prompts": "2.4.9", | ||
"@typescript-eslint/eslint-plugin": "6.12.0", | ||
"@typescript-eslint/parser": "6.12.0", | ||
"@vue/compiler-sfc": "3.3.8", | ||
"@vue/compiler-sfc": "3.3.9", | ||
"c8": "8.0.1", | ||
@@ -201,0 +211,0 @@ "coffeescript": "2.7.0", |
import type { | ||
IAvailableExtension, | ||
IAvailableTranspiler, | ||
} from "../../../types/dependency-cruiser.d.ts"; | ||
} from "../../../types/dependency-cruiser.d.mts"; | ||
@@ -6,0 +6,0 @@ export interface ITranspilerWrapper { |
// workaround to nodenext shenanigans with the TypeScript compiler | ||
// see https://github.com/sverweij/dependency-cruiser/issues/754 | ||
// eslint-disable-next-line node/no-unpublished-import | ||
export * from "../../types/dependency-cruiser"; | ||
export type * from "../../types/dependency-cruiser.mjs"; |
/* generated - don't edit */ | ||
module.exports = { | ||
version: "15.4.0", | ||
version: "15.5.0", | ||
engines: { | ||
@@ -6,0 +6,0 @@ node: "^18.17||>=20", |
/* eslint-disable node/no-unpublished-import */ | ||
import { | ||
import type { | ||
IDependency, | ||
@@ -7,5 +7,5 @@ IFolder, | ||
IModule, | ||
IFlattenedRuleSet, | ||
} from "../../types/cruise-result"; | ||
import { SeverityType } from "../../types/shared-types"; | ||
} from "../../types/cruise-result.mjs"; | ||
import type { IFlattenedRuleSet } from "../../types/rule-set.mjs"; | ||
import type { SeverityType } from "../../types/shared-types.mjs"; | ||
@@ -12,0 +12,0 @@ export interface IValidationResult { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
608254
230
14440