Skip to content

Commit

Permalink
Merge pull request #1463 from Esri/ch/update-readme
Browse files Browse the repository at this point in the history
Updated supported item types
  • Loading branch information
MikeTschudi authored May 31, 2024
2 parents 7cf6797 + 55ae2a3 commit 1793d84
Show file tree
Hide file tree
Showing 9 changed files with 58 additions and 88 deletions.
3 changes: 2 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/" # Location of package manifests
directory: "/"
versioning-strategy: increase
schedule:
interval: "weekly"

32 changes: 32 additions & 0 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Code Coverage

on:
push:
branches: [ develop, master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ develop, master ]

jobs:
steps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "21"

- name: Install Node.js dependencies
run: npm ci --ignore-scripts

- name: Build
run: npm run build

- name: Test in Chrome
run: npm run test:chrome:ci

- uses: codecov/codecov-action@v4
with:
directory: ./coverage
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:

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

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
steps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3

- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: "16.x"
node-version: "21"

- name: Install Node.js dependencies
run: npm ci --ignore-scripts
Expand Down
42 changes: 0 additions & 42 deletions .github/workflows/pre-release-tests.yml

This file was deleted.

38 changes: 15 additions & 23 deletions .github/workflows/pull-request-tests.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,33 @@
name: PR Tests
name: Code Coverage

# Only run on non-draft PRs, and when PRs are synched
on:
push:
branches: [ develop, master ]
pull_request:
types: [opened, reopened, ready_for_review, synchronize]
# Dont run if it's just markdown or doc files
paths-ignore:
- "**.md"
- "docs/**"
- "guides/**"
- "scripts/**"
- "support/**"
jobs:
build:
if: github.event.pull_request.draft == false
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]
node: [21]
# The branches below must be a subset of the branches above
branches: [ develop, master ]

jobs:
steps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
node-version: "21"

- name: Install Dependencies
run: npm install
- name: Install Node.js dependencies
run: npm ci --ignore-scripts

- name: Build
run: npm run build

- name: Test in Chrome
run: npm run test:chrome:ci

- uses: codecov/codecov-action@v4
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
directory: ./coverage
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ The API documentation is published at https://esri.github.io/solution.js/

Currently, the ArcGIS Online item types that can be converted into a template are:

* **App types:** Dashboard, Form, Hub Initiative, Hub Page, Hub Site Application, Insights Model, Notebook, Oriented Imagery Catalog, QuickCapture Project, Site Application, Site Page, StoryMap, Web Experience, Web Mapping Application, Workforce Project
* **App types:** Dashboard, Data Pipeline, Form, Hub Page, Hub Site Application, Insights Model, Notebook, Oriented Imagery Catalog, QuickCapture Project, Site Application, Site Page, StoryMap, Web Experience, Web Mapping Application, Workforce Project

* **Map types:** Web Map, Web Scene

* **Layer types:** Big Data Analytic, Feature Collection, Feature Service, Feed, Map Service, Real Time Analytic
* **Layer types:** Big Data Analytic, Feature Collection, Feature Service, Feed, Geoprocessing Service, Map Service, Real Time Analytic, Vector Tile Service

* **File types:** 360 VR Experience, AppBuilder Extension, AppBuilder Widget Package, Application Configuration, ArcGIS Pro Add In, ArcGIS Pro Configuration, ArcPad Package, Basemap Package, CAD Drawing, CityEngine Web Scene, Code Attachment, Code Sample, Color Set, Compact Tile Package, CSV Collection, CSV, Deep Learning Package, Desktop Add In, Desktop Application Template, Desktop Style, Document Link, Explorer Add In, Explorer Layer, Explorer Map, Feature Collection Template, File Geodatabase, GeoJson, GeoPackage, Geoprocessing Package, Geoprocessing Sample, Globe Document, Image Collection, Image, iWork Keynote, iWork Numbers, iWork Pages, KML Collection, Layer Package, Layer Template, Layer, Layout, Locator Package, Map Document, Map Package, Map Template, Microsoft Excel, Microsoft Powerpoint, Microsoft Word, Mobile Basemap Package, Mobile Map Package, Mobile Scene Package, Native Application, Native Application Installer, Native Application Template, netCDF, Operation View, Operations Dashboard Add In, Operations Dashboard Extension, PDF, Pro Layer Package, Pro Layer, Pro Map Package, Pro Map, Pro Report, Project Package, Project Template, Published Map, Raster function template, Report Template, Rule Package, Scene Document, Scene Package, Service Definition, Shapefile, Statistical Data Collection, Style, Survey123 Add In, Symbol Set, Task File, Tile Package, Toolbox Package, Vector Tile Package, Viewer Configuration, Visio Document, Window Mobile Package, Windows Mobile Package, Windows Viewer Add In, Windows Viewer Configuration, Workflow, Workflow Manager Package
* **File types:** 360 VR Experience, AppBuilder Extension, AppBuilder Widget Package, Application Configuration, ArcGIS Pro Add In, ArcGIS Pro Configuration, ArcPad Package, Basemap Package, CAD Drawing, CityEngine Web Scene, Code Sample, Color Set, Compact Tile Package, CSV Collection, CSV, Deep Learning Package, Desktop Add In, Desktop Application Template, Desktop Style, Document Link, Explorer Add In, Explorer Layer, Explorer Map, Feature Collection Template, File Geodatabase, GeoJson, GeoPackage, Geoprocessing Package, Geoprocessing Sample, Globe Document, Image Collection, Image, iWork Keynote, iWork Numbers, iWork Pages, KML Collection, Layer Package, Layer Template, Layer, Layout, Locator Package, Map Document, Map Package, Map Template, Microsoft Excel, Microsoft Powerpoint, Microsoft Word, Mobile Basemap Package, Mobile Map Package, Mobile Scene Package, Native Application, Native Application Installer, Native Application Template, netCDF, Operation View, Operations Dashboard Add In, Operations Dashboard Extension, PDF, Pro Layer Package, Pro Layer, Pro Map Package, Pro Map, Pro Report, Project Package, Project Template, Published Map, Raster function template, Report Template, Rule Package, Scene Document, Scene Package, Service Definition, Shapefile, Statistical Data Collection, Style, Survey123 Add In, Symbol Set, Task File, Tile Package, Toolbox Package, Vector Tile Package, Viewer Configuration, Visio Document, Window Mobile Package, Windows Mobile Package, Windows Viewer Add In, Windows Viewer Configuration, Workflow, Workflow Manager Package

*The `implemented-types` demo generates its list from the source code.*

Expand Down
3 changes: 2 additions & 1 deletion demos/implementedTypes/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export function implementedTypes(): string {
const appTypes = [
"Application",
"Dashboard",
"Data Pipeline",
"Data Store",
"Desktop Application",
"Excalibur Imagery Project",
Expand All @@ -88,7 +89,6 @@ export function implementedTypes(): string {
"Web Experience Template",
"Web Experience",
"Web Mapping Application",
"Workflow",
"Workforce Project"
];

Expand Down Expand Up @@ -183,6 +183,7 @@ export function implementedTypes(): string {
"Windows Mobile Package",
"Windows Viewer Add In",
"Windows Viewer Configuration",
"Workflow",
"Workflow Manager Package"
];

Expand Down
14 changes: 0 additions & 14 deletions dependabot.yml

This file was deleted.

0 comments on commit 1793d84

Please sign in to comment.