Restructuring the folders #1

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

No files matched your search

+3
View File
@@ -130,3 +130,6 @@ dist
.yarn/install-state.gz .yarn/install-state.gz
.pnp.* .pnp.*
# Project
lib/
+8
View File
@@ -0,0 +1,8 @@
src
tsconfig.json
tslint.json
.prettierrc
.yarnrc.yml
.drone.yml
babel.config.*
jest.config.*
+1 -1
View File
@@ -32,4 +32,4 @@ COPY package*.json yarn.lock ./
RUN yarn set version stable && yarn install && yarn cache clean RUN yarn set version stable && yarn install && yarn cache clean
COPY --from=build /home/node/app/dist . COPY --from=build /home/node/app/dist .
EXPOSE $PORT EXPOSE $PORT
CMD ["node","server/index.js"] CMD ["node","index.js"]
+7 -6
View File
@@ -1,17 +1,18 @@
{ {
"name": "@mifi/auth-service", "name": "@mifi/auth-service",
"version": "1.0.2", "version": "1.0.3",
"author": "mifi (Mike Fitzpatrick)", "author": "mifi (Mike Fitzpatrick)",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"build:production": "tsc -p .", "build:production": "tsc -p ",
"format": "prettier:fix && lint:fix", "format": "prettier:fix && lint:fix",
"lint": "eslint --ext .ts,.tsx lib/", "lint": "eslint --ext .ts,.tsx src/",
"lint:fix": "eslint --fix --ext .ts,.tsx lib/", "lint:fix": "eslint --fix --ext .ts,.tsx lib/",
"prettier": "prettier --check 'lib/**/*.ts'", "prettier": "prettier --check 'src/**/*.ts'",
"prettier:fix": "prettier --write 'lib/**/*.ts'", "prettier:fix": "prettier --write 'src/**/*.ts'",
"serve": "node dist/lib/index.js", "serve-dev": "node-ts src/index.ts",
"serve": "node lib/index.js",
"start": "nodemon", "start": "nodemon",
"test": "jest --passWithNoTests" "test": "jest --passWithNoTests"
}, },
View File
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View File
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+2 -2
View File
@@ -5,8 +5,8 @@
"experimentalDecorators": true, "experimentalDecorators": true,
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"noImplicitAny": true, "noImplicitAny": true,
"outDir": "./dist/", "outDir": "./lib/",
"rootDirs": ["lib"], "rootDirs": ["src"],
"sourceMap": true "sourceMap": true
} }
} }
+423 -430
View File
File diff suppressed because it is too large. Load diff