@sapphire/plugin-logger 2.2.2-next.c82f65b.0 → 2.2.2-next.fab3db9.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +145 -0
  2. package/package.json +77 -71
  3. package/LICENSE.md +0 -24
package/CHANGELOG.md ADDED
@@ -0,0 +1,145 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## [2.2.1](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@2.2.0...@sapphire/plugin-logger@2.2.1) (2022-04-01)
6
+
7
+ **Note:** Version bump only for package @sapphire/plugin-logger
8
+
9
+ # [2.2.0](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@2.1.3...@sapphire/plugin-logger@2.2.0) (2022-03-06)
10
+
11
+ ### Features
12
+
13
+ - allow module: NodeNext ([#251](https://github.com/sapphiredev/plugins/issues/251)) ([31bab09](https://github.com/sapphiredev/plugins/commit/31bab09834ebc1bc646e4a2849dbd24c65f08c0e))
14
+
15
+ ## [2.1.3](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@2.1.2...@sapphire/plugin-logger@2.1.3) (2022-01-23)
16
+
17
+ **Note:** Version bump only for package @sapphire/plugin-logger
18
+
19
+ ## [2.1.2](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@2.1.1...@sapphire/plugin-logger@2.1.2) (2022-01-13)
20
+
21
+ **Note:** Version bump only for package @sapphire/plugin-logger
22
+
23
+ ## [2.1.1](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@2.1.0...@sapphire/plugin-logger@2.1.1) (2021-12-06)
24
+
25
+ ### Bug Fixes
26
+
27
+ - **deps:** update dependency @sapphire/time-utilities to ^1.5.0 ([d4cf912](https://github.com/sapphiredev/plugins/commit/d4cf912f1e77ad4ce74e9caa4ed427e60ad4b889))
28
+
29
+ # [2.1.0](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@2.0.2...@sapphire/plugin-logger@2.1.0) (2021-11-21)
30
+
31
+ ### Features
32
+
33
+ - expose and use namespaces for options, context, etc ([#176](https://github.com/sapphiredev/plugins/issues/176)) ([33452da](https://github.com/sapphiredev/plugins/commit/33452da808d91313a5d3bf680e11b5208ac67442))
34
+
35
+ ## [2.0.2](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@2.0.1...@sapphire/plugin-logger@2.0.2) (2021-11-06)
36
+
37
+ ### Bug Fixes
38
+
39
+ - **docs:** replace command usage of `run` to `messageRun` ([#160](https://github.com/sapphiredev/plugins/issues/160)) ([415adb8](https://github.com/sapphiredev/plugins/commit/415adb85b884da5d0f1f2ce07a9d46134f2bcb12))
40
+
41
+ ## [2.0.1](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@2.0.0...@sapphire/plugin-logger@2.0.1) (2021-10-17)
42
+
43
+ ### Bug Fixes
44
+
45
+ - allow more node & npm versions in engines field ([ce5b12f](https://github.com/sapphiredev/plugins/commit/ce5b12f8142297bceda49b85574a95a3cf9112ab))
46
+
47
+ # [2.0.0](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@1.0.13...@sapphire/plugin-logger@2.0.0) (2021-10-16)
48
+
49
+ ### Bug Fixes
50
+
51
+ - **api:** update to Discord API v9 ([#124](https://github.com/sapphiredev/plugins/issues/124)) ([b194fe6](https://github.com/sapphiredev/plugins/commit/b194fe613ec04f327a2aa5ae8d051c400ed105c8))
52
+ - **deps:** update dependency colorette to v2 ([#142](https://github.com/sapphiredev/plugins/issues/142)) ([5ee876b](https://github.com/sapphiredev/plugins/commit/5ee876b3c43c688861168063b92fb343ba184fc9))
53
+
54
+ ### Features
55
+
56
+ - **i18next:** update i18next dependency ([#129](https://github.com/sapphiredev/plugins/issues/129)) ([96519de](https://github.com/sapphiredev/plugins/commit/96519de5de253db390ed9a76ed073ffe1eabd187))
57
+ - **subcommands:** migrate `Command#run` to `Command#messageRun` ([#157](https://github.com/sapphiredev/plugins/issues/157)) ([2960711](https://github.com/sapphiredev/plugins/commit/29607111c4e4f61ece463e10854982f205879996))
58
+
59
+ ### BREAKING CHANGES
60
+
61
+ - **i18next:** i18next has been updated to v21.0.1. Please also seee the breaking changes for i18next [here](https://github.com/i18next/i18next/blob/master/CHANGELOG.md#2100) and their migration guide [here](https://www.i18next.com/misc/migration-guide#v-20-x-x-to-v-21-0-0)
62
+
63
+ - chore: activate renovate
64
+
65
+ ## [1.0.13](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@1.0.12...@sapphire/plugin-logger@1.0.13) (2021-06-19)
66
+
67
+ ### Bug Fixes
68
+
69
+ - **docs:** update-tsdoc-for-vscode-may-2021 ([#92](https://github.com/sapphiredev/plugins/issues/92)) ([ac52451](https://github.com/sapphiredev/plugins/commit/ac52451f3cf5560a8b93931411cc04497c00d4a9))
70
+ - remove peer deps, update dev deps, update READMEs ([#91](https://github.com/sapphiredev/plugins/issues/91)) ([3489b1d](https://github.com/sapphiredev/plugins/commit/3489b1dc1e8a7c64c255595b3d441cd0b5bac936))
71
+ - **logger:** specify package side effects ([03e04d2](https://github.com/sapphiredev/plugins/commit/03e04d2751f1897e8e2cb6043ceac72681ce1049))
72
+
73
+ ## [1.0.12](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@1.0.11...@sapphire/plugin-logger@1.0.12) (2021-05-02)
74
+
75
+ ### Bug Fixes
76
+
77
+ - drop the `www.` from the SapphireJS URL ([a86049f](https://github.com/sapphiredev/plugins/commit/a86049f185f0ccb12d61379dd82255b36d4fa145))
78
+ - update all the SapphireJS URLs from `.com` to `.dev` ([c5fd156](https://github.com/sapphiredev/plugins/commit/c5fd15691abb9a9712dc4b8aebd8400f6d91f719))
79
+
80
+ ## [1.0.11](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@1.0.10...@sapphire/plugin-logger@1.0.11) (2021-04-21)
81
+
82
+ ### Bug Fixes
83
+
84
+ - change all Sapphire URLs from "project"->"community" & use our domain where applicable 👨‍🌾🚜 ([#75](https://github.com/sapphiredev/plugins/issues/75)) ([e437dc4](https://github.com/sapphiredev/plugins/commit/e437dc45fcd4d22ab2dcdb0e70c67cc5856883c0))
85
+
86
+ ## [1.0.10](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@1.0.9...@sapphire/plugin-logger@1.0.10) (2021-04-03)
87
+
88
+ **Note:** Version bump only for package @sapphire/plugin-logger
89
+
90
+ ## [1.0.9](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@1.0.8...@sapphire/plugin-logger@1.0.9) (2021-03-16)
91
+
92
+ ### Bug Fixes
93
+
94
+ - update dependencies, add tslib, bump framework to v1.0.0 ([880b761](https://github.com/sapphiredev/plugins/commit/880b7614d857f23fcbcd351e69795c451a95f49c))
95
+
96
+ ## [1.0.8](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@1.0.7...@sapphire/plugin-logger@1.0.8) (2021-02-16)
97
+
98
+ **Note:** Version bump only for package @sapphire/plugin-logger
99
+
100
+ ## [1.0.7](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@1.0.6...@sapphire/plugin-logger@1.0.7) (2021-02-07)
101
+
102
+ ### Bug Fixes
103
+
104
+ - **logger:** update dependencies in package.json ([9386b3a](https://github.com/sapphiredev/plugins/commit/9386b3a30773e34ac1a50fe3d4ad0452a93a9fc1))
105
+
106
+ ## [1.0.6](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@1.0.5...@sapphire/plugin-logger@1.0.6) (2021-01-23)
107
+
108
+ **Note:** Version bump only for package @sapphire/plugin-logger
109
+
110
+ ## [1.0.5](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@1.0.4...@sapphire/plugin-logger@1.0.5) (2021-01-09)
111
+
112
+ **Note:** Version bump only for package @sapphire/plugin-logger
113
+
114
+ ## [1.0.4](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@1.0.3...@sapphire/plugin-logger@1.0.4) (2020-12-28)
115
+
116
+ ### Bug Fixes
117
+
118
+ - **api,logger:** add type augments to index.ts ([ae1f4da](https://github.com/sapphiredev/plugins/commit/ae1f4da9671a531edf10555242e21f39eb3b0d17))
119
+ - **api,logger:** properly export ESM register ([7cf7ea9](https://github.com/sapphiredev/plugins/commit/7cf7ea9a9c91f73874035b0512292cc08d93e38e))
120
+ - **api,logger:** third attempt at fixing register and types ([faa3ee2](https://github.com/sapphiredev/plugins/commit/faa3ee2f53d2ca1153a7eff2a64e2abf3feaae85))
121
+ - **logger:** fix location of register file ([6e9a6f7](https://github.com/sapphiredev/plugins/commit/6e9a6f7ae4de5222e879394d717ae04ffb048aeb))
122
+ - **logger:** include register in github publishes ([e297af8](https://github.com/sapphiredev/plugins/commit/e297af8cada0ff3cf94bbe17e2f1c340743cd4d2))
123
+
124
+ ## [1.0.3](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@1.0.2...@sapphire/plugin-logger@1.0.3) (2020-12-24)
125
+
126
+ **Note:** Version bump only for package @sapphire/plugin-logger
127
+
128
+ ## [1.0.2](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@1.0.1...@sapphire/plugin-logger@1.0.2) (2020-12-24)
129
+
130
+ ### Bug Fixes
131
+
132
+ - **logger:** append extra space in default infix ([0daa435](https://github.com/sapphiredev/plugins/commit/0daa4351f75782bde0a2e763c61ca401e559d64f))
133
+
134
+ ## [1.0.1](https://github.com/sapphiredev/plugins/compare/@sapphire/plugin-logger@1.0.0...@sapphire/plugin-logger@1.0.1) (2020-12-24)
135
+
136
+ ### Bug Fixes
137
+
138
+ - **logger:** remove second spread ([61cddb7](https://github.com/sapphiredev/plugins/commit/61cddb7dfd433c0afd8aeddd6a42b78a1be17850))
139
+ - **logger:** use pre-generics initialization hook ([d8d3ce1](https://github.com/sapphiredev/plugins/commit/d8d3ce183c4e246a9707cbbfca0c69b135be7267))
140
+
141
+ # 1.0.0 (2020-12-24)
142
+
143
+ ### Features
144
+
145
+ - added plugin-logger ([#25](https://github.com/sapphiredev/plugins/issues/25)) ([192a8ca](https://github.com/sapphiredev/plugins/commit/192a8cac6c34c4dd1cc8e12dd5ba3307926c467d))
package/package.json CHANGED
@@ -1,72 +1,78 @@
1
1
  {
2
- "name": "@sapphire/plugin-logger",
3
- "version": "2.2.2-next.c82f65b.0",
4
- "description": "Plugin for @sapphire/framework to have pretty console output",
5
- "author": "@sapphire",
6
- "license": "MIT",
7
- "main": "dist/index.js",
8
- "module": "dist/index.mjs",
9
- "types": "dist/index.d.ts",
10
- "exports": {
11
- ".": {
12
- "import": "./dist/index.mjs",
13
- "require": "./dist/index.js",
14
- "types": "./dist/index.d.ts"
15
- },
16
- "./register": {
17
- "import": "./register.mjs",
18
- "require": "./register.js",
19
- "types": "./register.d.ts"
20
- }
21
- },
22
- "sideEffects": [
23
- "./dist/register.js",
24
- "./register.js",
25
- "./register.mjs"
26
- ],
27
- "homepage": "https://github.com/sapphiredev/plugins/tree/main/packages/logger",
28
- "scripts": {
29
- "test": "jest",
30
- "lint": "eslint src tests --ext ts --fix",
31
- "build": "tsc -b src && yarn esm:register && yarn esm:default",
32
- "esm:register": "gen-esm-wrapper dist/register.js dist/register.mjs",
33
- "esm:default": "gen-esm-wrapper dist/index.js dist/index.mjs",
34
- "prepublishOnly": "yarn build"
35
- },
36
- "dependencies": {
37
- "@sapphire/time-utilities": "^1.7.4",
38
- "colorette": "^2.0.16",
39
- "tslib": "^2.3.1"
40
- },
41
- "repository": {
42
- "type": "git",
43
- "url": "git+https://github.com/sapphiredev/plugins.git",
44
- "directory": "packages/logger"
45
- },
46
- "files": [
47
- "dist",
48
- "!dist/*.tsbuildinfo",
49
- "register.*"
50
- ],
51
- "engines": {
52
- "node": ">=v14.0.0",
53
- "npm": ">=7.0.0"
54
- },
55
- "keywords": [
56
- "sapphiredev",
57
- "plugin",
58
- "bot",
59
- "typescript",
60
- "ts",
61
- "yarn",
62
- "discord",
63
- "sapphire"
64
- ],
65
- "bugs": {
66
- "url": "https://github.com/sapphiredev/plugins/issues"
67
- },
68
- "publishConfig": {
69
- "access": "public"
70
- },
71
- "gitHead": "c82f65ba6f958055dfa2497ba935416f408efc45"
72
- }
2
+ "name": "@sapphire/plugin-logger",
3
+ "version": "2.2.2-next.fab3db9.0",
4
+ "description": "Plugin for @sapphire/framework to have pretty console output",
5
+ "author": "@sapphire",
6
+ "license": "MIT",
7
+ "main": "dist/index.js",
8
+ "module": "dist/index.mjs",
9
+ "types": "dist/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./dist/index.mjs",
13
+ "require": "./dist/index.js",
14
+ "types": "./dist/index.d.ts"
15
+ },
16
+ "./register": {
17
+ "import": "./register.mjs",
18
+ "require": "./register.js",
19
+ "types": "./register.d.ts"
20
+ }
21
+ },
22
+ "sideEffects": [
23
+ "./dist/register.js",
24
+ "./register.js",
25
+ "./register.mjs"
26
+ ],
27
+ "homepage": "https://github.com/sapphiredev/plugins/tree/main/packages/logger",
28
+ "scripts": {
29
+ "test": "jest",
30
+ "lint": "eslint src tests --ext ts --fix",
31
+ "build": "tsc -b src && yarn esm:register && yarn esm:default",
32
+ "esm:register": "gen-esm-wrapper dist/register.js dist/register.mjs",
33
+ "esm:default": "gen-esm-wrapper dist/index.js dist/index.mjs",
34
+ "prepublish": "yarn build",
35
+ "bump": "cliff-jumper",
36
+ "check-update": "cliff-jumper --dry-run"
37
+ },
38
+ "dependencies": {
39
+ "@sapphire/time-utilities": "^1.7.4",
40
+ "colorette": "^2.0.16",
41
+ "tslib": "^2.3.1"
42
+ },
43
+ "repository": {
44
+ "type": "git",
45
+ "url": "git+https://github.com/sapphiredev/plugins.git",
46
+ "directory": "packages/logger"
47
+ },
48
+ "files": [
49
+ "dist/**/*.js*",
50
+ "dist/**/*.mjs*",
51
+ "dist/**/*.d*",
52
+ "./register.*"
53
+ ],
54
+ "engines": {
55
+ "node": ">=v14.0.0",
56
+ "npm": ">=7.0.0"
57
+ },
58
+ "keywords": [
59
+ "sapphiredev",
60
+ "plugin",
61
+ "bot",
62
+ "typescript",
63
+ "ts",
64
+ "yarn",
65
+ "discord",
66
+ "sapphire"
67
+ ],
68
+ "bugs": {
69
+ "url": "https://github.com/sapphiredev/plugins/issues"
70
+ },
71
+ "publishConfig": {
72
+ "access": "public"
73
+ },
74
+ "devDependencies": {
75
+ "gen-esm-wrapper": "^1.1.3",
76
+ "typescript": "^4.6.3"
77
+ }
78
+ }
package/LICENSE.md DELETED
@@ -1,24 +0,0 @@
1
- # The MIT License (MIT)
2
-
3
- Copyright © `2020` `The Sapphire Community and its contributors`
4
-
5
- Permission is hereby granted, free of charge, to any person
6
- obtaining a copy of this software and associated documentation
7
- files (the “Software”), to deal in the Software without
8
- restriction, including without limitation the rights to use,
9
- copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- copies of the Software, and to permit persons to whom the
11
- Software is furnished to do so, subject to the following
12
- conditions:
13
-
14
- The above copyright notice and this permission notice shall be
15
- included in all copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
18
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
19
- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
21
- HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
24
- OTHER DEALINGS IN THE SOFTWARE.