Skip to content

Commit e79df26

Browse files
committed
Initial contribution
1 parent b94aef3 commit e79df26

File tree

89 files changed

+21818
-2
lines changed

Some content is hidden

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

89 files changed

+21818
-2
lines changed

.dcignore

+1,547
Large diffs are not rendered by default.

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

.eslintrc

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"plugins": [
5+
"@typescript-eslint"
6+
],
7+
"extends": [
8+
"eslint:recommended",
9+
"plugin:@typescript-eslint/eslint-recommended",
10+
"plugin:@typescript-eslint/recommended"
11+
],
12+
"rules": {
13+
"@typescript-eslint/no-explicit-any": "off",
14+
"@typescript-eslint/explicit-module-boundary-types": "off",
15+
"@typescript-eslint/no-unused-vars": "off",
16+
"@typescript-eslint/no-empty-function": "off"
17+
}
18+
}

.github/ISSUE_TEMPLATE/bug_report.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Bug report
3+
about: Create a bug report to help us improve.
4+
title: "[BUG]"
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**Where**
14+
Indicate the location of the bug (e.g., which component of the ESMF SDK JS schematics, which API call, which command
15+
etc.).
16+
17+
**Screenshots**
18+
If applicable, add screenshots to help explain your problem.
19+
20+
**Additional context**
21+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Task
3+
about: Suggest a task for this project. This can be any type of work item like for example a feature request.
4+
title: '[Task]'
5+
labels: task
6+
assignees: ''
7+
8+
---
9+
10+
**Is your task related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Examples are "I am always frustrated when [...]", or "I think it is cumbersome to [...]", "There seems to be a better way to [...]"
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you have considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.
+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Check New Pull Request
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ '**' ]
8+
9+
jobs:
10+
build:
11+
name: Check if passes all requirements
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout project
16+
uses: actions/checkout@v3
17+
18+
- name: Cache node modules
19+
uses: actions/cache@v3
20+
env:
21+
cache-name: cache-node-modules
22+
with:
23+
path: ~/.npm
24+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
25+
restore-keys: |
26+
${{ runner.os }}-build-${{ env.cache-name }}-
27+
${{ runner.os }}-build-
28+
${{ runner.os }}-
29+
30+
- name: Setup NodeJs
31+
uses: actions/setup-node@v3
32+
with:
33+
node-version: '17'
34+
cache: 'npm'
35+
cache-dependency-path: '**/package-lock.json'
36+
37+
- name: Install Dependencies
38+
run: npm install
39+
40+
- name: Test Project
41+
run: npm run test
42+
43+
- name: Test Project
44+
run: npm run lint
45+
46+
- name: Build Project
47+
run: npm run build

.github/workflows/tagged_release.yml

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: "Create Tagged Release"
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
jobs:
9+
gh_tagged_release:
10+
name: Create tagged release
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout project
15+
uses: actions/checkout@v3
16+
17+
- name: Cache node modules
18+
uses: actions/cache@v3
19+
env:
20+
cache-name: cache-node-modules
21+
with:
22+
path: ~/.npm
23+
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
24+
restore-keys: |
25+
${{ runner.os }}-${{ env.cache-name }}-
26+
${{ runner.os }}-
27+
28+
- name: Setup NodeJs
29+
uses: actions/setup-node@v3
30+
with:
31+
node-version: '17'
32+
cache: 'npm'
33+
cache-dependency-path: '**/package-lock.json'
34+
35+
- name: Set tag version
36+
run: echo "tagVersion=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
37+
38+
- name: Install Dependencies
39+
run: npm install
40+
41+
- name: Build Project
42+
run: npm run build
43+
44+
# This should be removed as soon as we go towards nodejs package repository
45+
- name: Pack Project as tgz
46+
run: npm pack
47+
48+
- name: Create GitHub release
49+
if: ${{ (!contains( github.ref, '-rc' )) }}
50+
uses: svenstaro/upload-release-action@latest
51+
with:
52+
overwrite: true
53+
prerelease: false
54+
repo_token: ${{ secrets.GITHUB_TOKEN }}
55+
file: esmf-semantic-ui-schematics-${{ env.tagVersion }}.tgz
56+
tag: ${{ github.ref }}
57+
58+
- name: Create GitHub pre-release
59+
if: ${{ (contains( github.ref, '-rc' )) }}
60+
uses: svenstaro/upload-release-action@latest
61+
with:
62+
overwrite: true
63+
prerelease: true
64+
repo_token: ${{ secrets.GITHUB_TOKEN }}
65+
file: esmf-semantic-ui-schematics-${{ env.tagVersion }}.tgz
66+
tag: ${{ github.ref }}

.gitignore

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Outputs
2+
src/**/*.js
3+
src/**/*.js.map
4+
src/**/*.d.ts
5+
6+
# IDEs
7+
.idea/
8+
jsconfig.json
9+
.vscode/
10+
11+
# Misc
12+
jest-stare/
13+
.yalc/
14+
node_modules/
15+
npm-debug.log*
16+
yarn-error.log*
17+
wizard-config.json
18+
*.ttl
19+
20+
# Mac OSX Finder files.
21+
**/.DS_Store
22+
.DS_Store

.npmignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Ignores TypeScript files, but keeps definitions.
2+
*.ts
3+
!*.d.ts

.prettierrc

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"printWidth": 140,
3+
"singleQuote": true,
4+
"useTabs": false,
5+
"tabWidth": 4,
6+
"semi": true,
7+
"bracketSpacing": false,
8+
"arrowParens": "avoid"
9+
}

AUTHORS.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Authors
2+
3+
The following people have contributed to this repository:
4+
5+
* [Sven Walter](https://github.com/waltersve), Robert Bosch GmbH, [email protected]
6+
* [Michele Santoro](https://github.com/michelu89), Robert Bosch GmbH, [email protected]
7+
* [Andrei Verdes](https://github.com/AndrVerd)
8+
* [Andreea Suditu](https://github.com/andreea-suditu)
9+
* Hagen Wittlich
10+
* Arun Kumar Rajapal
11+
* Wolfgang Klenk
12+
13+
Please add yourself to this list, if you contribute to the content.

0 commit comments

Comments
 (0)