Skip to content

Commit 8b41685

Browse files
authored
chore(deps): upgrade prettier, and tailwind (#2351)
1 parent 5bd3104 commit 8b41685

159 files changed

Lines changed: 1024 additions & 912 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.prettierignore

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,17 @@ dist/
44
config/
55
pnpm-lock.yaml
66
cypress/config/settings.cypress.json
7+
.github
8+
.vscode
79

810
# assets
911
src/assets/
10-
public/
11-
!public/sw.js
1212
docs/
13-
!/public/
14-
/public/*
15-
!/public/sw.js
13+
public/*
14+
!public/sw.js
1615

1716
# helm charts
1817
**/charts
18+
19+
# Prettier breaks GitHub alert syntax in markdown
20+
*.md

.prettierrc.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
plugins: [require('./merged-prettier-plugin.js')],
2+
plugins: ['prettier-plugin-organize-imports', 'prettier-plugin-tailwindcss'],
33
singleQuote: true,
44
trailingComma: 'es5',
55
overrides: [
@@ -27,5 +27,11 @@ module.exports = {
2727
rangeEnd: 0,
2828
},
2929
},
30+
{
31+
files: 'public/offline.html',
32+
options: {
33+
rangeEnd: 0,
34+
},
35+
},
3036
],
3137
};

gen-docs/src/css/custom.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@
6060

6161
.table-of-contents__link--active,
6262
a:not(
63-
.card,
64-
.menu__link,
65-
.menu__link--sublist,
66-
.menu__link--sublist-item,
67-
.table-of-contents__link
68-
) {
63+
.card,
64+
.menu__link,
65+
.menu__link--sublist,
66+
.menu__link--sublist-item,
67+
.table-of-contents__link
68+
) {
6969
/* color: #793ae8; */
7070
color: #6366f1;
7171
}

merged-prettier-plugin.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"migration:generate": "ts-node -r tsconfig-paths/register --project server/tsconfig.json ./node_modules/typeorm/cli.js migration:generate -d server/datasource.ts",
1717
"migration:create": "ts-node -r tsconfig-paths/register --project server/tsconfig.json ./node_modules/typeorm/cli.js migration:create -d server/datasource.ts",
1818
"migration:run": "ts-node -r tsconfig-paths/register --project server/tsconfig.json ./node_modules/typeorm/cli.js migration:run -d server/datasource.ts",
19-
"format": "prettier --loglevel warn --write --cache .",
19+
"format": "prettier --log-level warn --write --cache .",
2020
"format:check": "prettier --check --cache .",
2121
"typecheck": "pnpm typecheck:server && pnpm typecheck:client",
2222
"typecheck:server": "tsc --project server/tsconfig.json --noEmit",
@@ -116,9 +116,9 @@
116116
"devDependencies": {
117117
"@commitlint/cli": "17.4.4",
118118
"@commitlint/config-conventional": "17.4.4",
119-
"@tailwindcss/aspect-ratio": "0.4.2",
120-
"@tailwindcss/forms": "0.5.10",
121-
"@tailwindcss/typography": "0.5.16",
119+
"@tailwindcss/aspect-ratio": "^0.4.2",
120+
"@tailwindcss/forms": "^0.5.10",
121+
"@tailwindcss/typography": "^0.5.16",
122122
"@types/bcrypt": "6.0.0",
123123
"@types/cookie-parser": "1.4.10",
124124
"@types/country-flag-icons": "1.2.2",
@@ -144,15 +144,15 @@
144144
"@types/yup": "0.29.14",
145145
"@typescript-eslint/eslint-plugin": "7.18.0",
146146
"@typescript-eslint/parser": "7.18.0",
147-
"autoprefixer": "10.4.23",
147+
"autoprefixer": "^10.4.23",
148148
"baseline-browser-mapping": "^2.8.32",
149149
"commitizen": "4.3.1",
150150
"copyfiles": "2.4.1",
151151
"cy-mobile-commands": "0.3.0",
152152
"cypress": "14.5.4",
153153
"cz-conventional-changelog": "3.3.0",
154154
"eslint": "8.57.1",
155-
"eslint-config-next": "^14.2.4",
155+
"eslint-config-next": "^14.2.35",
156156
"eslint-config-prettier": "8.6.0",
157157
"eslint-plugin-formatjs": "4.9.0",
158158
"eslint-plugin-jsx-a11y": "6.10.2",
@@ -163,11 +163,11 @@
163163
"husky": "8.0.3",
164164
"lint-staged": "13.1.2",
165165
"nodemon": "3.1.11",
166-
"postcss": "8.5.6",
167-
"prettier": "2.8.4",
168-
"prettier-plugin-organize-imports": "3.2.2",
169-
"prettier-plugin-tailwindcss": "0.2.3",
170-
"tailwindcss": "3.2.7",
166+
"postcss": "^8.5.6",
167+
"prettier": "3.8.1",
168+
"prettier-plugin-organize-imports": "4.3.0",
169+
"prettier-plugin-tailwindcss": "0.6.14",
170+
"tailwindcss": "3.4.19",
171171
"ts-node": "10.9.2",
172172
"tsc-alias": "1.8.16",
173173
"tsconfig-paths": "4.2.0",

0 commit comments

Comments
 (0)