Skip to content

Commit 25b693e

Browse files
authored
package name changed
eslint-config-hystax-ui name changed to @hystax/eslint-config-ui
1 parent 3d39aef commit 25b693e

5 files changed

Lines changed: 23 additions & 20 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 📦 eslint-config-hystax
1+
# 📦 @hystax/eslint-config
22

33
Shared ESLint configurations for **Hystax** projects.
44

@@ -9,9 +9,9 @@ The goal is to provide consistent linting rules across all Hystax projects.
99

1010
| Package | Description |
1111
|-----------------------------------------------|-----------------------------------------------------------------|
12-
| [`eslint-config-hystax-ui`](./packages/ui) | Shared ESLint config for **frontend/React/TypeScript** projects |
13-
| *(coming soon)* `eslint-config-hystax-server` | ESLint config for **Node.js / backend** projects |
14-
| *(coming soon)* `eslint-config-hystax-base` | Base rules for all Hystax projects |
12+
| [`@hystax/eslint-config-ui`](./packages/ui) | Shared ESLint config for **frontend/React/TypeScript** projects |
13+
| *(coming soon)* `@hystax/eslint-config-server` | ESLint config for **Node.js / backend** projects |
14+
| *(coming soon)* `@hystax/eslint-config-base` | Base rules for all Hystax projects |
1515

1616
> Each package can be installed and used independently.
1717
@@ -20,10 +20,10 @@ The goal is to provide consistent linting rules across all Hystax projects.
2020
Install the desired package in your project:
2121

2222
```bash
23-
npm install -D eslint-config-hystax-ui
23+
npm install -D @hystax/eslint-config-ui
2424
```
2525

26-
For details on usage, overriding rules, or customizing file globs, see the [`eslint-config-hystax-ui` README](./packages/ui/README.md).
26+
For details on usage, overriding rules, or customizing file globs, see the [`@hystax/eslint-config-ui` README](./packages/ui/README.md).
2727

2828
## 🧪 Development & Testing
2929

@@ -36,7 +36,7 @@ npm test
3636

3737
#### Run tests for a specific package
3838
```bash
39-
npm run test --workspace=eslint-config-hystax-ui
39+
npm run test --workspace=@hystax/eslint-config-ui
4040
```
4141

4242
## 📄 License

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
2-
"name": "eslint-config-hystax",
2+
"name": "@hystax/eslint-config",
33
"private": true,
44
"engines": {
55
"node": ">=22"
66
},
77
"scripts": {
8-
"build": "pnpm --filter eslint-config-hystax-ui run build",
9-
"test": "pnpm --filter eslint-config-hystax-ui run test",
8+
"build": "pnpm --filter @hystax/eslint-config-ui run build",
9+
"test": "pnpm --filter @hystax/eslint-config-ui run test",
1010
"preinstall": "npx only-allow pnpm",
11-
"release:ui": "pnpm --filter eslint-config-hystax-ui run release",
12-
"release:ui:dry-run": "pnpm --filter eslint-config-hystax-ui run release:dry-run"
11+
"release:ui": "pnpm --filter @hystax/eslint-config-ui run release",
12+
"release:ui:dry-run": "pnpm --filter @hystax/eslint-config-ui run release:dry-run"
1313
},
1414
"repository": {
1515
"type": "git",

packages/ui/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Changelog for eslint-config-hystax-ui
1+
# Changelog for @hystax/eslint-config-ui
22

33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

66
## [1.0.0] - 2025-11-03
77

88
### Added
9-
- Initial release of `eslint-config-hystax-ui`
9+
- Initial release of `@hystax/eslint-config-ui`
1010
- Includes base ESLint rules for UI projects (React, JSX, TypeScript, Prettier, etc.)
1111

1212
[1.0.0]: https://github.com/hystax/eslint-config-hystax/tree/20251103-01/packages/ui

packages/ui/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 📦 eslint-config-hystax-ui
1+
# 📦 @hystax/eslint-config-ui
22

33
Shared **UI** ESLint configuration for **Hystax** projects
44

@@ -12,7 +12,7 @@ This package provides a shared ESLint configuration used across Hystax repositor
1212
## 🚀 Installation
1313

1414
```bash
15-
npm install -D eslint-config-hystax-ui
15+
npm install -D @hystax/eslint-config-ui
1616
```
1717

1818
## ⚙️ Usage
@@ -21,20 +21,20 @@ In your project’s _eslint.config.mjs_, import and use the shared configuration
2121

2222
Basic example (UI project)
2323
```javascript
24-
import config from "eslint-config-hystax-ui";
24+
import config from "@hystax/eslint-config-ui";
2525
export default config;
2626
```
2727

2828
You can also use an array form if you plan to combine multiple configs:
2929

3030
```javascript
31-
import config from "eslint-config-hystax-ui";
31+
import config from "@hystax/eslint-config-ui";
3232
export default [config];
3333
```
3434

3535
### 🧩 Override file globs or rules
3636
```javascript
37-
import config from "eslint-config-hystax-ui";
37+
import config from "@hystax/eslint-config-ui";
3838
export default [
3939
{
4040
...config,

packages/ui/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
2-
"name": "eslint-config-hystax-ui",
2+
"name": "@hystax/eslint-config-ui",
33
"version": "1.0.0",
44
"description": "UI ESLint config for Hystax projects",
55
"main": "index.mjs",
66
"type": "module",
7+
"publishConfig": {
8+
"access": "public"
9+
},
710
"license": "Apache-2.0",
811
"files": [
912
"index.mjs",

0 commit comments

Comments
 (0)