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

@saynode_ag/flutter-architect

v1.0.2

Published

A bootstrap CLI for Flutter project initialisation. Supports the generation of multiple boilerplate features.

Downloads

3

Readme

Flutter Architect

Flutter Architect is an open-source bootstrap CLI for Flutter project initialisation, distributed via NPM (Node Package Manager). It supports the generation of multiple boilerplate features. You are welcome to contribute with features and components yo udeem useful.

You can use this tool to generate Flutter projects for all platforms, but keep in mind that some components might be exclusive to Android and iOS.

To install the CLI, open a terminal and enter the following command.

npm install -g flutter-architect 

How to setup the tool for local development

Temporary setup

Use Git Bash to run the following commands. If you're using VSCode, open View > Terminal (Ctrl+`). Click on the dropdown arrow next to the + icon in the terminal panel to pick >a new shell to open. If Git Bash is installed, it will be shown in the list.

dart compile exe lib/architect.dart -o architect.exe
alias architect-dev="./architect.exe"  

You can also use the absolute path.

alias architect-dev="/Users/saynode/Documents/GitHub/flutter-architect/architect.exe"
# "/Users/saynode/Documents/GitHub/flutter-architect/" is an example path, and likely not the same as yours.

We recommend using the alias "architect-dev", so that it doesn't interfere with any live versions of the Architect instaleld through NPM.

Permanent setup

On Mac and Linux add the following to your .bashrc file

  alias architect="*absolute path to exe*"

On windows edit the aliases file in C:\Program Files\Git\etc\profile.d\aliases.sh (as administrator)

   alias architect="*absolute path to exe*"

Commands

Let's make an effort of keeping this list of commands updated as the project evolves.

[!NOTE] You can always use the help command to find assistance.

architect generate --help

Create a project

To create a project, navigate to the desired location and use the following command.

architect new --name=<project_name> --ios --android <other_platforms> --org=<package_organization>
# Note that a package organization is required.

API and Authentication

Adds a service to handle a third-party API, as well as an higher level authentication service.

architect generate api

Platform Signin Options

Complements the authentication service with platform-specific signin options.

architect generate signin --apple --google
# You can choose to only add the Google option or only the Apple option.

Connectivity

Adds a service to handle connectivity events.

architect generate connectivity

Crashlytics

Sets up Firebase, and adds Crashlytics logging.

architect generate crashlytics

Localization

Prepares the app to handle localization.

architect generate localization

Native Splash Screen

Creates the native splash screen for the platforms the project has been initialized for.

architect generate splash

Local Storage

Creates both a secure storage service and a shared storage service.

architect generate storage

Local Storage

Creates both a secure storage service and a shared storage service.

architect generate storage

Theme

Imports the theme settings and colors from a Figma project.

architect generate theme

Typography

Imports the typography from a Figma project.

architect generate typography

Upgrader

Creates an upgrader service to manage app versioning.

architect generate upgrader

Wallet

Adds web3 wallet integration.

architect generate wallet

Page

Create a page, according to the MVC (Model-View-Controller) arquitecture.

architect generate page --name Home
# The "name" parameter should be in Pascal Case.

[!NOTE] Additionally, you can use the parameters "--force" or "--remove".