Skip to content

Commit

Permalink
Release/update dependencies (#62)
Browse files Browse the repository at this point in the history
* Bump mongoose from 5.13.10 to 6.0.10

Bumps [mongoose](https://github.com/Automattic/mongoose) from 5.13.10 to 6.0.10.
- [Release notes](https://github.com/Automattic/mongoose/releases)
- [Changelog](https://github.com/Automattic/mongoose/blob/master/CHANGELOG.md)
- [Commits](Automattic/mongoose@5.13.10...6.0.10)

---
updated-dependencies:
- dependency-name: mongoose
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* update workflow

* Bump @open-template-hub/common from 2.1.15 to 3.0.1

Bumps [@open-template-hub/common](https://github.com/open-template-hub/common) from 2.1.15 to 3.0.1.
- [Release notes](https://github.com/open-template-hub/common/releases)
- [Commits](open-template-hub/common@2.1.15...3.0.1)

---
updated-dependencies:
- dependency-name: "@open-template-hub/common"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump typescript from 3.9.10 to 4.4.4

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.10 to 4.4.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v3.9.10...v4.4.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* update readme

* update description

* update workflow

* Workflow/dependency check

* Bump nodemon from 1.19.4 to 2.0.14

Bumps [nodemon](https://github.com/remy/nodemon) from 1.19.4 to 2.0.14.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](remy/nodemon@v1.19.4...v2.0.14)

---
updated-dependencies:
- dependency-name: nodemon
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Workflow/dependency check

* Workflow/dependency check

* Workflow/dependency check

* Workflow/dependency check

* Bump express-promise-router from 3.0.3 to 4.1.1

Bumps [express-promise-router](https://github.com/express-promise-router/express-promise-router) from 3.0.3 to 4.1.1.
- [Release notes](https://github.com/express-promise-router/express-promise-router/releases)
- [Changelog](https://github.com/express-promise-router/express-promise-router/blob/trunk/CHANGELOG.md)
- [Commits](express-promise-router/express-promise-router@v3.0.3...v4.1.1)

---
updated-dependencies:
- dependency-name: express-promise-router
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add app.json for Heroku Express Deploy

* type def fix

* update common

* Workflow/dependency check

* update dependencies

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
furknyavuz and dependabot[bot] authored Dec 13, 2021

Verified

This commit was signed with the committer’s verified signature. The key has expired.
addaleax Anna Henningsen
1 parent 7249196 commit 0103326
Showing 10 changed files with 52 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -11,4 +11,4 @@ updates:
target-branch: 'workflow/dependency-update'
labels:
- 'workflow'
milestone: 1
milestone: 2
2 changes: 0 additions & 2 deletions .github/workflows/cron-dependency-checker-workflow.yml
Original file line number Diff line number Diff line change
@@ -23,8 +23,6 @@ jobs:
run: npm i
- name: Npm Outdated
run: npm run outdated
- name: Build
run: npm run buildProd

- name: Git Commit and Push
run: |
5 changes: 4 additions & 1 deletion .run/outdated.run.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="outdated" type="js.build_tools.npm">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="outdated" />
<command value="run" />
<scripts>
<script value="outdated" />
</scripts>
<node-interpreter value="project" />
<envs />
<method v="2" />
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
</p>

<h1 align="center">
Open Template Hub - File Storage Server Template v2
Open Template Hub - File Storage Server Template v3
</h1>

[![License](https://img.shields.io/github/license/open-template-hub/file-storage-server-template?color=43b043&style=for-the-badge)](LICENSE)
@@ -14,9 +14,8 @@ Open Template Hub - File Storage Server Template v2
[![LastCommit](https://img.shields.io/github/last-commit/open-template-hub/file-storage-server-template?color=43b043&style=for-the-badge)](https://github.com/open-template-hub/file-storage-server-template/commits/master)
[![Release](https://img.shields.io/github/release/open-template-hub/file-storage-server-template?include_prereleases&color=43b043&style=for-the-badge)](https://github.com/open-template-hub/file-storage-server-template/releases)
[![SonarCloud](https://img.shields.io/sonar/quality_gate/open-template-hub_file-storage-server-template?server=https%3A%2F%2Fsonarcloud.io&label=Sonar%20Cloud&style=for-the-badge&logo=sonarcloud)](https://sonarcloud.io/dashboard?id=open-template-hub_file-storage-server-template)
[![BTC](https://img.shields.io/badge/Donate-BTC-ORANGE?color=F5922F&style=for-the-badge&logo=bitcoin)](https://commerce.coinbase.com/checkout/8313af5f-de48-498d-b2cb-d98819ca7d5e)

File Storage Server Template that supports uploading and downloading files from AWS S3
File Storage Server Template is a generic open-source file storage server that has a simple yet powerful design to connect your business with third-party file storage provider companies (like AWS S3).

## Ways to Begin

24 changes: 24 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "file-storage-server-template",
"description": "File Storage Server Template is a generic open-source file storage server that has a simple yet powerful design to connect your business with third-party file storage provider companies (like AWS S3).",
"website": "https://opentemplatehub.com/product/server/file-storage-server-template",
"repository": "https://github.com/open-template-hub/file-storage-server-template",
"logo": "https://raw.githubusercontent.com/open-template-hub/open-template-hub.github.io/master/assets/logo/server/file-storage-server-logo.png",
"keywords": [
"file-sorage",
"download",
"upload",
"server",
"template",
"nodejs",
"typescript",
"mongodb",
"mongoose",
"aws",
"aws-s3",
"amazon",
"amazon-web-services",
"s3",
"open template hub"
]
}
4 changes: 2 additions & 2 deletions app/provider/s3-file-service.provider.ts
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ export class S3FileService implements FileService {
ContentEncoding: 'base64',
} )
.promise();
} catch ( err ) {
} catch ( err: any ) {
throw new Error( err.message );
}

@@ -99,7 +99,7 @@ export class S3FileService implements FileService {
Bucket: this.payload.bucketName,
} )
.promise();
} catch ( err ) {
} catch ( err: any ) {
throw new Error( err.message );
}

3 changes: 2 additions & 1 deletion app/route/index.route.ts
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ export namespace Routes {
var environment: Environment;
var postgresql_provider: PostgreSqlProvider;
var message_queue_provider: MessageQueueProvider;
const errorHandlerUtil = new ErrorHandlerUtil();
let errorHandlerUtil: ErrorHandlerUtil;
const debugLogUtil = new DebugLogUtil();
var publicRoutes: string[] = [];
var adminRoutes: string[] = [];
@@ -48,6 +48,7 @@ export namespace Routes {
export const mount = (app: any) => {
const preloadUtil = new PreloadUtil();
environment = new Environment();
errorHandlerUtil = new ErrorHandlerUtil( debugLogUtil, environment.args() );
mongodb_provider = new MongoDbProvider(environment.args());
postgresql_provider = new PostgreSqlProvider(
environment.args(),
2 changes: 1 addition & 1 deletion dependency-checker.ts
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ console.log(
'\n' +
'\n' +
'<h1 align="center">\n' +
'Open Template Hub - File Storage Server Template v2\n' +
'Open Template Hub - File Storage Server Template v3\n' +
' <br/>\n' +
'(outdated packages)\n' +
'</h1>\n' +
7 changes: 3 additions & 4 deletions docs/OUTDATED.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
<p align="center">
<a href="https://opentemplatehub.com">
<a href="https://opentemplatehub.com">
<img src="https://raw.githubusercontent.com/open-template-hub/open-template-hub.github.io/master/assets/logo/server/file-storage-server-logo.png" alt="Logo" width=200>
</a>
</p>


<h1 align="center">
Open Template Hub - File Storage Server Template v2
Open Template Hub - File Storage Server Template v3
<br/>
(outdated packages)
</h1>

Following packages are not updated in the develop branch yet. So, if you want to update outdated packages on your own risk, update the package.json and install dependencies.

| Package | Current | Wanted | Latest | Location |
| --- | --- | --- | --- | --- |

<table align="right"><tr><td><a href="https://opentemplatehub.com"><img src="https://raw.githubusercontent.com/open-template-hub/open-template-hub.github.io/master/assets/logo/brand-logo.png" width="50px" alt="oth"/></a></td><td><b>Open Template Hub © 2021</b></td></tr></table>

28 changes: 13 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "file-storage-server-template",
"description": "File Storage Server Template that supports uploading and downloading files from AWS S3",
"description": "File Storage Server Template is a generic open-source file storage server that has a simple yet powerful design to connect your business with third-party file storage provider companies (like AWS S3).",
"version": "3.0.1",
"license": "MIT",
"main": "file-storage-server.main.ts",
@@ -10,24 +10,22 @@
"outdated": "node dependency-checker.ts > docs/OUTDATED.md"
},
"dependencies": {
"@open-template-hub/common": "^2.1.15",
"@types/cors": "^2.8.7",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.6",
"@types/mongoose": "^5.5.34",
"@types/uuid": "^8.3.0",
"aws-sdk": "^2.732.0",
"@open-template-hub/common": "^3.0.3",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/uuid": "^8.3.3",
"aws-sdk": "^2.1046.0",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"express-promise-router": "^3.0.3",
"mongoose": "^5.8.2",
"ts-node": "^10.2.1",
"typescript": "^3.4.5",
"uuid": "^8.3.0"
"express-promise-router": "^4.1.1",
"mongoose": "^6.1.1",
"ts-node": "^10.4.0",
"typescript": "^4.5.3",
"uuid": "^8.3.2"
},
"devDependencies": {
"nodemon": "^1.19.0"
"nodemon": "^2.0.14"
},
"git repository": "https://github.com/open-template-hub/file-storage-server-template",
"repository": {

0 comments on commit 0103326

Please sign in to comment.