This commit is contained in:
Benjamin Toby 2025-05-07 22:18:55 +01:00
parent 7e320c87f5
commit 62eef2f167
6 changed files with 91 additions and 8 deletions

85
.vscode/settings.json vendored
View File

@ -1,3 +1,86 @@
{
"cursor.aipreview.enabled": true
"cursor.aipreview.enabled": true,
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"prettier.tabWidth": 4,
"redhat.telemetry.enabled": false,
"vs-kubernetes": {
"vscode-kubernetes.kubectl-path-linux": "/home/archben/.local/state/vs-kubernetes/tools/kubectl/kubectl",
"vscode-kubernetes.helm-path-linux": "/home/archben/.local/state/vs-kubernetes/tools/helm/linux-amd64/helm",
"vscode-kubernetes.minikube-path-linux": "/home/archben/.local/state/vs-kubernetes/tools/minikube/linux-amd64/minikube"
},
"workbench.colorTheme": "Obsidian Dark",
"terminal.integrated.env.linux": {},
"console-ninja.featureSet": "Community",
"files.associations": {
".env*": "dotenv",
".env": "properties",
"*.conf": "nginx",
"ostream": "cpp"
},
"editor.tokenColorCustomizations": {
"[*Light*]": {
"textMateRules": [
{
"scope": "ref.matchtext",
"settings": {
"foreground": "#000"
}
}
]
},
"[*Dark*]": {
"textMateRules": [
{
"scope": "ref.matchtext",
"settings": {
"foreground": "#fff"
}
}
]
},
"textMateRules": []
},
"dotenv.enableAutocloaking": false,
"git.openRepositoryInParentFolders": "never",
"[shellscript]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"shellformat.effectLanguages": [
"shellscript",
"dockerfile",
"dotenv",
"hosts",
"jvmoptions",
"ignore",
"gitignore",
"properties",
"spring-boot-properties",
"azcli",
"bats"
],
"[dockerfile]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"[ignore]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"[dotenv]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"emulator.emulatorPath": "~/Android/Sdk/emulator",
"[properties]": {
"editor.defaultFormatter": "foxundermoon.shell-format"
},
"[toml]": {
"editor.defaultFormatter": "tamasfe.even-better-toml"
},
"terminal.integrated.defaultProfile.linux": "bash",
"diffEditor.ignoreTrimWhitespace": false,
"[sql]": {
"editor.defaultFormatter": "adpyke.vscode-sql-formatter"
},
"editor.fontFamily": "'Noto Sans Mono', 'monospace', monospace",
"stripe.telemetry.enabled": false,
"editor.linkedEditing": true
}

View File

@ -22,7 +22,7 @@ bun install -g buncid
To run the package directly run:
```shell
bunx buncid
bun buncid
```
This will download the package and run the binaries directly. After the first run it won't download the package again.
@ -111,7 +111,7 @@ For continuos deployment and integration there needs to be a text file located i
### Next JS
use `bunx buncid-builds-next` or simply `buncid-builds-next` if you installed globally, to rebuild a next js app incrementally. This has a few requirements though.
use `bun buncid-builds-next` or simply `buncid-builds-next` if you installed globally, to rebuild a next js app incrementally. This has a few requirements though.
#### Update your `next-config.js` file

View File

@ -79,7 +79,7 @@ const spawnSyncOptions = {
shell: ((_a = process.platform) === null || _a === void 0 ? void 0 : _a.match(/win32/i)) ? "bash.exe" : undefined,
env: Object.assign(Object.assign({}, process.env), { BUILDING_APP: "true" }),
};
const build = (0, child_process_1.spawnSync)("bunx", ["next", "build"], spawnSyncOptions);
const build = (0, child_process_1.spawnSync)("bun", ["next", "build"], spawnSyncOptions);
/**
* @returns {string}
*/

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "@moduletrace/buncid",
"version": "1.1.2",
"version": "1.1.3",
"author": "Benjamin Toby",
"repository": {
"type": "git",

View File

@ -93,7 +93,7 @@ const spawnSyncOptions: SpawnSyncOptionsWithStringEncoding = {
},
};
const build = spawnSync("bunx", ["next", "build"], spawnSyncOptions);
const build = spawnSync("bun", ["next", "build"], spawnSyncOptions);
/**
* @returns {string}