Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into refact/create-project…
Browse files Browse the repository at this point in the history
…-args
  • Loading branch information
rsaz committed Jul 31, 2024
2 parents 37d04eb + 79a40ed commit 2bad261
Show file tree
Hide file tree
Showing 67 changed files with 3,130 additions and 709 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
dist/
bin/
15 changes: 12 additions & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,20 +1,28 @@
module.exports = {
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"eslint-config-prettier",
"prettier",
],
parser: "@typescript-eslint/parser",
parserOptions: {
project: ["./tsconfig.json"],
},
plugins: ["@typescript-eslint/eslint-plugin"],
extends: ["plugin:@typescript-eslint/recommended"],
plugins: ["@typescript-eslint"],
root: true,
env: {
node: true,
jest: true,
},
ignorePatterns: [
"bin/*",
"node_modules/*",
"expressots.config.ts",
"commitlint.config.ts",
"vite.config.ts",
"vitest.config.ts",
".eslintrc.cjs",
"coverage/*",
],
rules: {
"@typescript-eslint/interface-name-prefix": "off",
Expand All @@ -26,5 +34,6 @@ module.exports = {
"no-trailing-spaces": ["error", { skipBlankLines: true }],
"no-multi-spaces": ["error", { ignoreEOLComments: true }],
"no-multi-spaces": "off",
"no-async-promise-executor": "off",
},
};
48 changes: 0 additions & 48 deletions .github/PULL_REQUEST_TEMPLATE

This file was deleted.

50 changes: 50 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Pull Request Guidelines

Our guidelines for submitting a pull request.

## Before submitting your PR, please verify the following:

- [ ] The commit message follows our guidelines:

> Make sure you prefix your commit message with the type of change you are making. Your commit message should look like this: `type: description of the change`.
>
> - Fixing a bug : `fix: description of the change`.
> - Adding a new feature : `feat: description of the change`.
See the options for the different types of changes you can make in the `package.json` file of your project.

**Leave the options below unchecked if they are not applicable to your Pull Request.**

- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)

## PR Type

What kind of change does this PR introduce?

<!-- Please check the one that applies to this PR using "x". -->

- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Test
- [ ] Other... Please describe:

## Does this PR introduce a breaking change?

- [ ] Yes
- [ ] No

If `yes` Please describe the impact and mitigation strategy for existing applications.

## What was changed?

Please describe what you have changed in this PR.

## Other information

Any other information that is important to this PR.
51 changes: 51 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Build and Test

on:
push:
branches:
- main
pull_request:
branches: ["main"]
pull_request_target:
types: [opened, synchronize, reopened]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: "18.18.0"

- name: Install Dependencies
run: npm install

- name: Build
run: npm run build

- name: Unit Tests
working-directory: ./
run: npm run test
env:
CI: true

- name: Run Code Coverage
working-directory: ./
run: npm run coverage

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
working-directory: .
token: ${{ secrets.CODECOV_TOKEN }}

#- name: Set up .npmrc
# run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc

- name: Install dependencies
run: npm ci
23 changes: 0 additions & 23 deletions .github/workflows/codesee-arch-diagram.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,6 @@ expressots.config.ts

*.tgz

*.container.ts
*.container.ts

coverage/
42 changes: 20 additions & 22 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
{
"cSpell.ignoreWords": [
"Expresso"
],
"workbench.colorCustomizations": {
// "activityBar.foreground": "#38e715",
// "activityBarBadge.background": "#248d0f",
// "activityBarBadge.foreground": "#fcfcfc",
// "sideBar.border": "#38e715",
// "sideBarTitle.foreground": "#38e715",
// "sideBarSectionHeader.border": "#38e715",
// "editorGroupHeader.border": "#38e715",
// "editorGroupHeader.tabsBorder": "#38e715",
// "tab.border": "#38e715",
// "tab.activeBorderTop": "#38e715",
// "panel.border": "#38e715",
// "statusBar.border": "#38e715",
// "statusBar.foreground": "#38e715"
},
"editor.rulers": [
120
],
}
"cSpell.ignoreWords": ["Expresso"],
"workbench.colorCustomizations": {
// "activityBar.foreground": "#38e715",
// "activityBarBadge.background": "#248d0f",
// "activityBarBadge.foreground": "#fcfcfc",
// "sideBar.border": "#38e715",
// "sideBarTitle.foreground": "#38e715",
// "sideBarSectionHeader.border": "#38e715",
// "editorGroupHeader.border": "#38e715",
// "editorGroupHeader.tabsBorder": "#38e715",
// "tab.border": "#38e715",
// "tab.activeBorderTop": "#38e715",
// "panel.border": "#38e715",
// "statusBar.border": "#38e715",
// "statusBar.foreground": "#38e715"
},
"editor.rulers": [120],
"cSpell.words": ["nonopinionated", "usecase"],
"typescript.tsdk": "node_modules\\typescript\\lib"
}
Loading

0 comments on commit 2bad261

Please sign in to comment.