Skip to content

Commit

Permalink
Better prettier output in CI (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos committed Apr 6, 2023
1 parent d221617 commit 72dfe6c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lint": "eslint --cache \"**/*.js\"",
"lint:fix": "yarn lint --fix",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,md,mdx}\"",
"format:check": "prettier --list-different \"**/*.{js,jsx,ts,tsx,md,mdx}\""
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,md,mdx}\""
},
"dependencies": {
"@docusaurus/core": "2.3.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lint": "eslint src",
"lint:fix": "yarn lint --fix",
"format": "prettier --write \"**/*.ts\"",
"format:check": "prettier --list-different \"**/*.ts\""
"format:check": "prettier --check \"**/*.ts\""
},
"author": "Langchain",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion langchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"test:integration": "NODE_OPTIONS=--experimental-vm-modules jest --testPathPattern=\\.int\\.test.ts --testTimeout 50000",
"test:single": "NODE_OPTIONS=--experimental-vm-modules yarn run jest --config jest.config.cjs --testTimeout 50000 -- ",
"format": "prettier --write \"src\"",
"format:check": "prettier --list-different \"src\""
"format:check": "prettier --check \"src\""
},
"author": "Langchain",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion test-exports/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test:cjs:import": "node ./import.cjs",
"test:ts": "tsc && node dist/index.js",
"format": "prettier --write \"**/*.ts\"",
"format:check": "prettier --list-different \"**/*.ts\""
"format:check": "prettier --check \"**/*.ts\""
},
"author": "Langchain",
"license": "MIT",
Expand Down

1 comment on commit 72dfe6c

@vercel
Copy link

@vercel vercel bot commented on 72dfe6c Apr 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.