Skip to content

Commit

Permalink
Merge pull request #3492 from terascope/ts-scripts-publish-fix
Browse files Browse the repository at this point in the history
Ts-scripts publish fix
  • Loading branch information
godber authored Dec 11, 2023
2 parents 3e61bf6 + 77404e6 commit ad7139e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@terascope/scripts",
"displayName": "Scripts",
"version": "0.63.0",
"version": "0.63.1",
"description": "A collection of terascope monorepo scripts",
"homepage": "https://github.com/terascope/teraslice/tree/master/packages/scripts#readme",
"bugs": {
Expand Down
5 changes: 1 addition & 4 deletions packages/scripts/src/helpers/sync/configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ export async function generateTSConfig(
): Promise<void> {
const rootInfo = getRootInfo();
const references = pkgInfos
.filter((pkgInfo) => {
if (pkgInfo.terascope?.main) return false;
return fs.existsSync(path.join(pkgInfo.dir, 'tsconfig.json'));
})
.filter((pkgInfo) => fs.existsSync(path.join(pkgInfo.dir, 'tsconfig.json')))
.map((pkgInfo) => ({
path: pkgInfo.relativeDir.replace(/^\.\//, '')
}));
Expand Down
2 changes: 1 addition & 1 deletion packages/teraslice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"registry": "https://registry.npmjs.org/"
},
"terascope": {
"main": false,
"main": true,
"enableTypedoc": false,
"testSuite": "elasticsearch"
}
Expand Down

0 comments on commit ad7139e

Please sign in to comment.