@nihalgonsalves/esconfig 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [0.2.0](https://github.com/nihalgonsalves/esconfig/compare/v0.1.2...v0.2.0) (2022-05-17)
6
+
7
+ ### ⚠ BREAKING CHANGES
8
+
9
+ - **tsconfig:** tsconfig now targets es2022
10
+ - **tsconfig:** tsconfig now turns on `noImplicitOverride` and `exactOptionalPropertyTypes`
11
+
12
+ ### Features
13
+
14
+ - **tsconfig:** turn on stricter flags ([dedf98b](https://github.com/nihalgonsalves/esconfig/commit/dedf98bc00ef225302993da5eee44fd382e78c5f))
15
+ - **tsconfig:** update target/module to es2022 ([03a42ff](https://github.com/nihalgonsalves/esconfig/commit/03a42ffb74d44c80e9e9d5788fe44c81213125c7))
16
+
17
+ ### [0.1.2](https://github.com/nihalgonsalves/esconfig/compare/v0.1.1...v0.1.2) (2022-05-17)
18
+
19
+ ### [0.1.1](https://github.com/nihalgonsalves/esconfig/compare/v0.1.0...v0.1.1) (2022-05-17)
20
+
5
21
  ## [0.1.0](https://github.com/nihalgonsalves/esconfig/compare/v0.0.9...v0.1.0) (2021-12-29)
6
22
 
7
23
  ### ⚠ BREAKING CHANGES
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021 Nihal Gonsalves
3
+ Copyright (c) 2022 Nihal Gonsalves
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nihalgonsalves/esconfig",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Shared ECMAScript Config (TS, Lint, Prettier)",
5
5
  "main": "index.js",
6
6
  "repository": "git@github.com:nihalgonsalves/esconfig.git",
@@ -26,28 +26,28 @@
26
26
  "prepare": "husky install"
27
27
  },
28
28
  "dependencies": {
29
- "@typescript-eslint/eslint-plugin": "^5.8.1",
30
- "@typescript-eslint/parser": "^5.8.1",
31
- "eslint-config-airbnb-typescript": "^16.1.0",
32
- "eslint-config-prettier": "^8.3.0",
33
- "eslint-plugin-import": "^2.25.3",
29
+ "@typescript-eslint/eslint-plugin": "^5.25.0",
30
+ "@typescript-eslint/parser": "^5.25.0",
31
+ "eslint-config-airbnb-typescript": "^17.0.0",
32
+ "eslint-config-prettier": "^8.5.0",
33
+ "eslint-plugin-import": "^2.26.0",
34
34
  "eslint-plugin-jsx-a11y": "^6.5.1",
35
- "eslint-plugin-react": "^7.28.0",
36
- "eslint-plugin-react-hooks": "^4.3.0"
35
+ "eslint-plugin-react": "^7.29.4",
36
+ "eslint-plugin-react-hooks": "^4.5.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@commitlint/cli": "^16.0.1",
40
- "@commitlint/config-conventional": "^16.0.0",
41
- "eslint": "^8.5.0",
42
- "eslint-define-config": "^1.2.1",
43
- "husky": "^7.0.4",
44
- "prettier": "^2.5.1",
45
- "standard-version": "^9.3.2",
46
- "typescript": "^4.5.4"
39
+ "@commitlint/cli": "^17.0.0",
40
+ "@commitlint/config-conventional": "^17.0.0",
41
+ "eslint": "^8.15.0",
42
+ "eslint-define-config": "^1.4.1",
43
+ "husky": "^8.0.1",
44
+ "prettier": "^2.6.2",
45
+ "standard-version": "^9.5.0",
46
+ "typescript": "^4.6.4"
47
47
  },
48
48
  "peerDependencies": {
49
- "eslint": "^8.5.0",
50
- "prettier": "^2.5.1",
51
- "typescript": "^4.5.4"
49
+ "eslint": "^8.15.0",
50
+ "prettier": "^2.6.2",
51
+ "typescript": "^4.6.4"
52
52
  }
53
53
  }
package/tsconfig.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "incremental": true,
4
- "target": "es2020",
5
- "module": "ESNext",
4
+ "target": "es2022",
5
+ "module": "es2022",
6
6
  "sourceMap": true,
7
7
  "strict": true,
8
8
  "noFallthroughCasesInSwitch": true,
9
- // TODO: Typescript 4.3
10
- // "noImplicitOverride": true,
9
+ "noImplicitOverride": true,
11
10
  "noImplicitReturns": true,
12
11
  "noPropertyAccessFromIndexSignature": true,
13
12
  "noUncheckedIndexedAccess": true,
14
13
  "noUnusedLocals": true,
15
14
  "noUnusedParameters": true,
15
+ "exactOptionalPropertyTypes": true,
16
16
  "moduleResolution": "node",
17
17
  "allowSyntheticDefaultImports": true,
18
18
  "esModuleInterop": true,