7 Commits

Author SHA1 Message Date
e02d91e662 🚀RELEASE 0.1.0
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-14 10:46:36 +02:00
8d9cf8d1b3 Merge branch 'main' of https://git.odit.services/kauft.es/linkylinky
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-14 10:44:46 +02:00
d97450cf53 add lockfile [skip-ci] 2021-08-14 10:44:41 +02:00
fd0a586ed6 Added tag commit args
Some checks failed
continuous-integration/drone/push Build is failing
2021-08-14 10:44:31 +02:00
af6500ccb4 Now signing release commits 2021-08-14 10:43:29 +02:00
9a3c55d235 Merge branch 'main' of https://git.odit.services/kauft.es/linkylinky
Some checks failed
continuous-integration/drone/push Build is failing
2021-08-14 10:42:51 +02:00
86ef277c90 smaller Dockerfile [skip-ci] 2021-08-14 10:42:42 +02:00
5 changed files with 4147 additions and 12 deletions

1
.gitignore vendored
View File

@@ -58,7 +58,6 @@ jspm_packages/
.yarn/build-state.yml .yarn/build-state.yml
.yarn/install-state.gz .yarn/install-state.gz
.pnp.* .pnp.*
yarn.lock
package-lock.json package-lock.json
*.sqlite* *.sqlite*

View File

@@ -2,11 +2,21 @@
All notable changes to this project will be documented in this file. Dates are displayed in UTC. All notable changes to this project will be documented in this file. Dates are displayed in UTC.
#### [0.1.0](https://git.odit.services/kauft.es/linkylinky/compare/0.0.2...0.1.0)
- add lockfile [skip-ci] [`d97450c`](https://git.odit.services/kauft.es/linkylinky/commit/d97450cf5389965d8183b5719aad7e9e6f0181ae)
- smaller Dockerfile [skip-ci] [`86ef277`](https://git.odit.services/kauft.es/linkylinky/commit/86ef277c902aabb52acb5f846cb55406dc4d1095)
- Added tag commit args [`fd0a586`](https://git.odit.services/kauft.es/linkylinky/commit/fd0a586ed6e365801979c16d809a8254f64049be)
- Now signing release commits [`af6500c`](https://git.odit.services/kauft.es/linkylinky/commit/af6500ccb4792616f28bec77eda5c5e116422604)
#### 0.0.2 #### 0.0.2
> 14 August 2021
- Migrated to knex [`823b211`](https://git.odit.services/kauft.es/linkylinky/commit/823b211c8c4fd4de3a6043696ca070101173aa1b) - Migrated to knex [`823b211`](https://git.odit.services/kauft.es/linkylinky/commit/823b211c8c4fd4de3a6043696ca070101173aa1b)
- Added basics for auth [`6d417fa`](https://git.odit.services/kauft.es/linkylinky/commit/6d417fac1b4d77ab5552b75483cfc787d466e699) - Added basics for auth [`6d417fa`](https://git.odit.services/kauft.es/linkylinky/commit/6d417fac1b4d77ab5552b75483cfc787d466e699)
- Initial [`ab17f91`](https://git.odit.services/kauft.es/linkylinky/commit/ab17f9148af6811a53bf323172d045cc71ecfb6d) - Initial [`ab17f91`](https://git.odit.services/kauft.es/linkylinky/commit/ab17f9148af6811a53bf323172d045cc71ecfb6d)
- 🚀RELEASE 0.0.2 [`a4bdb4d`](https://git.odit.services/kauft.es/linkylinky/commit/a4bdb4dca4aaba397688d43f1ec3a26cb2143dea)
- Added image builds by drone [`1a8410c`](https://git.odit.services/kauft.es/linkylinky/commit/1a8410c421e30001ae9623c19a8e72e0632ed920) - Added image builds by drone [`1a8410c`](https://git.odit.services/kauft.es/linkylinky/commit/1a8410c421e30001ae9623c19a8e72e0632ed920)
- Working registration/auth [`81b314a`](https://git.odit.services/kauft.es/linkylinky/commit/81b314ac55e9ab0cd603dda48473c0fe3db6c42e) - Working registration/auth [`81b314a`](https://git.odit.services/kauft.es/linkylinky/commit/81b314ac55e9ab0cd603dda48473c0fe3db6c42e)
- Implemented short code generation via nanoid [`1550860`](https://git.odit.services/kauft.es/linkylinky/commit/15508606a41057857cce0d2ae16e389432c76960) - Implemented short code generation via nanoid [`1550860`](https://git.odit.services/kauft.es/linkylinky/commit/15508606a41057857cce0d2ae16e389432c76960)

View File

@@ -1,15 +1,15 @@
FROM node:16-alpine as run FROM node:16.6.2-alpine3.14
COPY package.json .
RUN yarn --prod
ENV NODE_ENV production
EXPOSE 3000
WORKDIR /app WORKDIR /app
COPY package.json .
COPY yarn.lock .
RUN yarn --production --frozen-lockfile
COPY migrations ./migrations COPY migrations ./migrations
COPY src/server.js ./ COPY src/server.js ./
COPY knexfile.js ./ COPY knexfile.js ./
#
FROM astefanutti/scratch-node:16.0.0
WORKDIR /app
COPY --from=0 /app /
ENV NODE_ENV production
EXPOSE 3000
CMD ["node", "./server.js"] CMD ["node", "./server.js"]

View File

@@ -1,6 +1,6 @@
{ {
"name": "@odit/shortener-backend", "name": "@odit/shortener-backend",
"version": "0.0.2", "version": "0.1.0",
"main": "index.js", "main": "index.js",
"license": "MIT", "license": "MIT",
"private": false, "private": false,
@@ -28,6 +28,12 @@
"commit": true, "commit": true,
"requireCleanWorkingDir": false, "requireCleanWorkingDir": false,
"commitMessage": "🚀RELEASE ${version}", "commitMessage": "🚀RELEASE ${version}",
"git.commitArgs": [
"-S"
],
"git.tagArgs": [
"-S"
],
"push": true, "push": true,
"tag": true, "tag": true,
"tagName": null, "tagName": null,

4120
yarn.lock Normal file

File diff suppressed because it is too large Load Diff