@venizia/dev-configs 0.0.1-1

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.
@@ -0,0 +1,3 @@
1
+ import type { Linter } from "eslint";
2
+ export declare const eslintConfigs: Linter.Config[];
3
+ //# sourceMappingURL=eslint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eslint.d.ts","sourceRoot":"","sources":["../src/eslint.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAErC,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAOxC,CAAC"}
package/dist/eslint.js ADDED
@@ -0,0 +1,16 @@
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
+ exports.eslintConfigs = void 0;
7
+ const eslint_node_1 = __importDefault(require("@minimaltech/eslint-node"));
8
+ exports.eslintConfigs = [
9
+ ...eslint_node_1.default,
10
+ {
11
+ rules: {
12
+ "@typescript-eslint/no-explicit-any": "off",
13
+ },
14
+ },
15
+ ];
16
+ //# sourceMappingURL=eslint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eslint.js","sourceRoot":"","sources":["../src/eslint.ts"],"names":[],"mappings":";;;;;;AAAA,2EAAqD;AAGxC,QAAA,aAAa,GAAoB;IAC5C,GAAG,qBAAa;IAChB;QACE,KAAK,EAAE;YACL,oCAAoC,EAAE,KAAK;SAC5C;KACF;CACF,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from "./eslint";
2
+ export * from "./prettier";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./eslint"), exports);
18
+ __exportStar(require("./prettier"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,6CAA2B"}
@@ -0,0 +1,3 @@
1
+ import type { Config } from "prettier";
2
+ export declare const prettierConfigs: Config;
3
+ //# sourceMappingURL=prettier.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prettier.d.ts","sourceRoot":"","sources":["../src/prettier.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,eAAO,MAAM,eAAe,EAAE,MAQ7B,CAAC"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.prettierConfigs = void 0;
4
+ exports.prettierConfigs = {
5
+ bracketSpacing: true,
6
+ singleQuote: false,
7
+ printWidth: 100,
8
+ tabWidth: 2,
9
+ trailingComma: "all",
10
+ arrowParens: "avoid",
11
+ semi: true,
12
+ };
13
+ //# sourceMappingURL=prettier.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prettier.js","sourceRoot":"","sources":["../src/prettier.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAW;IACrC,cAAc,EAAE,IAAI;IACpB,WAAW,EAAE,KAAK;IAClB,UAAU,EAAE,GAAG;IACf,QAAQ,EAAE,CAAC;IACX,aAAa,EAAE,KAAK;IACpB,WAAW,EAAE,OAAO;IACpB,IAAI,EAAE,IAAI;CACX,CAAC"}
package/package.json ADDED
@@ -0,0 +1,83 @@
1
+ {
2
+ "name": "@venizia/dev-configs",
3
+ "version": "0.0.1-1",
4
+ "description": "Shared development configurations for Venizia packages",
5
+ "keywords": [
6
+ "config",
7
+ "eslint",
8
+ "prettier",
9
+ "typescript",
10
+ "tsconfig",
11
+ "venizia",
12
+ "vez",
13
+ "development"
14
+ ],
15
+ "exports": {
16
+ ".": {
17
+ "types": "./dist/index.d.ts",
18
+ "default": "./dist/index.js"
19
+ },
20
+ "./tsconfig.base.json": "./tsconfig/tsconfig.base.json",
21
+ "./tsconfig.common.json": "./tsconfig/tsconfig.common.json",
22
+ "./package.json": "./package.json"
23
+ },
24
+ "files": [
25
+ "dist",
26
+ "tsconfig"
27
+ ],
28
+ "publishConfig": {
29
+ "access": "public"
30
+ },
31
+ "engines": {
32
+ "bun": ">=1.3"
33
+ },
34
+ "scripts": {
35
+ "build": "sh ./scripts/build.sh",
36
+ "clean": "sh ./scripts/clean.sh",
37
+ "eslint": "eslint --report-unused-disable-directives .",
38
+ "lint": "bun run eslint && bun run prettier:cli",
39
+ "lint:fix": "bun run eslint --fix && bun run prettier:fix",
40
+ "prettier:cli": "prettier \"**/*.{js,ts}\" -l",
41
+ "prettier:fix": "bun run prettier:cli --write",
42
+ "rebuild": "sh ./scripts/rebuild.sh"
43
+ },
44
+ "repository": {
45
+ "type": "git",
46
+ "url": "git+https://github.com/VENIZIA-AI/ignis.git"
47
+ },
48
+ "author": {
49
+ "name": "VENIZIA AI Developer",
50
+ "email": "developer@venizia.ai",
51
+ "url": "https://venizia.ai"
52
+ },
53
+ "bugs": {
54
+ "url": "https://github.com/VENIZIA-AI/ignis/issues"
55
+ },
56
+ "homepage": "https://github.com/VENIZIA-AI/ignis/wiki",
57
+ "license": "MIT",
58
+ "dependencies": {
59
+ "@minimaltech/eslint-node": "^0.2.1"
60
+ },
61
+ "peerDependencies": {
62
+ "eslint": "^9.0.0",
63
+ "prettier": "^3.0.0",
64
+ "typescript": "^5.0.0"
65
+ },
66
+ "peerDependenciesMeta": {
67
+ "eslint": {
68
+ "optional": true
69
+ },
70
+ "prettier": {
71
+ "optional": true
72
+ },
73
+ "typescript": {
74
+ "optional": true
75
+ }
76
+ },
77
+ "devDependencies": {
78
+ "@types/bun": "^1.3.4",
79
+ "eslint": "^9.36.0",
80
+ "prettier": "^3.6.2",
81
+ "typescript": "^5.9.3"
82
+ }
83
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "$schema": "http://json.schemastore.org/tsconfig",
3
+ "compilerOptions": {
4
+ /* Language and Environment */
5
+ "target": "ES2022",
6
+ "lib": ["ES2022"],
7
+ "experimentalDecorators": true,
8
+ "emitDecoratorMetadata": true,
9
+ "useDefineForClassFields": false,
10
+
11
+ /* Modules */
12
+ "module": "Node16",
13
+ "moduleResolution": "node16",
14
+ "resolveJsonModule": true,
15
+ "allowSyntheticDefaultImports": true,
16
+ "esModuleInterop": true,
17
+ "isolatedModules": false,
18
+ "forceConsistentCasingInFileNames": true,
19
+
20
+ /* Emit */
21
+ "declaration": true,
22
+ "declarationMap": true,
23
+ "sourceMap": true,
24
+ "removeComments": false,
25
+ "importHelpers": false,
26
+ "downlevelIteration": true,
27
+ "preserveConstEnums": true,
28
+
29
+ /* Type Checking - Strict Mode (Balanced for Production) */
30
+ "strict": true,
31
+ "noImplicitAny": false,
32
+ "strictNullChecks": true,
33
+ "strictFunctionTypes": true,
34
+ "strictBindCallApply": true,
35
+ "strictPropertyInitialization": false,
36
+ "noImplicitThis": true,
37
+ "useUnknownInCatchVariables": false,
38
+ "alwaysStrict": true,
39
+
40
+ /* Additional Checks */
41
+ "noUnusedLocals": true,
42
+ "noUnusedParameters": true,
43
+ "noImplicitReturns": false,
44
+ "noFallthroughCasesInSwitch": true,
45
+ "noUncheckedIndexedAccess": false,
46
+ "noImplicitOverride": true,
47
+ "allowUnusedLabels": false,
48
+ "allowUnreachableCode": false,
49
+
50
+ /* Performance */
51
+ "incremental": true,
52
+ "skipLibCheck": true,
53
+
54
+ /* Output */
55
+ "pretty": true,
56
+ "noEmitOnError": true
57
+ },
58
+ "exclude": [
59
+ "node_modules",
60
+ "dist",
61
+ "build",
62
+ "coverage",
63
+ "**/*.spec.ts",
64
+ "**/*.test.ts",
65
+ "**/__tests__/**"
66
+ ]
67
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "http://json.schemastore.org/tsconfig",
3
+ "extends": "./tsconfig.base.json",
4
+ "compilerOptions": {
5
+ "target": "ES2022",
6
+ "module": "nodenext",
7
+ "moduleResolution": "nodenext"
8
+ },
9
+ "ts-node": {
10
+ "transpileOnly": true
11
+ }
12
+ }