Skip to content

Commit

Permalink
Merge pull request #1 from aditosoftware/migrate-gitlab-github
Browse files Browse the repository at this point in the history
chore: migrated from gitlab to github
  • Loading branch information
rH4rtinger authored Sep 16, 2024
2 parents 7e8418a + a724d77 commit 09c259e
Show file tree
Hide file tree
Showing 16 changed files with 481 additions and 446 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Assign the designer team the whole repository
* @aditosoftware/devs-designer
71 changes: 71 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-reports.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: Bug Report
description: File a bug report.
title: "[Bug]: "
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
⚠️ Do not share security issues here, instead use the **Report a vulnerability** in the security tab.
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Describe exactly what happened to have this bug appear.
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected Behavior
description: Describe what you expect to happen.
validations:
required: true
- type: textarea
id: reproduction-steps
attributes:
label: Steps to reproduce
description: |
Describe the steps to reproduce this bug.
This will be automatically formatted into code, so no need for backticks.
placeholder: |
1.
2.
3.
render: shell
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
validations:
required: true
- type: input
id: os
attributes:
label: Operating System
description: What OS are you using?
placeholder: Windows 10, macOS 14.6.1, ubuntu 24, ...
validations:
required: true
- type: input
id: logging-version
attributes:
label: Logging version
description: What version of vscode-logging are you using?
placeholder: 1.0.2
validations:
required: true
- type: input
id: vscode-version
attributes:
label: VSCode version
description: What version of VSCode are you using?
placeholder: 1.93.0
validations:
required: true
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Feature Request
description: Request a new feature.
title: "[Feature]: "
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to request a new feature!
- type: textarea
id: description
attributes:
label: Description
description: Describe the feature here.
validations:
required: true
- type: textarea
id: implementation-ideas
attributes:
label: Implementation ideas
description: If you have any implementation ideas, you can share them here.
11 changes: 11 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

# Please check before merging

- [ ] Is the content of the `README.md` file still up-to-date?
- [ ] Have you added an entry to the `CHANGELOG.md`?
- [ ] Is the pull request title written in the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) format?
- [ ] VSCode: Did you follow the [UX Guidelines](https://code.visualstudio.com/api/ux-guidelines/overview)?

# Description

Please describe your pull request.
21 changes: 21 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: ESLint

on:
pull_request:

jobs:
eslint:
name: Run eslint scanning
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install dependencies
run: npm ci

- name: Run ESLint
run: npm run lint
31 changes: 31 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build Project

on:
pull_request:

jobs:
build:
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
os: [macos-13, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Check Node.js version
run: node -v

- name: Check npm versions
run: npm -v

- name: Run clean install
run: npm ci

- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'
33 changes: 33 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

name: Node.js Package

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run compile
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
12 changes: 0 additions & 12 deletions .gitlab/merge_request_templates/Default.md

This file was deleted.

1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

1 change: 1 addition & 0 deletions .vscode-test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export default defineConfig({
files: "out/test/**/*.test.js",
version: "insiders",
mocha: {
retries: 3,
parallel: false,
},
});
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["esbenp.prettier-vscode"]
}
13 changes: 9 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@
},
"peacock.color": "#dd0531",
"typescript.tsserver.experimental.enableProjectDiagnostics": true,
"sonarlint.connectedMode.project": {
"connectionId": "SonarQube",
"projectKey": "plattform-designer-vscode-logging"
}
"editor.formatOnSave": true,
"files.autoSave": "afterDelay",
"editor.formatOnPaste": true,
"editor.formatOnType": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.tabSize": 2
}
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,17 @@ All notable changes to the "liquibase" extension will be documented in this file

The format is based on [Keep a Changelog](http://keepachangelog.com/) and and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## 1.0.3

### Changed

- Upgraded dependencies:
- winston to 3.14.2
- winston-transport to 4.7.1
- @types/mocha to 10.0.8
- @vscode/test-cli to 0.0.10
- @vscode/test-electron to 2.4.1
- sinon to 19.0.2

## 1.0.2

Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ Uncaught exceptions and uncaught rejects are logged as well.

## Installation

This module is published at [GitLab](https://gitlab.adito.de/plattform/designer/vscode-logging/-/packages) and [Nexus](https://nexus.adito.cloud/#browse/browse:xrm). Please check the corresponding sites on how to add the npm repository to your project.

After you have added the repository to your project, you can install it normally.
You can install this dependency normally.

```shell
npm i @aditosoftware/vscode-logging
npm install @aditosoftware/vscode-logging
```

## Usage
Expand Down
Loading

0 comments on commit 09c259e

Please sign in to comment.