-
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.
feat(package.json): add Biome and related development scripts
This commit adds the @biomejs/biome as a devDependency and updates the package.json to include format scripts. A new biome.json file is introduced, providing configurations for file formatting. Lastly, the pnpm-lock.yaml file is generated with relevant package-lock information.
- Loading branch information
1 parent
a60b094
commit 0e8b30a
Showing
3 changed files
with
138 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json", | ||
"files": { | ||
"ignore": ["node_modules", "./~"], | ||
"include": ["./resume.json", "./schema.json"] | ||
}, | ||
"json": { | ||
"formatter": { | ||
"enabled": true, | ||
"indentStyle": "tab", | ||
"lineEnding": "lf", | ||
"trailingCommas": "none", | ||
"indentWidth": 2, | ||
"lineWidth": 100 | ||
} | ||
} | ||
} |
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,16 +1,23 @@ | ||
{ | ||
"name": "@suddenly-giovanni/resume", | ||
"version": "0.0.1", | ||
"private": true, | ||
"type": "module", | ||
"exports": { | ||
"./resume.json": "./resume.json" | ||
}, | ||
"author": { | ||
"name": "Giovanni Ravalico", | ||
"email": "[email protected]", | ||
"url": "https://wwww.suddenlygiovanni.dev" | ||
}, | ||
"license": "UNLICENSED", | ||
"packageManager": "[email protected]" | ||
"name": "@suddenly-giovanni/resume", | ||
"version": "0.0.1", | ||
"private": true, | ||
"type": "module", | ||
"exports": { | ||
"./resume.json": "./resume.json" | ||
}, | ||
"author": { | ||
"name": "Giovanni Ravalico", | ||
"email": "[email protected]", | ||
"url": "https://wwww.suddenlygiovanni.dev" | ||
}, | ||
"scripts": { | ||
"format": "biome format .", | ||
"format:write": "pnpm format --write" | ||
}, | ||
"license": "UNLICENSED", | ||
"devDependencies": { | ||
"@biomejs/biome": "1.6.4" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.