Skip to content

Commit

Permalink
Merge pull request #204 from nimblehq/release/1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangmirs authored Jul 7, 2023
2 parents d5c9e3e + 27e2537 commit d892c24
Show file tree
Hide file tree
Showing 81 changed files with 4,174 additions and 2,412 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": ["@nimblehq/eslint-config-nimble"]
"extends": ["@nimblehq/eslint-config-nimble-core"]
}
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Team
# @hoangmirs is the Team Lead and the others are team members
* @hoangmirs @andyduong1920 @bterone @byhbt @hanam1ni @longnd @malparty @Nihisil @nvminhtue @rosle
* @hoangmirs @andyduong1920 @bterone @byhbt @longnd @malparty @Nihisil @nvminhtue @rosle @liamstevens111

# Engineering Leads
CODEOWNERS @nimblehq/engineering-leads
9 changes: 4 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@ name: Lint

on: push

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Checkout
uses: actions/checkout@v3

Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ oclif.manifest.json
yarn.lock
/coverage
.DS_Store

# IDE
.vscode
.idea
*.iml
21 changes: 4 additions & 17 deletions bin/dev
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
#!/usr/bin/env node
/* eslint-disable @typescript-eslint/no-var-requires */
const path = require('path');

const oclif = require('@oclif/core');

const project = path.join(__dirname, '..', 'tsconfig.json');

// In dev mode -> use ts-node and dev plugins
process.env.NODE_ENV = 'development';

require('ts-node').register({project});

// In dev mode, always show stack traces
oclif.settings.debug = true;

// Start the CLI
oclif.run().then(oclif.flush).catch(oclif.Errors.handle);
(async () => {
const oclif = await import('@oclif/core');
await oclif.execute({ type: 'cjs', development: true, dir: __dirname });
})();
7 changes: 4 additions & 3 deletions bin/run
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

process.env.NODE_ENV = 'production';

const oclif = require('@oclif/core')

oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle'))
(async () => {
const oclif = await import('@oclif/core');
await oclif.execute({ type: 'cjs', dir: import.meta.url });
})();
8 changes: 3 additions & 5 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ module.exports = {
'!src/**/*.d.ts',
'!src/index.ts',
],
globals: {
"ts-jest": {
diagnostics: false
}
},
transform: {
'^.+\\.ts$': ['ts-jest', { diagnostics: false }],
}
};
Loading

0 comments on commit d892c24

Please sign in to comment.