diff --git a/.npmignore b/.npmignore index f605ddb..11edbdb 100644 --- a/.npmignore +++ b/.npmignore @@ -1,2 +1,3 @@ docs types +.build diff --git a/_test/util.js b/_test/util.js index c1cb469..7966e97 100644 --- a/_test/util.js +++ b/_test/util.js @@ -24,5 +24,7 @@ export function html ([str, ...strings], ...values) { return comp } -export const qs = (s, p) => (p || document).querySelector(s) -export const qsa = (s, p) => [...(p || document).querySelectorAll(s)] +const qs = (s, p) => (p || document).querySelector(s) +const qsa = (s, p) => [...(p || document).querySelectorAll(s)] + +export { qs, qsa } diff --git a/package.json b/package.json index 9ff439d..08bf91e 100644 --- a/package.json +++ b/package.json @@ -32,10 +32,6 @@ "devDependencies": { "@socketsupply/tonic": "15.0.0", "standard": "16.0.4", - "tape-run": "9.0.0", - "chart.js": "^2.9.2", - "esbuild": "0.13.8", - "qsa-min": "1.0.2", - "tapzero": "^0.6.0" + "chart.js": "^2.9.2" } } diff --git a/router/test.js b/router/test.js index f15b0a5..b0f890d 100644 --- a/router/test.js +++ b/router/test.js @@ -1,5 +1,5 @@ -import { test } from 'socket:test' import { html } from '../_test/util.js' +import { Tonic } from '@socketsupply/tonic' import { Components } from '..' diff --git a/socket.ini b/socket.ini index 762a985..4fd6bc0 100644 --- a/socket.ini +++ b/socket.ini @@ -16,7 +16,7 @@ ; vite, webpack, rollup, etc. to build your project and then copy output to ; the Socket bundle resources directory. ; default value: "src" -copy = "src" +; copy = "src" ; An ini file that maps files from the source directory to the build directory. ; copy_map = src/mapping.ini @@ -61,6 +61,7 @@ importmap.json = importmap.json node_modules = node_modules _test/index.js = index.js +_test/util.js = _test/util.js _test/index.html = index.html accordion = accordion @@ -76,6 +77,7 @@ loader = loader panel = panel popover = popover profile-image = profile-image +progress-bar = progress-bar range = range relative-time = relative-time router = router