WIP: npm
ci/woodpecker/push/lint_general Pipeline was successful Details
ci/woodpecker/push/frontend Pipeline failed Details

npm
Richard Attermeyer 2024-01-29 10:14:47 +01:00
parent 5ff4adb127
commit 8f0a7e305c
2 changed files with 13 additions and 12 deletions

View File

@ -21,32 +21,32 @@ steps:
image: *frontend_image
group: prepare
commands:
- pnpm install
- npm install
directory: frontend
"lint:style":
image: *frontend_image
commands:
- pnpm run prettier
- npm run prettier
directory: frontend
"lint:analyze":
image: *frontend_image
commands:
- pnpm run lint
- npm run lint
directory: frontend
"build:frontend":
image: *frontend_image
commands:
- pnpm run build
- npm run build
directory: frontend
"build:tsc":
image: *frontend_image
commands:
- pnpm add typescript
- pnpm run typecheck
- npm install -D typescript
- npm run typecheck
directory: frontend
"analyze:sbom":
@ -66,5 +66,5 @@ steps:
when:
- event: [manual]
depends_on:
- "lint_general"
#depends_on:
# - "lint_general"

View File

@ -9,9 +9,9 @@
"start": "remix-serve ./build/index.js",
"typecheck": "tsc",
"lint": "eslint app",
"lint:fix": "pnpm run lint --fix",
"prettier": "pnpm exec prettier . --check",
"prettier:fix": "pnpm exec prettier . --write"
"lint:fix": "npm run lint --fix",
"prettier": "npx prettier . --check",
"prettier:fix": "npx prettier . --write"
},
"dependencies": {
"@remix-run/css-bundle": "^2.2.0",
@ -27,8 +27,9 @@
"@remix-run/eslint-config": "^2.2.0",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"eslint": "^8.38.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "9.0.0",
"lint": "^0.8.19",
"prettier": "3.0.3",
"typescript": "^5.1.6"
},