Thanks to visit codestin.com
Credit goes to gro.fuz.dev

paths.ts

view source

Declarations
#

18 declarations

base_path_to_path_id
#

paths.ts view source

(base_path: string, p?: Paths): PathId import {base_path_to_path_id} from '@fuzdev/gro/paths.js';

base_path

type string

p

type Paths
default infer_paths(base_path)

returns

PathId

create_paths
#

paths.ts view source

(root_dir: string): Paths import {create_paths} from '@fuzdev/gro/paths.js';

root_dir

type string

returns

Paths

GRO_DIST_DIR
#

GRO_PACKAGE_DIR
#

gro_paths
#

paths.ts view source

Paths import {gro_paths} from '@fuzdev/gro/paths.js';

Paths for the Gro package being used by the user repo.

infer_paths
#

paths.ts view source

(id: PathId): Paths import {infer_paths} from '@fuzdev/gro/paths.js';

id

type PathId

returns

Paths

is_gro_id
#

paths.ts view source

(id: PathId): boolean import {is_gro_id} from '@fuzdev/gro/paths.js';

id

type PathId

returns

boolean

IS_THIS_GRO
#

LIB_DIR
#

LIB_DIRNAME
#

LIB_PATH
#

path_id_to_base_path
#

paths.ts view source

(path_id: PathId, p?: Paths): string import {path_id_to_base_path} from '@fuzdev/gro/paths.js';

path_id

type PathId

p

type Paths
default infer_paths(path_id)

returns

string

paths
#

Paths
#

paths.ts view source

Paths import type {Paths} from '@fuzdev/gro/paths.js';

root

type string

source

type string

lib

type string

build

type string

build_dev

type string

config

type string

print_path
#

replace_extension
#

paths.ts view source

(path: string, new_extension: string): string import {replace_extension} from '@fuzdev/gro/paths.js';

path

type string

new_extension

type string

returns

string

ROUTES_DIRNAME
#

to_root_path
#

paths.ts view source

(id: PathId, p?: Paths): string import {to_root_path} from '@fuzdev/gro/paths.js';

id

type PathId

p

type Paths
default infer_paths(id)

returns

string

Depends on
#

Imported by
#