Skip to content

Commit

Permalink
Add bundle code
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasstein committed Sep 13, 2024
0 parents commit 45ffd3b
Show file tree
Hide file tree
Showing 49 changed files with 4,354 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# http://editorconfig.org
# top-most EditorConfig file
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
6 changes: 6 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "eslint-config-ct-prodeng",
"plugins": [
"vue"
]
}
33 changes: 33 additions & 0 deletions .github/workflows/devnet-bundle-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: devnet-bundle-release

on:
workflow_dispatch:
inputs:
releaseVersion:
description: "Release version"
required: true
nextDevVersion:
description: "Next SNAPSHOT version"
required: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: conterra/devnet-bundle-release-action@main
with:
nexus_id: ${{secrets.NEXUS_ID}}
nexus_user: ${{secrets.NEXUS_USER}}
nexus_user_pw: ${{secrets.NEXUS_USER_PW}}
nexus_url: ${{secrets.NEXUS_URL}}
nexus_url_release: ${{secrets.NEXUS_URL_RELEASE}}
nexus_url_snapshots: ${{secrets.NEXUS_URL_SNAPSHOTS}}
release_token: ${{secrets.RELEASE_TOKEN}}
git_mail: ${{secrets.GIT_MAIL}}
git_user: ${{secrets.GIT_USER}}
release_version: ${{ github.event.inputs.releaseVersion }}
next_dev_version: ${{ github.event.inputs.nextDevVersion }}
ms_teams_webhook_uri: ${{secrets.MS_TEAMS_WEBHOOK_URI}}
demo_user: ${{secrets.DEMO_USER}}
demo_user_pw: ${{secrets.DEMO_USER_PW}}
demo_url: ${{secrets.DEMO_URL}}
21 changes: 21 additions & 0 deletions .github/workflows/devnet-bundle-snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: devnet-bundle-snapshot

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: conterra/devnet-bundle-snapshot-action@main
with:
nexus_id: ${{secrets.NEXUS_ID}}
nexus_user: ${{secrets.NEXUS_USER}}
nexus_user_pw: ${{secrets.NEXUS_USER_PW}}
nexus_url: ${{secrets.NEXUS_URL}}
nexus_url_release: ${{secrets.NEXUS_URL_RELEASE}}
nexus_url_snapshots: ${{secrets.NEXUS_URL_SNAPSHOTS}}
release_token: ${{secrets.RELEASE_TOKEN}}
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/.idea
/.vs
**/nbactions.xml
**/*.iml
**/*.lnk
**/target
/build.properties
/node_modules
/node
/nb-configuration.xml
/.classpath
/.project
/.settings/
/.vscode/settings.json
/.externalToolBuilders/
/package-lock.json
/gulpfile.overrides.js
3 changes: 3 additions & 0 deletions .stylelintignore
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/**
3 changes: 3 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "stylelint-config-ct-prodeng"
}
8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"Vue.volar",
"Esri.arcgis-jsapi-snippets",
"ctjdr.vscode-apprt-bundles"
]
}
15 changes: 15 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:9090",
"webRoot": "${workspaceFolder}/src/main"
}
]
}
56 changes: 56 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Initialize",
"detail": "Initialize map.apps for Developers project",
"type": "shell",
"command": "mvn initialize",
"group": "build"
},
{
"label": "Run",
"detail": "Run map.apps for Developers development server",
"type": "shell",
"command": "mvn",
"args": ["clean", "compile", "-Denv=dev", "'-Dlocal.configfile=./build.properties'", "-Pinclude-mapapps-deps"],
"group": "build",
"isBackground": true
},
{
"label": "Run (Remote project mode)",
"detail": "Run map.apps for Developers development server in 'remote project' mode",
"type": "shell",
"command": "mvn",
"args": ["clean", "compile", "-Denv=dev", "'-Dlocal.configfile=./build.properties'"],
"group": "build",
"isBackground": true
},
{
"label": "Compress",
"detail": "Prepare bundles and apps for deployment on a map.apps instance",
"type": "shell",
"command": "mvn",
"args": ["clean", "install", "-Pcompress"],
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Clean",
"type": "shell",
"command": "mvn clean",
"group": "build"
},
{
"label": "Watch types",
"detail": "Start TypeScript compiler in watch mode",
"type": "npm",
"script": "watch-types",
"group": "build",
"problemMatcher": [],
}
]
}
Loading

0 comments on commit 45ffd3b

Please sign in to comment.