Skip to content

Commit

Permalink
build: updated KDK extra icons/images management
Browse files Browse the repository at this point in the history
  • Loading branch information
cnouguier committed Feb 10, 2025
1 parent 5e2f187 commit 70baafa
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 11 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ config/client-config.json
test/run

# KDK extras
public/icons/kdk
public/kalisio.png
public/kdk
src/tours/core
src/tours/map
src/css/kdk
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"release:major": "cd api && npm run release:major && cd .. && npm version --no-git-tag-version --force major",
"changelog": "github_changelog_generator -u kalisio -p kapp && git add CHANGELOG.md && git commit -am \"Updating changelog\"",
"clean": "quasar clean",
"provision": "npm run css:cp && npm run icons:cp && npm run logos:cp && npm run tours:cp",
"provision": "npm run css:cp && npm run icons:cp && npm run images:cp && npm run tours:cp",
"dev": "npm run provision && cross-env NODE_ENV=development quasar dev",
"prod": "cd api && npm run prod",
"build": "npm run provision && quasar build",
Expand All @@ -35,8 +35,8 @@
"lint": "standard src/**/*.js src/**/*.vue test/**/*.mjs --fix",
"benchmark": "node ./benchmark",
"css:cp": "shx cp -R node_modules/@kalisio/kdk/extras/css/* src/css/kdk",
"icons:cp": "shx mkdir -p ./public/icons/kdk && shx cp -R node_modules/@kalisio/kdk/extras/icons/* ./public/icons/kdk",
"logos:cp": "shx cp -R node_modules/@kalisio/kdk/extras/logos/* public/",
"icons:cp": "shx mkdir -p ./public/kdk && shx cp -R node_modules/@kalisio/kdk/extras/icons/* ./public/kdk",
"images:cp": "shx mkdir -p ./public/kdk && shx cp -R node_modules/@kalisio/kdk/extras/images/* public/kdk",
"tours:cp": "shx cp -R node_modules/@kalisio/kdk/extras/tours/* src/tours",
"mocha": "mocha test/**/*.test.mjs --timeout 30000",
"coverage": "c8 npm run mocha",
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
8 changes: 4 additions & 4 deletions quasar.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,22 +245,22 @@ module.exports = configure(function (ctx) {
orientation: 'portrait',
icons: [
{
src: 'icons/kapp-icon-color-64x64.png',
src: 'kapp-icon-color-64x64.png',
sizes: '64x64',
type: 'image/png'
},
{
src: 'icons/kapp-icon-color-128x128.png',
src: 'kapp-icon-color-128x128.png',
sizes: '128x128',
type: 'image/png'
},
{
src: 'icons/kapp-icon-color-256x256.png',
src: 'kapp-icon-color-256x256.png',
sizes: '256x256',
type: 'image/png'
},
{
src: 'icons/kapp-icon-color-512x512.png',
src: 'kapp-icon-color-512x512.png',
sizes: '512x512',
type: 'image/png'
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/miscellaneous/Shapes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ const shapes = ref({
{ name: 'Circle & icon', options: { shape: 'circle', color: 'lightgrey', radius, stroke: { color: 'black' }, icon: { classes: 'las la-home' } } },
{ name: 'Circle & text', options: { shape: 'circle', color: 'lightgrey', radius, stroke: { color: 'black' }, text: { label: '01'} } },
{ name: 'Icon Classes', options: { icon: { classes: 'las la-home', size: 24, rotation: 90, color: 'green' }, radius } },
{ name: 'Icon Url', options: { icon: { url: '/icons/plane.png', size: 24, rotation: 90, opacity: 0.5 }, radius } },
{ name: 'Icon Url', options: { icon: { url: 'plane.png', size: 24, rotation: 90, opacity: 0.5 }, radius } },
{ name: 'Text only', options: { text: { label: 'Home', rotation: 45, color: 'red' }, radius } },
{ name: 'Html only', options: { html: "<img src='/icons/plane.png' width='32px' height='32px' />" } }
{ name: 'Html only', options: { html: "<img src='plane.png' width='32px' height='32px' />" } }
],
custom: [
{ name: 'Full pin', options: { shape: 'full-pin', size: [24, 41.14], color: 'lightblue' } },
Expand Down

0 comments on commit 70baafa

Please sign in to comment.