Skip to content

Commit

Permalink
🧹 remove unneeded NPM and TS build files. Build order change - fail f…
Browse files Browse the repository at this point in the history
…aster.
  • Loading branch information
mountainash committed Oct 1, 2024
1 parent 1f4c028 commit 62699d8
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 17 deletions.
9 changes: 0 additions & 9 deletions .npmignore

This file was deleted.

1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export default [
rules: {
'no-undef': 'off',
'no-useless-escape': 'off',
'no-prototype-builtins': 'off',
'@typescript-eslint/no-unused-expressions': 'off',
},
},
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"lint": "eslint .",
"lint:fix": "eslint --fix",
"bundle": "bun run ./bundle.ts",
"build": "bun run test && bun run lint && bun run typecheck && bun run bundle",
"typecheck": "tsc --project ./tsconfig.build.json --noEmit",
"build": " bun run lint && bun run typecheck && bun run test && bun run bundle",
"typecheck": "tsc --noEmit",
"test": "vitest run --globals",
"test:dev": "vitest --globals",
"release": "bun run build && bunx managed-component-to-cloudflare-worker ./dist/index.js zaraz-posthog"
Expand Down
4 changes: 0 additions & 4 deletions tsconfig.build.json

This file was deleted.

3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
}
},
"exclude": ["src/**/*.test.ts"]
}

0 comments on commit 62699d8

Please sign in to comment.