lingo.dev 0.111.13 → 0.111.15
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/build/cli.cjs +5 -3
- package/build/cli.cjs.map +1 -1
- package/build/cli.mjs +5 -3
- package/build/cli.mjs.map +1 -1
- package/package.json +4 -4
package/build/cli.cjs
CHANGED
|
@@ -3067,6 +3067,7 @@ async function formatDataWithPrettier(data, filePath, options) {
|
|
|
3067
3067
|
|
|
3068
3068
|
|
|
3069
3069
|
var _jsapi = require('@biomejs/js-api');
|
|
3070
|
+
|
|
3070
3071
|
function createBiomeLoader(options) {
|
|
3071
3072
|
return createBaseFormatterLoader(options, async (data, filePath) => {
|
|
3072
3073
|
return await formatDataWithBiome(data, filePath, options);
|
|
@@ -3109,8 +3110,9 @@ async function formatDataWithBiome(data, filePath, options) {
|
|
|
3109
3110
|
if (configPath) {
|
|
3110
3111
|
const configContent = await _promises4.default.readFile(configPath, "utf-8");
|
|
3111
3112
|
try {
|
|
3112
|
-
const config =
|
|
3113
|
-
|
|
3113
|
+
const config = _jsoncparser.parse.call(void 0, configContent);
|
|
3114
|
+
const { $schema, vcs, files, ...relevantConfig } = config;
|
|
3115
|
+
biome.applyConfiguration(projectKey, relevantConfig);
|
|
3114
3116
|
} catch (parseError) {
|
|
3115
3117
|
throw new Error(
|
|
3116
3118
|
`Invalid Biome configuration in ${configPath}: ${parseError instanceof Error ? parseError.message : "JSON parse error"}`
|
|
@@ -11271,7 +11273,7 @@ async function renderHero2() {
|
|
|
11271
11273
|
// package.json
|
|
11272
11274
|
var package_default = {
|
|
11273
11275
|
name: "lingo.dev",
|
|
11274
|
-
version: "0.111.
|
|
11276
|
+
version: "0.111.15",
|
|
11275
11277
|
description: "Lingo.dev CLI",
|
|
11276
11278
|
private: false,
|
|
11277
11279
|
publishConfig: {
|