-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
1,580 additions
and
2,917 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/.github/ @Mararok |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
name: Pull Request | ||
on: | ||
pull_request: | ||
branches: [master, main] | ||
|
||
branches: [ main ] | ||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 4.1.6 | ||
- name: Yarn install | ||
uses: hexancore/[email protected] | ||
uses: hexancore/yarn-ci-install@ba9baf131eba84b6c86efb46375a530a3098bb04 # 0.1.0 | ||
- name: Lint | ||
run: yarn lint | ||
- name: Built | ||
run: yarn build | ||
- name: test | ||
- name: Test | ||
uses: ./.github/actions/test | ||
- name: Build | ||
run: yarn build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Publish | ||
env: | ||
HUSKY: 0 | ||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 4.1.6 | ||
|
||
- name: Yarn install | ||
uses: hexancore/yarn-ci-install@ba9baf131eba84b6c86efb46375a530a3098bb04 # 0.1.0 | ||
- name: Test | ||
uses: ./.github/actions/test | ||
publish: | ||
needs: [check] | ||
permissions: | ||
contents: write | ||
id-token: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # 4.1.6 | ||
- name: Yarn install | ||
uses: hexancore/yarn-ci-install@ba9baf131eba84b6c86efb46375a530a3098bb04 # 0.1.0 | ||
- name: Build | ||
run: yarn build | ||
|
||
# Publish package | ||
- name: Publish | ||
shell: bash | ||
run: | | ||
npm publish --provenance --access public --tag latest | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
683 changes: 342 additions & 341 deletions
683
.yarn/releases/yarn-4.1.0.cjs → .yarn/releases/yarn-4.3.0.cjs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
(The MIT License) | ||
MIT License | ||
|
||
Copyright (c) 2021 Mararok https://mararok.com | ||
Copyright (c) 2023-2024 Andrzej Wasiak <https://andrzejwasiak.pl> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
'Software'), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,15 @@ | ||
<p align="center"> | ||
<a href="https://hexancore.com/" target="blank"><img src="https://avatars.githubusercontent.com/u/113235766?s=200&v=4" width="120" alt="Hexancore Logo" /></a> | ||
<a href="https://hexancore.dev/" target="blank"><img src="https://avatars.githubusercontent.com/u/113235766?s=200&v=4" width="120" alt="Hexancore Logo" /></a> | ||
</p> | ||
|
||
<h1 align="center">Hexancore</h1> | ||
<p align="center">Fullstack typescript framework based on NestJS for building epic hexagonal architecture designed apps.</p> | ||
<h2 align="center">Package: TypeORM</h2> | ||
<p align="center"><i>Full-Stack TypeScript Framework for building epic <b>HexArch</b> designed applications.</i></p> | ||
<h2 align="center">Package: Typeorm</h2> | ||
<p align="center"> | ||
<img alt="Build" src="https://img.shields.io/github/actions/workflow/status/hexancore/typeorm/release"> | ||
<a href="https://www.npmjs.com/package/@hexancore/typeorm"><img src="https://img.shields.io/npm/v/@hexancore/typeorm.svg" alt="NPM Version" /></a> | ||
<a href="https://www.npmjs.com/package/@hexancore/typeorm"><img src="https://img.shields.io/npm/l/@hexancore/typeorm.svg" alt="Package License" /></a> | ||
<a href="https://www.npmjs.com/package/@hexancore/typeorm"><img src="https://img.shields.io/npm/dm/@hexancore/typeorm.svg" alt="NPM Downloads" /></a> | ||
</p> | ||
|
||
## Description | ||
|
||
TypeORM module for [Hexancore](https://hexancore.github.io/hexancore/) | ||
|
||
## Installation | ||
```bash | ||
# NPM | ||
npm i --save @hexancore/typeorm | ||
|
||
# YARN | ||
yarn add @hexancore/typeorm | ||
``` | ||
|
||
## Documentation | ||
|
||
Documentation(work in progress...): | ||
https://hexancore.github.io/hexancore/typeorm | ||
|
||
|
||
Package of Hexancore framework [https://hexancore.dev](https://hexancore.dev) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { pathsToModuleNameMapper } from 'ts-jest'; | ||
import { compilerOptions } from './tsconfig.json'; | ||
import type { JestConfigWithTsJest } from 'ts-jest'; | ||
|
||
const jestConfig: JestConfigWithTsJest = { | ||
preset: "ts-jest", | ||
runner: "groups", | ||
roots: [__dirname], | ||
modulePaths: [__dirname], | ||
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, { prefix: "<rootDir>" }), | ||
testMatch: ["<rootDir>/test/**/*.test.ts"], | ||
setupFiles: [], | ||
setupFilesAfterEnv: ["jest-expect-message", "<rootDir>/test/config.ts"], | ||
coverageDirectory: "./test/coverage", | ||
testEnvironment: "node", | ||
|
||
}; | ||
|
||
export default jestConfig; | ||
|
Oops, something went wrong.