Skip to content

Commit

Permalink
Update extension dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
filips123 committed Jul 16, 2023
1 parent f04d088 commit 6a049b2
Show file tree
Hide file tree
Showing 5 changed files with 1,593 additions and 1,908 deletions.
10 changes: 5 additions & 5 deletions extension/icons/_css.hbs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
@font-face {
font-display: block;
font-family: "{{ name }}";
src: {{{ fontSrc }}};
}

.{{prefix}}::before,
[class^="{{prefix}}-"]::before,
[class*=" {{prefix}}-"]::before {
.{{ prefix }}::before,
[class^="{{ prefix }}-"]::before,
[class*=" {{ prefix }}-"]::before {
display: inline-block;
font-display: block;
font-family: {{ name }} !important;
font-style: normal;
font-weight: normal !important;
Expand All @@ -20,5 +20,5 @@ vertical-align: -.125em;
}

{{# each codepoints }}
.{{ ../prefix }}-{{ @key }}::before { content: "\\{{ codepoint this }}"; }
.{{ ../prefix }}-{{ @key }}::before { content: "\\{{ codepoint this }}"; }
{{/ each }}
2 changes: 1 addition & 1 deletion extension/icons/generate.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { generateFonts } = require('fantasticon')
const { generateFonts } = require('@twbs/fantasticon')

const path = require('path')
const fs = require('fs')
Expand Down
32 changes: 16 additions & 16 deletions extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
],
"scripts": {
"watch": "run-s prepare:* watch:*",
"watch:parcel": "parcel watch src/manifest.json src/**/*.html src/images/**/*.svg --no-content-hash",
"watch:parcel": "parcel watch src/manifest.json src/{background,content}.js src/**/*.{html,svg} --no-content-hash",
"build": "run-s prepare:* build:*",
"build:parcel": "parcel build src/manifest.json src/**/*.html src/images/**/*.svg --no-content-hash --no-source-maps",
"build:parcel": "parcel build src/manifest.json src/{background,content}.js src/**/*.{html,svg} --no-content-hash --no-source-maps",
"build:webext": "web-ext build -s dist -a dist -n firefoxpwa-{version}.zip",
"lint": "run-s -c lint:*",
"lint:eslint": "eslint src icons",
Expand All @@ -30,29 +30,29 @@
"prepare:icons": "node ./icons/generate.js"
},
"dependencies": {
"@popperjs/core": "^2.11.6",
"@popperjs/core": "^2.11.8",
"base64-js": "^1.5.1",
"bootstrap": "~5.1.3",
"bootstrap-dark-5": "^1.1.3",
"bootstrap-icons": "^1.10.3",
"bootstrap5-tags": "^1.5.1",
"iframe-resizer": "^4.3.2",
"semver": "^7.3.8"
"bootstrap-icons": "^1.10.5",
"bootstrap5-tags": "^1.6.4",
"iframe-resizer": "^4.3.6",
"semver": "^7.5.4"
},
"devDependencies": {
"@parcel/config-webextension": "~2.4.1",
"@parcel/transformer-sass": "~2.4.1",
"eslint": "^8.36.0",
"eslint-config-standard": "^17.0.0",
"@parcel/config-webextension": "^2.9.3",
"@parcel/transformer-sass": "^2.9.3",
"@twbs/fantasticon": "^2.7.1",
"eslint": "^8.45.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"fantasticon": "^1.2.3",
"npm-run-all": "^4.1.5",
"parcel": "^2.8.3",
"rimraf": "^4.4.1",
"web-ext": "^7.6.0"
"parcel": "^2.9.3",
"rimraf": "^5.0.1",
"web-ext": "^7.6.2"
},
"icons": [
"box-arrow-up-right",
Expand Down
4 changes: 2 additions & 2 deletions extension/src/sites/manage.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ async function createSiteList () {

// Clear previous categories
const categoriesElement = document.getElementById('web-app-categories')
categoriesElement.nextElementSibling.querySelector('input').value = ''
categoriesElement.tagsInstance.resetSearchInput()
categoriesElement.tagsInstance.reset()

// Set categories from config or manifest
Expand All @@ -138,7 +138,7 @@ async function createSiteList () {

// Clear previous keywords
const keywordsElement = document.getElementById('web-app-keywords')
keywordsElement.nextElementSibling.querySelector('input').value = ''
keywordsElement.tagsInstance.resetSearchInput()
keywordsElement.tagsInstance.reset()

// Set keywords from config or manifest
Expand Down
Loading

0 comments on commit 6a049b2

Please sign in to comment.