From 5f6fab06c08396da9cca788e24d9ef842ee60a20 Mon Sep 17 00:00:00 2001 From: "rothwell.andy@gmail.com" Date: Mon, 18 Nov 2024 10:41:09 -0500 Subject: [PATCH 01/23] first changes for running off vue3-pinboard --- .eslintrc.js | 43 - babel.config.js | 5 - eslint.config.js | 17 + public/index.html => index.html | 19 +- package-lock.json | 24209 +++------------- package.json | 66 +- public/error.html | 19 - public/images/blueMarker.png | Bin 8606 -> 0 bytes public/images/building-columns-solid.png | Bin 0 -> 20458 bytes public/images/cancel_@2X.png | Bin 762 -> 0 bytes public/images/check_@2X.png | Bin 692 -> 0 bytes public/images/city-of-phila-beta.png | Bin 80188 -> 0 bytes .../images/{pictometry.png => eagleview.png} | Bin public/images/focus.png | Bin 326 -> 0 bytes public/images/focus_@2X.png | Bin 462 -> 0 bytes public/images/imagery_small.png | Bin 5052 -> 5450 bytes public/images/layers-2x.png | Bin 1259 -> 0 bytes public/images/layers.png | Bin 696 -> 0 bytes public/images/location-crosshairs-solid.svg | 1 - public/images/marker-icon.png | Bin 1466 -> 0 bytes public/images/marker_blue.png | Bin 0 -> 89596 bytes public/images/marker_blue_base_2.png | Bin 0 -> 105167 bytes public/images/marker_blue_base_3.png | Bin 0 -> 114468 bytes public/images/marker_blue_base_4.png | Bin 0 -> 113078 bytes public/images/marker_blue_base_5.png | Bin 0 -> 111757 bytes public/images/markers.png | Bin 24458 -> 0 bytes public/images/markers2.png | Bin 24456 -> 0 bytes public/images/rulers_@2X.png | Bin 277 -> 0 bytes public/images/start.png | Bin 491 -> 0 bytes public/images/start_@2X.png | Bin 1003 -> 0 bytes public/images/trash_@2X.png | Bin 460 -> 0 bytes public/images/undo.png | Bin 672 -> 0 bytes public/images/undo_@2X.png | Bin 1164 -> 0 bytes src/assets/mac-style.scss | 10 + src/components/ExpandCollapseContent.vue | 1233 +- src/components/customGreeting.vue | 285 +- src/i18n/i18n.js | 6 + src/main.js | 364 +- src/util/is-mac.js | 3 + vite.config.js | 43 + vue.config.js | 32 - 41 files changed, 5799 insertions(+), 20556 deletions(-) delete mode 100644 .eslintrc.js delete mode 100644 babel.config.js create mode 100644 eslint.config.js rename public/index.html => index.html (52%) delete mode 100644 public/error.html delete mode 100644 public/images/blueMarker.png create mode 100644 public/images/building-columns-solid.png delete mode 100644 public/images/cancel_@2X.png delete mode 100644 public/images/check_@2X.png delete mode 100644 public/images/city-of-phila-beta.png rename public/images/{pictometry.png => eagleview.png} (100%) delete mode 100644 public/images/focus.png delete mode 100644 public/images/focus_@2X.png delete mode 100644 public/images/layers-2x.png delete mode 100644 public/images/layers.png delete mode 100644 public/images/location-crosshairs-solid.svg delete mode 100644 public/images/marker-icon.png create mode 100644 public/images/marker_blue.png create mode 100644 public/images/marker_blue_base_2.png create mode 100644 public/images/marker_blue_base_3.png create mode 100644 public/images/marker_blue_base_4.png create mode 100644 public/images/marker_blue_base_5.png delete mode 100644 public/images/markers.png delete mode 100644 public/images/markers2.png delete mode 100644 public/images/rulers_@2X.png delete mode 100644 public/images/start.png delete mode 100644 public/images/start_@2X.png delete mode 100644 public/images/trash_@2X.png delete mode 100644 public/images/undo.png delete mode 100644 public/images/undo_@2X.png create mode 100644 src/assets/mac-style.scss create mode 100644 src/util/is-mac.js create mode 100644 vite.config.js delete mode 100644 vue.config.js diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index 6914a2f..0000000 --- a/.eslintrc.js +++ /dev/null @@ -1,43 +0,0 @@ -module.exports = { - root: true, - env: { - node: true, - }, - "extends": [ - "eslint:recommended", - "plugin:vue/essential", - "plugin:vue/recommended", - ], - rules: { - // Disabled only on development - "no-console": process.env.NODE_ENV === "production" ? "error" : "off", - "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off", - "no-unused-vars": process.env.NODE_ENV === "production" ? "error" : "off", - - // Eslint Rules - "brace-style": "error", - "nonblock-statement-body-position": [ "error", "below" ], - "curly": [ "error", "all" ], - "indent": [ "error", 2 ], - "no-else-return": "error", - "object-curly-spacing": [ "error", "always", { - arraysInObjects: false, - objectsInObjects: false, - }], - "array-bracket-spacing": [ "error", "always", { - objectsInArrays: false, - arraysInArrays: false, - }], - "comma-dangle": [ "error", "always-multiline" ], - "semi": [ "error", "always" ], - - // Vue Rules - "vue/no-v-html": "off", - "vue/order-in-components": "error", - "vue/attributes-order": "error", - "vue/no-use-v-if-with-v-for": "off", - }, - parserOptions: { - parser: "babel-eslint", - }, -}; \ No newline at end of file diff --git a/babel.config.js b/babel.config.js deleted file mode 100644 index 91be244..0000000 --- a/babel.config.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - presets: [ - '@vue/app', - ], -}; diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..5a1d59c --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,17 @@ +import js from '@eslint/js' +import pluginVue from 'eslint-plugin-vue' + +export default [ + { + name: 'app/files-to-lint', + files: ['**/*.{js,mjs,jsx,vue}'], + }, + + { + name: 'app/files-to-ignore', + ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'], + }, + + js.configs.recommended, + ...pluginVue.configs['flat/essential'], +] diff --git a/public/index.html b/index.html similarity index 52% rename from public/index.html rename to index.html index 8d6c8c7..b4a9375 100644 --- a/public/index.html +++ b/index.html @@ -8,23 +8,18 @@ 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-MC6CR2'); - - - - + + + Out of School Time (OST) | City of Philadelphia - -