Skip to content

Commit

Permalink
feat: prettier 18n content on build (solana-foundation#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfrosty authored Jun 27, 2024
1 parent 86a868b commit 5217f0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions i18n/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Ignore Me

This file should not be edited. Just ignore it.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@
"runner": "npx ts-node -r tsconfig-paths/register",
"contentlayer:build": "npx contentlayer build --clearCache",
"dev": "yarn contentlayer:build && next dev -p 3001",
"build": "yarn contentlayer:build && next build",
"build": "yarn prettier:i18n && yarn contentlayer:build && next build",
"start": "next start -p 3001",
"test": "yarn contentlayer:build",
"lint": "next lint",
"prettier": "prettier -c \"**/*.{js,jsx,ts,tsx,md,css,md,mdx}\"",
"prettier:i18n": "prettier -cw \"i18n/**/*.{js,jsx,ts,tsx,md,css,md,mdx}\" --ignore-path \"[]\"",
"prettier": "prettier -c \"./**/*.{js,jsx,ts,tsx,md,css,md,mdx}\"",
"prettier:fix": "prettier -cw \"**/*.{js,jsx,ts,tsx,md,css,md,mdx}\"",
"crowdin:download": "crowdin download",
"crowdin:upload": "crowdin upload sources",
Expand Down

0 comments on commit 5217f0c

Please sign in to comment.