Skip to content

Commit 642abaf

Browse files
committed
Initial commit
0 parents  commit 642abaf

226 files changed

Lines changed: 17773 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
src/lib/**/files/**/*
2+
**/src/lib/**/files/**/*
3+
*.d.ts
4+
**/*.d.ts

.eslintrc.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
module.exports = {
2+
ignorePatterns: ['**/files/src/**/*.ts', '*.d.ts', '**/*.d.ts', '**/files/**/*.ts'],
3+
parser: '@typescript-eslint/parser',
4+
parserOptions: {
5+
project: 'tsconfig.json',
6+
sourceType: 'module',
7+
},
8+
plugins: ['@typescript-eslint/eslint-plugin', 'prettier'],
9+
extends: [
10+
'plugin:@typescript-eslint/eslint-recommended',
11+
'plugin:@typescript-eslint/recommended',
12+
'plugin:prettier/recommended',
13+
],
14+
root: true,
15+
env: {
16+
node: true,
17+
jest: true,
18+
},
19+
rules: {
20+
'no-console': 'error',
21+
'@typescript-eslint/explicit-function-return-type': 'error',
22+
'@typescript-eslint/no-explicit-any': 'off',
23+
'@typescript-eslint/no-non-null-assertion': 'off',
24+
'prettier/prettier': 'error',
25+
},
26+
};

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "daily"

.github/stale.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Configuration for probot-stale - https://github.com/probot/stale
2+
3+
# Number of days of inactivity before an Issue or Pull Request becomes stale
4+
daysUntilStale: 30
5+
6+
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
7+
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
8+
daysUntilClose: 7
9+
10+
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
11+
onlyLabels: []
12+
13+
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
14+
exemptLabels:
15+
- dependencies
16+
17+
# Set to true to ignore issues in a project (defaults to false)
18+
exemptProjects: false
19+
20+
# Set to true to ignore issues in a milestone (defaults to false)
21+
exemptMilestones: false
22+
23+
# Set to true to ignore issues with an assignee (defaults to false)
24+
exemptAssignees: false
25+
26+
# Label to use when marking as stale
27+
staleLabel: wontfix
28+
29+
# Comment to post when marking as stale. Set to `false` to disable
30+
markComment: >
31+
This issue has been automatically marked as stale because it has not had
32+
recent activity. It will be closed if no further activity occurs. Thank you
33+
for your contributions.
34+
35+
# Comment to post when removing the stale label.
36+
# unmarkComment: >
37+
# Your comment here.
38+
39+
# Comment to post when closing a stale Issue or Pull Request.
40+
# closeComment: >
41+
# Your comment here.
42+
43+
# Limit the number of actions per hour, from 1-30. Default is 30
44+
limitPerRun: 30
45+
46+
# Limit to only `issues` or `pulls`
47+
# only: issues
48+
49+
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
50+
# pulls:
51+
# daysUntilStale: 30
52+
# markComment: >
53+
# This pull request has been automatically marked as stale because it has not had
54+
# recent activity. It will be closed if no further activity occurs. Thank you
55+
# for your contributions.
56+
57+
# issues:
58+
# exemptLabels:
59+
# - confirmed

.github/workflows/ci-pr.yml

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
on:
2+
push:
3+
paths-ignore:
4+
- 'documentation/**'
5+
branches: [develop]
6+
7+
name: Build
8+
9+
jobs:
10+
# JOB to run change detection
11+
changes:
12+
runs-on: ubuntu-latest
13+
# Set job outputs to values from filter step
14+
outputs:
15+
common: ${{ steps.filter.outputs.common }}
16+
config: ${{ steps.filter.outputs.config }}
17+
mailer: ${{ steps.filter.outputs.mailer }}
18+
schematics: ${{ steps.filter.outputs.schematics }}
19+
steps:
20+
- uses: dorny/paths-filter@v2
21+
id: filter
22+
with:
23+
filters: |
24+
common:
25+
- 'packages/common/**'
26+
config:
27+
- 'packages/config/**'
28+
mailer:
29+
- 'packages/mailer/**'
30+
schematics:
31+
- 'packages/schematics/**'
32+
33+
# JOB to build common code
34+
common:
35+
needs: changes
36+
if: ${{ needs.changes.outputs.common == 'true' }}
37+
runs-on: ubuntu-latest
38+
steps:
39+
- name: Checkout code
40+
uses: actions/checkout@v2
41+
- name: build
42+
run: |
43+
cd packages/common
44+
yarn install
45+
yarn run build
46+
47+
# JOB to build config code
48+
config:
49+
needs: changes
50+
if: ${{ needs.changes.outputs.config == 'true' }}
51+
runs-on: ubuntu-latest
52+
steps:
53+
- name: Checkout code
54+
uses: actions/checkout@v2
55+
- name: build
56+
run: |
57+
cd packages/config
58+
yarn install
59+
yarn run build
60+
61+
# JOB to build mailer code
62+
mailer:
63+
needs: changes
64+
if: ${{ needs.changes.outputs.mailer == 'true' }}
65+
runs-on: ubuntu-latest
66+
steps:
67+
- name: Checkout code
68+
uses: actions/checkout@v2
69+
- name: build
70+
run: |
71+
cd packages/mailer
72+
yarn install
73+
yarn run build
74+
75+
# JOB to build schematics code
76+
schematics:
77+
needs: changes
78+
if: ${{ needs.changes.outputs.schematics == 'true' }}
79+
runs-on: ubuntu-latest
80+
steps:
81+
- name: Checkout code
82+
uses: actions/checkout@v2
83+
- name: build
84+
run: |
85+
cd packages/schematics
86+
yarn install
87+
yarn run build

.github/workflows/ci-root.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ develop ]
6+
pull_request:
7+
branches: [ develop ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Install dependencies with YARN
17+
run: yarn install
18+
19+
- name: Build the app
20+
run: yarn run build

.github/workflows/ci.yml

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
on:
2+
push:
3+
paths-ignore:
4+
- 'documentation/**'
5+
branches: [develop]
6+
7+
name: Build
8+
9+
jobs:
10+
# JOB to run change detection
11+
changes:
12+
runs-on: ubuntu-latest
13+
# Set job outputs to values from filter step
14+
outputs:
15+
common: ${{ steps.filter.outputs.common }}
16+
config: ${{ steps.filter.outputs.config }}
17+
mailer: ${{ steps.filter.outputs.mailer }}
18+
schematics: ${{ steps.filter.outputs.schematics }}
19+
steps:
20+
- uses: actions/checkout@v2
21+
- uses: dorny/paths-filter@v2
22+
id: filter
23+
with:
24+
filters: |
25+
common:
26+
- 'packages/common/**'
27+
config:
28+
- 'packages/config/**'
29+
mailer:
30+
- 'packages/mailer/**'
31+
schematics:
32+
- 'packages/schematics/**'
33+
34+
# JOB to build common code
35+
common:
36+
needs: changes
37+
if: ${{ needs.changes.outputs.common == 'true' }}
38+
runs-on: ubuntu-latest
39+
steps:
40+
- name: Checkout code
41+
uses: actions/checkout@v2
42+
- name: build
43+
run: |
44+
cd packages/common
45+
yarn install
46+
yarn run build
47+
48+
# JOB to build config code
49+
config:
50+
needs: changes
51+
if: ${{ needs.changes.outputs.config == 'true' }}
52+
runs-on: ubuntu-latest
53+
steps:
54+
- name: Checkout code
55+
uses: actions/checkout@v2
56+
- name: build
57+
run: |
58+
cd packages/config
59+
yarn install
60+
yarn run build
61+
62+
# JOB to build mailer code
63+
mailer:
64+
needs: changes
65+
if: ${{ needs.changes.outputs.mailer == 'true' }}
66+
runs-on: ubuntu-latest
67+
steps:
68+
- name: Checkout code
69+
uses: actions/checkout@v2
70+
- name: build
71+
run: |
72+
cd packages/mailer
73+
yarn install
74+
yarn run build
75+
76+
# JOB to build schematics code
77+
schematics:
78+
needs: changes
79+
if: ${{ needs.changes.outputs.schematics == 'true' }}
80+
runs-on: ubuntu-latest
81+
steps:
82+
- name: Checkout code
83+
uses: actions/checkout@v2
84+
- name: build
85+
run: |
86+
cd packages/schematics
87+
yarn install
88+
yarn run build
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Auto merge dependabot PRs
2+
3+
on:
4+
pull_request_target:
5+
6+
jobs:
7+
auto-merge:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: ahmadnassri/action-dependabot-auto-merge@v2
12+
with:
13+
target: minor
14+
github-token: ${{ secrets.GHA_TOKEN }}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: spellcheck
2+
on:
3+
push:
4+
paths:
5+
- '**.asciidoc'
6+
- '**.adoc'
7+
- '**.md'
8+
workflow_dispatch:
9+
jobs:
10+
spellchecker:
11+
uses: devonfw/.github/.github/workflows/devonfw-spellchecker.yml@master
12+
secrets:
13+
RESUSABLE_GH_ACTION_TOKEN: ${{ secrets.GHA_TOKEN }}

0 commit comments

Comments
 (0)