npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@epigraph/configurator-lite

v1.6.0

Published

An initiative to build a version of the configurator that utilises the findings from the epigraph-configurator solution and implements the solution that fulfills about roughly 90% of the projects we have delivered. We also do everything mentioned while en

Downloads

86

Readme

epigraph-configurator-lite

An initiative to build a version of the configurator that utilises the findings from the epigraph-configurator solution and implements the solution that fulfills about roughly 90% of the projects we have delivered. We also do everything mentioned while ensuring that we build a better user experience at the end of the day.


Some philosophies that we will be adhering to:

  1. Library First - Create libraries instead of web component unless absolutely required (discuss with the team before proceeding)
  2. Engine Agnostic - Shouldn't be too complicated to migrate to a new engine in the future instead of threejs.
  3. Object Oriented Approach (Classes > Functions).
  4. Modularity within the components is important (both core and UI).
  5. Eventually code split.
  6. "Executable" would be a web-component ().
  7. API > QueryParameters > Web component attributes > Input Data/Experience Data.
  8. Event Up Prop Down approach.
  9. AR via model-viewer
  10. Define Analytics early.
  11. Test Driven Development.

Tech Stack:

  1. Bundler: Vite
  2. Primary Language: Typescript.
  3. Engine: Threejs
  4. Linter: ESLint
  5. Formatter: Prettier
  6. UI: React
  7. CI/CD: Github Actions
  8. Unit Tests: Jest

Developer Guildelines:

The entire project is internally called an "App", which is wrapped and deployed as a web-component. This is crucial to remember because anything within the App will be named and structured accordingly. For example:

The top level web-component's class is named "AppConfiguratorLite" within "AppIndex.ts" because it is the entry point for the ConfiguratorLite App. Diving futher into the structure, you will notice that this app has further components. Some of those components are:

  1. app-core
  2. app-ui

There could be more App level components in the future but there needs to be a very solid reason for why something was promoted/implemented at the App component level.

Once we enter the AppComponents level, each of these components manage their own sub-components and expose an API that allows interaction with their sub-components. No AppComponent should ever directly interact with another AppComponent's members/sub-components, instead the API exposed by that AppComponent should be used. You will very commonly see this being used for the communication between the AppCore and the AppUi.

Extending a base class We follow OOP patterns within this project and utilise inheritance as best as we can. This is the reason you will notice that the "app-core" component is broken down into


A generic directory structure:

  • bundle-identifier (app, app-core, app-ui)
    • components (Dedicated for all the bundle level reusable components)
    • enums (All enums relevant to this bundle)
    • interfaces (All interfaces relevant to this bundle)