@solvro/config 1.10.4 → 1.10.6
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/cli/index.js +15 -37
- package/dist/cli/index.js.map +1 -1
- package/dist/commitlint/index.js +1 -5
- package/dist/commitlint/index.js.map +1 -1
- package/dist/eslint/index.d.ts +1 -1
- package/dist/eslint/index.js +8 -7768
- package/dist/eslint/index.js.map +1 -1
- package/dist/prettier/index.js +0 -5
- package/dist/prettier/index.js.map +1 -1
- package/package.json +5 -2
- package/dist/chunk-2ZJMOLU5.js +0 -49
- package/dist/chunk-2ZJMOLU5.js.map +0 -1
package/dist/prettier/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../src/prettier/index.ts"],"sourcesContent":["import type { Options } from \"prettier\";\n\n/**\n * Some of Prettier's defaults can be overridden by an EditorConfig file. We\n * define those here to ensure that doesn't happen.\n *\n * See: https://github.com/prettier/prettier/blob/main/docs/configuration.md#editorconfig\n */\n\nconst overridableDefaults = {\n arrowParens: \"always\",\n endOfLine: \"lf\",\n printWidth: 80,\n quoteProps: \"as-needed\",\n semi: true,\n tabWidth: 2,\n trailingComma: \"all\",\n useTabs: false,\n} as const;\n\nexport default {\n ...overridableDefaults,\n importOrder: [\n \"^@assets/(.*)$\",\n \"<THIRD_PARTY_MODULES>\",\n \"^@japa/(.*)$\",\n \"^@adonisjs/(.*)$\",\n \"^@/(.*)$\",\n \"^#(.*)$\",\n \"^[./]\",\n ],\n importOrderSeparation: true,\n importOrderSortSpecifiers: true,\n importOrderParserPlugins: [\"typescript\", \"jsx\", \"decorators-legacy\"],\n plugins: [\n \"prettier-plugin-packagejson\",\n \"@trivago/prettier-plugin-sort-imports\",\n \"prettier-plugin-tailwindcss\",\n ],\n singleQuote: false,\n} as const satisfies Options;\n"],"mappings":"
|
1
|
+
{"version":3,"sources":["../../src/prettier/index.ts"],"sourcesContent":["import type { Options } from \"prettier\";\n\n/**\n * Some of Prettier's defaults can be overridden by an EditorConfig file. We\n * define those here to ensure that doesn't happen.\n *\n * See: https://github.com/prettier/prettier/blob/main/docs/configuration.md#editorconfig\n */\n\nconst overridableDefaults = {\n arrowParens: \"always\",\n endOfLine: \"lf\",\n printWidth: 80,\n quoteProps: \"as-needed\",\n semi: true,\n tabWidth: 2,\n trailingComma: \"all\",\n useTabs: false,\n} as const;\n\nexport default {\n ...overridableDefaults,\n importOrder: [\n \"^@assets/(.*)$\",\n \"<THIRD_PARTY_MODULES>\",\n \"^@japa/(.*)$\",\n \"^@adonisjs/(.*)$\",\n \"^@/(.*)$\",\n \"^#(.*)$\",\n \"^[./]\",\n ],\n importOrderSeparation: true,\n importOrderSortSpecifiers: true,\n importOrderParserPlugins: [\"typescript\", \"jsx\", \"decorators-legacy\"],\n plugins: [\n \"prettier-plugin-packagejson\",\n \"@trivago/prettier-plugin-sort-imports\",\n \"prettier-plugin-tailwindcss\",\n ],\n singleQuote: false,\n} as const satisfies Options;\n"],"mappings":";AASA,IAAM,sBAAsB;AAAA,EAC1B,aAAa;AAAA,EACb,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,MAAM;AAAA,EACN,UAAU;AAAA,EACV,eAAe;AAAA,EACf,SAAS;AACX;AAEA,IAAO,mBAAQ;AAAA,EACb,GAAG;AAAA,EACH,aAAa;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,uBAAuB;AAAA,EACvB,2BAA2B;AAAA,EAC3B,0BAA0B,CAAC,cAAc,OAAO,mBAAmB;AAAA,EACnE,SAAS;AAAA,IACP;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,aAAa;AACf;","names":[]}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@solvro/config",
|
3
|
-
"version": "1.10.
|
3
|
+
"version": "1.10.6",
|
4
4
|
"description": "Solvro's engineering style guide",
|
5
5
|
"keywords": [
|
6
6
|
"eslint",
|
@@ -58,7 +58,6 @@
|
|
58
58
|
"dependencies": {
|
59
59
|
"@adonisjs/eslint-config": "^2.0.0-beta.7",
|
60
60
|
"@clack/prompts": "^0.8.2",
|
61
|
-
"@commitlint/cli": "^19.6.0",
|
62
61
|
"@commitlint/config-conventional": "^19.6.0",
|
63
62
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
64
63
|
"@eslint/js": "^9.16.0",
|
@@ -86,6 +85,7 @@
|
|
86
85
|
"typescript-eslint": "^8.18.0"
|
87
86
|
},
|
88
87
|
"devDependencies": {
|
88
|
+
"@commitlint/cli": "^19.6.0",
|
89
89
|
"@eslint/config-inspector": "^0.6.0",
|
90
90
|
"@next/eslint-plugin-next": "^15.1.0",
|
91
91
|
"@semantic-release/git": "^10.0.1",
|
@@ -107,6 +107,9 @@
|
|
107
107
|
"tsx": "^4.19.2",
|
108
108
|
"typescript": "^5.7.2"
|
109
109
|
},
|
110
|
+
"peerDependencies": {
|
111
|
+
"@next/eslint-plugin-next": ">=12.3.0 <16.0.0-0"
|
112
|
+
},
|
110
113
|
"packageManager": "npm@10.9.2",
|
111
114
|
"engines": {
|
112
115
|
"node": ">=20"
|
package/dist/chunk-2ZJMOLU5.js
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
var __create = Object.create;
|
2
|
-
var __defProp = Object.defineProperty;
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
8
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
9
|
-
}) : x)(function(x) {
|
10
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
11
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
12
|
-
});
|
13
|
-
var __esm = (fn, res) => function __init() {
|
14
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
15
|
-
};
|
16
|
-
var __commonJS = (cb, mod) => function __require2() {
|
17
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
18
|
-
};
|
19
|
-
var __copyProps = (to, from, except, desc) => {
|
20
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
21
|
-
for (let key of __getOwnPropNames(from))
|
22
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
23
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
24
|
-
}
|
25
|
-
return to;
|
26
|
-
};
|
27
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
28
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
29
|
-
// file that has been converted to a CommonJS file using a Babel-
|
30
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
31
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
32
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
33
|
-
mod
|
34
|
-
));
|
35
|
-
|
36
|
-
// node_modules/tsup/assets/esm_shims.js
|
37
|
-
var init_esm_shims = __esm({
|
38
|
-
"node_modules/tsup/assets/esm_shims.js"() {
|
39
|
-
"use strict";
|
40
|
-
}
|
41
|
-
});
|
42
|
-
|
43
|
-
export {
|
44
|
-
__require,
|
45
|
-
__commonJS,
|
46
|
-
__toESM,
|
47
|
-
init_esm_shims
|
48
|
-
};
|
49
|
-
//# sourceMappingURL=chunk-2ZJMOLU5.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../node_modules/tsup/assets/esm_shims.js"],"sourcesContent":["// Shim globals in esm bundle\nimport { fileURLToPath } from 'url'\nimport path from 'path'\n\nconst getFilename = () => fileURLToPath(import.meta.url)\nconst getDirname = () => path.dirname(getFilename())\n\nexport const __dirname = /* @__PURE__ */ getDirname()\nexport const __filename = /* @__PURE__ */ getFilename()\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;","names":[]}
|