From 07da80d97dfad9a59a71981f2bbda7ec92a7fdc1 Mon Sep 17 00:00:00 2001 From: Ben Miner Date: Fri, 26 Sep 2025 12:31:59 -0500 Subject: [PATCH 1/3] fix errors in markdown.ts script --- .github/workflows/auto-release.yml | 3 +++ scripts/markdown.ts | 6 +++--- scripts/tsconfig.json | 8 +++++++- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index e8cccc1c2..2480d31d7 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -35,6 +35,9 @@ jobs: with: node-version: 22.x + - name: Install dependencies + run: npm ci + - name: Configure Git run: | git config --global user.name "github-actions[bot]" diff --git a/scripts/markdown.ts b/scripts/markdown.ts index 2c0b6bb73..e55873020 100644 --- a/scripts/markdown.ts +++ b/scripts/markdown.ts @@ -19,13 +19,13 @@ function escapeRegExp(string: string): string { return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); } -const enum Analyze { +enum Analyze { DOCS = "docs", README = "readme", } -const gitHubUrl = `https://github.com/MichalLytek/type-graphql/tree`; -const gitHubUrlRaw = `https://raw.githubusercontent.com/MichalLytek/type-graphql`; +const gitHubUrl = `https://github.com/scope3data/type-graphql/tree`; +const gitHubUrlRaw = `https://raw.githubusercontent.com/scope3data/type-graphql`; const rootPath = path.resolve(`${__dirname}/..`); const argv = yargs(hideBin(process.argv)) .strict() diff --git a/scripts/tsconfig.json b/scripts/tsconfig.json index e6b246ba9..78070cae4 100644 --- a/scripts/tsconfig.json +++ b/scripts/tsconfig.json @@ -1,7 +1,13 @@ { "extends": "../tsconfig.json", "compilerOptions": { - "noEmit": true + "noEmit": true, + "target": "ES2020", + "module": "CommonJS", + "moduleResolution": "node", + "types": ["node", "glob", "yargs"], + "esModuleInterop": true, + "skipLibCheck": true }, "include": [".", "../src"] } From 9a0be17e448100906dd2a1dc55d7ac82c57ba235 Mon Sep 17 00:00:00 2001 From: Ben Miner Date: Fri, 26 Sep 2025 12:37:29 -0500 Subject: [PATCH 2/3] update scripts tsconfig target to esnext --- scripts/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tsconfig.json b/scripts/tsconfig.json index 78070cae4..4c7d76720 100644 --- a/scripts/tsconfig.json +++ b/scripts/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../tsconfig.json", "compilerOptions": { "noEmit": true, - "target": "ES2020", + "target": "ESNext", "module": "CommonJS", "moduleResolution": "node", "types": ["node", "glob", "yargs"], From 1b00beb445a244842d0bbea43e448b830c0dae85 Mon Sep 17 00:00:00 2001 From: Ben Miner Date: Fri, 26 Sep 2025 12:41:27 -0500 Subject: [PATCH 3/3] revert scripts tsconfig changes --- package-lock.json | 8 ++++---- scripts/tsconfig.json | 3 --- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 158b96d8c..89ff12393 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { - "name": "type-graphql", - "version": "2.0.0-rc.3", + "name": "@scope3data/type-graphql", + "version": "2.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "type-graphql", - "version": "2.0.0-rc.3", + "name": "@scope3data/type-graphql", + "version": "2.1.0", "funding": [ { "type": "github", diff --git a/scripts/tsconfig.json b/scripts/tsconfig.json index 4c7d76720..1f6a80513 100644 --- a/scripts/tsconfig.json +++ b/scripts/tsconfig.json @@ -2,9 +2,6 @@ "extends": "../tsconfig.json", "compilerOptions": { "noEmit": true, - "target": "ESNext", - "module": "CommonJS", - "moduleResolution": "node", "types": ["node", "glob", "yargs"], "esModuleInterop": true, "skipLibCheck": true