diff --git a/.eslintrc.js b/.eslintrc.js index 3d5ca672..74f2d1f4 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,7 +1,8 @@ module.exports = { root: true, env: { - node: true + node: true, + es2022: true }, extends: [ 'plugin:vue/essential', @@ -14,8 +15,8 @@ module.exports = { ecmaVersion: 2020 }, rules: { - 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', - 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', + 'no-console': import.meta.env.NODE_ENV === 'production' ? 'warn' : 'off', + 'no-debugger': import.meta.env.NODE_ENV === 'production' ? 'warn' : 'off', 'prettier/prettier': ['error', { endOfLine: 'auto' }], 'sort-imports': ['error', {"ignoreCase": true, "ignoreDeclarationSort": true }], '@typescript-eslint/no-var-requires': 'off' diff --git a/README.md b/README.md index c4f1b660..15dd5e05 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# RAMP Storylines Editor (formerly StoryRAMP) +# RAMP Storylines Editor RAMP Storylines Editor is an implementation of [RAMP4](https://github.com/ramp4-pcar4/ramp4-pcar4) (the mapping framework), [RAMP4 Config Editor](https://github.com/ramp4-pcar4/config-editor) (used to create map configurations), [Highcharts Editor](https://www.highcharts.com/blog/products/highcharts-editor/) (used to create interactive charts and graphs), and [Storylines](https://github.com/ramp4-pcar4/story-ramp) (used to host and display the created product). @@ -23,7 +23,7 @@ npm install ### Compiles and hot-reloads for development ``` -npm run serve +npm run dev ``` ### Compiles and minifies for production diff --git a/babel.config.js b/babel.config.js deleted file mode 100644 index 162a3ea9..00000000 --- a/babel.config.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - presets: ["@vue/cli-plugin-babel/preset"], -}; diff --git a/public/favicon.ico b/favicon.ico similarity index 100% rename from public/favicon.ico rename to favicon.ico diff --git a/public/favicon.svg b/favicon.svg similarity index 100% rename from public/favicon.svg rename to favicon.svg diff --git a/public/help/en.md b/help/en.md similarity index 100% rename from public/help/en.md rename to help/en.md diff --git a/public/help/fr.md b/help/fr.md similarity index 100% rename from public/help/fr.md rename to help/fr.md diff --git a/public/help/images/datatable/applyFilters.png b/help/images/datatable/applyFilters.png similarity index 100% rename from public/help/images/datatable/applyFilters.png rename to help/images/datatable/applyFilters.png diff --git a/public/help/images/datatable/clearFilters.png b/help/images/datatable/clearFilters.png similarity index 100% rename from public/help/images/datatable/clearFilters.png rename to help/images/datatable/clearFilters.png diff --git a/public/help/images/datatable/close.png b/help/images/datatable/close.png similarity index 100% rename from public/help/images/datatable/close.png rename to help/images/datatable/close.png diff --git a/public/help/images/datatable/collapse.png b/help/images/datatable/collapse.png similarity index 100% rename from public/help/images/datatable/collapse.png rename to help/images/datatable/collapse.png diff --git a/public/help/images/datatable/expand.png b/help/images/datatable/expand.png similarity index 100% rename from public/help/images/datatable/expand.png rename to help/images/datatable/expand.png diff --git a/public/help/images/datatable/extentFilter.png b/help/images/datatable/extentFilter.png similarity index 100% rename from public/help/images/datatable/extentFilter.png rename to help/images/datatable/extentFilter.png diff --git a/public/help/images/datatable/minimize.png b/help/images/datatable/minimize.png similarity index 100% rename from public/help/images/datatable/minimize.png rename to help/images/datatable/minimize.png diff --git a/public/help/images/datatable/showFilters.png b/help/images/datatable/showFilters.png similarity index 100% rename from public/help/images/datatable/showFilters.png rename to help/images/datatable/showFilters.png diff --git a/public/help/images/datatable/toggleCols.png b/help/images/datatable/toggleCols.png similarity index 100% rename from public/help/images/datatable/toggleCols.png rename to help/images/datatable/toggleCols.png diff --git a/public/help/images/layer/addLayer.png b/help/images/layer/addLayer.png similarity index 100% rename from public/help/images/layer/addLayer.png rename to help/images/layer/addLayer.png diff --git a/public/help/images/layer/datatable.png b/help/images/layer/datatable.png similarity index 100% rename from public/help/images/layer/datatable.png rename to help/images/layer/datatable.png diff --git a/public/help/images/layer/legend.png b/help/images/layer/legend.png similarity index 100% rename from public/help/images/layer/legend.png rename to help/images/layer/legend.png diff --git a/public/help/images/layer/metadata.png b/help/images/layer/metadata.png similarity index 100% rename from public/help/images/layer/metadata.png rename to help/images/layer/metadata.png diff --git a/public/help/images/layer/reload.png b/help/images/layer/reload.png similarity index 100% rename from public/help/images/layer/reload.png rename to help/images/layer/reload.png diff --git a/public/help/images/layer/remove.png b/help/images/layer/remove.png similarity index 100% rename from public/help/images/layer/remove.png rename to help/images/layer/remove.png diff --git a/public/help/images/layer/reorderLayers.png b/help/images/layer/reorderLayers.png similarity index 100% rename from public/help/images/layer/reorderLayers.png rename to help/images/layer/reorderLayers.png diff --git a/public/help/images/layer/settings.png b/help/images/layer/settings.png similarity index 100% rename from public/help/images/layer/settings.png rename to help/images/layer/settings.png diff --git a/public/help/images/layer/toggleGroups.png b/help/images/layer/toggleGroups.png similarity index 100% rename from public/help/images/layer/toggleGroups.png rename to help/images/layer/toggleGroups.png diff --git a/public/help/images/layer/toggleVisibility.png b/help/images/layer/toggleVisibility.png similarity index 100% rename from public/help/images/layer/toggleVisibility.png rename to help/images/layer/toggleVisibility.png diff --git a/public/help/images/layer/zoomBoundary.png b/help/images/layer/zoomBoundary.png similarity index 100% rename from public/help/images/layer/zoomBoundary.png rename to help/images/layer/zoomBoundary.png diff --git a/public/help/images/navigation/basemaps.png b/help/images/navigation/basemaps.png similarity index 100% rename from public/help/images/navigation/basemaps.png rename to help/images/navigation/basemaps.png diff --git a/public/help/images/navigation/fullscreen.png b/help/images/navigation/fullscreen.png similarity index 100% rename from public/help/images/navigation/fullscreen.png rename to help/images/navigation/fullscreen.png diff --git a/public/help/images/navigation/geolocate.png b/help/images/navigation/geolocate.png similarity index 100% rename from public/help/images/navigation/geolocate.png rename to help/images/navigation/geolocate.png diff --git a/public/help/images/navigation/help.png b/help/images/navigation/help.png similarity index 100% rename from public/help/images/navigation/help.png rename to help/images/navigation/help.png diff --git a/public/help/images/navigation/home.png b/help/images/navigation/home.png similarity index 100% rename from public/help/images/navigation/home.png rename to help/images/navigation/home.png diff --git a/public/help/images/navigation/zoomin.png b/help/images/navigation/zoomin.png similarity index 100% rename from public/help/images/navigation/zoomin.png rename to help/images/navigation/zoomin.png diff --git a/public/help/images/navigation/zoomout.png b/help/images/navigation/zoomout.png similarity index 100% rename from public/help/images/navigation/zoomout.png rename to help/images/navigation/zoomout.png diff --git a/public/help/images/overview/toggle.png b/help/images/overview/toggle.png similarity index 100% rename from public/help/images/overview/toggle.png rename to help/images/overview/toggle.png diff --git a/public/index-ca-en.html b/index-ca-en.html similarity index 100% rename from public/index-ca-en.html rename to index-ca-en.html diff --git a/public/index-ca-fr.html b/index-ca-fr.html similarity index 100% rename from public/index-ca-fr.html rename to index-ca-fr.html diff --git a/public/index.html b/index.html similarity index 95% rename from public/index.html rename to index.html index 37f60a7a..0abda623 100644 --- a/public/index.html +++ b/index.html @@ -18,6 +18,7 @@
+