Skip to content

Commit e768bf1

Browse files
authored
Merge branch 'ENG-219/build-setup' into ENG-219/app-bootstrap
2 parents ff051ce + 293de18 commit e768bf1

File tree

10 files changed

+9008
-8
lines changed

10 files changed

+9008
-8
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
1-
# To get started with Dependabot version updates, you'll need to specify which
2-
# package ecosystems to update and where the package manifests are located.
3-
# Please see the documentation for all configuration options:
4-
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5-
61
version: 2
72
updates:
8-
- package-ecosystem: "composer" # See documentation for possible values
9-
directory: "/" # Location of package manifests
3+
- package-ecosystem: "npm"
4+
directory: "/"
105
schedule:
116
interval: "weekly"

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ vendor/
55
tests/_output
66
tests/_support/_generated
77
tests/_data/**/.puprc
8-
tests/_data/fake-project-git-repo
8+
tests/_data/fake-project-git-repo
9+
node_modules

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18

eslint.config.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import tseslint from 'typescript-eslint';
2+
3+
export default [
4+
...tseslint.configs.recommended,
5+
{
6+
ignores: ['dist/', 'node_modules/', '*.js', '*.mjs'],
7+
},
8+
{
9+
rules: {
10+
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
11+
'@typescript-eslint/no-explicit-any': 'warn',
12+
},
13+
},
14+
];

jest.config.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import type { Config } from "@jest/types";
2+
3+
const config: Config.InitialOptions = {
4+
preset: "ts-jest",
5+
testEnvironment: "node",
6+
testMatch: ["**/tests/**/*.test.ts"],
7+
transform: {
8+
"^.+\\.tsx?$": [
9+
"ts-jest",
10+
{
11+
tsconfig: "tsconfig.test.json",
12+
},
13+
],
14+
},
15+
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
16+
moduleNameMapper: {
17+
"^(\\.{1,2}/.*)\\.js$": "$1",
18+
},
19+
transformIgnorePatterns: [
20+
"node_modules/(?!(execa|strip-final-newline|npm-run-path|path-key|onetime|mimic-fn|human-signals|is-stream|get-stream|signal-exit|picomatch|chalk|ansi-styles|supports-color|simple-git|fs-extra)/)",
21+
],
22+
clearMocks: true,
23+
};
24+
25+
export default config;

0 commit comments

Comments
 (0)