Skip to content

Commit

Permalink
[patch] use bin.js, upgrade deps and configs
Browse files Browse the repository at this point in the history
  • Loading branch information
electrovir committed Nov 19, 2024
1 parent e64891c commit c512ae5
Show file tree
Hide file tree
Showing 21 changed files with 12,292 additions and 5,063 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ dist/
generated-config-*
graphics/
node_modules/
src/all-files-for-code-coverage.test.ts
all-files-for-code-coverage.test.ts
tsconfig.tsbuildinfo
5 changes: 2 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
.*
.not-committed/
*.book-helper.*
*.book.*
*.d.ts.map
*.test-helper.*
*.example.*
*.mock.*
*.test.*
*.tgz
**/*/readme-examples/
**/*/test/
/configs/
/coverage/
Expand Down
8 changes: 8 additions & 0 deletions bin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env node

import {runCliScript} from '@augment-vir/node';
import {join} from 'node:path';

const cliPath = join(import.meta.dirname, 'src', 'cli', 'cli.script.ts');

await runCliScript(cliPath, import.meta.filename, 'git-vir');
20 changes: 0 additions & 20 deletions configs/c8.config.json

This file was deleted.

4 changes: 2 additions & 2 deletions configs/dep-cruiser.config.cts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {generateDepCruiserConfig} from '@virmator/deps/configs/dep-cruiser.config.base';
import {defineConfig} from '@virmator/deps/configs/dep-cruiser.config.base';
import type {IConfiguration} from 'dependency-cruiser';

const baseConfig = generateDepCruiserConfig({
const baseConfig = defineConfig({
fileExceptions: {
// enter file exceptions by rule name here
'no-orphans': {
Expand Down
25 changes: 0 additions & 25 deletions configs/typedoc.config.ts

This file was deleted.

Loading

0 comments on commit c512ae5

Please sign in to comment.