core(ci/husky): Added husky and CI Jobs
* core(package): adding rules in package * feat(husky): Fixed lint job and miscellaneous fixes - Changed lint.yml job name - Fixed pnpm version in package.json to be straight version 10 - Added act in flake.nix to run actions locally - Added all dist/ files to eslint ignored files - Fixed Dockerfile to use correct casing (as -> AS)
This commit is contained in:
parent
ff0e218803
commit
8e4081f494
11 changed files with 113 additions and 15 deletions
|
|
@ -1,5 +1,5 @@
|
|||
**/node_modules
|
||||
**/dist
|
||||
**/Dockerfile
|
||||
*/node_modules
|
||||
*/dist
|
||||
*/Dockerfile
|
||||
.gitkeep
|
||||
.dockerignore
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
FROM node:22-alpine as pnpm_base
|
||||
FROM node:22-alpine AS pnpm_base
|
||||
RUN npm install --global pnpm@10.14.0;
|
||||
|
||||
FROM pnpm_base as builder
|
||||
FROM pnpm_base AS builder
|
||||
|
||||
ARG SERVICE
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,9 @@
|
|||
import js from '@eslint/js';
|
||||
import { globalIgnores } from 'eslint/config';
|
||||
import ts from 'typescript-eslint';
|
||||
|
||||
export default [
|
||||
globalIgnores(['*/dist/'], 'dist files'),
|
||||
js.configs.recommended,
|
||||
...ts.configs.recommended,
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,8 +15,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"build": "npm run build --workspaces --if-present",
|
||||
"fclean": "rimraf \"**/dist\"",
|
||||
"clean": "rimraf \"**/node_modules\"",
|
||||
"distclean": "rimraf -v -g \"*/dist\"",
|
||||
"install-all": "npm install",
|
||||
"dev:prepare": "husky"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue