Skip to content

Commit

Permalink
chore: remove lint stage
Browse files Browse the repository at this point in the history
  • Loading branch information
wajeht committed Dec 17, 2023
1 parent 7689d2a commit 3339522
Show file tree
Hide file tree
Showing 3 changed files with 172 additions and 6 deletions.
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,6 @@
"vite-plugin-eslint": "^1.8.1",
"vitest": "^0.34.6"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
Expand Down
169 changes: 169 additions & 0 deletions package.json.lint.stage.backup
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
{
"name": "gains",
"version": "0.0.15",
"description": "All in one tools to help strength athletes load the right amount of training dosage!",
"main": "./src/app/server.js",
"type": "module",
"scripts": {
"start": "node ./src/app/server.js",
"build:start": "npm run build && node ./src/app/server.js",
"test": "vitest run --coverage",
"test:watch": "vitest",
"kill:port": "./src/bin/kill-used-port.sh",
"dev": "concurrently --kill-others --names \"EXPRESS,VUE\" -c \"bgGreen.black,bgRed.black\" \"nodemon ./src/app/server.js\" \"vite build --watch --mode development\"",
"dev:ui": "vite",
"dev:api": "nodemon ./src/app/server.js",
"dev:hmr": "concurrently --kill-others --names \"EXPRESS,VUE\" -c \"bgGreen.black,bgRed.black\" \"HMR='true' nodemon ./src/app/server.js\" \"open-cli http://localhost:3000/ && vite\"",
"build": "npm run build:ui && npm run build:api && npm run minify:html",
"build:ui": "vite build",
"build:api": "echo api does not need to build!",
"migrate:make": "knex migrate:make --knexfile=./src/config/knexfile.js",
"migrate:latest": "knex migrate:latest --knexfile=./src/config/knexfile.js",
"migrate:rollback": "knex migrate:rollback --knexfile=./src/config/knexfile.js",
"seed:make": "knex seed:make --knexfile=./src/config/knexfile.js",
"seed:run": "knex seed:run --knexfile=./src/config/knexfile.js",
"reset:db": "npm run migrate:rollback && npm run migrate:latest && npm run seed:run",
"release": "standard-version",
"release:alpha": "npm run release -- --prerelease alpha",
"rmds": "find . -name '.DS_Store' -delete",
"prepare": "husky install",
"commit": "git add -A && cz",
"format:check": "prettier --check .",
"format": "prettier --write .",
"lint:check": "eslint .",
"lint": "eslint --fix .",
"minify:html": "html-minifier --input-dir ./src --output-dir ./src --collapse-whitespace --minify-js --minify-css --remove-comments --file-ext html"
},
"bin": {
"gains": "./src/app/cli/cli.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wajeht/gains.git"
},
"keywords": [
"gains",
"workout",
"powerlifting",
"fitness",
"bodybuilding",
"squat",
"bench",
"deadlift",
"press"
],
"author": {
"name": "wajeht",
"url": "https://jaw.dev/"
},
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/wajeht/gains/issues"
},
"homepage": "https://github.com/wajeht/gains#readme",
"dependencies": {
"@formkit/auto-animate": "^0.8.1",
"@fortawesome/fontawesome-svg-core": "^6.5.1",
"@fortawesome/free-brands-svg-icons": "^6.5.1",
"@fortawesome/free-regular-svg-icons": "^6.5.1",
"@fortawesome/free-solid-svg-icons": "^6.5.1",
"@fortawesome/vue-fontawesome": "^3.0.5",
"@popperjs/core": "^2.11.8",
"@sentry/node": "^7.88.0",
"@vitejs/plugin-vue": "^4.5.2",
"adm-zip": "^0.5.10",
"animate.css": "^4.1.1",
"axios": "^1.6.2",
"bcryptjs": "^2.4.3",
"bootstrap": "^5.3.2",
"bootstrap-icons": "^1.11.2",
"bull": "^4.11.5",
"chalk": "^5.3.0",
"chart.js": "^3.9.1",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dayjs": "^1.11.10",
"discord.js": "^14.14.1",
"dotenv": "^16.3.1",
"ejs": "^3.1.9",
"express": "^4.18.2",
"express-jsdoc-swagger": "^1.8.0",
"express-rate-limit": "^6.11.2",
"express-validator": "^7.0.1",
"filesize": "^10.1.0",
"fluent-ffmpeg": "^2.1.2",
"helmet": "^7.1.0",
"html-minifier": "^4.0.0",
"http-status-codes": "^2.3.0",
"ioredis": "^5.3.2",
"jsonwebtoken": "^9.0.2",
"knex": "^2.5.1",
"knex-paginate": "^3.1.1",
"lodash-es": "^4.17.21",
"marked": "^8.0.1",
"minimist": "^1.2.8",
"multer": "^1.4.5-lts.1",
"node-cron": "^3.0.3",
"nodemailer": "^6.9.7",
"papaparse": "^5.4.1",
"pg": "^8.11.3",
"pinia": "^2.1.7",
"pinia-plugin-persistedstate": "^3.2.1",
"pino": "^8.17.1",
"pino-pretty": "^10.3.0",
"read-pkg": "^8.1.0",
"request-ip": "^3.3.0",
"socket.io": "^4.7.2",
"socket.io-client": "^4.7.2",
"supertest": "^6.3.3",
"useragent": "^2.3.0",
"uuid": "^9.0.1",
"vite": "^4.5.1",
"vue": "^3.2.37",
"vue-chart-3": "^3.1.8",
"vue-query": "^1.26.0",
"vue-router": "^4.2.5"
},
"devDependencies": {
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@faker-js/faker": "^8.3.1",
"@fullhuman/postcss-purgecss": "^5.0.0",
"@types/compression": "^1.7.5",
"@types/cookie-parser": "^1.4.6",
"@types/cors": "^2.8.17",
"@types/jsonwebtoken": "^9.0.5",
"@types/lodash-es": "^4.17.12",
"@types/multer": "^1.4.11",
"@types/papaparse": "^5.3.14",
"@types/request-ip": "^0.0.38",
"@vitest/coverage-v8": "^0.34.6",
"c8": "^8.0.1",
"commitizen": "^4.3.0",
"concurrently": "^8.2.2",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-vue": "^9.19.2",
"husky": "^8.0.3",
"nodemon": "^3.0.2",
"open-cli": "^7.2.0",
"postcss": "^8.4.32",
"prettier": "^3.1.1",
"sass": "^1.69.5",
"sleep-ms": "^2.0.1",
"standard-version": "^9.5.0",
"vite-plugin-eslint": "^1.8.1",
"vitest": "^0.34.6"
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}
6 changes: 3 additions & 3 deletions src/app/ui/pages/dashboard/sessions/Sessions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ function logDetails(sid) {
session.end_date === null && dayjs(session.start_date).format('YYYY/MM/DD') === today
? '5px solid var(--bs-warning) !important'
: // yesterday
session.end_date === null && dayjs(session.start_date).format('YYYY/MM/DD') < today
? '5px solid var(--bs-danger) !important'
: '',
session.end_date === null && dayjs(session.start_date).format('YYYY/MM/DD') < today
? '5px solid var(--bs-danger) !important'
: '',
}"
id="log"
v-auto-animate
Expand Down

0 comments on commit 3339522

Please sign in to comment.