feat: initial release of Strata framework v0.1.0
- Static compiler with STRC pattern (Static Template Resolution with
Compartmentalized Layers)
- Template syntax: { } interpolation, { s-for }, { s-if/s-elif/s-else
}
- File types: .strata, .compiler.sts, .service.sts, .api.sts, .sts,
.scss
- CLI tools: strata-compile dev, strata-compile build, strata-compile
g (generators)
- create-strata-compile scaffolding CLI with Pokemon API example
- Dev server with WebSocket HMR (Hot Module Replacement)
- Documentation: README, ARCHITECTURE, CHANGELOG, CONTRIBUTING,
LICENSE
This commit is contained in:
@@ -220,11 +220,11 @@ export STRATA_HOME="$HOME/.strata"
|
||||
export PATH="$STRATA_HOME/bin:$PATH"
|
||||
|
||||
# Strata aliases
|
||||
alias st='strata'
|
||||
alias stdev='strata dev'
|
||||
alias stbuild='strata build'
|
||||
alias stgen='strata generate'
|
||||
alias stnew='npx create-strata'
|
||||
alias st='strata-compile'
|
||||
alias stdev='strata-compile dev'
|
||||
alias stbuild='strata-compile build'
|
||||
alias stgen='strata-compile generate'
|
||||
alias stnew='npx create-strata-compile'
|
||||
SHELL_CONFIG
|
||||
echo -e "${GREEN}✓${NC} Added to $shell_config"
|
||||
fi
|
||||
@@ -249,9 +249,9 @@ CONFIG
|
||||
echo -e " ${CYAN}source $shell_config${NC}"
|
||||
echo ""
|
||||
echo " Then create your first project:"
|
||||
echo -e " ${CYAN}npx create-strata my-app${NC}"
|
||||
echo -e " ${CYAN}npx create-strata-compile my-app${NC}"
|
||||
echo -e " ${CYAN}cd my-app${NC}"
|
||||
echo -e " ${CYAN}strata dev${NC}"
|
||||
echo -e " ${CYAN}strata-compile dev${NC}"
|
||||
echo ""
|
||||
echo " Documentation: https://stratajs.dev/docs"
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user