Skip to content

Commit

Permalink
refactor: change how @vercel/stega is inlined
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Apr 17, 2024
1 parent 376d096 commit 0a132c1
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 20 deletions.
5 changes: 3 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sanity/client",
"version": "6.15.14",
"version": "6.15.15-canary.0",
"description": "Client for retrieving, creating and patching data from Sanity.io",
"keywords": [
"sanity",
Expand Down Expand Up @@ -122,7 +122,6 @@
},
"dependencies": {
"@sanity/eventsource": "^5.0.0",
"@vercel/stega": "0.1.0",
"get-it": "^8.4.23",
"rxjs": "^7.0.0"
},
Expand All @@ -136,6 +135,7 @@
"@types/node": "^20.8.8",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"@vercel/stega": "0.1.0",
"@vitest/coverage-v8": "1.5.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
Expand Down
6 changes: 1 addition & 5 deletions tsconfig.dist.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
"extends": "./tsconfig.settings",
"include": ["./src", "./modules.d.ts"],
"compilerOptions": {
"outDir": "./dist",
"rootDir": "."
}
"include": ["./src", "./modules.d.ts"]
}
2 changes: 0 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
"include": ["./src", "./modules.d.ts", "./test"],
"exclude": ["./test-esm/test.ts", "./node_modules/next", "./test-next"],
"compilerOptions": {
"noEmit": true,
"types": ["@edge-runtime/types"],
"module": "esnext",
"paths": {
"@sanity/client": ["./src"],
"@sanity/client/*": ["./src/*"]
Expand Down
21 changes: 12 additions & 9 deletions tsconfig.settings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
{
"compilerOptions": {
"target": "ES2020",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"paths": {
"@sanity/client": ["./src"],
"@sanity/client/*": ["./src/*"]
},

"outDir": "./dist",
"rootDir": ".",
"noEmit": true,

"target": "ESNext",
"module": "Preserve",

// Strict type-checking
"strict": true,
Expand All @@ -21,11 +28,7 @@
"skipLibCheck": true,

// Module resolution
"module": "esnext",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true
"forceConsistentCasingInFileNames": true
}
}

0 comments on commit 0a132c1

Please sign in to comment.