Skip to content

Commit a8b2c39

Browse files
authored
Merge pull request #36 from atom-ide-community/bump
2 parents ed8f676 + 15aa741 commit a8b2c39

19 files changed

+3944
-6529
lines changed

.eslintrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": "eslint-config-atomic",
3+
"ignorePatterns": ["dist/", "node_modules/"]
4+
}

.github/workflows/CI.yml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
name: CI
2+
on:
3+
- pull_request
4+
- push
5+
6+
jobs:
7+
Test:
8+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
9+
name: ${{ matrix.os }} - Atom ${{ matrix.atom_channel }}
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
os:
15+
- ubuntu-latest
16+
- macos-latest
17+
- windows-latest
18+
atom_channel: [stable, beta]
19+
steps:
20+
- uses: actions/checkout@v2
21+
- uses: UziTech/action-setup-atom@v1
22+
with:
23+
channel: ${{ matrix.atom_channel }}
24+
- name: Versions
25+
run: apm -v
26+
- name: Install APM dependencies
27+
run: |
28+
apm ci # uses locked module. use `apm install` for non-locked
29+
- name: Atom Package dependencies
30+
run: node ./script/install-package-deps.js
31+
- name: Run tests 👩🏾‍💻
32+
run: npm run test
33+
34+
Lint:
35+
if: "!contains(github.event.head_commit.message, '[skip ci]')"
36+
runs-on: ubuntu-latest
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
steps:
40+
- uses: actions/checkout@v2
41+
with:
42+
fetch-depth: 0
43+
- name: Commit lint ✨
44+
uses: wagoid/commitlint-github-action@v1
45+
- uses: UziTech/action-setup-atom@v1
46+
- name: Install NPM dependencies
47+
run: |
48+
npm ci # uses locked module. use `npm install` for non-locked
49+
- name: Lint ✨
50+
run: npm run lint
51+
52+
Release:
53+
needs: [Test, Lint]
54+
if: github.ref == 'refs/heads/master' &&
55+
github.event.repository.fork == false
56+
runs-on: ubuntu-latest
57+
steps:
58+
- uses: actions/checkout@v2
59+
- uses: UziTech/action-setup-atom@v1
60+
- uses: actions/setup-node@v1
61+
with:
62+
node-version: "12.x"
63+
- name: NPM install
64+
run: npm ci
65+
- name: Release 🎉
66+
uses: cycjimmy/semantic-release-action@v2
67+
with:
68+
extends: |
69+
@semantic-release/apm-config
70+
env:
71+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72+
ATOM_ACCESS_TOKEN: ${{ secrets.ATOM_ACCESS_TOKEN }}
73+
74+
Skip:
75+
if: contains(github.event.head_commit.message, '[skip ci]')
76+
runs-on: ubuntu-latest
77+
steps:
78+
- name: Skip CI 🚫
79+
run: echo skip ci

.github/workflows/bump_deps.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Bump_Dependencies
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
jobs:
8+
Bump_Dependencies:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-node@v2-beta
13+
with:
14+
node-version: "14"
15+
- run: |
16+
npm ci
17+
npm run bump
18+
npm install
19+
- uses: peter-evans/create-pull-request@v2
20+
with:
21+
token: ${{ secrets.GITHUB_TOKEN }}
22+
commit-message: Update dependencies
23+
title: "[AUTO] Update dependencies"
24+
labels: Dependencies
25+
branch: "Bump"

.prettier.config.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// Add to .prettierignore to ignore files and folders
2+
3+
// This configuration all the formats including typescript, javascript, json, yaml, markdown
4+
module.exports = {
5+
tabWidth: 2,
6+
printWidth: 120,
7+
semi: false,
8+
singleQuote: false,
9+
overrides: [
10+
{
11+
files: "{*.json}",
12+
options: {
13+
parser: "json",
14+
trailingComma: "es5",
15+
},
16+
},
17+
{
18+
files: "{*.md}",
19+
options: {
20+
parser: "markdown",
21+
proseWrap: "preserve",
22+
},
23+
},
24+
],
25+
};

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
package.json
3+
package-lock.json
4+
coverage
5+
build
6+
dist

.prettierrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,70 @@
11
## [0.3.4](https://github.com/atom-ide-community/atom-ide-definitions/compare/v0.3.3...v0.3.4) (2020-04-13)
22

3-
43
### Bug Fixes
54

6-
* activation hook to improve the loading time by deferring it ([56227be](https://github.com/atom-ide-community/atom-ide-definitions/commit/56227be))
5+
- activation hook to improve the loading time by deferring it ([56227be](https://github.com/atom-ide-community/atom-ide-definitions/commit/56227be))
76

87
## [0.3.3](https://github.com/atom-ide-community/atom-ide-definitions/compare/v0.3.2...v0.3.3) (2020-01-28)
98

10-
119
### Bug Fixes
1210

13-
* items without definition being active for click ([8099fb2](https://github.com/atom-ide-community/atom-ide-definitions/commit/8099fb2)), closes [#11](https://github.com/atom-ide-community/atom-ide-definitions/issues/11)
11+
- items without definition being active for click ([8099fb2](https://github.com/atom-ide-community/atom-ide-definitions/commit/8099fb2)), closes [#11](https://github.com/atom-ide-community/atom-ide-definitions/issues/11)
1412

1513
## [0.3.2](https://github.com/atom-ide-community/atom-ide-definitions/compare/v0.3.1...v0.3.2) (2019-06-24)
1614

17-
1815
### Bug Fixes
1916

20-
* upgrade additional build packages ([d30a75b](https://github.com/atom-ide-community/atom-ide-definitions/commit/d30a75b))
17+
- upgrade additional build packages ([d30a75b](https://github.com/atom-ide-community/atom-ide-definitions/commit/d30a75b))
2118

2219
## [0.3.1](https://github.com/atom-ide-community/atom-ide-definitions/compare/v0.3.0...v0.3.1) (2019-06-21)
2320

24-
2521
### Bug Fixes
2622

27-
* upgrade packages ([c1320f9](https://github.com/atom-ide-community/atom-ide-definitions/commit/c1320f9))
23+
- upgrade packages ([c1320f9](https://github.com/atom-ide-community/atom-ide-definitions/commit/c1320f9))
2824

2925
# [0.3.0](https://github.com/atom-ide-community/atom-ide-definitions/compare/v0.2.0...v0.3.0) (2019-04-09)
3026

31-
3227
### Bug Fixes
3328

34-
* missing dependencies installation ([c1fdd16](https://github.com/atom-ide-community/atom-ide-definitions/commit/c1fdd16))
35-
29+
- missing dependencies installation ([c1fdd16](https://github.com/atom-ide-community/atom-ide-definitions/commit/c1fdd16))
3630

3731
### Features
3832

39-
* add hyperclick provider ([6beaa60](https://github.com/atom-ide-community/atom-ide-definitions/commit/6beaa60))
33+
- add hyperclick provider ([6beaa60](https://github.com/atom-ide-community/atom-ide-definitions/commit/6beaa60))
4034

4135
# [0.2.0](https://github.com/atom-ide-community/atom-ide-definitions/compare/v0.1.3...v0.2.0) (2019-03-13)
4236

43-
4437
### Features
4538

46-
* refactor and handle providers in the right way ([051ac80](https://github.com/atom-ide-community/atom-ide-definitions/commit/051ac80))
39+
- refactor and handle providers in the right way ([051ac80](https://github.com/atom-ide-community/atom-ide-definitions/commit/051ac80))
4740

4841
## [0.1.3](https://github.com/atom-ide-community/atom-ide-definitions/compare/v0.1.2...v0.1.3) (2019-03-12)
4942

50-
5143
### Bug Fixes
5244

53-
* add getting started to README ([4f6ef06](https://github.com/atom-ide-community/atom-ide-definitions/commit/4f6ef06))
45+
- add getting started to README ([4f6ef06](https://github.com/atom-ide-community/atom-ide-definitions/commit/4f6ef06))
5446

5547
## [0.1.2](https://github.com/atom-ide-community/atom-ide-definitions/compare/v0.1.1...v0.1.2) (2019-03-11)
5648

57-
5849
### Bug Fixes
5950

60-
* update package version to 0.1.1 ([0eb39d3](https://github.com/atom-ide-community/atom-ide-definitions/commit/0eb39d3))
51+
- update package version to 0.1.1 ([0eb39d3](https://github.com/atom-ide-community/atom-ide-definitions/commit/0eb39d3))
6152

6253
# [0.1.1](https://github.com/atom-ide-community/atom-ide-definitions/compare/v0.1.0...v0.1.1) (2019-03-11)
6354

6455
### Bug Fixes
6556

66-
* Fix build
57+
- Fix build
6758

6859
# [0.1.0](https://github.com/atom-ide-community/atom-ide-definitions/compare/v0.0.3...v0.1.0) (2019-03-11)
6960

70-
7161
### Bug Fixes
7262

73-
* remove comments ([3fc7db6](https://github.com/atom-ide-community/atom-ide-definitions/commit/3fc7db6))
74-
63+
- remove comments ([3fc7db6](https://github.com/atom-ide-community/atom-ide-definitions/commit/3fc7db6))
7564

7665
### Features
7766

78-
* add travis ci support ([ec46a02](https://github.com/atom-ide-community/atom-ide-definitions/commit/ec46a02))
67+
- add travis ci support ([ec46a02](https://github.com/atom-ide-community/atom-ide-definitions/commit/ec46a02))
7968

8069
## 0.0.3
8170

CONTRIBUTING.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,22 @@ The format we follow is:
2828

2929
[optional footer]"
3030

31-
*Type*: Here are the types available and when they should be used:
31+
_Type_: Here are the types available and when they should be used:
3232

33-
| Type | Effect | Used for |
34-
|------|--------|----------|
35-
| fix | Creates a patch release | Bug fixes that don't break the public API |
36-
| feat | Creates a minor release | Features added that don't break the public API |
37-
| BREAKING CHANGE | Creates a major release (this is only used after we reach 1.0) | Features or bug fixes that require breaking changes |
38-
| chore | Does not make a release | Development work that doesn't affect the core package functionality |
33+
| Type | Effect | Used for |
34+
| --------------- | -------------------------------------------------------------- | ------------------------------------------------------------------- |
35+
| fix | Creates a patch release | Bug fixes that don't break the public API |
36+
| feat | Creates a minor release | Features added that don't break the public API |
37+
| BREAKING CHANGE | Creates a major release (this is only used after we reach 1.0) | Features or bug fixes that require breaking changes |
38+
| chore | Does not make a release | Development work that doesn't affect the core package functionality |
3939

4040
Please checkout the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0-beta.3/#summary) to find more types and what they do.
4141

42-
*Message*: can be anything you want. Start with a lower case. Limit the first line (type and message) to 50 chars.
42+
_Message_: can be anything you want. Start with a lower case. Limit the first line (type and message) to 50 chars.
4343

44-
*Description*: try to describe _why_ your change was needed rather than _what_ your change was (we can see that in the code). Wrap lines at 72 chars.
44+
_Description_: try to describe _why_ your change was needed rather than _what_ your change was (we can see that in the code). Wrap lines at 72 chars.
4545

46-
*Footer*: If your bug fix or feature is related to a github issue, this is where you would link it. For example, `Fixes: #1`.
46+
_Footer_: If your bug fix or feature is related to a github issue, this is where you would link it. For example, `Fixes: #1`.
4747

4848
### More Info
4949

LICENSE.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,27 +20,28 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
2020
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2121

2222
This repository might include code from the following projects, which have their own licenses:
23+
2324
- [atom-ide-ui](https://github.com/facebookarchive/atom-ide-ui/blob/master/LICENSE):
2425
> BSD License
25-
>
26+
>
2627
> For atom-ide-ui software
27-
>
28+
>
2829
> Copyright (c) 2017-present, Facebook, Inc. All rights reserved.
29-
>
30+
>
3031
> Redistribution and use in source and binary forms, with or without modification,
3132
> are permitted provided that the following conditions are met:
32-
>
33-
> * Redistributions of source code must retain the above copyright notice, this
34-
> list of conditions and the following disclaimer.
35-
>
36-
> * Redistributions in binary form must reproduce the above copyright notice,
37-
> this list of conditions and the following disclaimer in the documentation
38-
> and/or other materials provided with the distribution.
39-
>
40-
> * Neither the name Facebook nor the names of its contributors may be used to
41-
> endorse or promote products derived from this software without specific
42-
> prior written permission.
43-
>
33+
>
34+
> - Redistributions of source code must retain the above copyright notice, this
35+
> list of conditions and the following disclaimer.
36+
>
37+
> - Redistributions in binary form must reproduce the above copyright notice,
38+
> this list of conditions and the following disclaimer in the documentation
39+
> and/or other materials provided with the distribution.
40+
>
41+
> - Neither the name Facebook nor the names of its contributors may be used to
42+
> endorse or promote products derived from this software without specific
43+
> prior written permission.
44+
>
4445
> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
4546
> ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
4647
> WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE

0 commit comments

Comments
 (0)