Coder Social home page Coder Social logo

reflect's Introduction

Alumna Fontend: Development for Humans

npm codecov npm

Alumna is a front-end meta-framework and its goal is to make universal app development as human-friendly as possible, without compromising high performance and security.

alumna

Alumna is open-source (MIT), written in Javascript and based on Svelte.

Features

  • Easy built-in routing
  • Easy component creation (HTML and CSS)
  • Component auto-loading and auto-caching
  • Easy consumption of HTTP API's
  • Easy route filters

License

Copyright (c) 2015-2024 Paulo Coghi and contributors. Released under an MIT license.

reflect's People

Contributors

onfire4g05 avatar paulocoghi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

onfire4g05

reflect's Issues

Return the files' stat cache

It's interesting to return the files' stat cache on the returned object. For example, when using Reflect on scenarios that we would watch the same directory later, we can avoid unnecessary disk I/O on the files already read.

Reflect single files as well

Currently, it's only possible to sync/reflect directories, but it would be better to allow reflection of single files as well.

Broken ES Module in version 1.1.0

There is a contradiction in the version 1.1.0 of the package.
You state that the entry-point of this package should be treated as an ES Module by setting:

"type": "module"

in package.json.

You also set the entry-point of this package to a CommonJS file:

"main": "dist/reflect.cjs.js"

in package.json.

The end result is that when you import @alumna/reflect you get a broken ES Module. Also, if you try to require it, the Node.js module loader complains:

reflect.cjs.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which declares all .js files in that package scope as ES modules.

The right solution is to use conditional exports with entries for import and require.

Glob filter for reflect

I'd like to reflect source to destination, just the way reflect does right now, but I'd like to limit the files reflected using a glob.

Like, for example reflect({src, dst, filter: ["**/*.png", "*.json"]})

Reflect to remote server

One of the basic usage of rsync is to watch&deploy a lib to remote server during development.
It'll be cool to suppot here remotes.

Currently, when dest is remote the error appers:

EINVAL: invalid argument, mkdir 'C:\Projects\someProject\[email protected]:\usr\local\packages\ui'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.