Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"esbenp.prettier-vscode",
"bradlc.vscode-tailwindcss",
"svelte.svelte-vscode",
"yoavbls.pretty-ts-errors"
"yoavbls.pretty-ts-errors",
"webpro.vscode-knip"
]
}
25 changes: 25 additions & 0 deletions knip.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import type { KnipConfig } from 'knip';

const config: KnipConfig = {
entry: [
'.github/scripts/**/*',
'./plugins/**/*',
'./scripts/**/*',
'./tests/**/*',
'./utilities/**/*',
'./temporal/**/*',
],
project: ['**/*.{svelte,css,js,cjs,mjs,ts}'],
ignore: [
// Is actually used via path.resolve in ./src/routes/(app)/render/+server.ts
'./src/markdown.reset.css',
],
// from ./utilities/temporal-server.ts and ./utilities/ui-server.ts
ignoreBinaries: ['which', 'server', 'go', 'air', 'make', 'start'],
ignoreDependencies: [
// unclear if needed by @codemirror/language
'@codemirror/language-data',
],
};

export default config;
41 changes: 7 additions & 34 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@
"run-workflows": "esno scripts/run-workflows.ts",
"audit:tailwind": "esno scripts/audit-tailwind-colors",
"audit:holocene-props": "esno scripts/generate-holocene-props.ts",
"validate:versions": "./scripts/validate-versions.sh"
"validate:versions": "./scripts/validate-versions.sh",
"knip": "knip"
},
"dependencies": {
"@codemirror/autocomplete": "^6.18.7",
Expand All @@ -97,8 +98,8 @@
"@sveltejs/package": "^2.3.10",
"class-variance-authority": "^0.7.0",
"danger": "^13.0.5",
"date-fns": "^2.29.3",
"date-fns-tz": "^1.3.7",
"date-fns": "2.29.x",
"date-fns-tz": "1.3.x",
"esm-env": "^1.0.0",
"hast-util-sanitize": "^5.0.1",
"hast-util-to-html": "^9.0.1",
Expand All @@ -109,7 +110,6 @@
"just-debounce": "^1.1.0",
"just-throttle": "^4.2.0",
"kebab-case": "^1.0.2",
"lodash.groupby": "^4.6.0",
"mdast-util-from-markdown": "^2.0.1",
"mdast-util-to-hast": "^13.2.0",
"remark-stringify": "^10.0.3",
Expand All @@ -122,21 +122,16 @@
"devDependencies": {
"@axe-core/playwright": "^4.10.1",
"@babel/core": "^7.20.12",
"@babel/preset-typescript": "^7.18.6",
"@chromatic-com/storybook": "^3.2.6",
"@eslint/js": "^9.39.2",
"@grpc/grpc-js": "^1.8.22",
"@playwright/test": "^1.55.1",
"@storybook/addon-a11y": "^8.6.18",
"@storybook/addon-actions": "^8.6.18",
"@storybook/addon-docs": "^8.6.18",
"@storybook/addon-essentials": "^8.6.18",
"@storybook/addon-interactions": "^8.6.18",
"@storybook/addon-links": "^8.6.18",
"@storybook/addon-svelte-csf": "^5.0.10",
"@storybook/addon-themes": "^8.6.18",
"@storybook/blocks": "^8.6.18",
"@storybook/icons": "^1.4.0",
"@storybook/svelte": "^8.6.18",
"@storybook/sveltekit": "^8.6.18",
"@storybook/test": "^8.6.18",
Expand All @@ -149,31 +144,22 @@
"@temporalio/client": "1.16.0",
"@temporalio/common": "1.16.0",
"@temporalio/proto": "1.16.0",
"@temporalio/testing": "1.16.0",
"@temporalio/worker": "1.16.0",
"@temporalio/workflow": "1.16.0",
"@types/base-64": "^1.0.0",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/json-bigint": "^1.0.1",
"@types/mkdirp": "^1.0.2",
"@types/node": "^18.15.3",
"@types/sanitize-html": "^2.8.0",
"@types/tar-fs": "^2.0.4",
"@types/unist": "^3.0.0",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"@vitest/coverage-v8": "^4.1.5",
"@vitest/ui": "^3.1.1",
"autoprefixer": "^10.4.13",
"axe-core": "^4.10.0",
"axe-playwright": "^2.0.3",
"c8": "^7.12.0",
"chalk": "^4.1.2",
"cors": "^2.8.5",
"cssnano": "^5.1.14",
"desm": "^1.3.1",
"ejs": "^3.1.10",
"esbuild": "^0.25.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import-x": "^4.16.1",
Expand All @@ -185,31 +171,23 @@
"express": "^4.18.2",
"fast-glob": "^3.3.1",
"globals": "^17.2.0",
"google-protobuf": "^3.21.2",
"helmet": "^8.1.0",
"husky": "^8.0.3",
"jsdom": "^20.0.3",
"knip": "^6.7.0",
"lint-staged": "^16.2.7",
"lodash": "^4.18.1",
"mkdirp": "^2.1.3",
"mock-socket": "^9.1.5",
"nanoid": "^5.1.5",
"node-fetch": "^3.3.0",
"npm-run-all": "^4.1.5",
"oidc-provider": "^9.0.1",
"postcss": "^8.4.31",
"postcss-cli": "^9.1.0",
"postcss-html": "^1.5.0",
"postcss-import": "^14.1.0",
"postcss-load-config": "^3.1.4",
"prettier": "3.8.1",
"prettier-plugin-svelte": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.7.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rehype-document": "^6.1.0",
"rehype-format": "^4.0.1",
"rehype-stringify": "^9.0.4",
"remark": "^14.0.3",
"remark-gfm": "^3.0.1",
"remark-parse": "^10.0.2",
Expand All @@ -221,22 +199,17 @@
"stylelint-config-standard": "^40.0.0",
"svelte": "5.55.1",
"svelte-check": "^4.1.5",
"svelte-eslint-parser": "^1.4.1",
"svelte-highlight": "^7.8.2",
"svelte-loader": "^3.2.4",
"svelte-preprocess": "^6.0.3",
"svelte2tsx": "^0.7.35",
"tailwindcss": "^3.4.1",
"tar-fs": "^3.1.2",
"tslib": "^2.4.1",
"typescript": "^5.2.2",
"typescript-eslint": "^8.54.0",
"unist-util-visit": "^5.0.0",
"vite": "^6.4.2",
"vitest": "^3.1.1",
"vitest-localstorage-mock": "^0.1.2",
"wait-port": "^1.0.4",
"webpack": "^5.105.2",
"yargs": "^17.7.2",
"zx": "^8.8.5"
},
Expand Down
Loading
Loading