Skip to content

Commit

Permalink
Trying to get the dependency graph command to work again. Will revisi…
Browse files Browse the repository at this point in the history
…t later.
  • Loading branch information
danielnaab committed Aug 7, 2024
1 parent 6cda340 commit 946b292
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 44 deletions.
1 change: 0 additions & 1 deletion packages/database/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ esbuild
.build({
bundle: false,
entryPoints: ['./src/index.ts'],
//external: ['sqlite3', 'knex'],
packages: 'external',
format: 'esm',
minify: true,
Expand Down
12 changes: 7 additions & 5 deletions packages/dependency-graph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@
"name": "@atj/dependency-graph",
"version": "1.0.0",
"description": "generates a dependency graph of projects in a pnpm workspace",
"type": "commonjs",
"type": "module",
"license": "CC0",
"main": "src/index.ts",
"main": "dist/index.js",
"types": "dist/index.d.js",
"scripts": {
"build": "tsup src/* --env.NODE_ENV production",
"build": "tsc",
"dev": "tsc --watch",
"test": "echo no @atj/dependency-graph tests"
},
"dependencies": {
"@pnpm/find-workspace-packages": "^6.0.9",
"@pnpm/logger": "^5.0.0",
"@pnpm/logger": "^5.2.0",
"graphviz": "^0.0.9"
},
"devDependencies": {
"@types/graphviz": "^0.0.37"
"@types/graphviz": "^0.0.39"
}
}
3 changes: 2 additions & 1 deletion packages/dependency-graph/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"emitDeclarationOnly": true
"emitDeclarationOnly": false,
"rootDir": "./src"
},
"include": ["./src"],
"references": []
Expand Down
74 changes: 37 additions & 37 deletions pnpm-lock.yaml

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

0 comments on commit 946b292

Please sign in to comment.