Skip to content

Commit

Permalink
Merge pull request #39 from H4ad/feature/deepkit
Browse files Browse the repository at this point in the history
feat(deepkit): add support to deepkit
  • Loading branch information
H4ad authored Aug 5, 2022
2 parents b83874c + d401a8d commit 9d20837
Show file tree
Hide file tree
Showing 31 changed files with 20,652 additions and 13,914 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Update NPM Version
run: npm i -g npm

- name: Cache dependencies
uses: actions/cache@v2
with:
Expand All @@ -29,16 +32,17 @@ jobs:
- name: Install Lib Dependencies
run: npm ci

- name: Install Peers Dependencies
run: npm run install:peers

- name: Build
run: npm run build --if-present

- name: Override Packages Versions for NodeJS 12.x
if: matrix.node-version == '12.x'
run: echo "TEST_NODE_VERSION=12.x" >> $GITHUB_ENV

- name: Skip Deepkit Tests for 12.x
if: matrix.node-version == '12.x'
run: echo "SKIP_DEEPKIT=true" >> $GITHUB_ENV

- name: Run tests
run: npm test

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
var

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
[![Commitizen Friendly][commitizen-img]][commitizen-url]
[![Semantic Release][semantic-release-img]][semantic-release-url]

Run REST APIs and other web applications using your existing Node.js application framework (Express, Koa, Hapi,
Run REST APIs and other web applications using your existing Node.js application framework (Deepkit, Express, Koa, Hapi,
Fastify and tRPC), on top of AWS Lambda, Azure, Huawei and many other clouds.

This library was a refactored version of [@vendia/serverless-express](https://github.com/vendia/serverless-express), I
Expand Down
5 changes: 4 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,13 @@ module.exports = {
'!<rootDir>/src/**/index.doc.ts',
'!<rootDir>/src/**/index.ts',
],
transform: {
"^.+\\.(ts|tsx)$": "ts-jest"
},
resolver: "<rootDir>/node_modules/@deepkit/framework/resolve",
globals: {
'ts-jest': {
diagnostics: false,
isolatedModules: true,
},
},
};
Loading

0 comments on commit 9d20837

Please sign in to comment.