Skip to content

Commit

Permalink
change import TS aliases path to relative (#53)
Browse files Browse the repository at this point in the history
* fix: constants import

* change TS path aliases to relative path

---------

Co-authored-by: denys-bondarenko <[email protected]>
  • Loading branch information
denbon05 and denys-bondarenko authored Oct 28, 2024
1 parent 56b31cb commit b2754ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { formatOptions, shouldDataBeCached } from '@/helpers';
import MapStorage from '@/storage/Map';
import type { ICacheOptions } from '@/types/lcache';
import { buildCacheKey } from '@/utils';
import type { FastifyInstance, FastifyPluginCallback } from 'fastify';
import fp from 'fastify-plugin';
import { formatOptions, shouldDataBeCached } from './helpers';
import MapStorage from './storage/Map';
import type { ICacheOptions } from './types/lcache';
import { buildCacheKey } from './utils';
import * as constants from './constants';

const defaultOpts: ICacheOptions = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fastify-lcache",
"version": "2.1.4",
"version": "2.1.5",
"description": "Light cache plugin for fastify",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit b2754ea

Please sign in to comment.