zirka 0.0.25
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/README.md +76 -0
- package/dist/styleguide.cjs +1319 -0
- package/dist/styleguide.d.cts +30 -0
- package/dist/styleguide.d.ts +30 -0
- package/dist/styleguide.js +1296 -0
- package/package.json +70 -0
- package/types/@next__eslint-plugin-next/index.d.ts +18 -0
- package/types/eslint-plugin-eslint-comments__configs/index.d.ts +5 -0
- package/types/eslint-plugin-import/index.d.ts +7 -0
- package/typescript/base.json +18 -0
package/package.json
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "zirka",
|
|
3
|
+
"version": "0.0.25",
|
|
4
|
+
"description": "",
|
|
5
|
+
"license": "ISC",
|
|
6
|
+
"author": "",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/styleguide.js",
|
|
11
|
+
"require": "./dist/styleguide.cjs"
|
|
12
|
+
},
|
|
13
|
+
"./typescript": "./typescript/base.json"
|
|
14
|
+
},
|
|
15
|
+
"types": "dist/styleguide.d.ts",
|
|
16
|
+
"files": [
|
|
17
|
+
"dist",
|
|
18
|
+
"typescript",
|
|
19
|
+
"types"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "tsup",
|
|
23
|
+
"check": "npm run fix && npm run typecheck",
|
|
24
|
+
"fix": "eslint . --fix",
|
|
25
|
+
"prepare": "husky"
|
|
26
|
+
},
|
|
27
|
+
"lint-staged": {
|
|
28
|
+
"!(*.ts|*.mts|*.cts|*.tsx|*.js|*.cjs|*.mjs|*.jsx)": "prettier --write --ignore-unknown",
|
|
29
|
+
"*.ts|*.mts|*.cts|*.tsx|*.js|*.cjs|*.mjs|*.jsx": "eslint --fix"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@babel/eslint-parser": "^7.27.1",
|
|
33
|
+
"@babel/preset-env": "^7.27.2",
|
|
34
|
+
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
35
|
+
"@eslint-react/eslint-plugin": "^1.53.0",
|
|
36
|
+
"@eslint/js": "^9.27.0",
|
|
37
|
+
"@next/eslint-plugin-next": "^15.3.3",
|
|
38
|
+
"@types/eslint-plugin-jsx-a11y": "^6.10.0",
|
|
39
|
+
"@types/node": "^22.15.29",
|
|
40
|
+
"eslint-config-prettier": "^10.1.5",
|
|
41
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
42
|
+
"eslint-plugin-import": "^2.31.0",
|
|
43
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
44
|
+
"eslint-plugin-playwright": "^2.3.0",
|
|
45
|
+
"eslint-plugin-prettier": "^5.4.0",
|
|
46
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
47
|
+
"eslint-plugin-unicorn": "^59.0.1",
|
|
48
|
+
"globals": "^16.2.0",
|
|
49
|
+
"prettier-plugin-packagejson": "^2.5.14",
|
|
50
|
+
"jiti": "^2.6.1",
|
|
51
|
+
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
52
|
+
"typescript-eslint": "^8.33.1"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"eslint": "^9.27.0",
|
|
56
|
+
"husky": "^9.1.7",
|
|
57
|
+
"lint-staged": "^16.1.6",
|
|
58
|
+
"prettier": "^3.5.3",
|
|
59
|
+
"tsup": "^8.5.0",
|
|
60
|
+
"typescript": "^5.8.3"
|
|
61
|
+
},
|
|
62
|
+
"peerDependencies": {
|
|
63
|
+
"eslint": "^9.27.0",
|
|
64
|
+
"prettier": "^3.5.3",
|
|
65
|
+
"typescript": "^5.8.3"
|
|
66
|
+
},
|
|
67
|
+
"engines": {
|
|
68
|
+
"node": ">=22.16"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare module "@next/eslint-plugin-next" {
|
|
2
|
+
import type { ESLint, Linter } from "eslint";
|
|
3
|
+
|
|
4
|
+
interface NextESLintPlugin extends ESLint.Plugin {
|
|
5
|
+
configs: {
|
|
6
|
+
recommended: {
|
|
7
|
+
rules: Linter.RulesRecord;
|
|
8
|
+
};
|
|
9
|
+
"core-web-vitals": {
|
|
10
|
+
rules: Linter.RulesRecord;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const plugin: NextESLintPlugin;
|
|
16
|
+
// eslint-disable-next-line import/no-default-export -- @next/eslint-plugin-next exports plugin by default
|
|
17
|
+
export default plugin;
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"esModuleInterop": true,
|
|
5
|
+
"forceConsistentCasingInFileNames": true,
|
|
6
|
+
"noFallthroughCasesInSwitch": true,
|
|
7
|
+
"noUncheckedIndexedAccess": true,
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
"strict": true,
|
|
10
|
+
"lib": ["ESNext"],
|
|
11
|
+
"module": "es2022",
|
|
12
|
+
"target": "esnext",
|
|
13
|
+
"moduleResolution": "bundler",
|
|
14
|
+
"noEmit": true,
|
|
15
|
+
"typeRoots": ["../types", "../node_modules/@types"],
|
|
16
|
+
"resolveJsonModule": true
|
|
17
|
+
}
|
|
18
|
+
}
|