-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Event Streams node SDK v1.3.0 at 1696888669
- Loading branch information
Event Streams developer
committed
Oct 9, 2023
1 parent
5938e8d
commit 9b8b0be
Showing
28 changed files
with
14,498 additions
and
19,133 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 |
---|---|---|
|
@@ -10,5 +10,6 @@ test/resources/auth.js | |
# ignore emitted js | ||
**/*v*.js | ||
!test/**/*.js | ||
!examples/**/*.js | ||
lib/*.js | ||
scripts/typedoc/ |
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,24 +1,54 @@ | ||
module.exports = { | ||
"env": { | ||
"node": true | ||
}, | ||
"plugins": [ | ||
"node", | ||
"prettier", | ||
'root': true, | ||
'overrides': [ | ||
{ | ||
'env': { | ||
'node': true, | ||
}, | ||
'files': ['**/*.js', '**/*.jsx'], | ||
'plugins': ['node', 'jest', 'prettier'], | ||
'extends': ['airbnb-base', 'plugin:jest/recommended', 'plugin:jest/style', 'prettier'], | ||
'rules': { | ||
'camelcase': 'off', | ||
'import/extensions': 'off', | ||
'no-template-curly-in-string': 'off', | ||
'no-underscore-dangle': 'off', | ||
'prefer-const': 'error', | ||
'prettier/prettier': 'error', | ||
}, | ||
}, | ||
{ | ||
'files': ['*.test.js', '*.test.jsx'], | ||
'rules': { | ||
'jest/expect-expect': 'off', | ||
'jest/no-conditional-expect': 'off', | ||
'jest/no-done-callback': 'off', | ||
'jest/no-standalone-expect': 'off', | ||
'jest/no-try-expect': 'off', | ||
'no-unused-vars': 'off', | ||
}, | ||
}, | ||
{ | ||
'files': ['**/*.ts', '**/*.tsx'], | ||
'env': { | ||
'node': true, | ||
}, | ||
'extends': ['airbnb-typescript/base', 'prettier'], | ||
'parser': '@typescript-eslint/parser', | ||
'parserOptions': { | ||
'project': 'tsconfig.json', | ||
'sourceType': 'module', | ||
}, | ||
'plugins': ['eslint-plugin-jsdoc', 'eslint-plugin-import', '@typescript-eslint', 'prettier'], | ||
'rules': { | ||
'@typescript-eslint/naming-convention': 'off', | ||
'@typescript-eslint/no-unused-vars': 'off', | ||
'max-len': 'off', | ||
'no-param-reassign': 'off', | ||
'no-underscore-dangle': 'off', | ||
'prettier/prettier': 'error', | ||
'spaced-comment': ['error', 'always', { 'exceptions': ['*'] }], | ||
}, | ||
}, | ||
], | ||
"extends": [ | ||
"eslint:recommended", | ||
"google", | ||
"plugin:node/recommended", | ||
"prettier", | ||
], | ||
"rules": { | ||
"prettier/prettier": ["error", {"singleQuote": true, "printWidth": 100}], | ||
"prefer-const": "error", | ||
"prefer-rest-params": "off", // https://github.com/mysticatea/eslint-plugin-node/issues/63 | ||
// The rest of these override rules that are enabled by one of the configs we extend but not compatible with current codebase | ||
// todo: fix issues and then remove overrides here | ||
"valid-jsdoc": "off", // too many issues; drowns out everything else | ||
"camelcase": "off", // todo: determine if we should keep this off globally, or disable it on a per-line basis | ||
} | ||
}; |
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,6 +1,8 @@ | ||
module.exports = { | ||
trailingComma: "es5", | ||
semi: true, | ||
trailingComma: 'es5', | ||
singleQuote: true, | ||
printWidth: 100, | ||
quoteProps: 'preserve', | ||
endOfLine: 'auto', | ||
}; |
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,14 +1,27 @@ | ||
{ | ||
"debug": true, | ||
"branches": [ "main" ], | ||
"verifyConditions": ["@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/git"], | ||
"prepare": ["@semantic-release/changelog", "@semantic-release/npm", "@semantic-release/git"], | ||
"branches": [ | ||
"main" | ||
], | ||
"verifyConditions": [ | ||
"@semantic-release/changelog", | ||
"@semantic-release/npm", | ||
"@semantic-release/git" | ||
], | ||
"prepare": [ | ||
"@semantic-release/changelog", | ||
"@semantic-release/npm", | ||
"@semantic-release/git" | ||
], | ||
"publish": [ | ||
["@semantic-release/npm", { | ||
"pkgRoot": "dist" | ||
}], | ||
[ | ||
"@semantic-release/npm", | ||
{ | ||
"pkgRoot": "dist" | ||
} | ||
], | ||
{ | ||
"path": "@semantic-release/github" | ||
} | ||
] | ||
} | ||
} |
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,28 +1,26 @@ | ||
language: node_js | ||
|
||
sudo: false | ||
dist: focal | ||
|
||
# Remove this if using external Travis | ||
group: focal | ||
|
||
|
||
node_js: | ||
- 14 | ||
- 16 | ||
# - 14 | ||
# - 16 | ||
# - 18 | ||
|
||
# remove the "echo" command from the "before_install" section below. | ||
before_install: | ||
- echo -e "machine github.ibm.com\n login $GITHUB_OAUTH_TOKEN" > ~/.netrc | ||
# - 'openssl aes-256-cbc -K $my_key -iv $my_iv -in myservice.env.enc -out myservice.env -d || true' | ||
- echo -e "machine github.ibm.com\n login $GITHUB_ACCESS_TOKEN" > ~/.netrc | ||
- wget -qO - https://package.perforce.com/perforce.pubkey | sudo apt-key add - | ||
- npm i -g npm@8 | ||
- npm --version | ||
|
||
script: | ||
- npm run build | ||
- npm run test-travis || travis_terminate 1 | ||
- npm run lint | ||
- npm run check-packages | ||
# - sh scripts/typedoc/generate_typedoc.sh currently in progress | ||
|
||
|
||
# To enable semantic-release, uncomment this section. | ||
# deploy: | ||
# - provider: script | ||
# skip_cleanup: true | ||
# script: npx semantic-release | ||
# on: | ||
# node: 12 | ||
# branch: main |
Oops, something went wrong.