From 3e1bd3fe01c3d2c12fc5e44e0201eea4bd1eacce Mon Sep 17 00:00:00 2001 From: trading_peter Date: Sat, 12 Mar 2022 23:34:46 +0100 Subject: [PATCH] Fix dependencies --- package-lock.json | 13 +++++++++++++ package.json | 3 ++- the-route.js => tp-route.js | 0 the-router.js => tp-router.js | 2 +- 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 package-lock.json rename the-route.js => tp-route.js (100%) rename the-router.js => tp-router.js (99%) 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'; /*