@theholocron/devmoji-config 8.2.3 → 8.4.2
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/index.cjs +15 -1
- package/dist/index.d.cts +11 -1
- package/dist/index.d.mts +11 -1
- package/dist/index.mjs +11 -1
- package/package.json +9 -7
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
Object.
|
|
1
|
+
Object.defineProperties(exports, {
|
|
2
|
+
__esModule: { value: true },
|
|
3
|
+
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
+
});
|
|
2
5
|
//#region index.ts
|
|
3
6
|
const defaultTypes = ["lint"];
|
|
4
7
|
const defaultDevmoji = [
|
|
@@ -38,5 +41,16 @@ function defineConfig(overrides = {}) {
|
|
|
38
41
|
devmoji: [...defaultDevmoji, ...overrides.devmoji ?? []]
|
|
39
42
|
};
|
|
40
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* Ready-to-use config for repos that need no overrides — every org repo's
|
|
46
|
+
* generated `devmoji.config.cjs` calls `defineConfig()` with no args (see
|
|
47
|
+
* `holocron setup`'s template), so this covers all of them. `devmoji
|
|
48
|
+
* --config <path>` loads a file's default export directly, same requirement
|
|
49
|
+
* as `eslint --config` (config-resolution workstream, #676 in
|
|
50
|
+
* theholocron/holocron) — lets the resolver point at this file with zero
|
|
51
|
+
* committed local content.
|
|
52
|
+
*/
|
|
53
|
+
var devmoji_config_default = defineConfig();
|
|
41
54
|
//#endregion
|
|
55
|
+
exports.default = devmoji_config_default;
|
|
42
56
|
exports.defineConfig = defineConfig;
|
package/dist/index.d.cts
CHANGED
|
@@ -25,5 +25,15 @@ interface DevmojiConfig {
|
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
27
|
declare function defineConfig(overrides?: Partial<DevmojiConfig>): DevmojiConfig;
|
|
28
|
+
/**
|
|
29
|
+
* Ready-to-use config for repos that need no overrides — every org repo's
|
|
30
|
+
* generated `devmoji.config.cjs` calls `defineConfig()` with no args (see
|
|
31
|
+
* `holocron setup`'s template), so this covers all of them. `devmoji
|
|
32
|
+
* --config <path>` loads a file's default export directly, same requirement
|
|
33
|
+
* as `eslint --config` (config-resolution workstream, #676 in
|
|
34
|
+
* theholocron/holocron) — lets the resolver point at this file with zero
|
|
35
|
+
* committed local content.
|
|
36
|
+
*/
|
|
37
|
+
declare const _default: DevmojiConfig;
|
|
28
38
|
//#endregion
|
|
29
|
-
export { DevmojiConfig, DevmojiEntry, defineConfig };
|
|
39
|
+
export { DevmojiConfig, DevmojiEntry, _default as default, defineConfig };
|
package/dist/index.d.mts
CHANGED
|
@@ -25,5 +25,15 @@ interface DevmojiConfig {
|
|
|
25
25
|
* ```
|
|
26
26
|
*/
|
|
27
27
|
declare function defineConfig(overrides?: Partial<DevmojiConfig>): DevmojiConfig;
|
|
28
|
+
/**
|
|
29
|
+
* Ready-to-use config for repos that need no overrides — every org repo's
|
|
30
|
+
* generated `devmoji.config.cjs` calls `defineConfig()` with no args (see
|
|
31
|
+
* `holocron setup`'s template), so this covers all of them. `devmoji
|
|
32
|
+
* --config <path>` loads a file's default export directly, same requirement
|
|
33
|
+
* as `eslint --config` (config-resolution workstream, #676 in
|
|
34
|
+
* theholocron/holocron) — lets the resolver point at this file with zero
|
|
35
|
+
* committed local content.
|
|
36
|
+
*/
|
|
37
|
+
declare const _default: DevmojiConfig;
|
|
28
38
|
//#endregion
|
|
29
|
-
export { DevmojiConfig, DevmojiEntry, defineConfig };
|
|
39
|
+
export { DevmojiConfig, DevmojiEntry, _default as default, defineConfig };
|
package/dist/index.mjs
CHANGED
|
@@ -37,5 +37,15 @@ function defineConfig(overrides = {}) {
|
|
|
37
37
|
devmoji: [...defaultDevmoji, ...overrides.devmoji ?? []]
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
+
/**
|
|
41
|
+
* Ready-to-use config for repos that need no overrides — every org repo's
|
|
42
|
+
* generated `devmoji.config.cjs` calls `defineConfig()` with no args (see
|
|
43
|
+
* `holocron setup`'s template), so this covers all of them. `devmoji
|
|
44
|
+
* --config <path>` loads a file's default export directly, same requirement
|
|
45
|
+
* as `eslint --config` (config-resolution workstream, #676 in
|
|
46
|
+
* theholocron/holocron) — lets the resolver point at this file with zero
|
|
47
|
+
* committed local content.
|
|
48
|
+
*/
|
|
49
|
+
var devmoji_config_default = defineConfig();
|
|
40
50
|
//#endregion
|
|
41
|
-
export { defineConfig };
|
|
51
|
+
export { devmoji_config_default as default, defineConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/devmoji-config",
|
|
3
|
-
"version": "8.2
|
|
3
|
+
"version": "8.4.2",
|
|
4
4
|
"description": "Shared devmoji configuration for conventional commit emojis.",
|
|
5
5
|
"homepage": "https://github.com/theholocron/configs/tree/main/packages/devmoji-config#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/configs/issues",
|
|
@@ -19,12 +19,13 @@
|
|
|
19
19
|
],
|
|
20
20
|
"type": "module",
|
|
21
21
|
"devDependencies": {
|
|
22
|
+
"@theholocron/cli": "5.0.0-alpha.3",
|
|
22
23
|
"@vitest/coverage-v8": "^4.1.10",
|
|
23
24
|
"tsdown": "^0.22.14",
|
|
24
25
|
"typescript": "^5.9.3",
|
|
25
26
|
"vitest": "^4.1.10",
|
|
26
|
-
"@theholocron/
|
|
27
|
-
"@theholocron/
|
|
27
|
+
"@theholocron/tsconfig": "8.4.2",
|
|
28
|
+
"@theholocron/vitest-config": "8.4.2"
|
|
28
29
|
},
|
|
29
30
|
"exports": {
|
|
30
31
|
".": {
|
|
@@ -51,9 +52,10 @@
|
|
|
51
52
|
"releases": "https://github.com/theholocron/configs/releases",
|
|
52
53
|
"wiki": "https://github.com/theholocron/configs/wiki",
|
|
53
54
|
"scripts": {
|
|
54
|
-
"build": "tsdown",
|
|
55
|
-
"
|
|
56
|
-
"test": "vitest
|
|
57
|
-
"
|
|
55
|
+
"delivery.build": "tsdown",
|
|
56
|
+
"sourceQuality.staticAnalysis": "holocron run sourceQuality.staticAnalysis --",
|
|
57
|
+
"test:watch": "vitest",
|
|
58
|
+
"verification.typeSafety": "holocron run verification.typeSafety --",
|
|
59
|
+
"verification.unitTests": "holocron run verification.unitTests --"
|
|
58
60
|
}
|
|
59
61
|
}
|