Skip to content

Commit

Permalink
Update to map.apps version 4.18.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sholtkamp committed Sep 12, 2024
1 parent a5ca05b commit f61af98
Show file tree
Hide file tree
Showing 18 changed files with 153 additions and 390 deletions.
4 changes: 2 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"Vue.volar",
"vue.volar",
"Esri.arcgis-jsapi-snippets",
"ctjdr.vscode-apprt-bundles"
]
}
}
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
"webRoot": "${workspaceFolder}/src/main"
}
]
}
}
116 changes: 116 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,124 @@
# Changelog

All notable changes to this project will be documented in this file.

## [4.18.2] - 24.07.2024

- Support for map.apps 4.18.2

### Changes in pom.xml

Introduce use of ct-mapapps-js-bom-* dependencies to reduce the list of manual maintained sub dependencies.

- Update `mapapps.version` property to `4.18.2`
- Remove all occurrences of `vuetify.version`
- Remove all occurrences of `ct.jsrt-test.version`
- Replace `<artifactId>ct-mapapps</artifactId>` in `<dependencyManagement>` by `<artifactId>ct-mapapps-js-bom</artifactId>`
- Replace all `<dependencies>` by following snippet

```xml
<dependencies>
<!-- include only if old intern test libs are required -->
<dependency>
<groupId>de.conterra.mapapps</groupId>
<artifactId>ct-mapapps-js-bom-dev-test</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
</dependencies>
```

- Replace profile `include-mapapps-deps` by

```xml
<profile>
<id>include-mapapps-deps</id>
<dependencies>
<dependency>
<groupId>de.conterra.mapapps</groupId>
<artifactId>ct-mapapps-js-bom-dev</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
</dependencies>
</profile>
```

- add `<stripVersion>true</stripVersion>` to `<configuration>` of `<goal>copy-dependencies</goal>`

### Changes in package.json
- Update `@conterra/ct-mapapps-typings` to `4.18.2`
- Update `ct-mapapps-browser-sync` to `0.0.41`

### Changes in tsconfig.json
- add ArcGIS typings: `"include": ["src", "node_modules/arcgis-js-api/index.d.ts"]`

## [4.18.1] - 23.05.2024

- Support for map.apps 4.18.1

### Changes in pom.xml
- Update `mapapps.version` property to `4.18.1`
- Update `ct.jsregistry.version` property to `2.1.1`

### Changes in package.json
- Update `@conterra/ct-mapapps-typings` to `4.18.1`
- Update `"@conterra/reactivity-core": "^0.4.0"`

## [4.18.0] - 17.05.2024
- Support for map.apps 4.18.0
- Added reactivity API jar as a dependency (`de.conterra.js.reactivity`)

### Changes in pom.xml
- Update `mapapps.version` property to `4.18.0`
- Update `vuetify.version` property to `1.5.30`
- Update `ct.jsregistry.version` property to `2.1.0`
- Add the following plugin to the plugins configuration below line 158.
```xml
<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.9.0,)</version>
</requireMavenVersion>
<requireJavaVersion>
<version>[17,)</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
```

### Changes in package.json
- Update `@conterra/ct-mapapps-typings` to `4.18.0`
- Update `ct-mapapps-browser-sync` to `0.0.39`
- Update `ct-mapapps-gulp-js` to `0.10.3`
- Update `typescript` to `5.4.5`
- Add `"@conterra/reactivity-core": "^0.3.0"`
- Replace `"@types/arcgis-js-api": "4.28.0"` with `"arcgis-js-api": "4.29.10"`

### Changes in tsconfig.json
- Change `moduleResolution` from `node` to `bundler`

### Changes in src/test/webapp/index.html
- Change `"@@cors.request.trustedServers@@".split("\s*,\s*")` to `"@@cors.request.trustedServers@@".split(/\s*,\s*/)`

## [4.17.0] - 16.02.2024
- Support for map.apps 4.17.0
- Requires Java 17 or later
- Requires Maven 3.9.0 or later


### Changes in pom.xml
- Update `mapapps.version` property to `4.17.0`
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,16 @@
This project is a starting point for programming custom map.apps bundles and themes. It contains examples for common tasks such as building widgets with Vue.js or creating your own custom themes.
You may use this project as a blueprint for starting your own map.apps project.

Since both Typescript and Javascript can be used to implement bundles, this project contains two bundles with the same functionality, `sample_camera` implemented in Typescript and `sample_camera_js` implemented in Javascript.
Initially only the `sample_camera` bundle is included in the `Demo` sample app.

For detailed documentation on how to use map.apps for Developers to extend map.apps, see the [map.apps Developer's Guide](https://docs.conterra.de/en/mapapps/latest/developersguide/getting-started/).

## Software Requirements

- Java >= 17
- Maven >= 3.9.0

## Quick start

Clone this project and ensure that you have all required dependencies installed correctly (see [Documentation](https://docs.conterra.de/en/mapapps/latest/developersguide/getting-started/set-up-development-environment.html)).
Expand All @@ -23,3 +31,5 @@ $ mvn compile -Denv=dev -Pinclude-mapapps-deps
# run unit tests
$ mvn test -P run-js-tests,include-mapapps-deps
```

For more details refer to the [Developer's Guide](https://docs.conterra.de/en/mapapps/latest/developersguide/getting-started/).
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
✅ Tested for map.apps 4.17.0 / Linie 4
✅ Tested for map.apps 4.18.2 / Linie 4

#### Release Notes
- autogenerated SNAPSHOT-Release
13 changes: 0 additions & 13 deletions apache2-license-header.txt

This file was deleted.

17 changes: 1 addition & 16 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
/*
* Copyright (C) 2023 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
const gulp = require("gulp");
const mapapps = require('ct-mapapps-gulp-js');
const mapappsBrowserSync = require("ct-mapapps-browser-sync");
Expand Down Expand Up @@ -149,7 +134,7 @@ gulp.task("run-tests",
function transportTestUrls() {
// transport test url to run-browser-tests
// eslint-disable-next-line max-len
const testsAt = mapappsBrowserSync.state.url + "/resources/jsregistry/root/@conterra/mapapps-mocha-runner/latest/mocha.html?boot=/js/tests/test-init.js&timeout=5000&test=sample_helloworld/tests/all&reporter=tap";
const testsAt = mapappsBrowserSync.state.url + "/resources/jsregistry/root/@conterra/mapapps-mocha-runner/latest/mocha.html?boot=/js/tests/test-init.js&timeout=5000&test=sample_tests/all&reporter=tap";
runBrowserTests.push(testsAt);
return Promise.resolve();
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@types/mocha": "10.0.4",
"arcgis-js-api": "4.29.10",
"chai": "4.3.10",
"ct-mapapps-browser-sync": "0.0.39",
"ct-mapapps-browser-sync": "0.0.41",
"ct-mapapps-gulp-js": "0.10.3",
"eslint-config-ct-prodeng": "1.4.0",
"license-checker": "25.0.1",
Expand Down
Loading

0 comments on commit f61af98

Please sign in to comment.