Skip to content

Commit

Permalink
build(publish): 🤡 substitute tsc for esbuild
Browse files Browse the repository at this point in the history
bruh moment
  • Loading branch information
TBroz15 committed Sep 20, 2024
1 parent e645af4 commit bc238da
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 328 deletions.
72 changes: 0 additions & 72 deletions ci/build.js

This file was deleted.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.0.2",
"cz-conventional-changelog": "^3.3.0",
"esbuild": "^0.23.0",
"eslint": "^9.8.0",
"semantic-release": "^24.1.0",
"typescript": "^5.5.4",
Expand Down Expand Up @@ -50,7 +49,7 @@
],
"license": "MIT",
"scripts": {
"build": "node ci/build",
"build": "tsc",
"test": "node ci/build && node ./dist/cli/index.js",
"semantic-release": "semantic-release --branches main",
"commit": "pnpx git-cz",
Expand Down
251 changes: 0 additions & 251 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
2 changes: 1 addition & 1 deletion src/compiler/config/get_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { readFileSync, statSync } from "node:fs";
import { italic } from "../../cli/utils/picocolors.js";
import { defaultSuitcaseConfig } from "./default.js";

import type { Options } from "./config.d.js";
import type { Options } from "./config.ts";

let yaml: typeof import("js-yaml");

Expand Down
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
"strict": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"noEmit": true,
"alwaysStrict": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"rootDir": "src"
"rootDir": "src",
"outDir": "dist",
"declaration": true
},
"exclude": ["node_modules/**/*", "ci/*.js", "dist/**/*"]
}

0 comments on commit bc238da

Please sign in to comment.