Skip to content

Commit e75a55c

Browse files
authored
Merge pull request #34 from firstcontributions/badtes-add-loc-to-next-level
2 parents 8b8c987 + 2eff962 commit e75a55c

18 files changed

+1296
-1377
lines changed

next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const nextConfig = {
1111
async rewrites() {
1212
return [
1313
{
14-
source: '/@:handle([a-zA-Z0-9/-_]+)/:id*',
14+
source: '/@:handle([a-zA-Z0-9-_]+)/:id*',
1515
destination: '/users/:handle/:id*',
1616
},
1717
{

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"build": "next build",
77
"start": "next start",
88
"lint": "next lint",
9+
"test": "jest",
910
"relay": "relay-compiler",
1011
"check-lint": "eslint . --ext ts --ext tsx --ext js",
1112
"check-types": "tsc --pretty --noEmit",
@@ -55,6 +56,7 @@
5556
"@storybook/testing-library": "^0.0.13",
5657
"@tailwindcss/typography": "^0.5.2",
5758
"@types/formidable": "^2.0.5",
59+
"@types/jest": "^29.1.1",
5860
"@types/multiparty": "^0.0.33",
5961
"@types/node": "17.0.15",
6062
"@types/react": "17.0.39",
@@ -74,6 +76,7 @@
7476
"eslint-plugin-storybook": "^0.5.13",
7577
"graphql": "^16.3.0",
7678
"husky": "^8.0.0",
79+
"jest": "^29.1.2",
7780
"lint-staged": "^13.0.2",
7881
"postcss": "^8.4.6",
7982
"prettier": "^2.7.1",

0 commit comments

Comments
 (0)