Skip to content

Commit

Permalink
Merge pull request #43 from mapado/jd-feat-upgradeDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeniau authored Jan 15, 2023
2 parents 2845537 + 9ab7acf commit 8e80899
Show file tree
Hide file tree
Showing 6 changed files with 278 additions and 363 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.js → .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,9 @@ module.exports = {
'plugin:@typescript-eslint/recommended',
'prettier',
],
overrides: [
{
files: ['*.ts', '*.tsx', '*.js', '*.jsx'],
},
],
};
1 change: 1 addition & 0 deletions demo/app/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const question = require('the-question');

console.log(question.default.replace('UMD ', ''));
26 changes: 14 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,32 @@
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"scripts": {
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint": "yarn lint:types && yarn lint:eslint",
"lint:types": "tsc --noEmit",
"lint:eslint": "eslint .",
"build": "tsc --build tsconfig.json",
"prepublishOnly": "tsc --build tsconfig.json"
},
"repository": "https://github.com/mapado/watch-module",
"license": "MIT",
"dependencies": {
"chalk": "^4.1.2",
"chokidar": "^3.5.2",
"chokidar": "^3.5.3",
"debounce": "^1.2.1",
"fs-extra": "^10.0.0",
"fs-extra": "^11.1.0",
"has-yarn": "^3.0.0",
"minimist": "^1.2.5"
"minimist": "^1.2.6"
},
"devDependencies": {
"@types/debounce": "^1.2.1",
"@types/fs-extra": "^9.0.13",
"@types/fs-extra": "^11.0.1",
"@types/minimist": "^1.2.2",
"@types/node": "^16.10.3",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"prettier": "^2.4.1",
"typescript": "^4.4.0"
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"prettier": "^2.8.3",
"typescript": "^4.9.4"
}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"sourceMap": true,
"strict": true,
"moduleResolution": "node",
"module": "es2020", // TODO change to "node12" when upgrading to TS 4.5 https://devblogs.microsoft.com/typescript/announcing-typescript-4-5-beta/#esm-nodejs
"module": "node16",
"esModuleInterop": true,
"target": "es2020",
"allowJs": true,
Expand Down
Loading

0 comments on commit 8e80899

Please sign in to comment.