chore: Cleanup dependencies * Move dotenv to root * update knip config * Fix more deps * More dep updates * more * more dep updates * Fix deps * Fix generate Approved-by: Linus Flood
89 lines
2.4 KiB
JSON
89 lines
2.4 KiB
JSON
{
|
|
"$schema": "https://unpkg.com/knip@5/schema.json",
|
|
"workspaces": {
|
|
".": {
|
|
"entry": [
|
|
"scripts/**/*.{ts,mts,mjs,js}",
|
|
"netlify/netlify-plugin-branch-sync/index.js"
|
|
],
|
|
"project": ["scripts/**/*.{ts,mts,mjs,js}"],
|
|
"ignoreDependencies": ["@scandic-hotels/*"]
|
|
},
|
|
"apps/scandic-web": {
|
|
"entry": [
|
|
"app/**/*.{ts,tsx}",
|
|
"auth.ts",
|
|
"auth.dtmc.ts",
|
|
"netlify/**/*.{ts,tsx,mts,js}"
|
|
],
|
|
"project": [
|
|
"**/*.{ts,tsx}",
|
|
"!**/*.stories.{ts,tsx}",
|
|
"!**/*.test.{ts,tsx}",
|
|
"!**/*.spec.{ts,tsx}"
|
|
],
|
|
"ignoreDependencies": ["@swc/plugin-formatjs", "eslint-plugin-import"]
|
|
},
|
|
"apps/partner-sas": {
|
|
"entry": ["app/**/*.{ts,tsx}", "auth.ts"],
|
|
"project": [
|
|
"**/*.{ts,tsx}",
|
|
"!**/*.stories.{ts,tsx}",
|
|
"!**/*.test.{ts,tsx}",
|
|
"!**/*.spec.{ts,tsx}"
|
|
],
|
|
"ignoreDependencies": ["@swc/plugin-formatjs", "eslint-plugin-import"]
|
|
},
|
|
"apps/redis-api": {
|
|
"entry": ["src/index.ts", "scripts/**/*.ts"],
|
|
"project": ["src/**/*.{ts,tsx}", "scripts/**/*.ts"]
|
|
},
|
|
"apps/scandic-redirect": {
|
|
"entry": ["netlify/**/*.{ts,tsx,mts,js}"],
|
|
"project": [
|
|
"netlify/**/*.{ts,tsx,mts,js}",
|
|
"scripts/**/*.{ts,tsx,mts,js}"
|
|
],
|
|
"ignoreDependencies": ["@netlify/functions"]
|
|
},
|
|
"packages/booking-flow": {
|
|
"project": ["**/*.{ts,tsx}"],
|
|
"ignoreDependencies": ["eslint-plugin-import"]
|
|
},
|
|
"packages/common": {
|
|
"project": ["**/*.{ts,tsx}", "!**/*.test.{ts,tsx}", "!**/*.spec.{ts,tsx}"]
|
|
},
|
|
"packages/design-system": {
|
|
"entry": [".storybook/content/**/*.{js,jsx,ts,tsx,mdx}"],
|
|
"project": [
|
|
"lib/**/*.{ts,tsx}",
|
|
"generate/**/*.ts",
|
|
".storybook/**/*.{js,jsx,ts,tsx,mts,mdx}"
|
|
],
|
|
"ignoreDependencies": [
|
|
"@typescript-eslint/eslint-plugin",
|
|
"eslint-plugin-react-hooks",
|
|
"eslint-plugin-storybook"
|
|
]
|
|
},
|
|
"packages/tracking": {
|
|
"project": ["**/*.{ts,tsx}"]
|
|
},
|
|
"packages/trpc": {
|
|
"project": ["**/*.{ts,tsx}"]
|
|
},
|
|
"packages/typescript-config": {
|
|
"entry": [],
|
|
"project": ["**/*.json"]
|
|
}
|
|
},
|
|
"ignoreDependencies": ["jsdom", "babel-plugin-formatjs"],
|
|
"ignore": [
|
|
"**/dist/**",
|
|
"**/build/**",
|
|
"**/.next/**",
|
|
"**/node_modules/**",
|
|
"**/netlify.toml"
|
|
]
|
|
}
|