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
26 changes: 24 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,26 @@ import tseslint from 'typescript-eslint';
// Flat config for a plain-TypeScript monorepo. Deliberately NOT the Svelte
// config the ui repo uses — nothing here is Svelte.
export default tseslint.config(
{ ignores: ['**/dist/**', '**/node_modules/**', '**/*.config.*', '**/.changeset/**'] },
{
ignores: [
'**/dist/**',
'**/node_modules/**',
'**/*.config.*',
'**/.changeset/**',
// Python virtualenvs (conformance harness, python router) ship vendored
// JS assets we don't lint.
'**/.venv/**'
]
},
js.configs.recommended,
...tseslint.configs.recommended,
{
// Plain Node scripts (e.g. conformance boot scripts) — grant Node globals.
files: ['**/*.mjs', '**/*.cjs'],
languageOptions: {
globals: { process: 'readonly', console: 'readonly', Buffer: 'readonly' }
}
},
{
files: ['**/*.ts'],
languageOptions: {
Expand All @@ -18,7 +35,12 @@ export default tseslint.config(
rules: {
// The SDK deliberately treats Monad API responses as untyped JSON
// (see MonadRequest in lifecycle.ts). Surface but don't block on it.
'@typescript-eslint/no-explicit-any': 'warn'
'@typescript-eslint/no-explicit-any': 'warn',
// Allow intentionally-unused `_`-prefixed args (e.g. typed mock params).
'@typescript-eslint/no-unused-vars': [
'error',
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' }
]
}
}
);
20 changes: 20 additions & 0 deletions packages/embed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,26 @@
"default": "./dist/connect/index.cjs"
}
},
"./kit": {
"import": {
"types": "./dist/kit/index.d.ts",
"default": "./dist/kit/index.js"
},
"require": {
"types": "./dist/kit/index.d.cts",
"default": "./dist/kit/index.cjs"
}
},
"./client": {
"import": {
"types": "./dist/client/index.d.ts",
"default": "./dist/client/index.js"
},
"require": {
"types": "./dist/client/index.d.cts",
"default": "./dist/client/index.cjs"
}
},
"./package.json": "./package.json"
},
"sideEffects": false,
Expand Down
Loading
Loading