Skip to content
Closed
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: 3 additions & 0 deletions .depcheckrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ ignores:
- 'rimraf'
- 'typedoc'
- '@types/lodash'

ignore-patterns:
- /types.d.ts
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,7 @@ node_modules/
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Diagnostic files
/packages/*/types.d.ts
/packages/*/types.d.ts.map
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"build:clean": "yarn clean && yarn build",
"build:docs": "yarn workspaces foreach --all --exclude @ocap/monorepo --exclude @ocap/extension --parallel --interlaced --verbose run build:docs",
"build:source": "yarn workspaces foreach --all --topological --parallel --interlaced --exclude @ocap/monorepo --verbose run build",
"build:types": "yarn workspaces foreach --all --parallel --interlaced --verbose run build:types",
"build:watch": "yarn run build --watch",
"changelog:update": "yarn workspaces foreach --all --no-private --parallel --interlaced --verbose run changelog:update",
"changelog:validate": "yarn workspaces foreach --all --no-private --parallel --interlaced --verbose run changelog:validate",
Expand Down
2 changes: 2 additions & 0 deletions packages/extension/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module.exports = {
extends: ['../../.eslintrc.cjs'],

ignorePatterns: ['types.d.ts'],

overrides: [
{
files: ['src/**/*.ts'],
Expand Down
1 change: 1 addition & 0 deletions packages/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"scripts": {
"build": "yarn lint:types && yarn build:vite",
"build:dev": "yarn lint:types && yarn build:vite:dev",
"build:types": "tsc --project tsconfig.build.json --noEmit false --emitDeclarationOnly --outFile types.d.ts",
"build:vite": "vite build --config vite.config.ts",
"build:vite:dev": "yarn build:vite --mode development",
"changelog:validate": "../../scripts/validate-changelog.sh @ocap/extension",
Expand Down
2 changes: 2 additions & 0 deletions packages/streams/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module.exports = {
extends: ['../../.eslintrc.cjs'],

ignorePatterns: ['types.d.ts'],
};
1 change: 1 addition & 0 deletions packages/streams/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"scripts": {
"build": "ts-bridge --project tsconfig.build.json --clean",
"build:docs": "typedoc",
"build:types": "tsc --project tsconfig.build.json --noEmit false --emitDeclarationOnly --outFile types.d.ts",
"changelog:validate": "../../scripts/validate-changelog.sh streams",
"clean": "rimraf --glob ./dist './*.tsbuildinfo'",
"lint": "yarn lint:eslint && yarn lint:misc --check && yarn constraints && yarn lint:dependencies",
Expand Down
7 changes: 6 additions & 1 deletion tsconfig.packages.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,10 @@
"skipLibCheck": true,
"sourceMap": true
},
"exclude": ["**/vite.config.ts", "**/vitest.config.ts", "**/*.test.ts"]
"exclude": [
"**/vite.config.ts",
"**/vitest.config.ts",
"**/*.test.ts",
"packages/*/types.d.ts"
]
}