Skip to content

Commit

Permalink
build: reduce size of packages
Browse files Browse the repository at this point in the history
  • Loading branch information
unnoq committed Dec 1, 2024
1 parent 83ec2e8 commit 1d55ec0
Show file tree
Hide file tree
Showing 18 changed files with 38 additions and 78 deletions.
5 changes: 0 additions & 5 deletions CHANGELOG.md

This file was deleted.

5 changes: 0 additions & 5 deletions packages/client/CHANGELOG.md

This file was deleted.

9 changes: 5 additions & 4 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"directory": "packages/client"
},
"keywords": [
"unnoq"
"unnoq",
"orpc"
],
"publishConfig": {
"exports": {
Expand All @@ -31,11 +32,11 @@
}
},
"files": [
"dist",
"src"
"!dist/*.tsbuildinfo",
"dist"
],
"scripts": {
"build": "tsup --clean --sourcemap --entry.index=src/index.ts --format=esm --onSuccess='tsc -b --noCheck'",
"build": "tsup --clean --entry.index=src/index.ts --format=esm --onSuccess='tsc -b --noCheck'",
"build:watch": "pnpm run build --watch",
"type:check": "tsc -b"
},
Expand Down
5 changes: 0 additions & 5 deletions packages/contract/CHANGELOG.md

This file was deleted.

6 changes: 3 additions & 3 deletions packages/contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
}
},
"files": [
"dist",
"src"
"!dist/*.tsbuildinfo",
"dist"
],
"scripts": {
"build": "tsup --clean --sourcemap --entry.index=src/index.ts --format=esm --onSuccess='tsc -b --noCheck'",
"build": "tsup --clean --entry.index=src/index.ts --format=esm --onSuccess='tsc -b --noCheck'",
"build:watch": "pnpm run build --watch",
"type:check": "tsc -b"
},
Expand Down
5 changes: 0 additions & 5 deletions packages/openapi/CHANGELOG.md

This file was deleted.

9 changes: 5 additions & 4 deletions packages/openapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"directory": "packages/openapi"
},
"keywords": [
"unnoq"
"unnoq",
"orpc"
],
"publishConfig": {
"exports": {
Expand All @@ -31,11 +32,11 @@
}
},
"files": [
"dist",
"src"
"!dist/*.tsbuildinfo",
"dist"
],
"scripts": {
"build": "tsup --clean --sourcemap --entry.index=src/index.ts --format=esm --onSuccess='tsc -b --noCheck'",
"build": "tsup --clean --entry.index=src/index.ts --format=esm --onSuccess='tsc -b --noCheck'",
"build:watch": "pnpm run build --watch",
"type:check": "tsc -b"
},
Expand Down
5 changes: 0 additions & 5 deletions packages/react/CHANGELOG.md

This file was deleted.

9 changes: 5 additions & 4 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"directory": "packages/react"
},
"keywords": [
"unnoq"
"unnoq",
"orpc"
],
"publishConfig": {
"exports": {
Expand All @@ -31,11 +32,11 @@
}
},
"files": [
"dist",
"src"
"!dist/*.tsbuildinfo",
"dist"
],
"scripts": {
"build": "tsup --clean --sourcemap --entry.index=src/index.ts --format=esm --onSuccess='tsc -b --noCheck'",
"build": "tsup --clean --entry.index=src/index.ts --format=esm --onSuccess='tsc -b --noCheck'",
"build:watch": "pnpm run build --watch",
"type:check": "tsc -b"
},
Expand Down
5 changes: 0 additions & 5 deletions packages/server/CHANGELOG.md

This file was deleted.

9 changes: 5 additions & 4 deletions packages/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"directory": "packages/server"
},
"keywords": [
"unnoq"
"unnoq",
"orpc"
],
"publishConfig": {
"exports": {
Expand All @@ -37,11 +38,11 @@
}
},
"files": [
"dist",
"src"
"!dist/*.tsbuildinfo",
"dist"
],
"scripts": {
"build": "tsup --clean --sourcemap --entry.index=src/index.ts --entry.fetch=src/adapters/fetch.ts --format=esm --onSuccess='tsc -b --noCheck'",
"build": "tsup --clean --entry.index=src/index.ts --entry.fetch=src/adapters/fetch.ts --format=esm --onSuccess='tsc -b --noCheck'",
"build:watch": "pnpm run build --watch",
"type:check": "tsc -b"
},
Expand Down
5 changes: 0 additions & 5 deletions packages/shared/CHANGELOG.md

This file was deleted.

9 changes: 5 additions & 4 deletions packages/shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"directory": "packages/shared"
},
"keywords": [
"unnoq"
"unnoq",
"orpc"
],
"publishConfig": {
"exports": {
Expand All @@ -37,11 +38,11 @@
}
},
"files": [
"dist",
"src"
"!dist/*.tsbuildinfo",
"dist"
],
"scripts": {
"build": "tsup --clean --sourcemap --entry.index=src/index.ts --entry.error=src/error.ts --format=esm --onSuccess='tsc -b --noCheck'",
"build": "tsup --clean --entry.index=src/index.ts --entry.error=src/error.ts --format=esm --onSuccess='tsc -b --noCheck'",
"build:watch": "pnpm run build --watch",
"type:check": "tsc -b"
},
Expand Down
5 changes: 0 additions & 5 deletions packages/transformer/CHANGELOG.md

This file was deleted.

9 changes: 5 additions & 4 deletions packages/transformer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"directory": "packages/transformer"
},
"keywords": [
"unnoq"
"unnoq",
"orpc"
],
"publishConfig": {
"exports": {
Expand All @@ -31,11 +32,11 @@
}
},
"files": [
"dist",
"src"
"!dist/*.tsbuildinfo",
"dist"
],
"scripts": {
"build": "tsup --clean --sourcemap --entry.index=src/index.ts --format=esm --onSuccess='tsc -b --noCheck'",
"build": "tsup --clean --entry.index=src/index.ts --format=esm --onSuccess='tsc -b --noCheck'",
"build:watch": "pnpm run build --watch",
"type:check": "tsc -b"
},
Expand Down
5 changes: 0 additions & 5 deletions packages/zod/CHANGELOG.md

This file was deleted.

9 changes: 5 additions & 4 deletions packages/zod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"directory": "packages/zod"
},
"keywords": [
"unnoq"
"unnoq",
"orpc"
],
"publishConfig": {
"exports": {
Expand All @@ -31,11 +32,11 @@
}
},
"files": [
"dist",
"src"
"!dist/*.tsbuildinfo",
"dist"
],
"scripts": {
"build": "tsup --clean --sourcemap --entry.index=src/index.ts --format=esm --onSuccess='tsc -b --noCheck'",
"build": "tsup --clean --entry.index=src/index.ts --format=esm --onSuccess='tsc -b --noCheck'",
"build:watch": "pnpm run build --watch",
"type:check": "tsc -b"
},
Expand Down
2 changes: 0 additions & 2 deletions tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
"extends": "./tsconfig.base.json",
"compilerOptions": {
"composite": true,
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"noEmit": false
}
Expand Down

0 comments on commit 1d55ec0

Please sign in to comment.