eslint-plugin-export-component 0.0.0-alpha.1 → 0.0.0-alpha.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/package.json CHANGED
@@ -3,28 +3,60 @@
3
3
  "name": "zorro901",
4
4
  "url": "https://github.com/zorro901"
5
5
  },
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "type": "module",
10
+ "exports": {
11
+ "import": {
12
+ "types": "./dist/index.d.ts",
13
+ "import": "./dist/index.js"
14
+ },
15
+ "require": {
16
+ "types": "./dist/index.d.cts",
17
+ "require": "./dist/index.cjs"
18
+ }
19
+ },
6
20
  "description": "ESLint plugin for making your code easier to read",
7
21
  "devDependencies": {
8
- "@eslint/js": "^8.50.0",
9
- "@types/eslint": "8.44.3",
10
- "@types/jest": "29.5.5",
11
- "@typescript-eslint/eslint-plugin": "6.7.3",
12
- "@typescript-eslint/parser": "6.7.3",
13
- "@typescript-eslint/utils": "6.7.3",
14
- "commitizen": "4.3.0",
22
+ "@eslint/js": "8.57.0",
23
+ "@semantic-release/changelog": "6.0.3",
24
+ "@semantic-release/commit-analyzer": "13.0.0",
25
+ "@semantic-release/git": "10.0.1",
26
+ "@semantic-release/github": "11.0.0",
27
+ "@semantic-release/npm": "12.0.1",
28
+ "@semantic-release/release-notes-generator": "14.0.1",
29
+ "@types/eslint": "9.6.1",
30
+ "@types/eslint__js": "8.42.3",
31
+ "@types/jest": "29.5.13",
32
+ "@typescript-eslint/eslint-plugin": "8.9.0",
33
+ "@typescript-eslint/parser": "8.9.0",
34
+ "@typescript-eslint/utils": "8.9.0",
35
+ "commitizen": "4.3.1",
15
36
  "cz-conventional-changelog": "3.3.0",
16
- "esbuild": "0.19.4",
17
- "eslint": "8.50.0",
18
- "eslint-plugin-eslint-plugin": "^5.1.1",
19
- "eslint-remote-tester": "3.0.0",
20
- "eslint-remote-tester-repositories": "1.0.1",
21
- "husky": "8.0.3",
37
+ "eslint": "9.12.0",
38
+ "eslint-plugin-eslint-plugin": "6.2.0",
39
+ "eslint-plugin-n": "17.11.1",
40
+ "eslint-remote-tester": "4.0.1",
41
+ "eslint-remote-tester-repositories": "2.0.0",
42
+ "husky": "9.1.6",
22
43
  "jest": "29.7.0",
23
- "lint-staged": "14.0.1",
24
- "prettier": "3.0.3",
25
- "semantic-release": "22.0.5",
26
- "ts-jest": "29.1.1",
27
- "typescript": "5.2.2"
44
+ "lint-staged": "15.2.10",
45
+ "prettier": "3.3.3",
46
+ "semantic-release": "24.1.2",
47
+ "ts-jest": "29.2.5",
48
+ "ts-node": "10.9.2",
49
+ "tsup": "8.3.0",
50
+ "typescript": "5.6.3",
51
+ "typescript-eslint": "8.9.0"
52
+ },
53
+ "peerDependencies": {
54
+ "@eslint/js": "8.57.0",
55
+ "esbuild": "0.24.0"
56
+ },
57
+ "overrides": {
58
+ "read-pkg-up@11.0.0": "npm:read-package-up@11.0.0",
59
+ "glob@7.2.3": "npm:glob@11.0.0"
28
60
  },
29
61
  "engines": {
30
62
  "node": ">=18"
@@ -48,27 +80,59 @@
48
80
  "*.{ts,tsx}": "eslint --cache --fix"
49
81
  },
50
82
  "license": "Apache-2.0",
51
- "main": "dist/index.js",
52
83
  "name": "eslint-plugin-export-component",
53
84
  "repository": {
54
85
  "type": "git",
55
- "url": "https://github.com/zorro901/eslint-plugin-export-component.git"
86
+ "url": "git+https://github.com/zorro901/eslint-plugin-export-component.git"
56
87
  },
57
- "version": "0.0.0-alpha.1",
58
88
  "scripts": {
59
- "build": "esbuild src/index.ts --bundle --outfile=dist/index.js --platform=node --external:eslint --external:@typescript-eslint/utils",
60
- "build:dist": "tsc --noEmit && pnpm build -- --minify",
61
- "build:watch": "pnpm build -- --watch",
62
- "clean": "pnpm dlx rimraf dist",
63
- "deploy:docs": "cd documentation && yarn install && USE_SSH=true yarn deploy",
64
- "format:check": "prettier src --ignore-unknown --check",
65
- "format:fix": "prettier src --ignore-unknown --write",
66
- "lint": "eslint 'src/**/*.{ts,tsx}'",
67
- "lint:fix": "pnpm lint -- --fix",
68
- "lint:remote": "eslint-remote-tester",
89
+ "build": "tsup src/lib/index.ts --format cjs,esm --dts --clean",
90
+ "build:dist": "tsc --noEmit && bun run build --minify",
91
+ "build:watch": "bun run build --watch",
92
+ "clean": "bunx rimraf dist",
93
+ "format:check": "prettier src/**/* --ignore-unknown --check",
94
+ "format:fix": "prettier src/**/* --ignore-unknown --write",
95
+ "lint": "eslint \"src/lib/**/*.{ts,tsx}\"",
96
+ "lint:fix": "bun run lint --fix",
97
+ "prepare": "husky",
69
98
  "semantic-release": "semantic-release",
70
99
  "test": "jest",
71
100
  "test:watch": "jest --watch",
72
- "test:watch:all": "jest --watchAll"
73
- }
74
- }
101
+ "test:watch:all": "jest --watchAll",
102
+ "preinstall": "npx only-allow bun"
103
+ },
104
+ "husky": {
105
+ "hooks": {
106
+ "prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true"
107
+ }
108
+ },
109
+ "release": {
110
+ "plugins": [
111
+ "@semantic-release/commit-analyzer",
112
+ "@semantic-release/release-notes-generator",
113
+ "@semantic-release/changelog",
114
+ [
115
+ "@semantic-release/npm",
116
+ {
117
+ "npmPublish": true
118
+ }
119
+ ],
120
+ "@semantic-release/github",
121
+ "@semantic-release/git"
122
+ ],
123
+ "branches": [
124
+ "+([0-9])?(.{+([0-9]),x}).x",
125
+ "main",
126
+ {
127
+ "name": "beta",
128
+ "prerelease": true
129
+ },
130
+ {
131
+ "name": "alpha",
132
+ "prerelease": true
133
+ }
134
+ ],
135
+ "tagFormat": "${version}"
136
+ },
137
+ "version": "0.0.0-alpha.2"
138
+ }