Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Jul 4, 2023
1 parent 40d72ba commit 53cfe4c
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 47 deletions.
76 changes: 36 additions & 40 deletions package-lock.json

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

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,8 @@
},
"engines": {
"node": "^18"
},
"dependencies": {
"turbo": "^1.10.7"
}
}
}
4 changes: 2 additions & 2 deletions packages/pack/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@techor/pack",
"scripts": {
"build": "tsx ./src/bin pack",
"build": "tsx ./src/bin pack --platform node --format cjs",
"dev": "npm run build -- --watch",
"test": "jest",
"type-check": "tsc --noEmit",
Expand Down Expand Up @@ -32,7 +32,7 @@
"esmodule"
],
"bin": {
"techor-pack": "./dist/bin/index.bundle.js"
"techor-pack": "./dist/bin/index.js"
},
"files": [
"dist"
Expand Down
4 changes: 2 additions & 2 deletions packages/techor/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "techor",
"scripts": {
"build": "tsx ../pack/src/bin pack",
"build": "tsx ../pack/src/bin pack --platform node --format cjs",
"dev": "npm run build -- --watch",
"type-check": "tsc --noEmit",
"lint": "eslint src"
Expand Down Expand Up @@ -43,7 +43,7 @@
"esmodule"
],
"bin": {
"techor": "./dist/bin/index.bundle.js"
"techor": "./dist/bin/index.js"
},
"files": [
"dist"
Expand Down
4 changes: 2 additions & 2 deletions packages/version/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@techor/version",
"scripts": {
"build": "tsx ../pack/src/bin pack",
"build": "tsx ../pack/src/bin pack --platform node --format cjs",
"dev": "npm run build -- --watch",
"test": "jest",
"type-check": "tsc --noEmit",
Expand All @@ -28,7 +28,7 @@
"bump"
],
"bin": {
"techor-version": "./dist/bin/index.bundle.js"
"techor-version": "./dist/bin/index.js"
},
"files": [
"dist"
Expand Down

0 comments on commit 53cfe4c

Please sign in to comment.