Restructuring the folders #1

Merged
mifi merged 5 commits from develop into main 2023-05-25 16:09:27 +00:00
5 changed files with 12 additions and 7 deletions
Showing only changes of commit f2dce58f5e - Show all commits

View File

@@ -81,11 +81,15 @@ steps:
- name: Publish NPM
image: node:20-alpine
failure: ignore
environment:
NPM_TOKEN:
from_secret: reg_token
commands:
- yarn publish -t ${DRONE_TAG}
volumes:
- name: npmrc
path: /drone/auth/.npmrc
secrets: [reg_token]
- name: Report NPM Publish Status
image: plugins/webhook
settings:

View File

@@ -11,7 +11,7 @@ module.exports = {
plugins: ['@typescript-eslint'],
settings: {
'import/parsers': {
'@typescript-eslint/parser': [".ts", ".tsx"],
'@typescript-eslint/parser': ['.ts', '.tsx'],
},
'import/resolver': 'typescript',
},

View File

@@ -1,8 +1,9 @@
.build.yarnrc.yml
.drone.yml
.prettierrc
.yarnrc.yml
babel.config.*
jest.config.*
src
tsconfig.json
tslint.json
.prettierrc
.yarnrc.yml
.drone.yml
babel.config.*
jest.config.*

View File

@@ -27,7 +27,7 @@ ENV NODE_ENV $ENV
ENV NPM_TOKEN $NPM_TOKEN
WORKDIR /home/node/app
COPY .npmrc /root
COPY .yarnrc.build.yml /root/.yarnrc.yml
COPY .build.yarnrc.yml /root/.yarnrc.yml
COPY package*.json yarn.lock ./
RUN yarn set version stable && yarn install && yarn cache clean
COPY --from=build /home/node/app/dist .