mirror of
https://github.com/AykutSarac/jsoncrack.com.git
synced 2026-06-03 03:24:42 +02:00
644ee3378f
* feat: migrate to turborepo and separate canvas as package * refactor: improve code formatting and linting scripts in react-jsoncrack package * fix: update lint task dependencies and outputs in turbo.json * feat: refactor project structure to use 'jsoncrack' package * feat: rename react-jsoncrack to jsoncrack * feat: add vscode app * feat: enhance spinner and overlay styles for better theming support * feat: update build scripts and fix import path for Turborepo integration * feat: update README files to enhance project documentation and usage instructions * fix: correct lint:fix script and update package manager version * feat: move files to root * feat: update version to 1.0.0 in package.json * feat: add .npm-cache to .gitignore * refactor: rename jsoncrack to jsoncrack-react and update imports - Updated package.json files in apps/vscode and apps/www to replace "jsoncrack" with "jsoncrack-react" and added license information. - Refactored imports in various components and utilities to use "jsoncrack-react" instead of "jsoncrack". - Added ESLint and Prettier configuration files to the jsoncrack package for improved code quality. - Adjusted code formatting across multiple files for consistency and readability. * refactor: jsoncrack-react build with vite * fix: update license in package.json to Apache-2.0 * refactor: remove TOML support from various components and update documentation * chore: rename package folder to jsoncrack-react * fix: update license field in package.json to Apache-2.0 and add LICENSE.md * fix: react peer deps * fix: adjust height of StyledEditorWrapper to 100% for better responsiveness * fix: restore cursor style for jsoncrack-space in GraphView * fix: update npm package link from `jsoncrack` to `jsoncrack-react` in README.md * feat: add .npmrc for engine strictness and update package.json engine requirements
59 lines
1.5 KiB
YAML
59 lines
1.5 KiB
YAML
name: Verify Pull Request
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
cache-and-install:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Install Node.js
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: "24.10.0"
|
|
|
|
- uses: pnpm/action-setup@v4
|
|
name: Install pnpm
|
|
with:
|
|
version: 10.20.0
|
|
run_install: false
|
|
|
|
- name: Get pnpm store directory
|
|
shell: bash
|
|
run: |
|
|
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
|
|
|
|
- uses: actions/cache@v5
|
|
name: Setup pnpm cache
|
|
with:
|
|
path: ${{ env.STORE_PATH }}
|
|
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-pnpm-store-
|
|
|
|
- name: Restore Turbo and Next.js cache
|
|
uses: actions/cache@v5
|
|
with:
|
|
path: |
|
|
.turbo
|
|
apps/www/.next/cache
|
|
key: ${{ runner.os }}-turbo-next-${{ hashFiles('pnpm-lock.yaml', 'turbo.json') }}-${{ hashFiles('apps/www/**.[jt]s', 'apps/www/**.[jt]sx', 'packages/**.[jt]s', 'packages/**.[jt]sx') }}
|
|
restore-keys: |
|
|
${{ runner.os }}-turbo-next-${{ hashFiles('pnpm-lock.yaml', 'turbo.json') }}-
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Lint
|
|
run: pnpm turbo run lint
|
|
|
|
- name: Build
|
|
run: pnpm turbo run build
|
|
|
|
|