Merged in chore/fix-dependencies (pull request #3470)
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
This commit is contained in:
31
knip.json
31
knip.json
@@ -6,7 +6,8 @@
|
||||
"scripts/**/*.{ts,mts,mjs,js}",
|
||||
"netlify/netlify-plugin-branch-sync/index.js"
|
||||
],
|
||||
"project": ["scripts/**/*.{ts,mts,mjs,js}"]
|
||||
"project": ["scripts/**/*.{ts,mts,mjs,js}"],
|
||||
"ignoreDependencies": ["@scandic-hotels/*"]
|
||||
},
|
||||
"apps/scandic-web": {
|
||||
"entry": [
|
||||
@@ -20,7 +21,8 @@
|
||||
"!**/*.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"],
|
||||
@@ -29,7 +31,8 @@
|
||||
"!**/*.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"],
|
||||
@@ -40,33 +43,41 @@
|
||||
"project": [
|
||||
"netlify/**/*.{ts,tsx,mts,js}",
|
||||
"scripts/**/*.{ts,tsx,mts,js}"
|
||||
]
|
||||
],
|
||||
"ignoreDependencies": ["@netlify/functions"]
|
||||
},
|
||||
"packages/booking-flow": {
|
||||
"project": ["lib/**/*.{ts,tsx}", "env/**/*.ts"]
|
||||
"project": ["**/*.{ts,tsx}"],
|
||||
"ignoreDependencies": ["eslint-plugin-import"]
|
||||
},
|
||||
"packages/common": {
|
||||
"project": ["**/*.{ts,tsx}", "!**/*.test.{ts,tsx}", "!**/*.spec.{ts,tsx}"]
|
||||
},
|
||||
"packages/design-system": {
|
||||
"entry": ["generate/generate.ts"],
|
||||
"entry": [".storybook/content/**/*.{js,jsx,ts,tsx,mdx}"],
|
||||
"project": [
|
||||
"lib/**/*.{ts,tsx}",
|
||||
".storybook/**/*.{ts,tsx}",
|
||||
"generate/**/*.ts"
|
||||
"generate/**/*.ts",
|
||||
".storybook/**/*.{js,jsx,ts,tsx,mts,mdx}"
|
||||
],
|
||||
"ignoreDependencies": [
|
||||
"@typescript-eslint/eslint-plugin",
|
||||
"eslint-plugin-react-hooks",
|
||||
"eslint-plugin-storybook"
|
||||
]
|
||||
},
|
||||
"packages/tracking": {
|
||||
"project": ["lib/**/*.{ts,tsx}"]
|
||||
"project": ["**/*.{ts,tsx}"]
|
||||
},
|
||||
"packages/trpc": {
|
||||
"project": ["lib/**/*.{ts,tsx}"]
|
||||
"project": ["**/*.{ts,tsx}"]
|
||||
},
|
||||
"packages/typescript-config": {
|
||||
"entry": [],
|
||||
"project": ["**/*.json"]
|
||||
}
|
||||
},
|
||||
"ignoreDependencies": ["jsdom", "babel-plugin-formatjs"],
|
||||
"ignore": [
|
||||
"**/dist/**",
|
||||
"**/build/**",
|
||||
|
||||
Reference in New Issue
Block a user