Skip to content

Commit

Permalink
Merge pull request #1 from SAP/master
Browse files Browse the repository at this point in the history
update fork
  • Loading branch information
thuyboehm authored Dec 9, 2020
2 parents b2d8269 + 6d44481 commit 2d883aa
Show file tree
Hide file tree
Showing 330 changed files with 18,025 additions and 6,517 deletions.
143 changes: 76 additions & 67 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,69 +1,78 @@
module.exports = {
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 8
},
"extends": ["eslint:recommended", "google"],
"plugins": [
"jsdoc"
],
"rules": {
"indent": [
"error",
"tab"
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double",
{ "allowTemplateLiterals": true }
],
"semi": [
"error",
"always"
],
"no-negated-condition": "off",
"require-jsdoc": "off",
"no-mixed-requires": "off",
"max-len": ["warn", 120],
"no-implicit-coercion": [
2,
{ "allow": ["!!"] }
],
"comma-dangle": "off",
"no-tabs": "off",
"valid-jsdoc": 0,
"jsdoc/check-examples": 2,
"jsdoc/check-param-names": 2,
"jsdoc/check-tag-names": 2,
"jsdoc/check-types": 2,
"jsdoc/newline-after-description": 2,
"jsdoc/no-undefined-types": 0,
"jsdoc/require-description": 0,
"jsdoc/require-description-complete-sentence": 0,
"jsdoc/require-example": 0,
"jsdoc/require-hyphen-before-param-description": 0,
"jsdoc/require-param": 2,
"jsdoc/require-param-description": 0,
"jsdoc/require-param-name": 2,
"jsdoc/require-param-type": 2,
"jsdoc/require-returns": 0,
"jsdoc/require-returns-description": 0,
"jsdoc/require-returns-type": 2,
"jsdoc/valid-types": 0
},
"settings": {
"jsdoc": {
"tagNamePreference": {
"return": "returns"
}
}
},
"root": true
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 8
},
"extends": ["eslint:recommended", "google"],
"plugins": [
"jsdoc"
],
"rules": {
"indent": [
"error",
"tab"
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double",
{"allowTemplateLiterals": true}
],
"semi": [
"error",
"always"
],
"no-negated-condition": "off",
"require-jsdoc": "off",
"no-mixed-requires": "off",
"max-len": [
"error",
{
"code": 120,
"ignoreUrls": true,
"ignoreRegExpLiterals": true
}
],
"no-implicit-coercion": [
2,
{"allow": ["!!"]}
],
"comma-dangle": "off",
"no-tabs": "off",
"valid-jsdoc": 0,
// jsdoc/check-examples is temporarily set to "warn" as the rule causes issues in our CI
// See: https://github.com/gajus/eslint-plugin-jsdoc/issues/508
"jsdoc/check-examples": 1,
"jsdoc/check-param-names": 2,
"jsdoc/check-tag-names": 2,
"jsdoc/check-types": 2,
"jsdoc/newline-after-description": 2,
"jsdoc/no-undefined-types": 0,
"jsdoc/require-description": 0,
"jsdoc/require-description-complete-sentence": 0,
"jsdoc/require-example": 0,
"jsdoc/require-hyphen-before-param-description": 0,
"jsdoc/require-param": 2,
"jsdoc/require-param-description": 0,
"jsdoc/require-param-name": 2,
"jsdoc/require-param-type": 2,
"jsdoc/require-returns": 0,
"jsdoc/require-returns-description": 0,
"jsdoc/require-returns-type": 2,
"jsdoc/valid-types": 0
},
"settings": {
"jsdoc": {
"tagNamePreference": {
"return": "returns"
}
}
},
"root": true
};
38 changes: 2 additions & 36 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,3 @@
<!--
Hey there 👋 Please have a look at our guidelines on reporting issues:
https://github.com/SAP/ui5-tooling/blob/master/CONTRIBUTING.md#-reporting-issues
-->
## 🚨 Issues Have Been Transferred to UI5 Tooling Repository

## Expected Behavior
{...}

## Current Behavior
{...}

## Steps to reproduce the issue
1. {...}
2. {...}
3. {...}

## Context
- UI5 Module Version *(output of `ui5 --version` when using the CLI)*: `{...}`
- Node.js Version: `{...}`
- npm Version: `{...}`
- OS/Platform: `{...}`
- Browser *(if relevant)*: `{...}`
- Other information: `{...}`

## Affected components *(if known)*
<!-- Check affected components by writing an "X" into the brackets -->
- [X] [ui5-builder](https://github.com/SAP/ui5-builder)
- [ ] [ui5-server](https://github.com/SAP/ui5-server)
- [ ] [ui5-cli](https://github.com/SAP/ui5-cli)
- [ ] [ui5-fs](https://github.com/SAP/ui5-fs)
- [ ] [ui5-project](https://github.com/SAP/ui5-project)
- [ ] [ui5-logger](https://github.com/SAP/ui5-logger)

## Log Output / Stack Trace
```
{...}
```
Please create new issues in the UI5 Tooling repository: https://github.com/SAP/ui5-tooling/issues/new/choose
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Report UI5 Tooling Issues or Request a Feature
url: https://github.com/SAP/ui5-tooling/issues/new/choose
about: Please create new issues in the UI5 Tooling repository
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: sunday
time: "10:00"
timezone: Etc/UCT
reviewers:
- matz3
- RandomByte
versioning-strategy: increase
36 changes: 36 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: "CodeQL"

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

# Execute at least once per week to get new findings without active development taking place
schedule:
- cron: '42 18 * * 6'

jobs:
codeql-analyze:
name: "CodeQL Analyze"
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: 'javascript'
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
31 changes: 31 additions & 0 deletions .github/workflows/github-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: GitHub CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
name: General checks, tests and coverage reporting
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v2

- name: Use Node.js LTS 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x

- name: Install dependencies
run: npm ci

- name: Perform checks and tests
run: npm test

- name: Send report to Coveralls
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
16 changes: 16 additions & 0 deletions .github/workflows/reuse-compliance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: REUSE

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
compliance-check:
name: Compliance Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Execute REUSE Compliance Check
uses: fsfe/reuse-action@v1.1
33 changes: 33 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ui5-builder
Upstream-Contact: SAP OpenUI5 <openui5@sap.com>
Source: https://github.com/SAP/ui5-builder
Disclaimer: The code in this project may include calls to APIs (“API Calls”) of
SAP or third-party products or services developed outside of this project
(“External Products”).
“APIs” means application programming interfaces, as well as their respective
specifications and implementing code that allows software to communicate with
other software.
API Calls to External Products are not licensed under the open source license
that governs this project. The use of such API Calls and related External
Products are subject to applicable additional agreements with the relevant
provider of the External Products. In no event shall the open source license
that governs this project grant any rights in or to any External Products,or
alter, expand or supersede any terms of the applicable additional agreements.
If you have a valid license agreement with SAP for the use of a particular SAP
External Product, then you may make use of any API Calls included in this
project’s code for that SAP External Product, subject to the terms of such
license agreement. If you do not have a valid license agreement for the use of
a particular SAP External Product, then you may only make use of any API Calls
in this project for that SAP External Product for your internal, non-productive
and non-commercial test and evaluation of such API Calls. Nothing herein grants
you any rights to use or access any SAP External Product, or provide any third
parties the right to use of access any SAP External Product, through API Calls.

Files: *
Copyright: 2018-2020 SAP SE or an SAP affiliate company and UI5 Tooling contributors
License: Apache-2.0

Files: lib/processors/jsdoc/lib/*
Copyright: 2009-2020 SAP SE or an SAP affiliate company and OpenUI5 contributors
License: Apache-2.0
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit 2d883aa

Please sign in to comment.