@lingual/i18n-check 0.8.13 → 0.8.14
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/package.json +2 -2
- package/dist/vitest.bin.config.d.ts +0 -2
- package/dist/vitest.bin.config.js +0 -14
- package/dist/vitest.config.d.ts +0 -2
- package/dist/vitest.config.js +0 -12
- /package/dist/{src/bin → bin}/index.d.ts +0 -0
- /package/dist/{src/bin → bin}/index.js +0 -0
- /package/dist/{src/errorReporters.d.ts → errorReporters.d.ts} +0 -0
- /package/dist/{src/errorReporters.js → errorReporters.js} +0 -0
- /package/dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/{src/index.js → index.js} +0 -0
- /package/dist/{src/types.d.ts → types.d.ts} +0 -0
- /package/dist/{src/types.js → types.js} +0 -0
- /package/dist/{src/utils → utils}/constants.d.ts +0 -0
- /package/dist/{src/utils → utils}/constants.js +0 -0
- /package/dist/{src/utils → utils}/findInvalidI18NextTranslations.d.ts +0 -0
- /package/dist/{src/utils → utils}/findInvalidI18NextTranslations.js +0 -0
- /package/dist/{src/utils → utils}/findInvalidTranslations.d.ts +0 -0
- /package/dist/{src/utils → utils}/findInvalidTranslations.js +0 -0
- /package/dist/{src/utils → utils}/findMissingKeys.d.ts +0 -0
- /package/dist/{src/utils → utils}/findMissingKeys.js +0 -0
- /package/dist/{src/utils → utils}/flattenTranslations.d.ts +0 -0
- /package/dist/{src/utils → utils}/flattenTranslations.js +0 -0
- /package/dist/{src/utils → utils}/i18NextParser.d.ts +0 -0
- /package/dist/{src/utils → utils}/i18NextParser.js +0 -0
- /package/dist/{src/utils → utils}/nextIntlSrcParser.d.ts +0 -0
- /package/dist/{src/utils → utils}/nextIntlSrcParser.js +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lingual/i18n-check",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.14",
|
|
4
4
|
"description": "i18n translation messages check",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"lint:fix": "eslint src --fix ",
|
|
17
17
|
"check-format": "prettier --check './{src,translations}/**/*.{js,jsx,ts,tsx,json,html,css}'",
|
|
18
18
|
"test": "vitest run",
|
|
19
|
-
"test:cli": "
|
|
19
|
+
"test:cli": "pnpm build && vitest --config vitest.bin.config.ts run src/bin/index.test.ts"
|
|
20
20
|
},
|
|
21
21
|
"files": [
|
|
22
22
|
"dist/",
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
// vitest.config.ts
|
|
7
|
-
const config_1 = require("vitest/config");
|
|
8
|
-
const vitest_config_1 = __importDefault(require("./vitest.config"));
|
|
9
|
-
exports.default = (0, config_1.defineConfig)({
|
|
10
|
-
...vitest_config_1.default,
|
|
11
|
-
test: {
|
|
12
|
-
exclude: ['node_modules', 'dist'],
|
|
13
|
-
},
|
|
14
|
-
});
|
package/dist/vitest.config.d.ts
DELETED
package/dist/vitest.config.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
// vitest.config.ts
|
|
4
|
-
const config_1 = require("vitest/config");
|
|
5
|
-
exports.default = (0, config_1.defineConfig)({
|
|
6
|
-
test: {
|
|
7
|
-
globals: true, // (optional) use Jest-like globals like `describe`, `test`, etc.
|
|
8
|
-
environment: 'node', // 'node' or 'jsdom' depending on your project
|
|
9
|
-
// setupFiles: ['./vitest.setup.ts'], // optional setup file
|
|
10
|
-
exclude: ['src/bin', 'node_modules', 'dist'], // exclude specific test paths
|
|
11
|
-
},
|
|
12
|
-
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|