diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index d7d864c..6dcdf7b 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -38,7 +38,7 @@ What actually happened. Include the error message and target format. - Browser: [e.g. Chrome 130, Firefox 132, Safari 18] - OS: [e.g. Windows 11, macOS 15, Ubuntu 24.04] - JSONPrism version: [e.g. 0.1.0 — check the footer] -- Is this on the hosted version (poli0981.github.io/jsonprism/) or local dev? +- Is this on the hosted version (poli0981.github.io/jsonPrism/) or local dev? ## Screenshots diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index b9d14b7..a3327df 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,11 +1,11 @@ blank_issues_enabled: false contact_links: - name: Questions & general discussion - url: https://github.com/poli0981/jsonprism/discussions + url: https://github.com/poli0981/jsonPrism/discussions about: Ask about usage, share workflows, or propose ideas before opening an issue. - name: Security vulnerability - url: https://github.com/poli0981/jsonprism/security/advisories/new + url: https://github.com/poli0981/jsonPrism/security/advisories/new about: Report security issues privately via GitHub Security Advisory (not in public issues). - name: Live demo - url: https://poli0981.github.io/jsonprism/ + url: https://poli0981.github.io/jsonPrism/ about: Try the latest deployed build in your browser before filing a bug. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f72c466..972629b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,12 +22,9 @@ jobs: - name: Windows runner: windows-latest args: '' - - name: macOS (Apple Silicon) + - name: macOS (universal) runner: macos-14 - args: '--target aarch64-apple-darwin' - - name: macOS (Intel) - runner: macos-13 - args: '--target x86_64-apple-darwin' + args: '--target universal-apple-darwin' - name: Linux runner: ubuntu-22.04 args: '' @@ -57,7 +54,8 @@ jobs: - name: Setup Rust (stable) uses: dtolnay/rust-toolchain@stable with: - targets: ${{ matrix.platform.runner == 'macos-14' && 'aarch64-apple-darwin' || matrix.platform.runner == 'macos-13' && 'x86_64-apple-darwin' || '' }} + # macOS universal2 build needs both aarch64 + x86_64 targets installed. + targets: ${{ matrix.platform.runner == 'macos-14' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} - name: Cache Cargo build artifacts uses: swatinem/rust-cache@v2 @@ -86,7 +84,7 @@ jobs: releaseBody: | Native desktop builds for Windows, macOS, and Linux. - See the [CHANGELOG](https://github.com/poli0981/jsonprism/blob/main/CHANGELOG.md) for what's new. + See the [CHANGELOG](https://github.com/poli0981/jsonPrism/blob/main/CHANGELOG.md) for what's new. releaseDraft: true prerelease: false args: ${{ matrix.platform.args }} diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 21e3ce6..2f8ffe5 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -12,7 +12,7 @@ In short: The maintainer ([@poli0981](https://github.com/poli0981)) is responsible for enforcement. Reports of misconduct can be sent through: -- A [private Discussion](https://github.com/poli0981/jsonprism/discussions) addressed to the maintainer, or +- A [private Discussion](https://github.com/poli0981/jsonPrism/discussions) addressed to the maintainer, or - Email via the address on the GitHub profile. Reports are handled confidentially. Possible outcomes include: a warning, diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 7521e0a..a820f08 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -5,7 +5,7 @@ Thanks for considering a contribution! JSONPrism is an open-source project under ## Quick start ```bash -git clone https://github.com/poli0981/jsonprism.git +git clone https://github.com/poli0981/jsonPrism.git cd jsonprism npm install npm run dev @@ -36,7 +36,7 @@ Open . ### 🐛 Bug reports -Use the [Bug Report](https://github.com/poli0981/jsonprism/issues/new?template=bug_report.md) template. Include: +Use the [Bug Report](https://github.com/poli0981/jsonPrism/issues/new?template=bug_report.md) template. Include: - Browser + OS - Steps to reproduce @@ -45,7 +45,7 @@ Use the [Bug Report](https://github.com/poli0981/jsonprism/issues/new?template=b ### 💡 Feature requests -Use the [Feature Request](https://github.com/poli0981/jsonprism/issues/new?template=feature_request.md) template. We prioritize features that: +Use the [Feature Request](https://github.com/poli0981/jsonPrism/issues/new?template=feature_request.md) template. We prioritize features that: - Fit the "one JSON → many formats" core mission - Don't require server-side processing (we're client-only by design) @@ -123,7 +123,7 @@ This project adopts the [Contributor Covenant v2.1](CODE_OF_CONDUCT.md). Be kind. Assume good faith. Disagreements about technical choices are fine; personal attacks and harassment are not. -Reports to the maintainer via the [private Security Advisory flow](https://github.com/poli0981/jsonprism/security/advisories/new) for sensitive matters, or a private GitHub Discussion otherwise. +Reports to the maintainer via the [private Security Advisory flow](https://github.com/poli0981/jsonPrism/security/advisories/new) for sensitive matters, or a private GitHub Discussion otherwise. ## License diff --git a/DISCLAIMER.md b/DISCLAIMER.md index 8c28329..47af498 100644 --- a/DISCLAIMER.md +++ b/DISCLAIMER.md @@ -32,7 +32,7 @@ This project openly uses AI tools during development: and reviewing PRs. - All AI-generated code is reviewed by the maintainer before being merged. Errors that slip through are bugs — please report them via - [GitHub Issues](https://github.com/poli0981/jsonprism/issues). + [GitHub Issues](https://github.com/poli0981/jsonPrism/issues). ### Translations @@ -57,6 +57,6 @@ key — it surfaces this disclaimer to users at runtime. ## Reporting concerns -- Bugs: [GitHub Issues](https://github.com/poli0981/jsonprism/issues) -- Security: [Private Security Advisory](https://github.com/poli0981/jsonprism/security/advisories/new) +- Bugs: [GitHub Issues](https://github.com/poli0981/jsonPrism/issues) +- Security: [Private Security Advisory](https://github.com/poli0981/jsonPrism/security/advisories/new) - Translation accuracy: GitHub Discussions diff --git a/MAINTAINERS.md b/MAINTAINERS.md index c9f8d08..c745183 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -10,9 +10,9 @@ merged PR. ## Contact -- Bug reports & feature requests: [GitHub Issues](https://github.com/poli0981/jsonprism/issues) -- Discussion / Q&A: [GitHub Discussions](https://github.com/poli0981/jsonprism/discussions) -- Security: [Private Security Advisory](https://github.com/poli0981/jsonprism/security/advisories/new) +- Bug reports & feature requests: [GitHub Issues](https://github.com/poli0981/jsonPrism/issues) +- Discussion / Q&A: [GitHub Discussions](https://github.com/poli0981/jsonPrism/discussions) +- Security: [Private Security Advisory](https://github.com/poli0981/jsonPrism/security/advisories/new) ## Becoming a maintainer diff --git a/PRIVACY.md b/PRIVACY.md index 7ba971b..23ff468 100644 --- a/PRIVACY.md +++ b/PRIVACY.md @@ -67,5 +67,5 @@ The Tauri build inlines these fonts and never makes the request. ## Questions -Open a [GitHub Discussion](https://github.com/poli0981/jsonprism/discussions) if anything here is unclear. -For security-relevant reports, use the [private Security Advisory flow](https://github.com/poli0981/jsonprism/security/advisories/new). +Open a [GitHub Discussion](https://github.com/poli0981/jsonPrism/discussions) if anything here is unclear. +For security-relevant reports, use the [private Security Advisory flow](https://github.com/poli0981/jsonPrism/security/advisories/new). diff --git a/README.md b/README.md index 26d8c2c..4775313 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,11 @@ One JSON input. Eight target formats. Fully in your browser. -[![CI](https://github.com/poli0981/jsonprism/actions/workflows/ci.yml/badge.svg)](https://github.com/poli0981/jsonprism/actions/workflows/ci.yml) -[![Deploy](https://github.com/poli0981/jsonprism/actions/workflows/deploy.yml/badge.svg)](https://github.com/poli0981/jsonprism/actions/workflows/deploy.yml) +[![CI](https://github.com/poli0981/jsonPrism/actions/workflows/ci.yml/badge.svg)](https://github.com/poli0981/jsonPrism/actions/workflows/ci.yml) +[![Deploy](https://github.com/poli0981/jsonPrism/actions/workflows/deploy.yml/badge.svg)](https://github.com/poli0981/jsonPrism/actions/workflows/deploy.yml) [![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE) -[Live demo](https://poli0981.github.io/jsonprism/) · [Tiếng Việt](README.vi.md) · [Roadmap](docs/ROADMAP.md) +[Live demo](https://poli0981.github.io/jsonPrism/) · [Tiếng Việt](README.vi.md) · [Roadmap](docs/ROADMAP.md) @@ -59,7 +59,7 @@ JSONPrism is a refracting tool for developers. It takes a single JSON input and **Requirements**: Node.js **22 LTS** or newer. ```bash -git clone https://github.com/poli0981/jsonprism.git +git clone https://github.com/poli0981/jsonPrism.git cd jsonprism npm install npm run dev # http://localhost:5173 @@ -187,7 +187,7 @@ See [`docs/ROADMAP.md`](docs/ROADMAP.md) for the full phase plan. Pull requests welcome — please read [`CONTRIBUTING.md`](CONTRIBUTING.md) first. PRs that match the **auto-ignored** patterns described there (suspicious code, off-topic preamble, no description, etc.) get closed without review. -For bug reports and feature requests, use [GitHub Issues](https://github.com/poli0981/jsonprism/issues). For security vulnerabilities, use the [private Security Advisory flow](https://github.com/poli0981/jsonprism/security/advisories/new). +For bug reports and feature requests, use [GitHub Issues](https://github.com/poli0981/jsonPrism/issues). For security vulnerabilities, use the [private Security Advisory flow](https://github.com/poli0981/jsonPrism/security/advisories/new). ## Project docs diff --git a/README.vi.md b/README.vi.md index 1b45d0b..d9d679e 100644 --- a/README.vi.md +++ b/README.vi.md @@ -6,11 +6,11 @@ Một JSON đầu vào. Tám định dạng đích. Chạy hoàn toàn trong trình duyệt. -[![CI](https://github.com/poli0981/jsonprism/actions/workflows/ci.yml/badge.svg)](https://github.com/poli0981/jsonprism/actions/workflows/ci.yml) -[![Deploy](https://github.com/poli0981/jsonprism/actions/workflows/deploy.yml/badge.svg)](https://github.com/poli0981/jsonprism/actions/workflows/deploy.yml) +[![CI](https://github.com/poli0981/jsonPrism/actions/workflows/ci.yml/badge.svg)](https://github.com/poli0981/jsonPrism/actions/workflows/ci.yml) +[![Deploy](https://github.com/poli0981/jsonPrism/actions/workflows/deploy.yml/badge.svg)](https://github.com/poli0981/jsonPrism/actions/workflows/deploy.yml) [![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE) -[Bản demo](https://poli0981.github.io/jsonprism/) · [English](README.md) · [Lộ trình](docs/ROADMAP.md) +[Bản demo](https://poli0981.github.io/jsonPrism/) · [English](README.md) · [Lộ trình](docs/ROADMAP.md) @@ -56,7 +56,7 @@ JSONPrism là công cụ "tán sắc" cho developer. Nhận một JSON đầu v **Yêu cầu**: Node.js **22 LTS** trở lên. ```bash -git clone https://github.com/poli0981/jsonprism.git +git clone https://github.com/poli0981/jsonPrism.git cd jsonprism npm install npm run dev # http://localhost:5173 @@ -184,7 +184,7 @@ Xem [`docs/ROADMAP.md`](docs/ROADMAP.md) để biết kế hoạch phase đầy Welcome pull request — vui lòng đọc [`CONTRIBUTING.md`](CONTRIBUTING.md) trước. PR thuộc nhóm **auto-ignored** (code đáng ngờ, lan man không vào vấn đề, không mô tả…) sẽ bị đóng không review. -Báo bug hoặc đề xuất tính năng tại [GitHub Issues](https://github.com/poli0981/jsonprism/issues). Vấn đề bảo mật vui lòng dùng [Security Advisory riêng tư](https://github.com/poli0981/jsonprism/security/advisories/new). +Báo bug hoặc đề xuất tính năng tại [GitHub Issues](https://github.com/poli0981/jsonPrism/issues). Vấn đề bảo mật vui lòng dùng [Security Advisory riêng tư](https://github.com/poli0981/jsonPrism/security/advisories/new). ## Tài liệu project diff --git a/SECURITY.md b/SECURITY.md index c4c21c4..136fa42 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -16,7 +16,7 @@ latest minor of the current major receives security fixes. Use GitHub's private vulnerability reporting: -→ +→ This routes the report directly to the maintainer through a private channel. You can include a proof-of-concept, suggested fix, and your diff --git a/TERMS.md b/TERMS.md index d91e10f..e7ca14c 100644 --- a/TERMS.md +++ b/TERMS.md @@ -15,7 +15,7 @@ not agree, stop using it. ## 1. Acceptance -Accessing the web app at , +Accessing the web app at , running the Tauri desktop bundle, cloning or downloading the repository, or otherwise interacting with the project constitutes acceptance of these terms. diff --git a/docs/dev_env.md b/docs/dev_env.md index 8c31285..1e7c09d 100644 --- a/docs/dev_env.md +++ b/docs/dev_env.md @@ -39,7 +39,7 @@ the broader dev environment knows what's around: ```bash # One-time -git clone https://github.com/poli0981/jsonprism.git +git clone https://github.com/poli0981/jsonPrism.git cd jsonprism npm install diff --git a/docs/i18n/vi/dev_env.md b/docs/i18n/vi/dev_env.md index b61d5fc..a56d79f 100644 --- a/docs/i18n/vi/dev_env.md +++ b/docs/i18n/vi/dev_env.md @@ -39,7 +39,7 @@ trường tương đương: ```bash # Một lần -git clone https://github.com/poli0981/jsonprism.git +git clone https://github.com/poli0981/jsonPrism.git cd jsonprism npm install diff --git a/package.json b/package.json index 5af708a..8e105f2 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,10 @@ "description": "Disperse JSON into many formats — JSONL, CSV, YAML, XML, TOML, RESX, Markdown, SQL — fully client-side.", "author": "poli0981 ", "license": "Apache-2.0", - "homepage": "https://poli0981.github.io/jsonprism/", + "homepage": "https://poli0981.github.io/jsonPrism/", "repository": { "type": "git", - "url": "https://github.com/poli0981/jsonprism.git" + "url": "https://github.com/poli0981/jsonPrism.git" }, "engines": { "node": ">=22.11.0" diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 5cc8b0b..db71202 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -4,7 +4,7 @@ version = "1.3.0" description = "Disperse JSON into many formats." authors = ["poli0981 "] license = "Apache-2.0" -repository = "https://github.com/poli0981/jsonprism" +repository = "https://github.com/poli0981/jsonPrism" edition = "2021" rust-version = "1.77" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 595c24e..09e703a 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -44,7 +44,7 @@ "longDescription": "JSONPrism is a refracting tool for developers. It takes a single JSON input and disperses it into many target formats — JSONL, CSV/TSV, YAML, XML, TOML, Markdown, SQL INSERT — fully on your machine.", "copyright": "Copyright (c) 2026 poli0981", "publisher": "poli0981", - "homepage": "https://github.com/poli0981/jsonprism", + "homepage": "https://github.com/poli0981/jsonPrism", "windows": { "wix": { "language": "en-US" diff --git a/src/components/layout/Header.tsx b/src/components/layout/Header.tsx index b1f2b8e..d5760b0 100644 --- a/src/components/layout/Header.tsx +++ b/src/components/layout/Header.tsx @@ -29,7 +29,7 @@ export function Header() { diff --git a/src/pages/About.tsx b/src/pages/About.tsx index 80b3b12..48f74f2 100644 --- a/src/pages/About.tsx +++ b/src/pages/About.tsx @@ -2,7 +2,7 @@ import { useTranslation } from 'react-i18next'; import { ExternalLink, Heart } from 'lucide-react'; import { cn } from '@/lib/utils'; -const REPO_URL = 'https://github.com/poli0981/jsonprism'; +const REPO_URL = 'https://github.com/poli0981/jsonPrism'; interface DonatePlatform { key: 'github' | 'ko_fi' | 'buy_me_a_coffee' | 'patreon' | 'paypal'; @@ -202,7 +202,7 @@ export function About() { - + diff --git a/vite.config.ts b/vite.config.ts index 9d13dc5..7ba828d 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -25,8 +25,9 @@ const appBuildDate = new Date().toISOString().slice(0, 10); // https://vite.dev/config/ export default defineConfig(({ mode }) => ({ - // Web prod build deploys to /jsonprism/. Tauri bundles serve from '/'. - base: isTauriContext ? '/' : mode === 'production' ? '/jsonprism/' : '/', + // Web prod build deploys to /jsonPrism/ (GH Pages mirrors the repo name + // case). Tauri bundles serve from '/'. + base: isTauriContext ? '/' : mode === 'production' ? '/jsonPrism/' : '/', define: { __APP_VERSION__: JSON.stringify(pkg.version),