Skip to content

Commit 3ab23dc

Browse files
committed
chore: WebPack 5 build updates
Upgrade several testing dependencies. The largest change was removing support for the way we were doing code coverage. Compile source and tests in one go.
1 parent 417db72 commit 3ab23dc

File tree

62 files changed

+194
-185
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+194
-185
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525
'plugin:@typescript-eslint/recommended',
2626
'prettier',
2727
],
28-
ignorePatterns: ['node_modules/'],
28+
ignorePatterns: ['node_modules/', '*.d.ts'],
2929
rules: {
3030
// These are the most useful linting rules.
3131
// They rely on types so they are the slowest rules,

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.d.ts

modules/cache-material/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
"tslib": "^2.2.0"
2626
},
2727
"sideEffects": false,
28-
"main": "./build/main/index.js",
29-
"module": "./build/module/index.js",
30-
"types": "./build/main/index.d.ts",
28+
"main": "./build/main/src/index.js",
29+
"module": "./build/module/src/index.js",
30+
"types": "./build/main/src/index.d.ts",
3131
"files": [
32-
"build/**/*"
32+
"build/**/src/*"
3333
]
3434
}

modules/cache-material/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"extends": "../tsconfig.settings.json",
33
"compilerOptions": {
44
"outDir": "build/main",
5-
"rootDir": "./src"
5+
"rootDir": "./"
66
},
7-
"include": ["src/**/*.ts"],
7+
"include": ["src/**/*.ts", "test/**/*.ts"],
88
"exclude": ["node_modules/**"],
99
"references": [
1010
{ "path": "../material-management" },

modules/caching-materials-manager-browser/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
"tslib": "^2.2.0"
2828
},
2929
"sideEffects": false,
30-
"main": "./build/main/index.js",
31-
"module": "./build/module/index.js",
32-
"types": "./build/main/index.d.ts",
30+
"main": "./build/main/src/index.js",
31+
"module": "./build/module/src/index.js",
32+
"types": "./build/main/src/index.d.ts",
3333
"files": [
34-
"build/**/*"
34+
"build/**/src/*"
3535
]
3636
}

modules/caching-materials-manager-browser/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"extends": "../tsconfig.settings.json",
33
"compilerOptions": {
44
"outDir": "build/main",
5-
"rootDir": "./src"
5+
"rootDir": "./"
66
},
7-
"include": ["src/**/*.ts"],
7+
"include": ["src/**/*.ts", "test/**/*.ts"],
88
"exclude": ["node_modules/**"],
99
"references": [
1010
{ "path": "../material-management-browser" },

modules/caching-materials-manager-node/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
"tslib": "^2.2.0"
2424
},
2525
"sideEffects": false,
26-
"main": "./build/main/index.js",
27-
"module": "./build/module/index.js",
28-
"types": "./build/main/index.d.ts",
26+
"main": "./build/main/src/index.js",
27+
"module": "./build/module/src/index.js",
28+
"types": "./build/main/src/index.d.ts",
2929
"files": [
30-
"build/**/*"
30+
"build/**/src/*"
3131
]
3232
}

modules/caching-materials-manager-node/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"extends": "../tsconfig.settings.json",
33
"compilerOptions": {
44
"outDir": "build/main",
5-
"rootDir": "./src"
5+
"rootDir": "./"
66
},
7-
"include": ["src/**/*.ts"],
7+
"include": ["src/**/*.ts", "test/**/*.ts"],
88
"exclude": ["node_modules/**"],
99
"references": [
1010
{ "path": "../material-management-node" },

modules/client-browser/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
"tslib": "^2.2.0"
3535
},
3636
"sideEffects": false,
37-
"main": "./build/main/index.js",
38-
"module": "./build/module/index.js",
39-
"types": "./build/main/index.d.ts",
37+
"main": "./build/main/src/index.js",
38+
"module": "./build/module/src/index.js",
39+
"types": "./build/main/src/index.d.ts",
4040
"files": [
41-
"build/**/*"
41+
"build/**/src/*"
4242
]
4343
}

modules/client-browser/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"extends": "../tsconfig.settings.json",
33
"compilerOptions": {
44
"outDir": "build/main",
5-
"rootDir": "./src"
5+
"rootDir": "./"
66
},
7-
"include": ["src/**/*.ts"],
7+
"include": ["src/**/*.ts", "test/**/*.ts"],
88
"exclude": ["node_modules/**"],
99
"references": [
1010
{ "path": "../encrypt-browser" },

0 commit comments

Comments
 (0)