diff --git a/biome.json b/biome.json index 730ba53969..9909e47afd 100644 --- a/biome.json +++ b/biome.json @@ -29,7 +29,7 @@ "enabled": true, "rules": { "correctness": { - "noUnusedImports": "error", + "noUnusedImports": "off", "noUnusedVariables": "warn", "useExhaustiveDependencies": "warn" }, diff --git a/package.json b/package.json index ed9073f3b1..6bfc3038fc 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,8 @@ "@types/node": "^20.12.5", "bun": "^1.1.2", "bun-types": "^1.1.2", + "dotenv": "^16.4.5", + "dotenv-cli": "^7.4.1", "husky": "^9.0.11", "lerna": "^8.1.2", "nx": "^18.2.3" diff --git a/packages/server/biome.json b/packages/server/biome.json index 41410594ca..c1c77424e4 100644 --- a/packages/server/biome.json +++ b/packages/server/biome.json @@ -6,6 +6,9 @@ "rules": { "style": { "useImportType": "error" + }, + "correctness": { + "noUnusedImports": "error" } } } diff --git a/packages/server/package.json b/packages/server/package.json index 266c9dbeec..4092d128ff 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -122,8 +122,6 @@ "@types/ramda": "^0.29.12", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", - "bun": "^1.1.2", - "bun-types": "^1.1.2", "chai": "^4.4.1", "chai-http": "^4.4.0", "chai-things": "^0.2.0", diff --git a/packages/webapp/craco.config.js b/packages/webapp/craco.config.js deleted file mode 100644 index 6f645920a8..0000000000 --- a/packages/webapp/craco.config.js +++ /dev/null @@ -1,17 +0,0 @@ -const path = require('node:path'); - -module.exports = { - webpack: { - alias: { - '@': path.resolve(__dirname, 'src'), - }, - configure: { - resolve: { - fallback: { path: require.resolve('path-browserify') }, - }, - }, - }, - devServer: { - allowedHosts: process.env.GITPOD_HOST ? 'all' : 'auto', - }, -}; diff --git a/packages/webapp/public/index.html b/packages/webapp/index.html similarity index 82% rename from packages/webapp/public/index.html rename to packages/webapp/index.html index b201cba67b..f9c8d6824b 100644 --- a/packages/webapp/public/index.html +++ b/packages/webapp/index.html @@ -4,7 +4,7 @@ @@ -13,27 +13,29 @@ name="description" content="Bigcapital Financial Managment Software" /> - + - +