feat: add settings defaults and validation with unit tests

This commit is contained in:
golem
2026-08-01 21:59:47 -06:00
parent b59648d900
commit c49f6415af
4 changed files with 142 additions and 2 deletions
+4 -2
View File
@@ -1,7 +1,8 @@
{
"name": "search-with-chatgpt-powered-by-openai-extension",
"version": "1.0.0",
"version": "1.1.0",
"private": true,
"type": "module",
"description": "Development tooling for the Search with ChatGPT Firefox extension.",
"engines": {
"node": ">=22"
@@ -9,8 +10,9 @@
"scripts": {
"dev": "web-ext run",
"lint": "web-ext lint",
"test:unit": "node --test",
"build": "web-ext build",
"test": "npm run lint && npm run build"
"test": "npm run lint && npm run test:unit && npm run build"
},
"devDependencies": {
"web-ext": "10.5.0"