-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore/merge Co-authored-by: Teodor Tanasoaia <28601907+Teoxoy@users.noreply.github.com>
- Loading branch information
Showing
47 changed files
with
7,628 additions
and
1,722 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"extends": [ | ||
"@1stg" | ||
] | ||
} |
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,10 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
tab_width = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
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,2 @@ | ||
lib | ||
CHANGELOG.md |
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,9 @@ | ||
const { js } = require('@1stg/eslint-config/overrides') | ||
|
||
module.exports = { | ||
extends: ['@1stg', 'plugin:import/typescript', 'plugin:mdx/recommended'], | ||
overrides: [js], | ||
rules: { | ||
'node/no-unsupported-features/es-syntax': 0, | ||
}, | ||
} |
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,68 @@ | ||
name: Node CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
node: [8.x, 10.x, 12.x] | ||
os: [macOS-latest, ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Use Node.js ${{ matrix.node }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
- name: setup yarn | ||
run: | | ||
curl -o- -L https://yarnpkg.com/install.sh | bash | ||
export PATH="$HOME/.yarn/bin:$PATH" | ||
- name: build, lint, test | ||
run: | | ||
yarn --frozen-lockfile | ||
yarn build | ||
yarn lint | ||
yarn eslint -f friendly tests/**/*.{ts,tsx} | ||
env: | ||
CI: true | ||
EFF_NO_LINK_RULES: true | ||
|
||
# codecov: | ||
# runs-on: macOS-latest | ||
# needs: build | ||
# steps: | ||
# - name: Report Test Code Coverage | ||
# if: matrix.node == '12.x' | ||
# run: | | ||
# yarn global add codecov codacy-coverage | ||
# codecov | ||
# cat ./coverage/lcov.info | codacy-coverage | ||
# env: | ||
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | ||
|
||
deploy: | ||
runs-on: macOS-latest | ||
needs: build | ||
steps: | ||
- name: Publish Release and npm Package | ||
if: github.event_name == 'push' && github.ref == 'master' && matrix.node == '12.x' | ||
run: bash deploy.sh | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_BRANCH: ${{ github.ref }} | ||
GH_REPO: ${{ github.repository }} | ||
|
||
codecheck: | ||
runs-on: macOS-latest | ||
needs: [build, deploy] | ||
steps: | ||
- name: Code Check | ||
if: matrix.node == '12.x' | ||
run: | | ||
yarn add -D @codechecks/client @codechecks/build-size-watcher | ||
yarn codechecks | ||
env: | ||
CC_SECRET: ${{ secrets.CC_SECRET }} |
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,4 @@ | ||
.type-coverage | ||
lib | ||
node_modules | ||
yarn-error.log | ||
yarn.lock | ||
.idea | ||
.vscode | ||
*.log |
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 @@ | ||
module.exports = require('@1stg/husky-config') |
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 @@ | ||
module.exports = require('@1stg/lint-staged') |
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 @@ | ||
"@1stg/prettier-config" |
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,5 @@ | ||
{ | ||
"plugins": [ | ||
"@1stg/remark-config" | ||
] | ||
} |
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,3 @@ | ||
{ | ||
"extends": "@1stg" | ||
} |
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,16 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. | ||
|
||
## [0.4.0](https://github.com/rx-ts/eslint-import-resolver-ts/compare/v0.3.0...v0.4.0) (2019-09-22) | ||
|
||
### Bug Fixes | ||
|
||
- **deps:** bump configurations, use resolutions to simplify tests ([5eb4874](https://github.com/rx-ts/eslint-import-resolver-ts/commit/5eb4874)) | ||
|
||
### Features | ||
|
||
- replace glob with tiny-glob for faster speed, close [#12](https://github.com/rx-ts/eslint-import-resolver-ts/issues/12) ([f436627](https://github.com/rx-ts/eslint-import-resolver-ts/commit/f436627)) | ||
- replace glob with tiny-glob for faster speed, close [#12](https://github.com/rx-ts/eslint-import-resolver-ts/issues/12) ([#13](https://github.com/rx-ts/eslint-import-resolver-ts/issues/13)) ([5f87698](https://github.com/rx-ts/eslint-import-resolver-ts/commit/5f87698)) | ||
|
||
## [0.3.0](https://github.com/rx-ts/eslint-import-resolver-ts/compare/v0.2.0...v0.3.0) (2019-09-11) |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
checks: | ||
- name: build-size-watcher | ||
options: | ||
files: | ||
- path: 'lib/index.js' | ||
- name: type-coverage-watcher | ||
options: | ||
atLeast: 100 | ||
ignoreCatch: true | ||
strict: true |
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,16 @@ | ||
#!/bin/sh | ||
|
||
git remote set-url origin "https://user:$GH_TOKEN@github.com/$GH_REPO.git" | ||
npm set //registry.npmjs.org/:_authToken "$NPM_TOKEN" | ||
|
||
git fetch origin "$GH_BRANCH":"$GH_BRANCH" | ||
git checkout "$GH_BRANCH" | ||
|
||
PKG_VERSION=$(jq -r '.version' package.json) | ||
|
||
git fetch origin v"$PKG_VERSION" || { | ||
yarn global add standard-version | ||
standard-version -a --release-as "$PKG_VERSION" | ||
git push --follow-tags origin "$GH_BRANCH" | ||
npm publish | ||
} |
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 +1 @@ | ||
module.exports = 'dummy'; | ||
module.exports = 'dummy' |
Oops, something went wrong.