Skip to content

Commit

Permalink
Merge 3b5249c into 2d644a3
Browse files Browse the repository at this point in the history
  • Loading branch information
milosbugarinovic committed May 22, 2023
2 parents 2d644a3 + 3b5249c commit 1d85ec5
Show file tree
Hide file tree
Showing 17 changed files with 6,909 additions and 5,102 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/.idea
/!.idea/runConfigurations
/.base-frame-tmp
/coverage
/node_modules
/packages
/test/node_modules
9 changes: 7 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,13 @@ trim_trailing_whitespace = false

[{*.ts, *.js}]
ij_visual_guides = 130
ij_typescript_use_double_quotes = false
ij_javascript_force_semicolon_style = false
ij_typescript_import_prefer_absolute_path = true
ij_typescript_use_path_mapping = always
ij_typescript_force_semicolon_style = false
ij_typescript_force_quote_style = true
ij_typescript_enforce_trailing_comma = whenmultiline
ij_typescript_use_double_quotes = false
ij_typescript_use_semicolon_after_statement = false
ij_typescript_spaces_within_imports = true

ij_typescript_import_prefer_absolute_path = true
4 changes: 0 additions & 4 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,4 @@
/resource
/packages
.*.js
.*.json
package-lock.json
tsconfig*.json
typedoc.json
/jest*.config.js
25 changes: 25 additions & 0 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Lint-Test

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
lint-test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set Node.js version
run: echo "NODE_VERSION=$(cat .nvmrc)" >> $GITHUB_ENV
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm run test
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/.idea
/!.idea/runConfigurations
/.base-frame-tmp
/coverage
/node_modules
/packages
/test/node_modules
/test/dist
5 changes: 2 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
# npm run lint
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
engine-strict=true
save-exact=true
4 changes: 2 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
collectCoverage: true,
collectCoverage: false,
collectCoverageFrom: ['src/**/*.ts', '!src/index.ts', '!src/**/*.{contract,d}.ts'],
coveragePathIgnorePatterns: ['/node_modules/', '/__tests__/', '/__mocks__/'],
coveragePathIgnorePatterns: ['/node_modules/', '/__tests__/', '/__mocks__/', '/__snapshots__/'],
maxConcurrency: 1,
moduleNameMapper: {
'^src/(.*)$': '<rootDir>/src/$1',
Expand Down

0 comments on commit 1d85ec5

Please sign in to comment.