-
-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: removal of webpack and replacement with bun
- Loading branch information
1 parent
b9a295b
commit fa2da3d
Showing
309 changed files
with
752 additions
and
691 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,5 +38,8 @@ | |
}, | ||
"engines": { | ||
"node": "16.x || 17.x || 18.x || 20.x || 21.x" | ||
}, | ||
"dependencies": { | ||
"objection": "^3.1.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.6.0/schema.json", | ||
"extends": ["../../biome.json"] | ||
"extends": ["../../biome.json"], | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"style": { | ||
"useImportType": "error" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// We need this in order to use @Decorators | ||
// DO NOT CHANGE THE LINE SPACING OF THE IMPORTS | ||
// OR THE LINTER WILL REORDER THEM | ||
import 'reflect-metadata'; | ||
|
||
import { startServer } from './src/server'; | ||
|
||
// Additional initializations can go here | ||
console.log('Additional initializations or logic before starting the server.'); | ||
|
||
// Now explicitly start the server | ||
startServer().then(() => { | ||
console.log('Server started successfully.'); | ||
}).catch((error) => { | ||
console.error('Failed to start the server:', error); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"version": "0.10.2", | ||
"description": "", | ||
"license": "ISC", | ||
"type": "commonjs", | ||
"type": "module", | ||
"author": "Ahmed Bouhuolia, <[email protected]>", | ||
"main": "src/server.ts", | ||
"bin": { | ||
|
@@ -14,18 +14,13 @@ | |
"clear": "rimraf build", | ||
"format": "biome format --write ./", | ||
"lint": "biome check --apply ./", | ||
"dev": "cross-env NODE_ENV=development webpack --config scripts/webpack.config.js", | ||
"build:resources": "gulp --gulpfile=scripts/gulpfile.js styles styles-rtl", | ||
"build:app": "cross-env NODE_ENV=production webpack --config scripts/webpack.config.js", | ||
"build:commands": "cross-env NODE_ENV=production webpack --config scripts/webpack.cli.js", | ||
"build": "npm-run-all build:*", | ||
"serve": "node ./build/index.js", | ||
"lint:eslint": "eslint --fix ./**/*.ts", | ||
"bun.build": "bun build src/server.ts --target bun --outdir ./build", | ||
"vite.dev": "vite", | ||
"vite.serve": "node ./build/index.js", | ||
"vite.build:app": "vite build --config vite.config.app.js", | ||
"vite.build:commands": "vite build --config vite.config.cli.js" | ||
"dev": "bun run serve", | ||
"build:resources": "gulp --gulpfile=scripts/gulpfile.cjs styles styles-rtl", | ||
"build:app": "cross-env NODE_ENV=production bun build ./index.ts --outdir build/server --target bun", | ||
"build:commands": "cross-env NODE_ENV=production bun build ./src/commands/index.ts --outdir build/commands --target bun", | ||
"build": "run-p build:*", | ||
"serve": "bun run index.ts", | ||
"lint:eslint": "eslint --fix ./**/*.ts" | ||
}, | ||
"dependencies": { | ||
"@casl/ability": "^5.4.4", | ||
|
@@ -102,8 +97,8 @@ | |
"puppeteer": "^10.4.0", | ||
"qim": "0.0.52", | ||
"ramda": "^0.29.1", | ||
"rate-limiter-flexible": "^2.4.2", | ||
"reflect-metadata": "^0.1.14", | ||
"rate-limiter-flexible": "^5.0.0", | ||
"reflect-metadata": "^0.2.2", | ||
"rtl-detect": "^1.1.2", | ||
"socket.io": "^4.7.5", | ||
"source-map-loader": "^4.0.2", | ||
|
@@ -122,56 +117,47 @@ | |
"@types/errorhandler": "^1.5.3", | ||
"@types/express": "^4.17.21", | ||
"@types/express-boom": "^3.0.4", | ||
"@types/lodash": "^4.14.158", | ||
"@types/lodash": "^4.17.0", | ||
"@types/nodemailer": "^6.4.14", | ||
"@types/ramda": "^0.27.64", | ||
"@typescript-eslint/eslint-plugin": "^5.50.0", | ||
"@typescript-eslint/parser": "^5.50.0", | ||
"@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.2.0", | ||
"chai-http": "^4.3.0", | ||
"chai": "^4.4.1", | ||
"chai-http": "^4.4.0", | ||
"chai-things": "^0.2.0", | ||
"colorette": "^1.2.0", | ||
"commander": "^5.0.0", | ||
"cross-env": "^5.2.0", | ||
"eslint": "^8.33.0", | ||
"colorette": "^2.0.20", | ||
"commander": "^12.0.0", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^8.57.0", | ||
"eslint-config-airbnb-base": "^15.0.0", | ||
"eslint-config-airbnb-typescript": "^17.0.0", | ||
"eslint-config-airbnb-typescript": "^17.1.0", | ||
"eslint-friendly-formatter": "^4.0.1", | ||
"eslint-import-resolver-typescript": "^3.5.3", | ||
"eslint-import-resolver-webpack": "^0.11.1", | ||
"eslint-import-resolver-typescript": "^3.6.1", | ||
"eslint-loader": "^2.2.1", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-import": "^2.29.1", | ||
"faker": "^4.1.0", | ||
"getopts": "^2.2.5", | ||
"gulp-postcss": "^9.0.0", | ||
"getopts": "^2.3.0", | ||
"gulp-postcss": "^9.1.0", | ||
"gulp-rename": "^2.0.0", | ||
"knex-factory": "0.0.7", | ||
"merge-stream": "^2.0.0", | ||
"mocha": "^5.2.0", | ||
"npm-run-all": "^4.1.5", | ||
"nyc": "^14.1.1", | ||
"progress-bar-webpack-plugin": "^2.1.0", | ||
"regenerator-runtime": "^0.13.7", | ||
"rimraf": "^3.0.2", | ||
"rtlcss": "^3.3.0", | ||
"run-script-webpack-plugin": "^0.1.1", | ||
"sass": "^1.58.0", | ||
"sinon": "^7.4.2", | ||
"start-server-webpack-plugin": "^2.2.5", | ||
"ts-loader": "^9.4.2", | ||
"ts-node": "^9.0.0", | ||
"tsconfig-paths-webpack-plugin": "^4.0.0", | ||
"typescript": "^3.9.7", | ||
"webpack": "^5.75.0", | ||
"webpack-cli": "^4.10.0", | ||
"webpack-merge": "^5.8.0", | ||
"webpack-node-externals": "^3.0.0", | ||
"webpack-watch-changed": "^1.0.0" | ||
"npm-run-all2": "^6.1.2", | ||
"nyc": "^15.1.0", | ||
"regenerator-runtime": "^0.13.11", | ||
"rimraf": "^5.0.5", | ||
"rtlcss": "^3.5.0", | ||
"sass": "^1.74.1", | ||
"sinon": "^7.5.0", | ||
"ts-loader": "^9.5.1", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.4.4" | ||
}, | ||
"optionalDependencies": { | ||
"better-sqlite3": "^9.4.5", | ||
"noop2": "^2.0.0", | ||
"oracledb": "^6.4.0", | ||
"pg": "^8.11.5", | ||
"pg-escape": "^0.2.0", | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/server/src/api/controllers/Banking/PlaidBankingController.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/server/src/api/controllers/Cashflow/DeleteCashflowTransaction.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.