setting up

This commit is contained in:
Omindu Hirushka
2025-05-29 11:10:22 +05:30
parent 3a39b25e64
commit 378dc22bb0
9 changed files with 5550 additions and 6164 deletions

6
package-lock.json generated Normal file
View File

@@ -0,0 +1,6 @@
{
"name": "worklenz",
"lockfileVersion": 3,
"requires": true,
"packages": {}
}

File diff suppressed because it is too large Load Diff

View File

@@ -45,7 +45,7 @@
"cors": "^2.8.5", "cors": "^2.8.5",
"cron": "^2.4.0", "cron": "^2.4.0",
"crypto-js": "^4.1.1", "crypto-js": "^4.1.1",
"csurf": "^1.11.0", "csurf": "^1.2.2",
"debug": "^4.3.4", "debug": "^4.3.4",
"dotenv": "^16.3.1", "dotenv": "^16.3.1",
"exceljs": "^4.3.0", "exceljs": "^4.3.0",
@@ -53,6 +53,7 @@
"express-rate-limit": "^6.8.0", "express-rate-limit": "^6.8.0",
"express-session": "^1.17.3", "express-session": "^1.17.3",
"express-validator": "^6.15.0", "express-validator": "^6.15.0",
"grunt-cli": "^1.5.0",
"helmet": "^6.2.0", "helmet": "^6.2.0",
"hpp": "^0.2.3", "hpp": "^0.2.3",
"http-errors": "^2.0.0", "http-errors": "^2.0.0",
@@ -78,8 +79,10 @@
"sharp": "^0.32.6", "sharp": "^0.32.6",
"slugify": "^1.6.6", "slugify": "^1.6.6",
"socket.io": "^4.7.1", "socket.io": "^4.7.1",
"tinymce": "^7.8.0",
"uglify-js": "^3.17.4", "uglify-js": "^3.17.4",
"winston": "^3.10.0", "winston": "^3.10.0",
"worklenz-backend": "file:",
"xss-filters": "^1.2.7" "xss-filters": "^1.2.7"
}, },
"devDependencies": { "devDependencies": {
@@ -87,15 +90,17 @@
"@babel/preset-typescript": "^7.22.5", "@babel/preset-typescript": "^7.22.5",
"@types/bcrypt": "^5.0.0", "@types/bcrypt": "^5.0.0",
"@types/bluebird": "^3.5.38", "@types/bluebird": "^3.5.38",
"@types/body-parser": "^1.19.2",
"@types/compression": "^1.7.2", "@types/compression": "^1.7.2",
"@types/connect-flash": "^0.0.37", "@types/connect-flash": "^0.0.37",
"@types/cookie-parser": "^1.4.3", "@types/cookie-parser": "^1.4.3",
"@types/cron": "^2.0.1", "@types/cron": "^2.0.1",
"@types/crypto-js": "^4.2.2", "@types/crypto-js": "^4.2.2",
"@types/csurf": "^1.11.2", "@types/csurf": "^1.11.2",
"@types/express": "^4.17.17", "@types/express": "^4.17.21",
"@types/express-brute": "^1.0.2", "@types/express-brute": "^1.0.2",
"@types/express-brute-redis": "^0.0.4", "@types/express-brute-redis": "^0.0.4",
"@types/express-serve-static-core": "^4.17.34",
"@types/express-session": "^1.17.7", "@types/express-session": "^1.17.7",
"@types/fs-extra": "^9.0.13", "@types/fs-extra": "^9.0.13",
"@types/hpp": "^0.2.2", "@types/hpp": "^0.2.2",
@@ -120,7 +125,7 @@
"@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0", "@typescript-eslint/parser": "^5.62.0",
"chokidar": "^3.5.3", "chokidar": "^3.5.3",
"esbuild": "^0.17.19", "esbuild": "^0.25.4",
"esbuild-envfile-plugin": "^1.0.5", "esbuild-envfile-plugin": "^1.0.5",
"esbuild-node-externals": "^1.8.0", "esbuild-node-externals": "^1.8.0",
"eslint": "^8.45.0", "eslint": "^8.45.0",

View File

@@ -0,0 +1,20 @@
{
"name": "tinymce",
"version": "6.8.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "tinymce",
"version": "6.8.4",
"license": "MIT",
"dependencies": {
"tinymce": "file:"
}
},
"node_modules/tinymce": {
"resolved": "",
"link": true
}
}
}

View File

@@ -28,5 +28,8 @@
"homepage": "https://www.tiny.cloud/", "homepage": "https://www.tiny.cloud/",
"bugs": { "bugs": {
"url": "https://github.com/tinymce/tinymce/issues" "url": "https://github.com/tinymce/tinymce/issues"
},
"dependencies": {
"tinymce": "file:"
} }
} }

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,8 @@
"version": "1.0.0", "version": "1.0.0",
"private": true, "private": true,
"scripts": { "scripts": {
"start": "vite", "start": "vite dev",
"dev": "vite dev",
"prebuild": "node scripts/copy-tinymce.js", "prebuild": "node scripts/copy-tinymce.js",
"build": "vite build", "build": "vite build",
"dev-build": "vite build", "dev-build": "vite build",
@@ -13,7 +14,7 @@
"dependencies": { "dependencies": {
"@ant-design/colors": "^7.1.0", "@ant-design/colors": "^7.1.0",
"@ant-design/compatible": "^5.1.4", "@ant-design/compatible": "^5.1.4",
"@ant-design/icons": "^5.4.0", "@ant-design/icons": "^4.7.0",
"@ant-design/pro-components": "^2.7.19", "@ant-design/pro-components": "^2.7.19",
"@dnd-kit/core": "^6.3.1", "@dnd-kit/core": "^6.3.1",
"@dnd-kit/modifiers": "^9.0.0", "@dnd-kit/modifiers": "^9.0.0",
@@ -25,10 +26,11 @@
"@tanstack/react-table": "^8.20.6", "@tanstack/react-table": "^8.20.6",
"@tanstack/react-virtual": "^3.11.2", "@tanstack/react-virtual": "^3.11.2",
"@tinymce/tinymce-react": "^5.1.1", "@tinymce/tinymce-react": "^5.1.1",
"antd": "^5.24.1", "antd": "^5.24.9",
"axios": "^1.7.9", "axios": "^1.7.9",
"chart.js": "^4.4.7", "chart.js": "^4.4.7",
"chartjs-plugin-datalabels": "^2.2.0", "chartjs-plugin-datalabels": "^2.2.0",
"cors": "^2.8.5",
"date-fns": "^4.1.0", "date-fns": "^4.1.0",
"dompurify": "^3.2.4", "dompurify": "^3.2.4",
"gantt-task-react": "^0.3.9", "gantt-task-react": "^0.3.9",
@@ -38,6 +40,7 @@
"i18next-http-backend": "^2.7.3", "i18next-http-backend": "^2.7.3",
"jspdf": "^3.0.0", "jspdf": "^3.0.0",
"mixpanel-browser": "^2.56.0", "mixpanel-browser": "^2.56.0",
"nanoid": "^5.1.5",
"primereact": "^10.8.4", "primereact": "^10.8.4",
"re-resizable": "^6.10.3", "re-resizable": "^6.10.3",
"react": "^18.3.1", "react": "^18.3.1",
@@ -52,7 +55,8 @@
"react-window": "^1.8.11", "react-window": "^1.8.11",
"socket.io-client": "^4.8.1", "socket.io-client": "^4.8.1",
"tinymce": "^7.7.2", "tinymce": "^7.7.2",
"web-vitals": "^4.2.4" "web-vitals": "^4.2.4",
"worklenz": "file:"
}, },
"devDependencies": { "devDependencies": {
"@testing-library/jest-dom": "^6.6.3", "@testing-library/jest-dom": "^6.6.3",
@@ -70,10 +74,11 @@
"autoprefixer": "^10.4.20", "autoprefixer": "^10.4.20",
"postcss": "^8.5.2", "postcss": "^8.5.2",
"prettier-plugin-tailwindcss": "^0.6.8", "prettier-plugin-tailwindcss": "^0.6.8",
"rollup": "^4.40.2",
"tailwindcss": "^3.4.17", "tailwindcss": "^3.4.17",
"terser": "^5.39.0", "terser": "^5.39.0",
"typescript": "^5.7.3", "typescript": "^5.7.3",
"vite": "^6.2.5", "vite": "^6.3.5",
"vite-tsconfig-paths": "^5.1.4", "vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.0.5" "vitest": "^3.0.5"
}, },

View File

@@ -1,5 +1,5 @@
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
import { nanoid } from 'nanoid'; import { nanoid } from "nanoid";
import { PhaseColorCodes } from '../../../../../../../../shared/constants'; import { PhaseColorCodes } from '../../../../../../../../shared/constants';
import { Button, Flex, Input, Select, Tag, Typography } from 'antd'; import { Button, Flex, Input, Select, Tag, Typography } from 'antd';
import { CloseCircleOutlined, HolderOutlined } from '@ant-design/icons'; import { CloseCircleOutlined, HolderOutlined } from '@ant-design/icons';

View File

@@ -1,5 +1,5 @@
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
import { nanoid } from 'nanoid'; import { nanoid } from "nanoid";
import { PhaseColorCodes } from '../../../../../../../../shared/constants'; import { PhaseColorCodes } from '../../../../../../../../shared/constants';
import { Button, Flex, Input, Select, Tag, Typography } from 'antd'; import { Button, Flex, Input, Select, Tag, Typography } from 'antd';
import { CloseCircleOutlined, HolderOutlined } from '@ant-design/icons'; import { CloseCircleOutlined, HolderOutlined } from '@ant-design/icons';