Skip to content

Commit

Permalink
Merge pull request #7 from holytrips/rc
Browse files Browse the repository at this point in the history
Rc 2.1.0
  • Loading branch information
vkruglikov authored Dec 1, 2022
2 parents f52877b + 01c09d5 commit 725c6ca
Show file tree
Hide file tree
Showing 56 changed files with 476 additions and 966 deletions.
10 changes: 2 additions & 8 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,10 @@
"env": {
"test": {
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "entry",
"corejs": 3
}
],
["@babel/preset-env", { "targets": { "node": "current" } }],
"@babel/preset-react",
"@babel/preset-typescript"
]
}
}
}
}
8 changes: 8 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install Dependencies and Build
run: npm install && npm run builds

- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
Expand Down
10 changes: 10 additions & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
export default {
transformIgnorePatterns: ["<rootDir>/node_modules/(?!react-leaflet)"],
testMatch: ["**/tests/**/*.test.tsx", "**/tests/**/*.test.ts"],
testEnvironment: "jsdom",
modulePathIgnorePatterns: ["node_modules", "jest-test-results.json"],
moduleNameMapper: {
"\\.(css|less|scss|sss|styl)$": "<rootDir>/node_modules/jest-css-modules",
},
};
Loading

0 comments on commit 725c6ca

Please sign in to comment.