Skip to content

Commit 5a821a4

Browse files
committed
fix: update build script to exclude @objectstack/docs and enhance TypeScript configuration
1 parent b1d24bd commit 5a821a4

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"description": "ObjectStack Protocol & Specification - Monorepo for TypeScript Interfaces, JSON Schemas, and Convention Configurations",
66
"scripts": {
7-
"build": "pnpm -r build",
7+
"build": "pnpm -r --filter !@objectstack/docs build",
88
"dev": "pnpm -r --filter @example/app-host dev",
99
"dev:msw": "pnpm --filter @objectstack/client-react build && pnpm -r --filter @example/app-react-crud dev",
1010
"test": "pnpm --filter @objectstack/spec test",

packages/client-react/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"rootDir": "./src",
66
"declaration": true,
77
"declarationMap": true,
8-
"jsx": "react"
8+
"jsx": "react",
9+
"lib": ["ES2020", "DOM", "DOM.Iterable"]
910
},
1011
"include": ["src/**/*"],
1112
"exclude": ["node_modules", "dist", "**/*.test.ts"]

packages/client/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { QueryAST, SortNode, AggregationNode, WindowFunctionNode } from '@objectstack/spec/data';
1+
import { QueryAST, SortNode, AggregationNode } from '@objectstack/spec/data';
22
import {
33
BatchUpdateRequest,
44
BatchUpdateResponse,

packages/client/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "./dist",
5-
"rootDir": "./src"
5+
"rootDir": "./src",
6+
"lib": ["ES2020", "DOM", "DOM.Iterable"]
67
},
78
"include": ["src/**/*"],
89
"exclude": ["node_modules", "dist", "**/*.test.ts"]

0 commit comments

Comments
 (0)