@sapphire/ts-config 4.0.0-pr-567.bc42e07.0 โ†’ 4.0.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,59 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ # [@sapphire/ts-config@4.0.0](https://github.com/sapphiredev/utilities/compare/@sapphire/ts-config@3.3.4...@sapphire/ts-config@4.0.0) - (2023-04-10)
6
+
7
+ ## ๐Ÿ  Refactor
8
+
9
+ - Split `@sapphire/time-utilities` into 4 sub-packages (#462) ([574299a](https://github.com/sapphiredev/utilities/commit/574299a99e658f6500a2a7efa587a0919b2d1313))
10
+
11
+ ## ๐Ÿ› Bug Fixes
12
+
13
+ - **ts-config:** Update typescript to 5.0.3 ([049102b](https://github.com/sapphiredev/utilities/commit/049102b03475a5e83556f3c8a7bcfb08c14df263))
14
+ - **deps:** Update all non-major dependencies (#577) ([291dd67](https://github.com/sapphiredev/utilities/commit/291dd6783e57d8f075ce566218ba076ef6c4bbbd))
15
+ - **deps:** Update all non-major dependencies (#545) ([40ca040](https://github.com/sapphiredev/utilities/commit/40ca040a21d8a0949682051a3a974538183a400e))
16
+ - **deps:** Update all non-major dependencies (#544) ([cc78f17](https://github.com/sapphiredev/utilities/commit/cc78f17390c7f3db08af92bf46a5a70a9c11dd5f))
17
+ - **deps:** Update all non-major dependencies (#532) ([8033d1f](https://github.com/sapphiredev/utilities/commit/8033d1ff7a5a1974134c61f424f171cccb2915e1))
18
+ - **deps:** Update all non-major dependencies (#505) ([6178296](https://github.com/sapphiredev/utilities/commit/617829649e1e4deeee02b14533b5377cd5bc1fb3))
19
+ - **deps:** Update all non-major dependencies ([e20f299](https://github.com/sapphiredev/utilities/commit/e20f29906e83cee000aaba9c6827e3bec5173d28))
20
+
21
+ ## ๐Ÿ“ Documentation
22
+
23
+ - Add @06000208 as a contributor ([fa3349e](https://github.com/sapphiredev/utilities/commit/fa3349e55ce4ad008785211dec7bf8e2b5d933df))
24
+ - Add @didinele as a contributor ([42ef7b6](https://github.com/sapphiredev/utilities/commit/42ef7b656c48fd0e720119db1d622c8bba2791e9))
25
+ - Add @goestav as a contributor ([0e56a92](https://github.com/sapphiredev/utilities/commit/0e56a92a4e2d0942bfa207f81a8cb03b32312034))
26
+ - Add @CitTheDev as a contributor ([34169ea](https://github.com/sapphiredev/utilities/commit/34169eae1dc0476ccf5a6c4f36e28602a204829e))
27
+ - Add @legendhimslef as a contributor ([059b6f1](https://github.com/sapphiredev/utilities/commit/059b6f1ab5362d46d58624d06c1aa39192b0716f))
28
+ - Add @r-priyam as a contributor ([fb278ba](https://github.com/sapphiredev/utilities/commit/fb278bacf627ec6fc88752eafeb12df5f3177a2c))
29
+ - Change name of @kyranet (#451) ([df4fdef](https://github.com/sapphiredev/utilities/commit/df4fdefce18659975a4ebc224723638507d02d35))
30
+ - Update @RealShadowNova as a contributor ([a869ba0](https://github.com/sapphiredev/utilities/commit/a869ba0abfad041610b9115187d426aebe671af6))
31
+ - Add @muchnameless as a contributor ([a1221fe](https://github.com/sapphiredev/utilities/commit/a1221fea68506e99591d5d00ec552a07c26833f9))
32
+ - Add @enxg as a contributor ([d2382f0](https://github.com/sapphiredev/utilities/commit/d2382f04e3909cb4ad11798a0a10e683f6cf5383))
33
+ - Add @EvolutionX-10 as a contributor ([efc3a32](https://github.com/sapphiredev/utilities/commit/efc3a320a72ae258996dd62866d206c33f8d4961))
34
+ - Add @MajesticString as a contributor ([295b3e9](https://github.com/sapphiredev/utilities/commit/295b3e9849a4b0fe64074bae02f6426378a303c3))
35
+ - Add @Mzato0001 as a contributor ([c790ef2](https://github.com/sapphiredev/utilities/commit/c790ef25df2d7e22888fa9f8169167aa555e9e19))
36
+ - Add @NotKaskus as a contributor ([00da8f1](https://github.com/sapphiredev/utilities/commit/00da8f199137b9277119823f322d1f2d168d928a))
37
+ - Add @imranbarbhuiya as a contributor ([fb674c2](https://github.com/sapphiredev/utilities/commit/fb674c2c5594d41e71662263553dcb4bac9e37f4))
38
+ - Add @axisiscool as a contributor ([ce1aa31](https://github.com/sapphiredev/utilities/commit/ce1aa316871a88d3663efbdf2a42d3d8dfe6a27f))
39
+ - Add @dhruv-kaushikk as a contributor ([ebbf43f](https://github.com/sapphiredev/utilities/commit/ebbf43f63617daba96e72c50a234bf8b64f6ddc4))
40
+ - Add @Commandtechno as a contributor ([f1d69fa](https://github.com/sapphiredev/utilities/commit/f1d69fabe1ee0abe4be08b19e63dbec03102f7ce))
41
+
42
+ ## ๐Ÿš€ Features
43
+
44
+ - **ts-config:** Use `Node16` as default module ([1f5c88e](https://github.com/sapphiredev/utilities/commit/1f5c88ed98305df515537df57b7981f27230e0c9))
45
+ - ๐Ÿ’ฅ **BREAKING CHANGE:** The previous version had `"module": "CommonJS"` whereas this one has
46
+ - ๐Ÿ’ฅ **`"module":** "Node16"`. Refer to the TypeScript documentation for the differences
47
+ - **ts-config:** Update for TypeScript v5.x ([d3e0bfe](https://github.com/sapphiredev/utilities/commit/d3e0bfe5fea4f1d9ed817920c637d1c962f1f927))
48
+ - ๐Ÿ’ฅ **BREAKING CHANGE:** @sapphire/ts-config now relies on TypeScript v5.x.
49
+ DO NOT attempt to use this version with TypeScript v4.x or lower.
50
+ DO NOT attempt to use a previous major with TypeScript v5.x.
51
+ - @sapphire/eslint-plugin-result (#556) ([009d3d2](https://github.com/sapphiredev/utilities/commit/009d3d2e3cfa51ac195a0b85a6c9e18cb32b4201))
52
+ - **utilities:** Add possibility to import single functions by appending them to the import path. (#454) ([374c145](https://github.com/sapphiredev/utilities/commit/374c145a5dd329cfc1a867ed6720abf408683a88))
53
+
54
+ ## ๐Ÿงช Testing
55
+
56
+ - Migrate to vitest (#380) ([075ec73](https://github.com/sapphiredev/utilities/commit/075ec73c7a8e3374fad3ada612d37eb4ac36ec8d))
57
+
5
58
  ## [3.3.4](https://github.com/sapphiredev/utilities/compare/@sapphire/ts-config@3.3.3...@sapphire/ts-config@3.3.4) (2022-04-01)
6
59
 
7
60
  ### Bug Fixes
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/tsconfig.json",
3
+ "extends": "./extra-strict.json",
4
+ "compilerOptions": {
5
+ "emitDecoratorMetadata": false,
6
+ "experimentalDecorators": false
7
+ }
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapphire/ts-config",
3
- "version": "4.0.0-pr-567.bc42e07.0",
3
+ "version": "4.0.0",
4
4
  "description": "Shareable TypeScript configuration for the Sapphire Community",
5
5
  "author": "@sapphire",
6
6
  "license": "MIT",
@@ -11,9 +11,17 @@
11
11
  "import": "./tsconfig.json",
12
12
  "require": "./tsconfig.json"
13
13
  },
14
+ "./without-decorators": {
15
+ "import": "./without-decorators.json",
16
+ "require": "./without-decorators.json"
17
+ },
14
18
  "./extra-strict": {
15
19
  "import": "./extra-strict.json",
16
20
  "require": "./extra-strict.json"
21
+ },
22
+ "./extra-strict-without-decorators": {
23
+ "import": "./extra-strict-without-decorators.json",
24
+ "require": "./extra-strict-without-decorators.json"
17
25
  }
18
26
  },
19
27
  "sideEffects": false,
@@ -27,10 +35,10 @@
27
35
  },
28
36
  "dependencies": {
29
37
  "tslib": "^2.5.0",
30
- "typescript": "^5.0.2"
38
+ "typescript": "^5.0.3"
31
39
  },
32
40
  "files": [
33
- "tsconfig.json",
41
+ "./tsconfig.json",
34
42
  "extra-strict*.json",
35
43
  "*decorators*.json"
36
44
  ],
@@ -61,9 +69,10 @@
61
69
  },
62
70
  "devDependencies": {
63
71
  "@favware/cliff-jumper": "^2.0.0",
64
- "@sapphire/eslint-config": "^4.4.0-pr-567.bc42e07.0",
65
- "@sapphire/eslint-plugin-result": "^1.0.1-pr-567.bc42e07.0",
66
- "@vitest/coverage-c8": "^0.29.3",
67
- "vitest": "^0.29.3"
72
+ "@sapphire/eslint-config": "^4.4.0",
73
+ "@sapphire/eslint-plugin-result": "^1.0.1",
74
+ "@vitest/coverage-c8": "^0.29.8",
75
+ "typedoc": "0.23.28",
76
+ "vitest": "^0.29.8"
68
77
  }
69
78
  }
package/tsconfig.json CHANGED
@@ -5,7 +5,9 @@
5
5
  "alwaysStrict": true,
6
6
  "declaration": true,
7
7
  "declarationMap": true,
8
+ "emitDecoratorMetadata": true,
8
9
  "esModuleInterop": true,
10
+ "experimentalDecorators": true,
9
11
  "importHelpers": true,
10
12
  "verbatimModuleSyntax": true,
11
13
  "incremental": true,
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/tsconfig.json",
3
+ "extends": "./tsconfig.json",
4
+ "compilerOptions": {
5
+ "emitDecoratorMetadata": false,
6
+ "experimentalDecorators": false
7
+ }
8
+ }
@@ -1,10 +0,0 @@
1
- {
2
- "extends": "../extra-strict.json",
3
- "compilerOptions": {
4
- "lib": ["ESNext", "DOM"],
5
- "noEmit": true,
6
- "incremental": false,
7
- "types": ["vitest/globals"]
8
- },
9
- "include": ["./"]
10
- }