Skip to content

Commit

Permalink
feat!: rename x-terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Feb 14, 2020
1 parent 464cddd commit e45bc94
Show file tree
Hide file tree
Showing 41 changed files with 8,740 additions and 8,658 deletions.
11 changes: 0 additions & 11 deletions .eslintrc

This file was deleted.

22 changes: 22 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
module.exports = {
env: {
es6: true,
node: true,
browser: true,
},
extends: [
'standard',
],
globals: {
atom: 'readonly',
},
parserOptions: {
ecmaVersion: 2018,
},
rules: {
"no-warning-comments": "warn",
"comma-dangle": ["error", "always-multiline"],
indent: ["error", "tab"],
"no-tabs": ["error", { allowIndentationTabs: true }],
},
}
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

github: [UziTech]
72 changes: 72 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: "CI"
on:
pull_request:
push:
branches:
- master

env:
CI: true

jobs:
Test:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
# os: [ubuntu-latest, macos-latest, windows-latest]
os: [macos-latest, windows-latest]
channel: [stable, beta]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: UziTech/action-setup-atom@v1
with:
channel: ${{ matrix.channel }}
- name: Atom version
run: atom -v
- name: APM version
run: apm -v
- name: Install dependencies
run: apm install
- name: Run tests 👩🏾‍💻
run: atom --test spec

Lint:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: NPM install
run: npm install
- name: Lint ✨
run: npm run lint

Release:
needs: [Test, Lint]
if: |
github.ref == 'refs/heads/master' &&
github.repository == 'UziTech/x-terminal'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: UziTech/action-setup-atom@v1
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: NPM install
run: npm install
- name: Release 🎉
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ATOM_ACCESS_TOKEN: ${{ secrets.ATOM_ACCESS_TOKEN }}
run: npx semantic-release

Skip:
if: contains(github.event.head_commit.message, '[skip ci]')
runs-on: ubuntu-latest
steps:
- name: Skip CI 🚫
run: echo skip ci
2 changes: 1 addition & 1 deletion dist/lib/atom-xterm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/lib/atom-xterm.js.map

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "atom-xterm",
"name": "x-terminal",
"main": "./dist/lib/atom-xterm",
"module": "./dist/lib/atom-xterm",
"version": "6.5.0",
Expand All @@ -20,14 +20,11 @@
"powershell",
"cmd"
],
"activationCommands": {
"atom-workspace": "atom-xterm:need-this-to-activate-package-for-tests-do-not-remove"
},
"activationHooks": [
"core:loaded-shell-environment"
],
"atomTestRunner": "./spec/custom-runner",
"repository": "https://github.com/amejia1/atom-xterm",
"repository": "https://github.com/UziTech/x-terminal",
"license": "MIT",
"engines": {
"atom": ">=1.23.1 <2.0.0"
Expand All @@ -50,6 +47,7 @@
"@babel/preset-env": "^7.8.4",
"@babel/register": "^7.8.3",
"@babel/runtime": "^7.8.4",
"@semantic-release/apm-config": "^8.0.0",
"atom-jasmine3-test-runner": "^4.4.1",
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^3.0.0",
Expand All @@ -71,6 +69,7 @@
"postcss-loader": "^3.0.0",
"prunk": "^1.3.1",
"sass-loader": "^8.0.2",
"semantic-release": "^17.0.3",
"style-loader": "^1.1.3",
"stylelint": "^13.2.0",
"stylelint-config-standard": "^20.0.0",
Expand Down
3 changes: 3 additions & 0 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
"extends": "@semantic-release/apm-config",
};
5 changes: 0 additions & 5 deletions spec/.eslintrc

This file was deleted.

6 changes: 6 additions & 0 deletions spec/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
env: {
jasmine: true,
atomtest: true,
}
}
Loading

0 comments on commit e45bc94

Please sign in to comment.