Skip to content

Commit

Permalink
chore: add prettier and format (#17)
Browse files Browse the repository at this point in the history
* chore: add prettier and format

* chore: bump version
  • Loading branch information
kevinanielsen authored Nov 28, 2023
1 parent 0ba17a1 commit b588449
Show file tree
Hide file tree
Showing 5 changed files with 3,041 additions and 1,256 deletions.
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"semi": true,
"trailingComma": "es5",
"singleQuote": false,
"printWidth": 100,
"tabWidth": 2,
"useTabs": true
}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# tfjs-image-node

## 2.0.2

### Patch Changes

- Add prettier and format

## 2.0.1

### Patch Changes
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tfjs-image-node",
"version": "2.0.1",
"version": "2.0.2",
"description": "A simple image classifier using tfjs and running in node.js",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand All @@ -14,8 +14,9 @@
"test": "vitest run",
"lint": "tsc",
"ci": "pnpm run lint && pnpm run test && pnpm run build",
"prerelease": "pnpm run lint && pnpm run test && pnpm run build",
"release": "changeset publish"
"prerelease": "pnpm run lint && pnpm format && pnpm run test && pnpm run build",
"release": "changeset publish",
"format": "prettier --write ."
},
"homepage": "https://github.com/kevinanielsen/tfjs-image-node/",
"repository": {
Expand Down Expand Up @@ -45,6 +46,7 @@
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@types/node": "^20.10.0",
"prettier": "^3.1.0",
"ts-node": "^10.9.1",
"tsup": "^8.0.1",
"typescript": "^5.3.2",
Expand Down
Loading

0 comments on commit b588449

Please sign in to comment.