Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite ide-d using serve-d #34

Merged
merged 49 commits into from
Feb 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
a367d0c
fix: remove out files and use dist folder
aminya Jan 27, 2021
a46d0ed
chore: rename lib to src
aminya Jan 27, 2021
25a2b2e
fix: add tsconfig
aminya Jan 27, 2021
6d33f2a
fix: add build scripts
aminya Jan 27, 2021
52b2c34
chore: remove top-level tsconfig
aminya Jan 27, 2021
901dcf3
chore: remove typings folder
aminya Jan 27, 2021
3bec732
chore: use @types/atom
aminya Jan 27, 2021
90d016c
fix: use getBuffer()
aminya Jan 27, 2021
31efd75
chore: use NodeJs.TimeOut
aminya Jan 27, 2021
f3ea228
chore: remove typings.json
aminya Jan 27, 2021
32067fb
test: test dist folder
aminya Jan 27, 2021
59d4b52
format: add prettier
aminya Jan 27, 2021
0b74770
format: run prettier
aminya Jan 27, 2021
7b8e317
lint: add eslint
aminya Jan 27, 2021
fce96bc
lint: fix
aminya Jan 27, 2021
c2b15cc
chore: remove initial value of runCheckTimeout
aminya Jan 27, 2021
c9e4e06
ci: add github actions
aminya Jan 27, 2021
7c62c8f
fix: Buffer deprecation
aminya Jan 27, 2021
9f015da
type: use PromiseLike instead of Thenable
aminya Jan 27, 2021
099b043
chore: fix shadowing (rename path)
aminya Jan 27, 2021
f7352df
fix: remove unnecessary this aliasing to self
aminya Jan 27, 2021
8e5d2eb
fix: export entry functions directly
aminya Jan 27, 2021
c930e4f
chore: format
aminya Jan 27, 2021
f8e230e
feat: add script for downloading serve-d
aminya Jan 27, 2021
4e3b183
chore: add pnpm config
aminya Jan 27, 2021
ae94bc5
feat: add all provided services to package.json
aminya Jan 27, 2021
877ee0c
fix: snippets remove duplicate entries
aminya Jan 27, 2021
178d35c
fix: bump eslint-config-atomic
aminya Jan 27, 2021
6a94fb7
feat: use serve-d and AutoLanguageClient
aminya Jan 27, 2021
3419e42
test: add hello-world project
aminya Jan 27, 2021
442d91c
fix: use shelljs directly
aminya Jan 27, 2021
c95038c
fix: spawn using child_process
aminya Feb 2, 2021
6553d8c
chore: format
aminya Feb 2, 2021
cf6a092
feat: add scripts for downloading grammar files from code-d
aminya Feb 2, 2021
5573a12
feat: update the grammar files
aminya Feb 2, 2021
c558487
fix: enable compileOnSave in tsconfig
aminya Feb 3, 2021
0562112
fix: add some error handling
aminya Feb 3, 2021
e8ea9ac
fix: remove styles
aminya Feb 4, 2021
5f7f2c1
chore: update deps
aminya Feb 4, 2021
8575d93
fix: install serve-d in the code-d/bin folder
aminya Feb 4, 2021
4abf64a
fix: add getConnectionType
aminya Feb 4, 2021
c9aeacf
fix: add D grammar scope
aminya Feb 4, 2021
36da34d
fix: copy the whole served folder including dlls
aminya Feb 17, 2021
ae8012f
fix: update languageclient and other deps
aminya Feb 21, 2021
ca22963
chore: require not errors in tsc
aminya Feb 21, 2021
a73b212
fix: use fs-extra in the get scripts
aminya Feb 21, 2021
eee37c5
chore: get.grammars
aminya Feb 21, 2021
a1ecd55
fix: update atom-languageclient and other deps
aminya Feb 23, 2021
346ca5d
fix: use super.spawn
aminya Feb 23, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "eslint-config-atomic",
"ignorePatterns": ["dist/", "node_modules/"]
}
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
* text=auto

# don't diff machine generated files
dist/ -diff
package-lock.json -diff
pnpm-lock.yaml -diff
61 changes: 61 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: CI
on:
- pull_request
- push

jobs:
Test:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
name: ${{ matrix.os }} - Atom ${{ matrix.atom_channel }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
atom_channel: [stable, beta]
steps:
- uses: actions/checkout@v2
- uses: UziTech/action-setup-atom@v1
with:
channel: ${{ matrix.atom_channel }}

- name: Install dependencies
run: |
apm install --production
npm install --only=dev

- name: Run tests 👩🏾‍💻
run: npm run test

Lint:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Commit lint ✨
uses: wagoid/commitlint-github-action@v2

- uses: actions/setup-node@v1
with:
node-version: "12.x"

- name: Install NPM dependencies
run: npm install --only=dev

- name: Lint ✨
run: npm run lint

Skip:
if: contains(github.event.head_commit.message, '[skip ci]')
runs-on: ubuntu-latest
steps:
- name: Skip CI 🚫
run: echo skip ci
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# OS metadata
.DS_Store
npm-debug.log
Thumbs.db

# Node
node_modules
package-lock.json

# TypeScript
*.tsbuildinfo

# Build directories
dist
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
public-hoist-pattern[]=*
9 changes: 9 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
node_modules
package.json
package-lock.json
pnpm-lock.yaml
changelog.md
coverage
build
dist
grammars
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
Atomize-D
=========
# Atomize-D

Adds D language support for Atom

License
=======
# License

MIT - Look in [LICENSE.md](LICENSE.md) for more information

Authors
=======
* Dan "Wild" Printzell
* "WebFreak001"
# Authors

- Dan "Wild" Printzell
- "WebFreak001"
Loading