Skip to content
This repository was archived by the owner on Nov 21, 2023. It is now read-only.

Commit bc4c515

Browse files
committed
Initial commit
1 parent ef7cc3a commit bc4c515

File tree

80 files changed

+3197
-52
lines changed

Some content is hidden

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

80 files changed

+3197
-52
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Editor configuration, see https://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+
[*.ts]
12+
quote_type = single
13+
14+
[*.md]
15+
max_line_length = off
16+
trim_trailing_whitespace = false

.eslintrc.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/* SPDX-License-Identifier: MIT */
2+
/* Copyright (c) 2021 Daimler TSS GmbH */
3+
{
4+
"root": true,
5+
"ignorePatterns": [
6+
"projects/**/*"
7+
],
8+
"overrides": [
9+
{
10+
"files": [
11+
"*.ts"
12+
],
13+
"parserOptions": {
14+
"project": [
15+
"tsconfig.json",
16+
"e2e/tsconfig.json"
17+
],
18+
"createDefaultProgram": true
19+
},
20+
"extends": [
21+
"plugin:@angular-eslint/ng-cli-compat",
22+
"plugin:@angular-eslint/ng-cli-compat--formatting-add-on",
23+
"plugin:@angular-eslint/template/process-inline-templates"
24+
],
25+
"rules": {}
26+
},
27+
{
28+
"files": [
29+
"*.html"
30+
],
31+
"extends": [
32+
"plugin:@angular-eslint/template/recommended"
33+
],
34+
"rules": {}
35+
}
36+
]
37+
}

.github/ISSUE_TEMPLATE/standard-issue-template.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/template-for-daimler-tss-gmbh-employees.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/blackduck.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright (c) 2021 Daimler TSS GmbH
3+
4+
name: black duck scan
5+
6+
on:
7+
schedule:
8+
- cron: '30 7 * * 1'
9+
10+
jobs:
11+
blackduck-scan:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-node@v1
16+
with:
17+
node-version: 12
18+
registry-url: https://npm.pkg.github.com/
19+
scope: '@daimler'
20+
- run: npm install
21+
- run: npm run lib-test
22+
- run: npm run app-test
23+
- name: blackduck scan
24+
uses: blackducksoftware/[email protected]
25+
with:
26+
args: '--blackduck.url=${{secrets.BLACKDUCK_URL}} --blackduck.api.token="${{secrets.BLACKDUCK_API_TOKEN}}" --detect.project.name="MECal-MultiEventCalendar"'
27+
env:
28+
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/ci.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright (c) 2021 Daimler TSS GmbH
3+
4+
name: ci
5+
6+
on:
7+
push:
8+
branches:
9+
- main
10+
- feature/*
11+
- fix/*
12+
paths-ignore:
13+
- '**.md'
14+
pull_request:
15+
branches:
16+
- main
17+
- feature/*
18+
- fix/*
19+
- release/*
20+
paths-ignore:
21+
- '**.md'
22+
23+
jobs:
24+
ci:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v2
28+
- uses: actions/setup-node@v1
29+
with:
30+
node-version: 12
31+
registry-url: https://npm.pkg.github.com/
32+
scope: '@daimler'
33+
- run: npm install
34+
- run: npm run lib-test
35+
- run: npm run app-test
36+
- run: npm run lib-package
37+
env:
38+
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
39+

.github/workflows/release.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# SPDX-License-Identifier: MIT
2+
# Copyright (c) 2021 Daimler TSS GmbH
3+
4+
name: release
5+
6+
on:
7+
push:
8+
tags:
9+
- 'v*.*.*'
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: actions/setup-node@v1
17+
with:
18+
node-version: 12
19+
registry-url: https://npm.pkg.github.com/
20+
scope: '@daimler'
21+
- run: npm install
22+
- run: npm run lib-publish
23+
env:
24+
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
25+

.gitignore

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
# Only exists if Bazel was run
8+
/bazel-out
9+
10+
# dependencies
11+
/node_modules
12+
13+
# profiling files
14+
chrome-profiler-events*.json
15+
speed-measure-plugin*.json
16+
17+
# IDEs and editors
18+
/.idea
19+
.project
20+
.classpath
21+
.c9/
22+
*.launch
23+
.settings/
24+
*.sublime-workspace
25+
26+
# IDE - VSCode
27+
.vscode/*
28+
!.vscode/settings.json
29+
!.vscode/tasks.json
30+
!.vscode/launch.json
31+
!.vscode/extensions.json
32+
.history/*
33+
34+
# misc
35+
/.sass-cache
36+
/connect.lock
37+
/coverage
38+
/libpeerconnection.log
39+
npm-debug.log
40+
yarn-error.log
41+
testem.log
42+
/typings
43+
44+
# package manager files
45+
package-lock.json
46+
yarn.lock
47+
48+
# System Files
49+
.DS_Store
50+
Thumbs.db

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@daimler:registry=https://npm.pkg.github.com/daimler

CODE_OF_CONDUCT.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
<!-- SPDX-License-Identifier: MIT -->
2+
<!-- Copyright (c) 2021 Daimler TSS GmbH -->
3+
# Daimler Open Source Code of Conduct
4+
5+
## Purpose
6+
7+
The Daimler Free and Open Source Software (FOSS) Code of Conduct defines the proper behavior and the responsibilities for contributing and participating in FOSS communities to facilitate an open and welcoming culture that encourages active participation, learning, and constructive FOSS community interaction.
8+
9+
The Daimler FOSS Code of Conduct is created based on the [Daimler Integrity Code](https://www.daimler.com/documents/sustainability/integrity/daimler-integritycode.pdf) and extends and details the Daimler Integrity Code with regard to the proper behavior for contribution and participation in FOSS communities. The Daimler FOSS Code of Conduct does not restrict the Daimler Integrity Code in any way.
10+
11+
The Daimler FOSS Code of Conduct applies to all FOSS community interactions with Daimler, of Daimler, within Daimler and within the public, whenever an individual is part of or representing a FOSS community.
12+
13+
## Behavior
14+
15+
Participants are committed to contribute and participate in FOSS communities in a harassment-free culture and environment for everyone regardless of gender, sexual identity and orientation, religion, disability, illness, ethnicity, socioeconomic status, nationality, age, level of experience, and education.
16+
17+
Examples for expected behavior to create a positive culture and environment:
18+
19+
* Being nice, friendly, welcoming, and inclusive
20+
* Acting considerate, modest, and respectful
21+
* Criticize constructively and accept constructive criticism
22+
* Respect different points of view and the experiences of individuals
23+
* Encourage for collaboration
24+
* Being mindful and empathetic towards other individuals
25+
* Focusing on benefits for the community
26+
* Using polite and inclusive language
27+
28+
Examples for unacceptable behavior that will not be tolerated:
29+
30+
* Intimidating other individuals
31+
* Political or personal attacks as well as publishing private information without permission (e. g. an address)
32+
* Trolling
33+
* Using sexualized language
34+
* Insulting, derogatory, harmful or prejudicial verbal or written comments
35+
* Harassment
36+
37+
## Responsibilities
38+
39+
By contributing and participating in Daimler-managed FOSS communities, external individuals and Daimler employees are obliged to comply with the Daimler FOSS Code of Conduct. Contributors are obligated to respect internationally recognized human rights and to promote adherence to them. By contributing and participating in non-Daimler-managed (external) FOSS communities, Daimler employees are obliged to comply with the Daimler FOSS Code of Conduct as well.
40+
41+
Daimler is responsible to define the values and put rules for proper behavior into practice and to take appropriate and corrective actions in any case of unacceptable behavior as per this FOSS Code of Conduct. In case of individuals violating the Daimler FOSS Code of Conduct, Daimler has the authority to reject, edit, or remove the contributions (e. g. comments, source code commits, and discussion entries) in Daimler-managed FOSS communities. In addition, Daimler may, but is not obliged to explain why the behavior of the individual negatively impacted other individuals and give a warning in public or in private. Furthermore Daimler is allowed to ban participants with inappropriate behavior temporarily or permanently.
42+
43+
44+
## Enforcement
45+
46+
To put the values for proper behavior into practice, the Daimler FOSS Code of Conduct has to be enforced. Any Daimler FOSS Code of Conduct irregularity (e. g. through unacceptable behavior) shall be reported to <[email protected]>. After reporting a Daimler FOSS Code of Conduct irregularity, the complaint will be evaluated and appropriate action will be taken if deemed necessary. The confidentiality with regard to the reporter of the Daimler FOSS Code of Conduct irregularity is ensured by Daimler at any time.
47+
48+
If you have concrete indications of major risk violations in connection with the Daimler Group, you can always contact the [Whistleblower System BPO](https://www.daimler.com/company/corporate-governance/compliance/bpo.html) directly.

0 commit comments

Comments
 (0)