Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add prettier and format #17

Merged
merged 2 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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