-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore(packages): update to latest non-breaking versions * chore(packages): update to latest breaking versions * packages(web): downgrade `@tanstack/query` and `valibot` * test(server): kill next server by finding its process id directly instead of relying on port
- Loading branch information
1 parent
211a097
commit cc52fe4
Showing
10 changed files
with
1,927 additions
and
2,495 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
API=https://gitignored.vercel.app/api/v0 | ||
API=http://localhost:8081/api/v0 | ||
FILE_NAME=.gitignore-temp | ||
CACHE=gitignored-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import child from 'child_process'; | ||
|
||
import { Defined } from '@poolofdeath20/util'; | ||
|
||
const main = () => { | ||
child | ||
.execSync('ps -ef | grep next', { | ||
encoding: 'utf-8', | ||
}) | ||
.split('\n') | ||
.filter((process) => { | ||
return process.includes('node '); | ||
}) | ||
.map((process) => { | ||
return Defined.parse(process.split(' ').filter(Boolean).at(1)) | ||
.map(parseInt) | ||
.orThrow('Could not parse process id'); | ||
}) | ||
.forEach((pid) => { | ||
child.execSync(`kill ${pid}`); | ||
}); | ||
}; | ||
|
||
main(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.