* move RAC to open source * move web out of enterprise Signed-off-by: Jens Langhammer <jens@goauthentik.io> * remove enterprise license requirements from RAC * format Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: Jens Langhammer <jens@goauthentik.io>
		
			
				
	
	
		
			49 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { type KnipConfig } from "knip";
 | 
						|
 | 
						|
const config: KnipConfig = {
 | 
						|
    "entry": [
 | 
						|
        "./src/admin/AdminInterface/AdminInterface.ts",
 | 
						|
        "./src/user/UserInterface.ts",
 | 
						|
        "./src/flow/FlowInterface.ts",
 | 
						|
        "./src/standalone/api-browser/index.ts",
 | 
						|
        "./src/rac/index.ts",
 | 
						|
        "./src/standalone/loading/index.ts",
 | 
						|
        "./src/polyfill/poly.ts",
 | 
						|
    ],
 | 
						|
    "project": ["src/**/*.ts", "src/**/*.js", "./scripts/*.mjs", ".storybook/*.ts"],
 | 
						|
    // "ignore": ["src/**/*.test.ts", "src/**/*.stories.ts"],
 | 
						|
    // Prevent Knip from complaining about web components, which export their classes but also
 | 
						|
    // export their registration, and we don't always use both.
 | 
						|
    "ignoreExportsUsedInFile": true,
 | 
						|
    "typescript": {
 | 
						|
        config: ["tsconfig.json"],
 | 
						|
    },
 | 
						|
    "wireit": {
 | 
						|
        config: ["package.json"],
 | 
						|
    },
 | 
						|
    "storybook": {
 | 
						|
        config: [".storybook/{main,test-runner}.{js,ts}"],
 | 
						|
        entry: [
 | 
						|
            ".storybook/{manager,preview}.{js,jsx,ts,tsx}",
 | 
						|
            "**/*.@(mdx|stories.@(mdx|js|jsx|mjs|ts|tsx))",
 | 
						|
        ],
 | 
						|
        project: [".storybook/**/*.{js,jsx,ts,tsx}"],
 | 
						|
    },
 | 
						|
    "eslint": {
 | 
						|
        entry: [
 | 
						|
            "eslint.config.mjs",
 | 
						|
            "scripts/eslint.precommit.mjs",
 | 
						|
            "scripts/eslint.nightmare.mjs",
 | 
						|
            "scripts/eslint-precommit.mjs",
 | 
						|
            "scripts/eslint-nightmare.mjs",
 | 
						|
            "scripts/eslint.mjs",
 | 
						|
        ],
 | 
						|
        config: ["package.json"],
 | 
						|
    },
 | 
						|
    "webdriver-io": {
 | 
						|
        config: ["wdio.conf.js"],
 | 
						|
    },
 | 
						|
};
 | 
						|
 | 
						|
export default config;
 |