No description
![]() * Upgrade ESLint * Add eslint-nibble * Move typescript to dev deps * Update ESLint config * Turn off semi, comma-dangle & quotes rules * Enable simple sort * Fix errors in ESLint (#3788) * Disable rules requiring heavy changes * Autofix new ESLint rules * Autofix more-rules * Fix jsx/generics ambiguity * Add warnings for broken rules requiring manual fixes * Remove redundant expected-error * Add simple-sort * Add prettier config * Lint config * Fix sort plugin * Fix simple sort plugin * Fix sort order * Update src/orders/components/OrderTransaction/components/TransactionEvents/components/PspReferenceLink.tsx Co-authored-by: Paweł Chyła <chyla1988@gmail.com> * Remove redundant comment * Remove chai friendly * Update package.json Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com> * Remove to-be-checked comment * Update formatjs plugin * Lint staged only in src * Add changeset * Add tracking issue for new rules * Resolve auto-fixable warning after merge * Change sorts to warnings * Run lint on new files * Fix errors --------- Co-authored-by: Paweł Chyła <chyla1988@gmail.com> Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com> |
||
---|---|---|
.changeset | ||
.github | ||
.husky | ||
.storybook | ||
.tx | ||
assets | ||
cypress | ||
docs | ||
lint/rules | ||
locale | ||
nginx | ||
scripts | ||
src | ||
testUtils | ||
.codeclimate.yml | ||
.dependency-cruiser.js | ||
.dockerignore | ||
.env.template | ||
.eslintrc.json | ||
.gitattributes | ||
.gitignore | ||
.npmrc | ||
.nvmrc | ||
.prettierignore | ||
.prettierrc | ||
_redirects | ||
apollo.config.js | ||
app.json | ||
babel.config.js | ||
CHANGELOG.md | ||
CODEOWNERS | ||
csstypes.d.ts | ||
cypress.config.js | ||
Dockerfile | ||
eslint-local-rules.js | ||
fetch-schema.yml | ||
introspection.json | ||
LICENSE | ||
lighthouserc.json | ||
lws.config.js | ||
package-lock.json | ||
package.json | ||
react-intl.d.ts | ||
README.md | ||
schema.graphql | ||
static.json | ||
sw.js | ||
tsconfig.json | ||
types.d.ts | ||
vite.config.js |
Saleor Dashboard
A GraphQL-powered, single-page dashboard application for Saleor.
Prerequisites
- Node.js v18+
- A running instance of Saleor
Development
- Clone the repository:
git clone https://github.com/saleor/saleor-dashboard.git
- Enter the project directory:
cd saleor-dashboard
- Install the dependencies:
npm i
-
Configure the env vars as described in docs/configuration.md.
-
Start the development server with:
npm run dev
Note: If you see CORS errors, check CORS configuration of your Saleor instance or CORS settings in the Cloud Console.