diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..4f0d2db --- /dev/null +++ b/package-lock.json @@ -0,0 +1,13 @@ +{ + "name": "@tp/tp-router", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@tp/helpers": { + "version": "1.0.1", + "resolved": "https://verdaccio.codeblob.work/@tp%2fhelpers/-/helpers-1.0.1.tgz", + "integrity": "sha512-f6pDPw4QpjWnmVkYgOHjMXQXtGB4vbA45eZV9DjCF9OoCXsa+Pz32H2rLQRKbdpsfFllywOBI+GMGPYDJyrG/Q==" + } + } +} diff --git a/package.json b/package.json index 7de5b01..8c6053a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tp/tp-router", - "version": "1.0.0", + "version": "1.0.1", "description": "", "main": "tp-router.js", "scripts": { @@ -13,6 +13,7 @@ "author": "trading_peter", "license": "Apache-2.0", "dependencies": { + "@tp/helpers": "^1.0.1", "lit": "^2.2.0" } } diff --git a/the-route.js b/tp-route.js similarity index 100% rename from the-route.js rename to tp-route.js diff --git a/the-router.js b/tp-router.js similarity index 99% rename from the-router.js rename to tp-router.js index dec9562..3cb0df2 100644 --- a/the-router.js +++ b/tp-router.js @@ -6,7 +6,7 @@ This program is available under Apache License Version 2.0 import './tp-route'; import { pathToRegexp } from 'path-to-regexp'; -import { closest } from '../../helpers/closest.js'; +import { closest } from '@tp/helpers/closest.js'; import { LitElement, html, css } from 'lit'; /*