Skip to content

Commit

Permalink
fix(build): add missing legacy exports and types information
Browse files Browse the repository at this point in the history
  • Loading branch information
binoy14 committed Apr 29, 2024
1 parent f29d0dd commit 2053b1f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/sanity/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# legacy package exports
_singletons.js
desk.js
form.js
presentation.js
Expand Down
6 changes: 5 additions & 1 deletion packages/sanity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@
"_internal": [
"./lib/_internal.d.ts"
],
"_singletons": [
"./lib/_singletons.d.ts"
],
"cli": [
"./lib/cli.d.ts"
],
Expand Down Expand Up @@ -117,7 +120,8 @@
"desk.js",
"presentation.js",
"router.js",
"structure.js"
"structure.js",
"_singletons.js"
],
"scripts": {
"build": "pkg-utils build --strict --check --clean",
Expand Down
2 changes: 1 addition & 1 deletion packages/sanity/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"extends": ["//"],
"pipeline": {
"build": {
"outputs": ["lib/**", "desk.js", "presentation.js", "router.js", "structure.js"]
"outputs": ["lib/**", "_singletons.js", "desk.js", "presentation.js", "router.js", "structure.js"]
}
}
}

0 comments on commit 2053b1f

Please sign in to comment.