Skip to content

Commit

Permalink
fix(build): making semantic release on build its own package
Browse files Browse the repository at this point in the history
  • Loading branch information
bassrock committed Aug 28, 2024
1 parent 764e1b6 commit f789fee
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
3 changes: 2 additions & 1 deletion packages/apollo-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"dev": "pnpm run build --watch",
"format": "eslint --fix",
"lint": "eslint --fix-dry-run",
"presemantic-release": "pnpm run build",
"semantic-release": "semantic-release",
"test": "jest",
"test:watch": "pnpm run test -- --watch"
Expand Down Expand Up @@ -113,4 +114,4 @@
"graphql": "16.8.1",
"graphql-tag": "2.12.6"
}
}
}
3 changes: 2 additions & 1 deletion packages/lambda-secrets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"dev": "pnpm run build --watch",
"format": "eslint --fix",
"lint": "eslint --fix-dry-run",
"presemantic-release": "pnpm run build",
"semantic-release": "semantic-release"
},
"release": {
Expand Down Expand Up @@ -86,4 +87,4 @@
"tsup": "8.2.4",
"typescript": "5.5.4"
}
}
}
3 changes: 2 additions & 1 deletion packages/terraform-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"example:synth": "cdktf synth",
"format": "eslint --fix",
"lint": "eslint --fix-dry-run",
"presemantic-release": "pnpm run build",
"semantic-release": "semantic-release",
"test": "jest --ci --maxWorkers=4 --logHeapUsage",
"test:watch": "npm test -- --watch --watch-extensions ts -R min --watch-files src"
Expand Down Expand Up @@ -94,4 +95,4 @@
"tsup": "8.2.4",
"typescript": "5.5.4"
}
}
}
3 changes: 2 additions & 1 deletion packages/tracing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"dev": "pnpm run build --watch",
"format": "eslint --fix",
"lint": "eslint --fix-dry-run",
"presemantic-release": "pnpm run build",
"semantic-release": "semantic-release"
},
"release": {
Expand Down Expand Up @@ -105,4 +106,4 @@
"tsup": "8.2.4",
"typescript": "5.5.4"
}
}
}
3 changes: 2 additions & 1 deletion packages/ts-logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"dev": "pnpm run build --watch",
"format": "eslint --fix",
"lint": "eslint --fix-dry-run",
"presemantic-release": "pnpm run build",
"semantic-release": "semantic-release",
"test": "jest",
"test:watch": "pnpm run test -- --watch"
Expand Down Expand Up @@ -86,4 +87,4 @@
"tsup": "8.2.4",
"typescript": "5.5.4"
}
}
}
2 changes: 1 addition & 1 deletion servers/braze-content-proxy/src/routes/scheduledItems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getScheduledSurfaceStories } from '../graphql/client-api-proxy';
import config from '../config';
import { Router } from 'express';

const router = Router();
const router: Router = Router();

router.get('/:scheduledSurfaceID', async (req, res, next) => {
// Enable two minute cache when in AWS.
Expand Down
2 changes: 1 addition & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"inputs": ["src/**/*", "eslint.config.js", "package.json"]
},
"semantic-release": {
"dependsOn": ["^build", "build"]
"dependsOn": ["^build"]
},
"test": {
"inputs": ["src/**/*", "package.json", "jest.config.js", "jest.setup.js"],
Expand Down

0 comments on commit f789fee

Please sign in to comment.