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

View File

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