Compare commits

...

4 commits

Author SHA1 Message Date
6d177d34b0
chore: Fix eslint ignore list 2024-10-28 20:56:13 +09:00
3e88e85e7e
chore: Edit nodemon exec 2024-10-28 20:56:11 +09:00
eb2e6d9bdb
Merge branch 'release/pudding' 2024-10-27 23:59:58 +09:00
2d73662b37
fix: [object Object] 2024-10-04 21:12:35 +09:00
4 changed files with 5 additions and 11 deletions

View file

@ -3,12 +3,13 @@ FROM node:18.20.4
ENV DOCKERIZE_VERSION v0.2.0 ENV DOCKERIZE_VERSION v0.2.0
RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \ RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
&& tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
RUN npm i -g pnpm
RUN mkdir app RUN mkdir app
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN pnpm install RUN pnpm install
RUN pnpm db:push RUN pnpm db:generate
RUN pnpm build RUN pnpm build

View file

@ -17,14 +17,7 @@ const compat = new FlatCompat({
export default [ export default [
{ {
ignores: [ ignores: ['**/dist/', '**/.vscode/', '**/.idea/', '**/node_modules/'],
'**/.yarn/',
'**/.pnp.*',
'**/dist/',
'**/.vscode/',
'**/.idea/',
'**/tsup.config.ts',
],
}, },
...compat.extends('plugin:@typescript-eslint/recommended', 'prettier'), ...compat.extends('plugin:@typescript-eslint/recommended', 'prettier'),
{ {

View file

@ -1,5 +1,5 @@
{ {
"ext": "ts,json", "ext": "ts,json",
"exec": "pnpm build --sourcemap && node dist/src", "exec": "tsc --sourcemap && cross-env NODE_ENV=development node --enable-source-maps dist/src",
"ignore": ["dist/**/*.*"] "ignore": ["dist/**/*.*"]
} }

View file

@ -1,6 +1,6 @@
{ {
"name": "muffinbot", "name": "muffinbot",
"version": "4.0.0-pudding.p241027a", "version": "4.0.0-pudding.r241027a",
"main": "dist/src/index.js", "main": "dist/src/index.js",
"private": true, "private": true,
"dependencies": { "dependencies": {