This repository has been archived by the owner on May 3, 2022. It is now read-only.
-
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.
- Loading branch information
Maksym Shykov
committed
Jun 26, 2020
1 parent
8dbb901
commit cbf0e82
Showing
11 changed files
with
964 additions
and
610 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,19 +1,25 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
extends: [ | ||
'@macpaw/eslint-config-webservices/rules/base', | ||
'@macpaw/eslint-config-webservices/rules/filenames', | ||
'@macpaw/eslint-config-webservices/rules/promise', | ||
'@macpaw/eslint-config-webservices-base', | ||
], | ||
parser: 'espree', | ||
|
||
plugins: [ | ||
'async-await', | ||
], | ||
|
||
env: { | ||
node: true, | ||
es6: true, | ||
browser: true, | ||
}, | ||
|
||
parserOptions: { | ||
ecmaVersion: 8, | ||
sourceType: 'script', | ||
}, | ||
plugins: ['async-await'], | ||
|
||
rules: { | ||
strict: ['warn', 'global'], | ||
'no-unused-expressions': ['off'], | ||
'newline-after-var': ['off'], | ||
'filenames/match-regex': ['off'], | ||
'no-console': 'off', | ||
}, | ||
}; | ||
}; |
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 @@ | ||
@macpaw:registry=https://npm.pkg.github.com |
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,29 @@ | ||
NPM_CREDENTIALS_ID = '982beb9e-1cb8-4a93-90f7-2fd8dce6c097' | ||
GITHUB_PACKAGES_CREDENTIALS_ID = 'github-access-token' | ||
|
||
pipeline { | ||
agent { | ||
docker { | ||
image 'node:10' | ||
label 'docker' | ||
} | ||
} | ||
stages { | ||
stage('Install dependencies') { | ||
environment { | ||
NPM_TOKEN = credentials("$NPM_CREDENTIALS_ID") | ||
GITHUB_PACKAGES_TOKEN = credentials("$GITHUB_PACKAGES_CREDENTIALS_ID") | ||
} | ||
steps { | ||
sh 'npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN' | ||
sh 'npm config set //npm.pkg.github.com/:_authToken=$GITHUB_PACKAGES_TOKEN' | ||
sh 'yarn install' | ||
} | ||
} | ||
stage('Lint code') { | ||
steps { | ||
sh 'npm run lint --silent' | ||
} | ||
} | ||
} | ||
} |
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,5 +1,13 @@ | ||
'use strict'; | ||
|
||
const logger = require('./lib/logger'); | ||
const request = require('./lib/request'); | ||
const requestHelper = require('./lib/request-helper'); | ||
const waiters = require('./lib/waiters'); | ||
|
||
module.exports = { | ||
apiServices: require('./api-services/'), | ||
logger, | ||
request, | ||
requestHelper, | ||
waiters, | ||
}; |
File renamed without changes.
File renamed without changes.
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
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.