From 1b96483013b6f2428c6a90da90a4f46de2cd1024 Mon Sep 17 00:00:00 2001 From: el-makarova Date: Wed, 27 Dec 2023 10:21:37 +0300 Subject: [PATCH] fix: different fixes --- .eslintignore | 3 ++- .nvmrc | 2 +- README.md | 10 ++++++++-- package-lock.json | 2 +- package.json | 2 +- remix.config.js | 1 + 6 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.eslintignore b/.eslintignore index 3927c57..b8e0f5c 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,4 +1,5 @@ build dist public -remix.config.js \ No newline at end of file +*.css +*.css.map \ No newline at end of file diff --git a/.nvmrc b/.nvmrc index b6a7d89..3c03207 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16 +18 diff --git a/README.md b/README.md index 99374ec..87b1330 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Remix template with: typescript, sass and Gravity UI. To use this template for your app you can run: ```sh -npx create-remix my-project --template gravity-ui-remix-example +npx create-remix my-project --template gravity-ui/gravity-ui-remix-example cd my-project npm run dev @@ -23,12 +23,18 @@ npm run dev or ```sh -yarn create remix my-project --template gravity-ui-remix-example +yarn create remix my-project --template gravity-ui/gravity-ui-remix-example cd my-project npm run dev ``` +# 🎨 Styles + +This project is using SASS for styles, but Remix requires css in runtime. +So when `npm run dev` runs the first time, SASS will generate all css code for you. Please don't edit this automatic generated files. +SASS will watch for changes in your scss files and will regenerate css when it is essential. + # 📖 Learn More This package includes scripts and configuration used by [Remix](https://remix.run/).\ diff --git a/package-lock.json b/package-lock.json index 9f9c69b..62171c5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,7 +35,7 @@ "typescript": "^5.2.2" }, "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index 6593d37..b25bd3e 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "url": "https://github.com/gravity-ui/gravity-ui-remix-example" }, "engines": { - "node": ">=16" + "node": ">=18" }, "bugs": { "url": "https://github.com/gravity-ui/gravity-ui-remix-example/issues" diff --git a/remix.config.js b/remix.config.js index 59d8813..3dee539 100644 --- a/remix.config.js +++ b/remix.config.js @@ -1,4 +1,5 @@ /** @type {import('@remix-run/dev').AppConfig} */ +// eslint-disable-next-line no-undef module.exports = { future: { v2_routeConvention: true,