Skip to content

Commit

Permalink
Merge pull request #30 from jf990/fix-publish
Browse files Browse the repository at this point in the history
trying to figure out publishing
  • Loading branch information
jf990 authored Dec 29, 2022
2 parents 376b0b9 + 32dc923 commit 5edcd45
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "esri-map-view",
"version": "0.5.1",
"version": "0.5.2",
"description": "Display an Esri map view as a web component.",
"main": "./dist/index.cjs.js",
"module": "./dist/index.js",
"es2015": "./dist/esm/index.mjs",
"es2017": "./dist/esm/index.mjs",
"es2015": "./dist/esm/index.js",
"es2017": "./dist/esm/index.js",
"types": "./dist/types/components.d.ts",
"collection": "./dist/collection/collection-manifest.json",
"collection:main": "./dist/collection/index.js",
Expand All @@ -16,7 +16,7 @@
],
"scripts": {
"build": "stencil build --docs",
"publish": "npm publish --access public",
"publish": "npm publish",
"start": "stencil build --dev --watch --serve",
"test": "stencil test --spec --e2e",
"test.watch": "stencil test --spec --e2e --watchAll"
Expand Down
2 changes: 1 addition & 1 deletion src/components/esri-map-view/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

| Property | Attribute | Description | Type | Default |
| -------------- | -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ---------------- |
| `apikey` | `apikey` | Set your API key. See the section on [API keys](https://developers.arcgis.com/documentation/mapping-apis-and-services/security/api-keys/). | `string` | `"YOUR_API_KEY"` |
| `apikey` | `apikey` | Set your API key. Learn more about [API keys](https://developers.arcgis.com/documentation/mapping-apis-and-services/security/api-keys/). | `string` | `"YOUR_API_KEY"` |
| `basemap` | `basemap` | Indicate a basemap id to use for the map. Select one of the basemap style options from the enumeration https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap, or the item ID of a custom basemap style. This property will be ignored by `webmap` if that attribute is provided. If neither `webmap` nor `basemap` are set, then a default basemap is assigned. Options for `basemap` are defined in the [ArcGIS API for JavaScript](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap). | `string` | `"osm-streets"` |
| `layers` | `layers` | Specify 0 or more layers to add on top of the basemap. Each layer is a string that is either a URL to the feature service, or the item ID of the feature service. Multiple layers can be separated with a comma. | `string` | `""` |
| `popupinfo` | `popupinfo` | If `symbol` is set, tapping the image will show a pop-up. This is the `content` for that pop-up. | `string` | `""` |
Expand Down
2 changes: 1 addition & 1 deletion src/components/esri-scene-view/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

| Property | Attribute | Description | Type | Default |
| ---------------- | ----------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | --------------------------- |
| `apikey` | `apikey` | Set your API key. See the section on [API keys](https://developers.arcgis.com/documentation/mapping-apis-and-services/security/api-keys/). | `string` | `"YOUR_API_KEY"` |
| `apikey` | `apikey` | Set your API key. Learn more about [API keys](https://developers.arcgis.com/documentation/mapping-apis-and-services/security/api-keys/). | `string` | `"YOUR_API_KEY"` |
| `basemap` | `basemap` | Indicate a basemap id to use for the map. This property will be overridden by `webscene` if that attribute is provided. If neither `webscene` nor `basemap` are set, then a default basemap is assigned. Options for `basemap` are defined in the [ArcGIS API for JavaScript](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap). | `string` | `"arcgis-imagery-standard"` |
| `cameraPosition` | `camera-position` | Indicate the camera position for the initial scene viewpoint. This is a string of five comma separated numbers as follows: x,y,z,heading,tilt. If you set this it will override `viewpoint` settings. | `string` | `""` |
| `layers` | `layers` | Specify 0 or more layers to add on top of the basemap. Each layer is a string that is either a URL to the feature service, or the item ID of the feature service. Multiple layers can be separated with a comma. | `string` | `""` |
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './components';
export { EsriMapView } from './components/esri-map-view/esri-map-view';
export { EsriSceneView } from './components/esri-scene-view/esri-scene-view';
4 changes: 2 additions & 2 deletions stencil.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { Config } from '@stencil/core';

export const config: Config = {
namespace: 'esri-map-view',
srcDir: './src',
outputTargets: [
{
type: 'dist',
esmLoaderPath: '../loader'
type: 'dist'
},
{
type: 'docs-readme'
Expand Down

0 comments on commit 5edcd45

Please sign in to comment.