Skip to content

Commit

Permalink
Merge pull request #1 from ev-the-dev/restructure
Browse files Browse the repository at this point in the history
Comp;letely restructuring project and how it gets compiled
  • Loading branch information
ev-the-dev committed Nov 22, 2023
2 parents 5b68e8a + 375b636 commit a00f6a9
Show file tree
Hide file tree
Showing 12 changed files with 534 additions and 3,041 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
contents: read
packages: write

env:
NODE_ENV: "production"

steps:

- uses: actions/checkout@v4
Expand All @@ -38,4 +41,3 @@ jobs:

env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_ENV: "production"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,4 @@ dist
.yarn/install-state.gz
.pnp.*
dist
lib/
32 changes: 0 additions & 32 deletions .swcrc

This file was deleted.

6 changes: 2 additions & 4 deletions configs/full/full.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// @ts-nocheck
import globals from "globals";
import js from "@eslint/js";
import stylistic from "@stylistic/eslint-plugin";
// import tslint from "@typescript-eslint"
import tslintPlugin from "@typescript-eslint/eslint-plugin";
import * as tslintParser from "@typescript-eslint/parser";
import { eslintRules, stylisticRules, tslintRules } from "../../rules";
import { eslintRules, tslintRules } from "../../rules";

export default [
js.configs.recommended,
Expand All @@ -24,12 +24,10 @@ export default [
},
},
plugins: {
"@stylistic": stylistic,
"@typescript-eslint": tslintPlugin,
},
rules: {
...eslintRules,
...stylisticRules,
...tslintRules,
},
},
Expand Down
2 changes: 0 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import { fullConfig } from "./configs";

/**
* TODO: expose function that accepts path to tsconfig to apply to the parser
* AND get rid of more dependencies
* MAKE sure CI/CD is using NODE_ENV=production
*/
const configs = {
full: fullConfig,
Expand Down
Loading

0 comments on commit a00f6a9

Please sign in to comment.