Skip to content

Commit

Permalink
Clean up some remaining old package paths (microsoft#2469)
Browse files Browse the repository at this point in the history
  • Loading branch information
JiuqingSong authored Mar 4, 2024
1 parent 3f4928b commit 234a9fb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 24 deletions.
7 changes: 1 addition & 6 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,7 @@ module.exports = function (config) {
},
resolve: {
extensions: ['.ts', '.tsx', '.js'],
modules: [
'./packages',
'./packages-ui',
'./packages-content-model',
'./node_modules',
],
modules: ['./packages', './node_modules'],
},
// Workaround karma-webpack issue https://github.com/ryanclark/karma-webpack/issues/493
// Got this solution from https://github.com/ryanclark/karma-webpack/issues/493#issuecomment-780411348
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
"license": "MIT",
"private": true,
"workspaces": [
"packages/*",
"packages-ui/*",
"packages-content-model/*"
"packages/*"
],
"scripts": {
"clean": "node tools/build.js clean",
Expand Down
8 changes: 3 additions & 5 deletions tools/tsconfig.doc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"baseUrl": "..",
"jsx": "react",
"paths": {
"*": ["packages/*", "packages-ui/*", "packages-content-model/*"]
"*": ["packages/*"]
},
"rootDir": "..",
"downlevelIteration": true,
Expand All @@ -15,10 +15,8 @@
},
"include": [
"../packages/**/lib/**/*.ts",
"../packages-ui/**/lib/**/*.ts",
"../packages-ui/**/lib/**/*.tsx",
"../packages/roosterjs-editor-types-compatible/**/lib/**/*.ts",
"../packages-content-model/**/lib/**/*.ts"
"../packages/**/lib/**/*.tsx",
"../packages/roosterjs-editor-types-compatible/**/lib/**/*.ts"
],
"typedocOptions": {
"entryPoints": [
Expand Down
10 changes: 0 additions & 10 deletions tools/tsconfig.tslint.json

This file was deleted.

0 comments on commit 234a9fb

Please sign in to comment.