@sapphire/plugin-i18next 8.0.0-next.d0e50be → 8.0.0-next.d2ba80e
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/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +1 -1
- package/dist/esm/index.d.mts +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/index.mjs.map +1 -1
- package/package.json +10 -10
package/dist/cjs/index.cjs
CHANGED
|
@@ -10,7 +10,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
10
10
|
var i18next__default = /*#__PURE__*/_interopDefault(i18next);
|
|
11
11
|
|
|
12
12
|
// src/index.ts
|
|
13
|
-
var version = "8.0.0-next.
|
|
13
|
+
var version = "8.0.0-next.d2ba80e";
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "i18next", {
|
|
16
16
|
enumerable: true,
|
package/dist/cjs/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAyBO,IAAM,OAAkB,GAAA","file":"index.cjs","sourcesContent":["import type { InternationalizationHandler } from './lib/InternationalizationHandler';\nimport type { InternationalizationClientOptions } from './lib/types';\n\nexport { default as i18next, type TFunction, type TOptions } from 'i18next';\nexport * from './lib/InternationalizationHandler';\nexport * from './lib/functions';\nexport * from './lib/types';\n\ndeclare module '@sapphire/pieces' {\n\tinterface Container {\n\t\ti18n: InternationalizationHandler;\n\t}\n}\n\ndeclare module 'discord.js' {\n\texport interface ClientOptions extends InternationalizationClientOptions {}\n}\n\n/**\n * The [@sapphire/plugin-i18next](https://github.com/sapphiredev/plugins/blob/main/packages/i18next) version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '8.0.0-next.
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAyBO,IAAM,OAAkB,GAAA","file":"index.cjs","sourcesContent":["import type { InternationalizationHandler } from './lib/InternationalizationHandler';\nimport type { InternationalizationClientOptions } from './lib/types';\n\nexport { default as i18next, type TFunction, type TOptions } from 'i18next';\nexport * from './lib/InternationalizationHandler';\nexport * from './lib/functions';\nexport * from './lib/types';\n\ndeclare module '@sapphire/pieces' {\n\tinterface Container {\n\t\ti18n: InternationalizationHandler;\n\t}\n}\n\ndeclare module 'discord.js' {\n\texport interface ClientOptions extends InternationalizationClientOptions {}\n}\n\n/**\n * The [@sapphire/plugin-i18next](https://github.com/sapphiredev/plugins/blob/main/packages/i18next) version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '8.0.0-next.d2ba80e';\n"]}
|
package/dist/cjs/index.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ import { InitOptions, TFunction, ParseKeys, TOptions, Namespace, DefaultNamespac
|
|
|
5
5
|
export { TFunction, TOptions, default as i18next } from 'i18next';
|
|
6
6
|
import { PathLike } from 'node:fs';
|
|
7
7
|
import { ChokidarOptions } from 'chokidar';
|
|
8
|
-
import { Message, StageChannel, VoiceChannel,
|
|
8
|
+
import { Guild, Message, StageChannel, VoiceChannel, User, Interaction, LocalizationMap, BaseInteraction, APIApplicationCommandOptionChoice } from 'discord.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* This is a re-exported type from i18next.
|
package/dist/esm/index.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ import { InitOptions, TFunction, ParseKeys, TOptions, Namespace, DefaultNamespac
|
|
|
5
5
|
export { TFunction, TOptions, default as i18next } from 'i18next';
|
|
6
6
|
import { PathLike } from 'node:fs';
|
|
7
7
|
import { ChokidarOptions } from 'chokidar';
|
|
8
|
-
import { Message, StageChannel, VoiceChannel,
|
|
8
|
+
import { Guild, Message, StageChannel, VoiceChannel, User, Interaction, LocalizationMap, BaseInteraction, APIApplicationCommandOptionChoice } from 'discord.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* This is a re-exported type from i18next.
|
package/dist/esm/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ export * from './lib/InternationalizationHandler.mjs';
|
|
|
4
4
|
export * from './lib/functions.mjs';
|
|
5
5
|
export * from './lib/types.mjs';
|
|
6
6
|
|
|
7
|
-
var version = "8.0.0-next.
|
|
7
|
+
var version = "8.0.0-next.d2ba80e";
|
|
8
8
|
|
|
9
9
|
export { version };
|
|
10
10
|
//# sourceMappingURL=index.mjs.map
|
package/dist/esm/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAyBO,IAAM,OAAkB,GAAA","file":"index.mjs","sourcesContent":["import type { InternationalizationHandler } from './lib/InternationalizationHandler';\nimport type { InternationalizationClientOptions } from './lib/types';\n\nexport { default as i18next, type TFunction, type TOptions } from 'i18next';\nexport * from './lib/InternationalizationHandler';\nexport * from './lib/functions';\nexport * from './lib/types';\n\ndeclare module '@sapphire/pieces' {\n\tinterface Container {\n\t\ti18n: InternationalizationHandler;\n\t}\n}\n\ndeclare module 'discord.js' {\n\texport interface ClientOptions extends InternationalizationClientOptions {}\n}\n\n/**\n * The [@sapphire/plugin-i18next](https://github.com/sapphiredev/plugins/blob/main/packages/i18next) version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '8.0.0-next.
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;AAyBO,IAAM,OAAkB,GAAA","file":"index.mjs","sourcesContent":["import type { InternationalizationHandler } from './lib/InternationalizationHandler';\nimport type { InternationalizationClientOptions } from './lib/types';\n\nexport { default as i18next, type TFunction, type TOptions } from 'i18next';\nexport * from './lib/InternationalizationHandler';\nexport * from './lib/functions';\nexport * from './lib/types';\n\ndeclare module '@sapphire/pieces' {\n\tinterface Container {\n\t\ti18n: InternationalizationHandler;\n\t}\n}\n\ndeclare module 'discord.js' {\n\texport interface ClientOptions extends InternationalizationClientOptions {}\n}\n\n/**\n * The [@sapphire/plugin-i18next](https://github.com/sapphiredev/plugins/blob/main/packages/i18next) version that you are currently using.\n * An example use of this is showing it of in a bot information command.\n *\n * Note to Sapphire developers: This needs to explicitly be `string` so it is not typed as the string that gets replaced by esbuild\n */\n// eslint-disable-next-line @typescript-eslint/no-inferrable-types\nexport const version: string = '8.0.0-next.d2ba80e';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapphire/plugin-i18next",
|
|
3
|
-
"version": "8.0.0-next.
|
|
3
|
+
"version": "8.0.0-next.d2ba80e",
|
|
4
4
|
"description": "Plugin for @sapphire/framework to support i18next.",
|
|
5
5
|
"author": "@sapphire",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"lint": "eslint src tests --ext ts --fix",
|
|
40
40
|
"build": "tsup && yarn build:types && yarn build:rename-cjs-register",
|
|
41
41
|
"build:types": "concurrently \"yarn:build:types:*\"",
|
|
42
|
-
"build:types:cjs": "rollup-type-bundler -d dist/cjs -
|
|
42
|
+
"build:types:cjs": "rollup-type-bundler -d dist/cjs --output-typings-file-extension .cts",
|
|
43
43
|
"build:types:esm": "rollup-type-bundler -d dist/esm -t .mts",
|
|
44
44
|
"build:types:cleanup": "tsx ../../scripts/clean-register-imports.mts",
|
|
45
45
|
"build:rename-cjs-register": "tsx ../../scripts/rename-cjs-register.mts",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"check-update": "cliff-jumper --dry-run"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@sapphire/utilities": "^3.18.
|
|
53
|
+
"@sapphire/utilities": "^3.18.2",
|
|
54
54
|
"@skyra/i18next-backend": "^2.0.5",
|
|
55
|
-
"chokidar": "^4.0.
|
|
56
|
-
"i18next": "^24.
|
|
55
|
+
"chokidar": "^4.0.3",
|
|
56
|
+
"i18next": "^24.2.3"
|
|
57
57
|
},
|
|
58
58
|
"repository": {
|
|
59
59
|
"type": "git",
|
|
@@ -86,11 +86,11 @@
|
|
|
86
86
|
"access": "public"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@favware/cliff-jumper": "^
|
|
90
|
-
"@favware/rollup-type-bundler": "^
|
|
91
|
-
"concurrently": "^9.1.
|
|
92
|
-
"tsup": "^8.
|
|
93
|
-
"tsx": "^4.19.
|
|
89
|
+
"@favware/cliff-jumper": "^6.0.0",
|
|
90
|
+
"@favware/rollup-type-bundler": "^4.0.0",
|
|
91
|
+
"concurrently": "^9.1.2",
|
|
92
|
+
"tsup": "^8.4.0",
|
|
93
|
+
"tsx": "^4.19.3",
|
|
94
94
|
"typedoc": "^0.26.11",
|
|
95
95
|
"typedoc-json-parser": "^10.2.0",
|
|
96
96
|
"typescript": "~5.4.5"
|