Compare commits
4 commits
7173e818bf
...
6d177d34b0
Author | SHA1 | Date | |
---|---|---|---|
6d177d34b0 | |||
3e88e85e7e | |||
eb2e6d9bdb | |||
2d73662b37 |
4 changed files with 5 additions and 11 deletions
|
@ -3,12 +3,13 @@ FROM node:18.20.4
|
|||
ENV DOCKERIZE_VERSION v0.2.0
|
||||
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
|
||||
RUN npm i -g pnpm
|
||||
|
||||
RUN mkdir app
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN pnpm install
|
||||
RUN pnpm db:push
|
||||
RUN pnpm db:generate
|
||||
RUN pnpm build
|
||||
|
||||
|
||||
|
|
|
@ -17,14 +17,7 @@ const compat = new FlatCompat({
|
|||
|
||||
export default [
|
||||
{
|
||||
ignores: [
|
||||
'**/.yarn/',
|
||||
'**/.pnp.*',
|
||||
'**/dist/',
|
||||
'**/.vscode/',
|
||||
'**/.idea/',
|
||||
'**/tsup.config.ts',
|
||||
],
|
||||
ignores: ['**/dist/', '**/.vscode/', '**/.idea/', '**/node_modules/'],
|
||||
},
|
||||
...compat.extends('plugin:@typescript-eslint/recommended', 'prettier'),
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"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/**/*.*"]
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "muffinbot",
|
||||
"version": "4.0.0-pudding.p241027a",
|
||||
"version": "4.0.0-pudding.r241027a",
|
||||
"main": "dist/src/index.js",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
|
Loading…
Reference in a new issue