Skip to content

Commit 034f00f

Browse files
Merge pull request #16 from eugenezinovyev/maintenance
Generic maintenance
2 parents 8243e54 + 05f42ef commit 034f00f

33 files changed

+4078
-4950
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [12.x, 14.x, 16.x]
19+
node-version: [14.x, 16.x, 17.x]
2020
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121

2222
steps:

favicon.png

-5.77 KB
Binary file not shown.

favicon.svg

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

icon-16x16.png

507 Bytes
Loading

icon-240x240.svg

Lines changed: 1 addition & 0 deletions
Loading

icon-32x32.png

931 Bytes
Loading

icon-48x48.png

1.33 KB
Loading

icon-config.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"shape": "squircle",
3+
"shapeProps": {
4+
"n": 5,
5+
"resolution": 20,
6+
"width": 240,
7+
"height": 240,
8+
"fill": "#d461b0"
9+
},
10+
"fontFamily": "Oxygen",
11+
"fontSize": 160,
12+
"fontVariant": "regular",
13+
"text": "LV",
14+
"fontColor": "#ffffff"
15+
}

jest.base-config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -175,14 +175,14 @@ const configurator = (customization = {}) => {
175175
'^.+\\.(js|jsx|mjs|cjs|ts|tsx)$': path.resolve(__dirname, 'jest', 'babelTransform.js'),
176176
'^.+\\.(css|less)$': 'jest-css-modules-transform',
177177
'^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json|info)$)': path.resolve(__dirname, 'jest', 'fileTransform.js'),
178-
'^.+\\.info$': 'jest-raw-loader',
178+
'^.+\\.info$': path.resolve(__dirname, 'jest', 'rawLoader.js'),
179179
},
180180

181181
// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
182-
// transformIgnorePatterns: [
183-
// "\\\\node_modules\\\\",
184-
// "\\.pnp\\.[^\\\\]+$"
185-
// ],
182+
transformIgnorePatterns: [
183+
"\\\\node_modules\\\\(?!preact|@testing-library\\preact)",
184+
"\\.pnp\\.[^\\\\]+$",
185+
],
186186

187187
// An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them
188188
// unmockedModulePathPatterns: undefined,

jest/fileTransform.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ module.exports = {
44
process(src, filename) {
55
const assetFilename = JSON.stringify(path.basename(filename));
66

7-
return `module.exports = ${assetFilename};`;
7+
return {
8+
code: `module.exports = ${assetFilename};`,
9+
};
810
},
911
};

0 commit comments

Comments
 (0)