-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(js): use pnpm as a package manager instead of yarn
Signed-off-by: Berend Sliedrecht <sliedrecht@berend.io>
- Loading branch information
1 parent
13a66c8
commit f1399bc
Showing
115 changed files
with
12,766 additions
and
7,612 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
root: true | ||
|
||
parser: '@typescript-eslint/parser' | ||
|
||
plugins: | ||
- '@typescript-eslint' | ||
- prettier | ||
- import | ||
|
||
parserOptions: | ||
tsconfigRootDir: . | ||
project: | ||
- './tsconfig.eslint.json' | ||
- './packages/**/tsconfig.json' | ||
|
||
extends: | ||
- eslint:recommended | ||
- plugin:@typescript-eslint/strict | ||
- plugin:@typescript-eslint/stylistic | ||
- plugin:prettier/recommended | ||
|
||
ignorePatterns: | ||
- '**/build/**' | ||
- '**/node_modules/**' | ||
|
||
rules: | ||
'@typescript-eslint/consistent-type-definitions': off | ||
'@typescript-eslint/no-extraneous-class': off | ||
'@typescript-eslint/no-use-before-define': | ||
- error | ||
- functions: false | ||
classes: false | ||
variables: true | ||
'@typescript-eslint/explicit-member-accessibility': error | ||
no-console: error | ||
'@typescript-eslint/consistent-type-imports': error | ||
import/newline-after-import: | ||
- error | ||
- count: 1 | ||
import/order: | ||
- error | ||
- groups: | ||
- type | ||
- - builtin | ||
- external | ||
- parent | ||
- sibling | ||
- index | ||
alphabetize: | ||
order: asc | ||
newlines-between: always | ||
'@typescript-eslint/no-non-null-assertion': error | ||
import/no-extraneous-dependencies: | ||
- error | ||
- devDependencies: false | ||
|
||
overrides: | ||
- files: '**/tests/**' | ||
env: | ||
jest: true | ||
node: true | ||
|
||
- files: | ||
- '**/scripts/**' | ||
- '**/*.config.js' | ||
env: | ||
node: true | ||
rules: | ||
no-undef: off | ||
no-console: off | ||
'@typescript-eslint/no-var-requires': off |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
wrappers/javascript/aries-askar-react-native/babel.config.js
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
import type { Config } from '@jest/types' | ||
import type { JestConfigWithTsJest } from 'ts-jest' | ||
|
||
import base from './jest.config.base' | ||
|
||
const config: Config.InitialOptions = { | ||
...base, | ||
roots: ['<rootDir>'], | ||
projects: ['<rootDir>/*/jest.config.ts'], | ||
const config: JestConfigWithTsJest = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
transform: { | ||
'^.+\\.ts$': [ | ||
'ts-jest', | ||
{ | ||
tsconfig: 'tsconfig.test.json', | ||
isolatedModules: true, | ||
}, | ||
], | ||
}, | ||
moduleNameMapper: { | ||
'@hyperledger/aries-askar-shared': '<rootDir>/packages/aries-askar-shared/src', | ||
}, | ||
} | ||
|
||
export default config | ||
module.exports = config |
Oops, something went wrong.