-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0ac9748
commit 65f6bfe
Showing
12 changed files
with
615 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"extends": "eslint-config-ct-prodeng", | ||
"plugins": [ | ||
"vue" | ||
] | ||
"extends": "eslint-config-ct-prodeng", | ||
"plugins": [ | ||
"vue" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ | |
/.vscode/settings.json | ||
/.externalToolBuilders/ | ||
/package-lock.json | ||
/gulpfile.overrides.js |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
✅ Tested for map.apps 4.15.1 / Linie 4 | ||
✅ Tested for map.apps 4.16.0 / Linie 4 | ||
|
||
#### Release Notes | ||
- autogenerated SNAPSHOT-Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Copyright (C) con terra GmbH | ||
*/ | ||
/* | ||
Rename this file to `gulpfile.overrides.js`, then you are able to modify the listed build flags. | ||
Do not commit this file, it is intended to be a local developer file. | ||
*/ | ||
module.exports = { | ||
// debug mode of ct-mapapps-gulp-js | ||
debug: true, | ||
|
||
// enable linting during watch | ||
lintOnWatch: true, | ||
|
||
// use https not http (uses self signed certificate ) | ||
https: false, | ||
|
||
// should the browser reload the open windows if files change | ||
autoReload: true, | ||
|
||
// disable initial build before starting the dev server | ||
previewNoInitialBuild: false, | ||
|
||
// defines how much workers are maximal allowed to use (3 is enough) | ||
rollupBuildMaxWorkers: 1, | ||
|
||
// on which port should the dev server be opened | ||
port: 9090, | ||
|
||
// should the browser be opened pointing to the dev server? | ||
openBrowser: true, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* | ||
Checks licenses of node dependencies against a list of allowed licenses. | ||
Fails with exit code != 0 and an error message if a disallowed license is encountered. | ||
The script should be executed from the project root directory after dependencies have been installed: | ||
$ tsx ./src/support/js/check-licenses.ts | ||
To run checks yourself (e.g. to update the allow list or to get details), install | ||
license-checker yourself and run it from the project root directory: | ||
$ npm install -g license-checker | ||
$ license-checker --summary # outputs list of used licenses | ||
$ license-checker --json # outputs details | ||
See also https://www.npmjs.com/package/license-checker | ||
*/ | ||
|
||
import { init as initChecker } from "license-checker"; | ||
import { cwd, exit} from "node:process"; | ||
|
||
// Licenses known to be OK. | ||
const ACCEPTED_LICENSES = [ | ||
"MIT", | ||
"ISC", | ||
"Apache-2.0", | ||
"Apache 2.0", | ||
"BSD-2-Clause", | ||
"BSD-3-Clause", | ||
"BSD", | ||
"CC0-1.0", | ||
"CC-BY-3.0", | ||
"CC-BY-4.0", | ||
"Python-2.0", | ||
"Unlicense" // Note: not unlicenseD (https://opensource.org/licenses/unlicense) | ||
]; | ||
|
||
// Packages with licenses that are not recognized properly by license-checker. | ||
// These must be checked manually. | ||
const SKIP_PACKAGES = [ | ||
"[email protected]", // MIT License not recognized | ||
"[email protected]" // BSD-1-Clause License in source code | ||
]; | ||
|
||
initChecker( | ||
{ | ||
start: cwd(), | ||
onlyAllow: ACCEPTED_LICENSES.join(";"), | ||
excludePackages: SKIP_PACKAGES.join(";") | ||
}, | ||
(error, packages) => { | ||
void packages; // currently unused | ||
|
||
if (error) { | ||
console.error("Error: ", error); | ||
exit(1); | ||
} | ||
exit(0); | ||
} | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -129,4 +129,4 @@ | |
.dj_ie .start.notheme .dijitInputInner, | ||
.dj_gecko .start.notheme .dijitInputInner{ | ||
height: 22px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters