4 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 8f487347ab fix: suppress circular dependency warnings from node_modules in rollup config
Agent-Logs-Url: https://github.com/marocchino/sticky-pull-request-comment/sessions/d06505e0-ed2a-4dff-841c-baf27a74d54e

Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
2026-04-05 07:40:37 +00:00
copilot-swe-agent[bot] 6e06a5b4b9 fix: add context: globalThis to rollup config to suppress this-is-undefined warning
Agent-Logs-Url: https://github.com/marocchino/sticky-pull-request-comment/sessions/d06505e0-ed2a-4dff-841c-baf27a74d54e

Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
2026-04-05 07:38:22 +00:00
copilot-swe-agent[bot] c4fbe28317 fix: add rootDir and types to tsconfig.json to resolve TS5011 build error
Agent-Logs-Url: https://github.com/marocchino/sticky-pull-request-comment/sessions/c726777d-ddec-4ced-8af3-0bafb048ce2f

Co-authored-by: marocchino <128431+marocchino@users.noreply.github.com>
2026-04-05 07:34:20 +00:00
dependabot[bot] 6ef1707d4b build(deps-dev): Bump typescript from 5.9.3 to 6.0.2
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 6.0.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.9.3...v6.0.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 6.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-05 16:31:50 +09:00
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "sticky-pull-request-comment",
"version": "3.0.3",
"version": "3.0.1",
"private": true,
"description": "Create comment on pull request, if exists update that comment.",
"main": "lib/main.js",
+6
View File
@@ -7,6 +7,12 @@ import typescript from "@rollup/plugin-typescript"
const config = {
context: "globalThis",
input: "src/main.ts",
onwarn: (warning, warn) => {
if (warning.code === "CIRCULAR_DEPENDENCY" && warning.ids?.every(id => id.includes("/node_modules/"))) {
return
}
warn(warning)
},
output: {
exports: "auto",
file: "dist/index.js",
+3 -3
View File
@@ -15,13 +15,13 @@
"noUnusedLocals": true,
"noUnusedParameters": false,
"outDir": "./dist",
"rootDir": "./src",
"types": ["node"],
"pretty": true,
"resolveJsonModule": true,
"rootDir": "./src",
"strict": true,
"strictNullChecks": true,
"target": "ES2022",
"types": ["node"]
"target": "ES2022"
},
"exclude": ["node_modules", "**/*.test.ts", "dist"],
"include": ["src"]