Skip to content

Commit

Permalink
fix: update dev script to use npm-run-all and add new dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
RedStar071 committed Jan 9, 2025
1 parent ba1b85c commit 2f46948
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 5 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"scripts": {
"build": "tsup",
"dev": "yarn build && yarn start",
"dev": "npm-run-all build start",
"watch": "tsup --watch",
"watch:start": "tsup --watch --onSuccess \"yarn start\"",
"prisma:generate": "yarn prisma generate",
Expand Down Expand Up @@ -110,6 +110,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"lint-staged": "^15.3.0",
"npm-run-all2": "^7.0.2",
"prettier": "^3.4.2",
"prisma": "^6.2.1",
"prisma-json-types-generator": "^3.2.2",
Expand Down
61 changes: 57 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3604,7 +3604,7 @@ __metadata:
languageName: node
linkType: hard

"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3":
"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3, cross-spawn@npm:^7.0.6":
version: 7.0.6
resolution: "cross-spawn@npm:7.0.6"
dependencies:
Expand Down Expand Up @@ -5832,6 +5832,13 @@ __metadata:
languageName: node
linkType: hard

"json-parse-even-better-errors@npm:^4.0.0":
version: 4.0.0
resolution: "json-parse-even-better-errors@npm:4.0.0"
checksum: 10/da1ae7ef0cc9db02972a06a71322f26bdcda5d7f648c23b28ce7f158ba35707461bcbd91945d8aace10d8d79c383b896725c65ffa410242352692328aa9b5edf
languageName: node
linkType: hard

"json-schema-traverse@npm:^0.4.1":
version: 0.4.1
resolution: "json-schema-traverse@npm:0.4.1"
Expand Down Expand Up @@ -6228,6 +6235,13 @@ __metadata:
languageName: node
linkType: hard

"memorystream@npm:^0.3.1":
version: 0.3.1
resolution: "memorystream@npm:0.3.1"
checksum: 10/2e34a1e35e6eb2e342f788f75f96c16f115b81ff6dd39e6c2f48c78b464dbf5b1a4c6ebfae4c573bd0f8dbe8c57d72bb357c60523be184655260d25855c03902
languageName: node
linkType: hard

"meow@npm:^12.0.1":
version: 12.1.1
resolution: "meow@npm:12.1.1"
Expand Down Expand Up @@ -6331,7 +6345,7 @@ __metadata:
languageName: node
linkType: hard

"minimatch@npm:^9.0.4":
"minimatch@npm:^9.0.0, minimatch@npm:^9.0.4":
version: 9.0.5
resolution: "minimatch@npm:9.0.5"
dependencies:
Expand Down Expand Up @@ -6660,6 +6674,34 @@ __metadata:
languageName: node
linkType: hard

"npm-normalize-package-bin@npm:^4.0.0":
version: 4.0.0
resolution: "npm-normalize-package-bin@npm:4.0.0"
checksum: 10/e1a0971e5640bc116c5197f9707d86dc404b6d8e13da2c7ea82baa5583b8da279a3c8607234aa1d733c2baac3b3eba87b156f021f20ae183dc4806530e61675d
languageName: node
linkType: hard

"npm-run-all2@npm:^7.0.2":
version: 7.0.2
resolution: "npm-run-all2@npm:7.0.2"
dependencies:
ansi-styles: "npm:^6.2.1"
cross-spawn: "npm:^7.0.6"
memorystream: "npm:^0.3.1"
minimatch: "npm:^9.0.0"
pidtree: "npm:^0.6.0"
read-package-json-fast: "npm:^4.0.0"
shell-quote: "npm:^1.7.3"
which: "npm:^5.0.0"
bin:
npm-run-all: bin/npm-run-all/index.js
npm-run-all2: bin/npm-run-all/index.js
run-p: bin/run-p/index.js
run-s: bin/run-s/index.js
checksum: 10/46d3f7a9117d6af2463285a02909ecc92bde31fc5cd9d8a7c4cc66157e639481eed13d5553dda62b9def6df36b8a5c748393ea65233aea97ee0e615033595266
languageName: node
linkType: hard

"npm-run-path@npm:^5.1.0":
version: 5.3.0
resolution: "npm-run-path@npm:5.3.0"
Expand Down Expand Up @@ -7102,7 +7144,7 @@ __metadata:
languageName: node
linkType: hard

"pidtree@npm:~0.6.0":
"pidtree@npm:^0.6.0, pidtree@npm:~0.6.0":
version: 0.6.0
resolution: "pidtree@npm:0.6.0"
bin:
Expand Down Expand Up @@ -7437,6 +7479,16 @@ __metadata:
languageName: node
linkType: hard

"read-package-json-fast@npm:^4.0.0":
version: 4.0.0
resolution: "read-package-json-fast@npm:4.0.0"
dependencies:
json-parse-even-better-errors: "npm:^4.0.0"
npm-normalize-package-bin: "npm:^4.0.0"
checksum: 10/bf0becd7d0b652dcc5874b466d1dbd98313180e89505c072f35ff48a1ad6bdaf2427143301e1924d64e4af5064cda8be5df16f14de882f03130e29051bbaab87
languageName: node
linkType: hard

"readable-stream@npm:2 || 3, readable-stream@npm:3, readable-stream@npm:^3.0.2, readable-stream@npm:^3.1.1, readable-stream@npm:^3.4.0, readable-stream@npm:^3.5.0, readable-stream@npm:^3.6.0":
version: 3.6.2
resolution: "readable-stream@npm:3.6.2"
Expand Down Expand Up @@ -7884,7 +7936,7 @@ __metadata:
languageName: node
linkType: hard

"shell-quote@npm:^1.6.1":
"shell-quote@npm:^1.6.1, shell-quote@npm:^1.7.3":
version: 1.8.2
resolution: "shell-quote@npm:1.8.2"
checksum: 10/3ae4804fd80a12ba07650d0262804ae3b479a62a6b6971a6dc5fa12995507aa63d3de3e6a8b7a8d18f4ce6eb118b7d75db7fcb2c0acbf016f210f746b10cfe02
Expand Down Expand Up @@ -9160,6 +9212,7 @@ __metadata:
eslint-plugin-prettier: "npm:^5.2.1"
he: "npm:^1.2.0"
lint-staged: "npm:^15.3.0"
npm-run-all2: "npm:^7.0.2"
prettier: "npm:^3.4.2"
prisma: "npm:^6.2.1"
prisma-json-types-generator: "npm:^3.2.2"
Expand Down

0 comments on commit 2f46948

Please sign in to comment.