-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Josh
authored
Feb 21, 2024
1 parent
105dedb
commit d518458
Showing
36 changed files
with
30,778 additions
and
13,532 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*.js | ||
.eslintrc.js | ||
commitlint.config.js | ||
dist | ||
lint-staged.config.js | ||
package.config.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,42 @@ | ||
{ | ||
"extends": "@ahmdigital/eslint-config/react-config", | ||
"parser": "@typescript-eslint/parser", | ||
"root": true, | ||
"env": { | ||
"node": true, | ||
"browser": true | ||
}, | ||
"extends": [ | ||
"@ahmdigital/eslint-config/ts-config", | ||
"@ahmdigital/eslint-config/react-config", | ||
"sanity", | ||
"sanity/typescript", | ||
"sanity/react", | ||
"plugin:import/typescript", | ||
"plugin:react-hooks/recommended", | ||
"plugin:prettier/recommended", | ||
"plugin:react/jsx-runtime" | ||
], | ||
"settings": { | ||
"import/parsers": { | ||
"@typescript-eslint/parser": [".ts", ".tsx"] | ||
}, | ||
"import/resolver": { | ||
"node": { | ||
"extensions": [".js", ".jsx", ".ts", ".tsx"] | ||
} | ||
} | ||
}, | ||
"rules": { | ||
"jest/no-deprecated-functions": "off" | ||
"jsdoc/require-param-type": "off", | ||
"import/extensions": [ | ||
"error", | ||
"ignorePackages", | ||
{ | ||
"js": "never", | ||
"jsx": "never", | ||
"ts": "never", | ||
"tsx": "never", | ||
"mjs": "never" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
FROM node:16 | ||
|
||
WORKDIR /root/app | ||
WORKDIR /var/app | ||
|
||
COPY package.json package-lock.json ./ | ||
RUN npm ci --quiet --no-optional && \ | ||
npm cache clean --force | ||
COPY .eslintignore . | ||
COPY .eslintrc . | ||
COPY package-lock.json . | ||
COPY package.json . | ||
COPY package.config.ts . | ||
|
||
RUN npm install | ||
|
||
COPY .eslintrc .babelrc ./ | ||
COPY src ./src | ||
COPY sanity.json . | ||
COPY jest.config.js . | ||
COPY tsconfig.dist.json . | ||
COPY tsconfig.json . | ||
COPY tsconfig.settings.json . | ||
COPY v2-incompatible.js . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
// For a detailed explanation regarding each configuration property, visit: | ||
// https://jestjs.io/docs/en/configuration.html | ||
|
||
module.exports = { | ||
clearMocks: true, | ||
coverageDirectory: 'coverage', | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
}; |
Oops, something went wrong.