100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
{
"$schema": "https://unpkg.com/knip@5/schema-jsonc.json",
"ignore": ["**/*.stories.ts"],
"ignoreDependencies": [
"@types/react", // Required by mdx which is used in Storybook
"@webcomponents/webcomponentsjs", // Imported through index.html files for apps
"@types/offscreencanvas", // Referenced in the tsconfig file
"inter-ui", // Only imports CSS files
"@vaadin/vaadin-lumo-styles", // Only imports CSS files
"@openremote/theme", // Only imports CSS files
// --- HOISTED UTIL PACKAGE TOOLING ---
// Ignoring these stops Knip from flagging them as "Unused" in ui/util & ui/test
// AND stops Knip from flagging them as "Unlisted" when used by other workspaces.
"@custom-elements-manifest/analyzer",
"@rspack/cli",
"@typescript-eslint/eslint-plugin",
"@typescript-eslint/parser",
"@wc-toolkit/cem-inheritance",
"@wc-toolkit/jsx-types",
"@wc-toolkit/storybook-helpers",
"cross-env",
"css-loader",
"eslint",
"eslint-config-prettier",
"eslint-config-standard",
"eslint-plugin-import",
"eslint-plugin-lit",
"eslint-plugin-n",
"eslint-plugin-promise",
"eslint-plugin-wc",
"prettier",
"shx",
"source-map-loader",
"ts-loader",
],
"ignoreUnresolved": [
"./restclient", // Generated file
"./model", // Generated file
],
"rules": {
"binaries": "off",
"duplicates": "off",
"files": "off",
},
"workspaces": {
"ui/{app,component,demo}/*": {
"paths": {
"@openremote/util": ["../../util/rspack.util.js"],
},
},
"ui/util": {},
"ui/test": {},
},
// Explicitly activate the rspack plugin,
// because we only indirectly reference @rspack/core through the @openremote/util package
"rspack": true,
// Webpack loaders resolving doesn't work because they're referenced under the @openremote/util package
// "webpack": true,
// ESlint plugin resolving doesn't work because they're referenced under the @openremote/util package
// "eslint": ["ui/.eslintrc.json"],
// Storybook story dependency resolving doesn't work because those reference the @storybook/web-components dependency
// installed indirectly throught the @openremote/storybook app
// "storybook": true
}