Feli's logo Feli pages

Feli_mono

Presentation

The purpose of the project Feli is to install locally a pure front-end web-app. Feli means Frnt End Locally Installed.

Links

The mono-repo feli_mono publishes two packages:

And it generates those html-pages

Alternatives

deno deploy may propose a way to install locally pure front-end web-app.

Requirements

Installation

npm i -D feli

Usage

Here the typical code for creating a mini-server:

import { feli_cli } from '../dist/index.js';
import process from 'node:process';
import path from 'node:path';

const scrDir = import.meta.dirname;
const defaultPublicDir = path.join(scrDir, 'public');

try {
	await feli_cli(defaultPublicDir, process.argv);
} catch (err) {
	console.error(`CATCH ERROR: ${err}`);
}

Dev

In a terminal, run:

git clone https://github.com/charlyoleg2/feli_mono.git
cd feli_mono
npm install
npm run ci
node pkg/check-feli/dist/check-feli.js
npm run check-feli:run

Upgrade dependencies

npm outdated
npm update --save
git commit -am 'npm update --save'

or

npx npm-check-updates
npx npm-check-updates --upgrade
npm install
git commit -am 'npx npm-check-updates --upgrade'

Publish a new release

npm run versions
git commit -am 'increment sub-package versions'
npm version patch
git push
git push origin v0.5.3