Skip to content

Commit c49a1db

Browse files
Merge branch 'release/0.9.0'
2 parents 8980d39 + d4697af commit c49a1db

28 files changed

Lines changed: 4010 additions & 1337 deletions

.circleci/config.yml

Lines changed: 76 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,89 @@
1-
# Copyright (c) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
2-
# Copyright (c) 2017-present Sven Greb <development@svengreb.de>
1+
# Copyright (C) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
2+
# Copyright (C) 2017-present Sven Greb <development@svengreb.de>
33

44
# Project: Nord Visual Studio Code
55
# Repository: https://github.com/arcticicestudio/nord-visual-studio-code
66
# License: MIT
7+
8+
# Configuration for Circle CI.
9+
#
710
# References:
8-
# https://circleci.com/docs/2.0
9-
# https://circleci.com/docs/2.0/circleci-images/#nodejs
11+
# - https://circleci.com/docs/2.0
12+
# - https://circleci.com/docs/2.0/circleci-images
1013

11-
version: 2
12-
jobs:
14+
version: 2.1
15+
16+
commands:
1317
build:
14-
docker:
15-
- image: circleci/node:latest
18+
description: "Build a packaged VSIX extension"
19+
steps:
20+
- run:
21+
name: Build packaged VSIX extension
22+
command: npm run build
23+
post-process:
24+
description: "Post-process the build"
25+
steps:
26+
- save-npm-cache
27+
- store_artifacts:
28+
path: "*.vsix"
29+
pre-process:
30+
description: "Pre-process the build"
1631
steps:
1732
- checkout
33+
- print-env-info
34+
- restore-npm-cache
35+
- run:
36+
name: Install dependencies
37+
command: npm ci
38+
print-env-info:
39+
description: "Print build & environment information"
40+
steps:
1841
- run:
19-
name: preprocess-clean-node-modules
20-
command: rm -rf node_modules
42+
name: NPM and NodeJS Version Information
43+
command: npm version
2144
- run:
22-
name: preprocess-npm-install
23-
command: npm install
45+
name: OS Information
46+
command: uname -a
2447
- run:
25-
name: lint
48+
name: Git and Build Metadata
49+
command: |
50+
echo $CIRCLE_COMPARE_URL | cut -d/ -f7
51+
echo "Git branch: $CIRCLE_BRANCH"
52+
echo "Git commit: $CIRCLE_SHA1"
53+
echo "Job: $CIRCLE_JOB"
54+
echo "Build: $CIRCLE_BUILD_NUM"
55+
restore-npm-cache:
56+
steps:
57+
- restore_cache:
58+
keys:
59+
- v1-npm-cache--{{ arch }}-{{ .Branch }}-{{ checksum "package-lock.json" }}
60+
- v1-npm-cache--{{ arch }}-{{ .Branch }}
61+
- v1-npm-cache--{{ arch }}
62+
save-npm-cache:
63+
steps:
64+
- save_cache:
65+
key: v1-npm-cache--{{ arch }}-{{ .Branch }}-{{ checksum "package-lock.json" }}
66+
paths:
67+
- node_modules
68+
test:
69+
steps:
70+
- run:
71+
name: Lint
2672
command: npm run lint
73+
74+
jobs:
75+
nodejs-latest:
76+
docker:
77+
- image: node:latest
78+
steps:
79+
- pre-process
80+
- test
81+
- build
82+
- post-process
83+
84+
workflows:
85+
version: 2.1
86+
build-latest-version:
87+
jobs:
88+
- nodejs-latest:
89+
context: nord-visual-studio-code-ctx

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Copyright (c) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
2-
# Copyright (c) 2017-present Sven Greb <development@svengreb.de>
1+
# Copyright (C) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
2+
# Copyright (C) 2017-present Sven Greb <development@svengreb.de>
33
#
44
# Project: Nord Visual Studio Code
55
# Repository: https://github.com/arcticicestudio/nord-visual-studio-code

.eslintignore

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Copyright (c) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
2-
# Copyright (c) 2017-present Sven Greb <development@svengreb.de>
1+
# Copyright (C) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
2+
# Copyright (C) 2017-present Sven Greb <development@svengreb.de>
33
#
44
# Project: Nord Visual Studio Code
55
# Repository: https://github.com/arcticicestudio/nord-visual-studio-code
@@ -9,5 +9,9 @@
99
.github/*
1010
.vscode/*
1111
assets/*
12-
node_modules/*
12+
**/node_modules/*
1313
*.vsix
14+
!lint-staged.config.js
15+
!.eslintrc.js
16+
!.huskyrc.js
17+
!.remarkrc.js

.eslintrc.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
* Copyright (c) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
3-
* Copyright (c) 2017-present Sven Greb <development@svengreb.de>
2+
* Copyright (C) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
3+
* Copyright (C) 2017-present Sven Greb <development@svengreb.de>
44
*
55
* Project: Nord Visual Studio Code
66
* Repository: https://github.com/arcticicestudio/nord-visual-studio-code
@@ -11,6 +11,9 @@
1111
* @file The ESLint configuration.
1212
* @author Arctic Ice Studio <development@arcticicestudio.com>
1313
* @author Sven Greb <development@svengreb.de>
14+
* @see https://github.com/babel/eslint-plugin-babel#rules
15+
* @see https://github.com/tc39/proposal-optional-chaining
16+
* @see https://eslint.org/docs/user-guide/configuring#specifying-environments
1417
*/
1518

1619
module.exports = {
@@ -22,6 +25,7 @@ module.exports = {
2225
browser: true
2326
},
2427
rules: {
28+
/* Prioritize format errors found by Prettier. */
2529
"prettier/prettier": "error"
2630
}
2731
};

.gitattributes

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
# Copyright (c) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
2-
# Copyright (c) 2017-present Sven Greb <development@svengreb.de>
1+
# Copyright (C) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
2+
# Copyright (C) 2017-present Sven Greb <development@svengreb.de>
33
#
44
# Project: Nord Visual Studio Code
55
# Repository: https://github.com/arcticicestudio/nord-visual-studio-code
66
# License: MIT
7+
# References:
8+
# https://git-scm.com/docs/gitattributes
9+
# https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes#Keyword-Expansion
710

811
# Automatically perform line feed (LF) normalization for files detected as text and leave all files detected as binary
912
# untouched.

.github/CODEOWNERS

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright (C) 2017-present Arctic Ice Studio <development@arcticicestudio.com>
2+
# Copyright (C) 2017-present Sven Greb <development@svengreb.de>
3+
#
4+
# Project: Nord Visual Studio Code
5+
# Repository: https://github.com/arcticicestudio/nord-visual-studio-code
6+
# License: MIT
7+
8+
# Configuration for the GitHub feature to automatically request reviews from the code owners when a pull request
9+
# changes any owned files.
10+
#
11+
# References:
12+
# https://github.com/blog/2392-introducing-code-owners
13+
# https://help.github.com/articles/about-codeowners
14+
15+
# +----------------------+
16+
# + Core Team Code Owner +
17+
# +----------------------+
18+
* @arcticicestudio
19+
* @svengreb

.github/ISSUE_TEMPLATE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Click on the "Preview" tab to render the instructions in a more readable format -->
2+
3+
> **Please read the [contribution guidelines](https://github.com/arcticicestudio/nord-visual-studio-code/blob/develop/CONTRIBUTING.md) before filling out this issue template**.
4+
5+
## [Please follow one of the issue templates](https://github.com/arcticicestudio/nord-visual-studio-code/issues/new/choose)
6+
7+
To keep the backlog clean and actionable, issues should be opened using [one the provided issue templates](https://github.com/arcticicestudio/nord-visual-studio-code/issues/new/choose) to help maintainers and the community to understand it, find related reports and to resolve tickets faster.
8+
9+
### Support
10+
11+
If you got a question or need help with any aspect of the project feel free to [join the community](https://www.nordtheme.com/community) and ensure to read the [extensive project documentations](https://www.nordtheme.com/docs).
12+
13+
You can also search for already opened and related issue using the search for the [“question“](https://github.com/arcticicestudio/nord-visual-studio-code/labels/type-question) issue label.

.github/ISSUE_TEMPLATE/bugs.md

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
---
2+
name: Bug Report
3+
about: Report a bug that is caused by the code in this repository
4+
---
5+
6+
<!-- Click on the "Preview" tab to render the instructions in a more readable format -->
7+
8+
> **Please read the [contribution guidelines](https://github.com/arcticicestudio/nord-visual-studio-code/blob/develop/CONTRIBUTING.md) before filling out this issue template**.
9+
10+
## Prerequisites
11+
12+
This section and the instructions in the sections below are only part of this issue template. Please ensure to **delete this whole section, all pre-filled instructions of the sections below and sections you have not filled out before submitting** to ensure a clear structure and overview.
13+
14+
Please do your best to provide as much information as possible and use a clear and descriptive title for your bug report to help maintainers and the community understand and reproduce the behavior, find related reports and to resolve the ticket faster.
15+
16+
- **Ensure the bug has not already been reported by using the [GitHub Issues search](https://github.com/arcticicestudio/nord-visual-studio-code/issues)** — check if this enhancement has already been suggested. If it has **and the issue is still open**, add your additions as comment to the existing issue instead of opening a new one. If you find a closed issue that seems to be similar to this one, include a link to the original issue in the [metadata head](#metadata-head) section of this issue.
17+
- **Ensure your contribution belongs to the correct [main or port project repository](https://github.com/arcticicestudio?&tab=repositories&q=nord).**
18+
- **Ensure the bug is reproducible and has not already been fixed** — use the [latest version](https://github.com/arcticicestudio/nord-visual-studio-code/releases/latest) and [`develop`](https://github.com/arcticicestudio/nord-visual-studio-code/tree/develop) branch.
19+
20+
## Metadata Head
21+
22+
The metadata head can be added to the top of the issue as [Markdown text quote](https://help.github.com/articles/basic-writing-and-formatting-syntax) containing the the ID of other related issues.
23+
24+
> Related issues:
25+
26+
## Description
27+
28+
Describe the bug as in many relevant details as possible with a clear and concise description. Ensure to fill in the [steps to reproduce](#steps-to-reproduce) it.
29+
30+
### Steps to Reproduce
31+
32+
1. Step One
33+
2. Step Two
34+
3. ...
35+
36+
### Expected Behavior
37+
38+
What you expect to happen?
39+
40+
### Actual Behavior
41+
42+
What actually happens?
43+
44+
## Example
45+
46+
Provide a [MCVE - The Minimal, Complete, and Verifiable Example](https://github.com/arcticicestudio/nord-visual-studio-code/blob/develop/CONTRIBUTING.md#mcve)
47+
48+
**This is a optional section, but it can drastically increase the speed at which this issue can be processed since it takes away the time-consuming reconstruction to reproduce the bug.**
49+
The recommended way is to upload it as [Gist](https://gist.github.com) or new repository to GitHub, but of course you can [attach it to this issue](https://help.github.com/articles/file-attachments-on-issues-and-pull-requests), use any free file hosting service or paste the code in [Markdown code blocks](https://help.github.com/articles/basic-writing-and-formatting-syntax) into this issue.
50+
51+
## Environment and Versions
52+
53+
- What is the version of _Nord Visual Studio Code_ you are running?
54+
- What is the name and the version of your OS?
55+
- Have you tried to reproduce it on different OS environments and if yes is the behavior the same for all?
56+
- If the problem is related to the runtime of the project (e.g. [Node.js](https://nodejs.org), [Go](https://golang.org) or [Java](https://java.com)) please provide the version you're running.
57+
- Are you using any additional CLI arguments to run the project?
58+
- What is the version of the build tool (e.g. [npm](https://www.npmjs.com), [dep](https://golang.github.io/dep) or [Gradle](https://gradle.org)) you are running?
59+
- Are you using any additional CLI arguments to start the build tool task/script other than defined by the project?
60+
61+
If you've installed [Node.js](https://nodejs.org) on your system you can run [envinfo](https://www.npmjs.com/package/envinfo) via [npx](https://blog.npmjs.org/post/162869356040/introducing-npx-an-npm-package-runner) which will print environment information that help the the community to better reproduce the bug.
62+
63+
Run the following command **from within the project root** and paste the output in the code block below: `npx envinfo --system --system --IDEs --languages --binaries --markdown --clipboard`
64+
65+
```md
66+
Paste output of the command here.
67+
```
68+
69+
## Stack Trace and Error Messages
70+
71+
```raw
72+
Paste the full stack trace, error messages or the logfile here.
73+
```
74+
75+
... or [attach them as files](https://help.github.com/articles/file-attachments-on-issues-and-pull-requests) to this issue.
76+
77+
## Additional Context
78+
79+
Add any other context, screenshots or screencasts which are relevant for this issue.
80+
81+
## References
82+
83+
Add any other references and links which are relevant for this issue.
84+
85+
## Potential Solution
86+
87+
Maybe include the lines of code that you have identified as causing the bug or references to other projects where this bug has already been reported.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
name: Enhancement Suggestions
3+
about: Submit an enhancement suggestion for new features or minor improvements to existing functionality
4+
---
5+
6+
<!-- Click on the "Preview" tab to render the instructions in a more readable format -->
7+
8+
> **Please read the [contribution guidelines](https://github.com/arcticicestudio/nord-visual-studio-code/blob/develop/CONTRIBUTING.md) before filling out this issue template**.
9+
10+
## Prerequisites
11+
12+
This section and the instructions in the sections below are only part of this issue template. Please ensure to **delete this whole section, all pre-filled instructions of the sections below and sections you have not filled out before submitting** to ensure a clear structure and overview.
13+
14+
Please do your best to provide as much information as possible and use a clear and descriptive title for your enhancement suggestion to help maintainers and the community understand and reproduce the behavior, find related reports and to resolve the ticket faster.
15+
16+
- **Ensure the enhancement has not already been reported by using the [GitHub Issues search](https://github.com/arcticicestudio/nord-visual-studio-code/issues)** — check if this enhancement has already been suggested. If it has **and the issue is still open**, add your additions as comment to the existing issue instead of opening a new one. If you find a closed issue that seems to be similar to this one, include a link to the original issue in the [metadata head](#metadata-head) section of this issue.
17+
- **Ensure your contribution belongs to the correct [main or port project repository](https://github.com/arcticicestudio?&tab=repositories&q=nord).**
18+
- **Check if the enhancement has already been implemented** — use the [latest version](https://github.com/arcticicestudio/nord-visual-studio-code/releases/latest) and [`develop`](https://github.com/arcticicestudio/nord-visual-studio-code/tree/develop) branch to ensure that the feature or improvement has not already been added.
19+
20+
## Metadata Head
21+
22+
The metadata head can be added to the top of the issue as [Markdown text quote](https://help.github.com/articles/basic-writing-and-formatting-syntax) containing the ID of other related issues.
23+
24+
> Related issues:
25+
26+
## Description
27+
28+
Describe the enhancement in many relevant details as possible.
29+
30+
### Benefits
31+
32+
Add specific use-cases and explain why this feature or improvement would be useful and maybe include references to related known problems or bug reports.
33+
34+
### Possible Drawbacks
35+
36+
Describe possible negative impacts regarding e.g. functionality or usability.
37+
38+
### Alternative Solutions
39+
40+
If you've considered alternative features or solutions please describe it clearly and concise.
41+
42+
## Example
43+
44+
Provide a [MCVE - The Minimal, Complete, and Verifiable Example](https://github.com/arcticicestudio/nord-visual-studio-code/blob/develop/CONTRIBUTING.md#mcve)
45+
46+
**This is a optional section, but it can drastically increase the speed at which this issue can be processed since it takes away the time-consuming reconstruction to reproduce the enhancement.**
47+
The recommended way is to upload it as [Gist](https://gist.github.com) or new repository to GitHub, but of course you can [attach it to this issue](https://help.github.com/articles/file-attachments-on-issues-and-pull-requests), use any free file hosting service or paste the code in [Markdown code blocks](https://help.github.com/articles/basic-writing-and-formatting-syntax) into this issue.
48+
49+
## Additional Context
50+
51+
Add any other context, screenshots or screencasts which are relevant for this issue.
52+
53+
## References
54+
55+
Add any other references and links which are relevant for this issue.
56+
57+
## Potential Solution
58+
59+
Maybe include references to other projects where this enhancement already exists.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!-- Click on the "Preview" tab to render the instructions in a more readable format -->
2+
3+
> **Please read the [contribution guidelines](https://github.com/arcticicestudio/nord-visual-studio-code/blob/develop/CONTRIBUTING.md) before filling out this issue template**.
4+
5+
## Prerequisites
6+
7+
This section and the instructions in the sections below are only part of this pull request template. Please ensure to **delete this whole section, all pre-filled instructions of the sections below and sections you have not filled out before submitting** to ensure a clear structure and overview.
8+
9+
Please do your best to provide as much information as possible and use a clear and descriptive title for your enhancement suggestion or bug fix to help maintainers and the community understand and reproduce the behavior, find related pull requests and to merge it faster.
10+
11+
- **Ensure the pull request has not already been submitted by using the [GitHub Issue search](https://github.com/arcticicestudio/nord-visual-studio-code/issues)** — check if this enhancement or bug fix has already been suggested. If it has **and the pull request is still open**, add your additions as comment or [suggest a change](https://help.github.com/articles/incorporating-feedback-in-your-pull-request/#applying-a-suggested-change) to the existing pull request instead of opening a new one. If you find a closed pull request that seems to be similar to this one, include a link to the original pull request in the [metadata head](#metadata-head) section of this new pull request.
12+
- **Ensure your contribution belongs to the correct [main or port project repository](https://github.com/arcticicestudio?&tab=repositories&q=nord).**
13+
- **Ensure to adhere to the [pull request contribution guidelines](https://github.com/arcticicestudio/nord-visual-studio-code/blob/develop/CONTRIBUTING.md#pull-requests)**, especially the one for tests and documentations.
14+
- **Check if the enhancement has already been implemented or bug already fixed** — use the [latest version](https://github.com/arcticicestudio/nord-visual-studio-code/releases/latest) and [`develop`](https://github.com/arcticicestudio/nord-visual-studio-code/tree/develop) branch to ensure that the enhancement or bug fix has not already been added.
15+
16+
## Metadata Head
17+
18+
The metadata head should be added to the top of the pull request as [Markdown text quote](https://help.github.com/articles/basic-writing-and-formatting-syntax) containing the [GitHub issue keyword(s)](https://help.github.com/articles/closing-issues-using-keywords) to link to the related enhancements suggestions (`Closes`) or bug reports (`Fixes`). You can add additional details like dependencies to other pull requests and the order it needs to be merged.
19+
20+
> Closes ISSUE_ID
21+
> Must be merged **after**/**before** ISSUE_ID
22+
23+
## Description
24+
25+
Describe the changes as in many relevant details as possible. If this is a enhancement suggestion add specific use-cases and explain why this feature or improvement would be useful. If this is a bug fix ensure to provide a _before/after_ comparison by describing the current behavior and the new behavior.
26+
27+
## References
28+
29+
Add any other references and links which are relevant for this pull request.

0 commit comments

Comments
 (0)