forked from akash-network/akash-api
-
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.
chore(ts): use double quotes to reduce code gen noise
- Loading branch information
1 parent
478e718
commit d05c262
Showing
259 changed files
with
5,127 additions
and
5,128 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "all" | ||
} |
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,31 +1,31 @@ | ||
const common = { | ||
transform: { | ||
'^.+\\.(t|j)s$': ['ts-jest', { tsconfig: './tsconfig.json' }], | ||
"^.+\\.(t|j)s$": ["ts-jest", { tsconfig: "./tsconfig.json" }], | ||
}, | ||
rootDir: '.', | ||
setupFiles: ['./test/setup.ts'], | ||
rootDir: ".", | ||
setupFiles: ["./test/setup.ts"], | ||
}; | ||
|
||
module.exports = { | ||
collectCoverageFrom: [ | ||
'<rootDir>/src/**/*.{js,ts}', | ||
'!<rootDir>/src/generated/**/*', | ||
'!<rootDir>/src/deprecated/**/*', | ||
'!<rootDir>/src/patch/index.*', | ||
'!<rootDir>/src/index.*', | ||
"<rootDir>/src/**/*.{js,ts}", | ||
"!<rootDir>/src/generated/**/*", | ||
"!<rootDir>/src/deprecated/**/*", | ||
"!<rootDir>/src/patch/index.*", | ||
"!<rootDir>/src/index.*", | ||
], | ||
projects: [ | ||
{ | ||
displayName: 'unit', | ||
displayName: "unit", | ||
...common, | ||
testMatch: ['<rootDir>/src/**/*.spec.ts'], | ||
setupFilesAfterEnv: ['./test/setup-unit-tests.ts'], | ||
testMatch: ["<rootDir>/src/**/*.spec.ts"], | ||
setupFilesAfterEnv: ["./test/setup-unit-tests.ts"], | ||
}, | ||
{ | ||
displayName: 'functional', | ||
displayName: "functional", | ||
...common, | ||
testMatch: ['<rootDir>/test/functional/**/*.spec.ts'], | ||
setupFilesAfterEnv: ['./test/setup-functional-tests.ts'], | ||
testMatch: ["<rootDir>/test/functional/**/*.spec.ts"], | ||
setupFilesAfterEnv: ["./test/setup-functional-tests.ts"], | ||
}, | ||
], | ||
}; |
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,13 +1,13 @@ | ||
#!/usr/bin/env node | ||
|
||
const fs = require('fs'); | ||
const path = require('path'); | ||
const fs = require("fs"); | ||
const path = require("path"); | ||
|
||
const packageJson = JSON.parse( | ||
fs.readFileSync(path.resolve(__dirname, '../package.json'), 'utf8'), | ||
fs.readFileSync(path.resolve(__dirname, "../package.json"), "utf8"), | ||
); | ||
delete packageJson.exports; | ||
fs.writeFileSync( | ||
path.resolve(__dirname, '../package.json'), | ||
path.resolve(__dirname, "../package.json"), | ||
JSON.stringify(packageJson, null, 2), | ||
); |
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
Oops, something went wrong.