diff --git a/.browserslistrc b/.browserslistrc deleted file mode 100644 index 82e4d5272..000000000 --- a/.browserslistrc +++ /dev/null @@ -1,12 +0,0 @@ -# This file is used by the build system to adjust CSS and JS output to support the specified browsers below. -# For additional information regarding the format and rule options, please see: -# https://github.com/browserslist/browserslist#queries - -# You can see what browsers were selected by your queries by running: -# npx browserslist - -last 2 Chrome versions -last 2 Firefox versions -last 2 Safari versions -last 2 Edge versions -Firefox ESR \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md index deb96f1b3..4974263a2 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,19 +1,20 @@ -# Angular RealWorld Example App +# React RealWorld Example App ## Commands ```bash -bun run setup # Init submodules + install deps (run after clone or after realworld submodule update) -bun run start # Dev server at localhost:4200 -bun run test # Unit tests (Vitest) -bun run test:e2e # E2E tests (Playwright) -bun run format # Format code with Prettier -bun run format:check # Check formatting without writing +npm run setup # Init submodules + install deps (run after clone or after realworld submodule update) +npm run start # Dev server at localhost:4200 +npm run build # TypeScript check + Vite production build +npm run lint # TypeScript type checking (tsc --noEmit) +npm run test:e2e # E2E tests (Playwright) +npm run format # Format code with Prettier +npm run format:check # Check formatting without writing ``` ## Code Style -- Run `bun run format` before presenting code to the user. +- Run `npm run format` before presenting code to the user. ## Debug Interface diff --git a/angular.json b/angular.json deleted file mode 100644 index f67bfcdf5..000000000 --- a/angular.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "$schema": "./node_modules/@angular/cli/lib/config/schema.json", - "version": 1, - "newProjectRoot": "projects", - "projects": { - "angular-conduit": { - "projectType": "application", - "schematics": {}, - "root": "", - "sourceRoot": "src", - "prefix": "app", - "architect": { - "build": { - "builder": "@angular/build:application", - "options": { - "outputPath": { - "base": "dist/angular-conduit" - }, - "index": "src/index.html", - "polyfills": [], - "tsConfig": "tsconfig.app.json", - "assets": [ - "src/favicon.ico", - { - "glob": "*.svg", - "input": "realworld/assets/media", - "output": "/assets" - }, - { - "glob": "_redirects", - "input": "src", - "output": "/" - } - ], - "styles": ["realworld/assets/theme/styles.css"], - "scripts": [], - "browser": "src/main.ts" - }, - "configurations": { - "production": { - "budgets": [ - { - "type": "initial", - "maximumWarning": "500kb", - "maximumError": "1mb" - }, - { - "type": "anyComponentStyle", - "maximumWarning": "2kb", - "maximumError": "4kb" - } - ], - "outputHashing": "all" - }, - "development": { - "optimization": false, - "extractLicenses": false, - "sourceMap": true, - "namedChunks": true - } - }, - "defaultConfiguration": "production" - }, - "serve": { - "builder": "@angular/build:dev-server", - "configurations": { - "production": { - "buildTarget": "angular-conduit:build:production" - }, - "development": { - "buildTarget": "angular-conduit:build:development" - } - }, - "defaultConfiguration": "development" - }, - "extract-i18n": { - "builder": "@angular/build:extract-i18n", - "options": { - "buildTarget": "angular-conduit:build" - } - } - } - } - }, - "cli": { - "analytics": "2fd54eca-0009-4dc9-83e2-5c7512ec2ed8" - } -} diff --git a/src/index.html b/index.html similarity index 59% rename from src/index.html rename to index.html index 4c801f80d..224581608 100644 --- a/src/index.html +++ b/index.html @@ -3,17 +3,21 @@