1
Fork 0

Compare commits

...

3 Commits
0.2.0 ... main

Author SHA1 Message Date
Bauke 137c8eb290
Remove unused assertion and variable declaration. 2023-12-03 13:22:03 +01:00
Bauke f4fa51251e
Fix linting issues. 2023-12-02 13:11:32 +01:00
Bauke dd3eb83ed8
Update dependencies. 2023-12-02 13:07:53 +01:00
5 changed files with 2963 additions and 2461 deletions

View File

@ -1,5 +1,4 @@
import process from "node:process";
import {build} from "esbuild";
import {cmd} from "web-ext";

View File

@ -26,17 +26,17 @@
"webextension-polyfill": "^0.10.0"
},
"devDependencies": {
"@bauke/eslint-config": "^0.1.2",
"@bauke/prettier-config": "^0.1.2",
"@holllo/test": "^0.1.0",
"@types/node": "^18.11.17",
"@types/webextension-polyfill": "^0.9.2",
"esbuild": "^0.16.8",
"tsx": "^3.12.1",
"typescript": "^4.9.4",
"web-ext": "^7.4.0",
"@bauke/eslint-config": "^0.1.4",
"@bauke/prettier-config": "^0.1.4",
"@holllo/test": "^0.2.1",
"@types/node": "^20.10.2",
"@types/webextension-polyfill": "^0.10.7",
"esbuild": "^0.19.8",
"tsx": "^4.6.2",
"typescript": "^5.3.2",
"web-ext": "^7.8.0",
"webextension-polyfill": "^0.10.0",
"xo": "^0.53.1"
"xo": "^0.56.0"
},
"prettier": "@bauke/prettier-config",
"xo": {

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,4 @@
import browser from "webextension-polyfill";
import {createValue} from "../build/index.js";
const updatedDate = await createValue<Date>({

View File

@ -1,6 +1,5 @@
import {setup, type TestContext} from "@holllo/test";
import browser from "webextension-polyfill";
import {createValue, type Value} from "../source/index.js";
const create = async <T>(
@ -34,10 +33,10 @@ const sampleObject: SampleObject = {
status: "passed",
};
const group = await setup("Value<T>", async (group) => {
await setup("Value<T>", async (group) => {
const samples = [
["number", "testNumber", Math.PI],
["string", "testString", "A string to test with!" as string],
["string", "testString", "A string to test with!"],
["SampleObject", "testSampleObject", sampleObject],
] as const;