Compare commits

...

7 Commits

Author SHA1 Message Date
ae736d5dbb update description 2024-05-29 14:15:19 +02:00
7686c417b1 5.0.18 2024-04-22 18:42:18 +02:00
65cb98d031 fix(core): update 2024-04-22 18:42:18 +02:00
55fc30139f 5.0.17 2024-04-22 18:41:58 +02:00
be85880e54 fix(core): update 2024-04-22 18:41:58 +02:00
ebc523cb9f 5.0.16 2024-04-20 10:17:51 +02:00
6fae04e92a fix(core): update 2024-04-20 10:17:51 +02:00
4 changed files with 10 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@push.rocks/smartpath", "name": "@push.rocks/smartpath",
"version": "5.0.15", "version": "5.0.18",
"private": false, "private": false,
"description": "A library offering smart ways to handle file and directory paths.", "description": "A library offering smart ways to handle file and directory paths.",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
@ -13,7 +13,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/pushrocks/smartpath.git" "url": "https://code.foss.global/push.rocks/smartpath.git"
}, },
"keywords": [ "keywords": [
"path handling", "path handling",
@ -37,7 +37,7 @@
"bugs": { "bugs": {
"url": "https://github.com/pushrocks/smartpath/issues" "url": "https://github.com/pushrocks/smartpath/issues"
}, },
"homepage": "https://github.com/pushrocks/smartpath", "homepage": "https://code.foss.global/push.rocks/smartpath",
"devDependencies": { "devDependencies": {
"@git.zone/tsbuild": "^2.1.66", "@git.zone/tsbuild": "^2.1.66",
"@git.zone/tsrun": "^1.2.44", "@git.zone/tsrun": "^1.2.44",
@ -60,4 +60,4 @@
"browserslist": [ "browserslist": [
"last 1 chrome versions" "last 1 chrome versions"
] ]
} }

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smartpath', name: '@push.rocks/smartpath',
version: '5.0.15', version: '5.0.18',
description: 'A library offering smart ways to handle file and directory paths.' description: 'A library offering smart ways to handle file and directory paths.'
} }

View File

@ -1,3 +1,5 @@
import * as plugins from './smartpath.plugins.js';
// import modules // import modules
import * as check from './smartpath.check.js'; import * as check from './smartpath.check.js';
import * as get from './smartpath.get.js'; import * as get from './smartpath.get.js';
@ -5,4 +7,6 @@ import * as transform from './smartpath.transform.js';
export { check, get, transform }; export { check, get, transform };
export const join = (...args: string[]) => plugins.path.join(...args);
export * from './smartpath.classes.smartpath.js'; export * from './smartpath.classes.smartpath.js';

View File

@ -22,7 +22,7 @@ export const dirnameFromImportMetaUrl = (importMetaUrlArg: string) => {
}; };
export const dirname = (pathArg: string) => { export const dirname = (pathArg: string) => {
return dirnameFromImportMetaUrl(pathArg); return plugins.path.dirname(pathArg);
} }
/** /**