generated from conterra/mapapps-devnet-blueprint
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Marius Austerschulte
committed
Jun 14, 2024
1 parent
c33da5c
commit 9c2ee93
Showing
34 changed files
with
221 additions
and
134 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 |
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,3 @@ | ||
# add path patterns to ignore style files | ||
**/external-libs/** | ||
**/styles/dijit/** |
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,3 @@ | ||
{ | ||
"extends": "stylelint-config-ct-prodeng" | ||
} |
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.13.1 / Linie 4 | ||
✅ Tested for map.apps 4.18.1 / Line 4 | ||
|
||
#### Release Notes | ||
- SNAPSHOT-Release | ||
- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# Copyright (C) 2023 con terra GmbH ([email protected]) | ||
# Copyright (C) 2024 con terra GmbH ([email protected]) | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
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,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2023 con terra GmbH ([email protected]) | ||
* Copyright (C) 2024 con terra GmbH ([email protected]) | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
|
@@ -64,15 +64,13 @@ mapapps.registerTasks({ | |
}, | ||
|
||
/* a list of themes inside this project */ | ||
themes: [/*"sample-theme"*/], | ||
themes: [], | ||
/* state that the custom theme will be dependant from map.apps everlasting theme that provides the base styles */ | ||
hasBaseThemes: true, | ||
/* state that we want to support vuetify components and therefore need the vuetify core styles*/ | ||
hasVuetify: true, | ||
themeChangeTargets: { | ||
"vuetify": [ | ||
// "sample_theme" | ||
] | ||
"vuetify": [] | ||
}, | ||
/* A list oft target browser versions. This should be streamlined with Esri JS API requirements. */ | ||
transpileTargets: { | ||
|
@@ -98,7 +96,12 @@ mapappsBrowserSync.registerTask({ | |
|
||
// to prevent auto open of browser, set this to false | ||
urlToOpen: localOverrides?.openBrowser ?? true, | ||
|
||
properties: { | ||
paths: [ | ||
// Ensure @@key@@ expressions filtered in tests files | ||
/^\/js\/tests\/(runTests.html|test-init.js|init-packs.js)$/ | ||
] | ||
}, | ||
jsreg: { | ||
//npmDir : __dirname + "/node_modules/", | ||
npmModules: [ | ||
|
@@ -126,13 +129,14 @@ gulp.task("build", | |
gulp.task("lint", | ||
gulp.parallel( | ||
"js-lint" | ||
//,"style-lint" | ||
/*, comment in to lint .css/.less files | ||
"style-lint" | ||
*/ | ||
)); | ||
|
||
gulp.task("preview", | ||
gulp.series( | ||
"build", | ||
"lint", | ||
gulp.parallel( | ||
"watch", | ||
"browser-sync" | ||
|
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (C) 2023 con terra GmbH ([email protected]) | ||
Copyright (C) 2024 con terra GmbH ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
@@ -16,7 +16,8 @@ | |
limitations under the License. | ||
--> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>de.conterra.devnet</groupId> | ||
|
@@ -46,11 +47,6 @@ | |
<type>pom</type> | ||
<scope>import</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>de.conterra.mapapps</groupId> | ||
<artifactId>ct-mapapps-js</artifactId> | ||
<version>${mapapps.version}</version> | ||
</dependency> | ||
</dependencies> | ||
</dependencyManagement> | ||
<dependencies> | ||
|
@@ -81,7 +77,6 @@ | |
<version>${ct.jsrt-test.version}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
</dependencies> | ||
<build> | ||
<pluginManagement> | ||
|
@@ -96,6 +91,10 @@ | |
<artifactId>ct-jsregistry-maven-plugin</artifactId> | ||
<version>${ct.jsregistry.version}</version> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-deploy-plugin</artifactId> | ||
<version>2.8.2</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-resources-plugin</artifactId> | ||
|
@@ -143,10 +142,9 @@ | |
<plugin> | ||
<groupId>com.github.eirslett</groupId> | ||
<artifactId>frontend-maven-plugin</artifactId> | ||
<version>1.12.1</version> | ||
<version>1.14.2</version> | ||
<configuration> | ||
<nodeVersion>v18.13.0</nodeVersion> | ||
<npmVersion>8.19.3</npmVersion> | ||
<nodeVersion>v20.9.0</nodeVersion> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
|
@@ -172,11 +170,6 @@ | |
<artifactId>setproperties-maven-plugin</artifactId> | ||
<version>1.0.2</version> | ||
</plugin> | ||
<plugin> | ||
<groupId>de.conterra.jsrt</groupId> | ||
<artifactId>ct-jsrt-test-maven-plugin</artifactId> | ||
<version>${ct.jsrt-test.version}</version> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
<sourceDirectory>src/main/js</sourceDirectory> | ||
|
@@ -202,6 +195,29 @@ | |
</testResource> | ||
</testResources> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-enforcer-plugin</artifactId> | ||
<version>3.4.1</version> | ||
<executions> | ||
<execution> | ||
<id>enforce-versions</id> | ||
<goals> | ||
<goal>enforce</goal> | ||
</goals> | ||
<configuration> | ||
<rules> | ||
<requireMavenVersion> | ||
<version>[3.8.0,)</version> | ||
</requireMavenVersion> | ||
<requireJavaVersion> | ||
<version>[17,)</version> | ||
</requireJavaVersion> | ||
</rules> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>de.conterra.maven</groupId> | ||
<artifactId>setproperties-maven-plugin</artifactId> | ||
|
@@ -214,32 +230,31 @@ | |
</execution> | ||
</executions> | ||
<configuration> | ||
<!-- add here properties which are used in plugin configuration resolution --> | ||
<properties> | ||
<!-- deployment of map.apps installation --> | ||
<mapapps.remote.base>.</mapapps.remote.base> | ||
</properties> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.8.0</version> | ||
<version>3.11.0</version> | ||
<configuration> | ||
<skip>true</skip> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>3.1.0</version> | ||
<version>3.5.0</version> | ||
<configuration> | ||
<skip>true</skip> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-dependency-plugin</artifactId> | ||
<version>3.5.0</version> | ||
<executions> | ||
<execution> | ||
<id>unpack-themes-src</id> | ||
|
@@ -326,7 +341,7 @@ | |
<properties> | ||
<owner>con terra GmbH</owner> | ||
<email>[email protected]</email> | ||
<project.inceptionYear>2023</project.inceptionYear> | ||
<project.inceptionYear>2024</project.inceptionYear> | ||
</properties> | ||
<includes> | ||
<include>src/main/js/**/*.js</include> | ||
|
@@ -342,6 +357,9 @@ | |
<include>**/gulpfile.js</include> | ||
<include>**/pom.xml</include> | ||
</includes> | ||
<excludes> | ||
<exclude>src/main/js/**/*.min.js</exclude> | ||
</excludes> | ||
<mapping> | ||
<vue>XML_STYLE</vue> | ||
</mapping> | ||
|
@@ -394,7 +412,8 @@ | |
<goal>buildPacksProperties</goal> | ||
</goals> | ||
<configuration> | ||
<!-- don't list not shipped bundles in the META-INF\js-registry-packs.properties file --> | ||
<!-- don't list not shipped bundles in the | ||
META-INF\js-registry-packs.properties file --> | ||
<scanPackagesExcludes>apps/**,bundles/sample_tests</scanPackagesExcludes> | ||
</configuration> | ||
</execution> | ||
|
@@ -407,6 +426,13 @@ | |
<plugin> | ||
<groupId>de.conterra.mapapps</groupId> | ||
<artifactId>mapapps-maven-plugin</artifactId> | ||
<configuration> | ||
<!-- only build zip files --> | ||
<skipDeploy>true</skipDeploy> | ||
<createApp>false</createApp> | ||
<sourceDirectory>${js.build.outputPath}/apps</sourceDirectory> | ||
<outputDirectory>${project.build.directory}</outputDirectory> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<!-- used to create .zip files containing the apps during the build --> | ||
|
@@ -434,13 +460,6 @@ | |
</configuration> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<!-- only build zip files --> | ||
<skipDeploy>true</skipDeploy> | ||
<createApp>false</createApp> | ||
<sourceDirectory>${js.build.outputPath}/apps</sourceDirectory> | ||
<outputDirectory>${project.build.directory}</outputDirectory> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
|
@@ -494,11 +513,12 @@ | |
<root.build.outputPath>${project.build.directory}/webapp</root.build.outputPath> | ||
<js.build.outputPath>${root.build.outputPath}/js</js.build.outputPath> | ||
|
||
<mapapps.version>4.15.0</mapapps.version> | ||
<mapapps.version>4.18.1</mapapps.version> | ||
<vuetify.version>1.5.30</vuetify.version> | ||
<!-- JS lib versions --> | ||
<apprt.version>${mapapps.version}</apprt.version> | ||
<!-- java lib versions --> | ||
<ct.jsregistry.version>1.5.9</ct.jsregistry.version> | ||
<ct.jsregistry.version>2.1.1</ct.jsregistry.version> | ||
<ct.jsrt-test.version>2.0.2</ct.jsrt-test.version> | ||
|
||
<!-- the default app, replaced in the *.html files to switch app names--> | ||
|
@@ -561,6 +581,11 @@ | |
<artifactId>ags-js-api4</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.esri</groupId> | ||
<artifactId>terraformer-js</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>moment-js</groupId> | ||
<artifactId>moment-js</artifactId> | ||
|
@@ -571,6 +596,11 @@ | |
<artifactId>apprt-polyfill</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>de.conterra.js</groupId> | ||
<artifactId>reactivity</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
<profile> | ||
|
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 @@ | ||
<!-- | ||
Copyright (C) 2023 con terra GmbH ([email protected]) | ||
Copyright (C) 2024 con terra GmbH ([email protected]) | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
@@ -34,4 +34,4 @@ | |
<outputDirectory>.</outputDirectory> | ||
</fileSet> | ||
</fileSets> | ||
</assembly> | ||
</assembly> |
Oops, something went wrong.