Here's a list of the notable changes in TrueBase.
testPerfCommand
for easier perf testinggrammar
and things
folders by defaultsetDir
and setGrammarDir
methods on TrueBaseFolder
. Use setSettings
instead.getFileName
method on TrueBaseFile
. Use new filename
getter instead.thingsViewSourcePath
grammarViewSourcePath
computedsViewSourcePath
props for correctly setting source urlsmakeVarSection
method.nodejs
keywordtruebase serve
is now truebase start
and truebase create
is now truebase init
and takes zero params.This is a major rewrite. The goals are to support: no build step, no Javascript code TrueBases, no delay in new data going live, better testing, and improved community features showing contributions. This release is not recommended. Wait for a few iterations for bugs to get ironed out.
truebase
command line app with commands create
, delete
, list
, serve
, test
and help
.truebase
settings file.dumpStaticSiteCommand
for dumping static site since it is not built by default anymore.TrueBaseServer
now takes a path to a .truebase
settings file. If overriding TrueBaseFolder
, that should be the 2nd parameter.dumpStaticSiteCommand
to get a static site.dist
folder.initSiteCommand
initSiteCommand
which provides default homepage, search form, header, footer, style, 404 page, and csv page now included.Warning: TrueBase is still in an unstable beta state. This release likely has some bugs.
code/
folder is now server/
/csv.html
permalinkCell
to trueBaseIdCell
providesPermalinks
to containsTrueBaseIds
mainCsvFilename
specify trueBaseId
buildRunTimeGrammarsCommand
. Set distFolder
on TrueBaseServer
to use.beforeListen
method TrueBaseServer subclasses can overridemainCsvFilename
prop on TrueBaseServer to use new buildCsvFilesCommand
addColumn
allowing for the definition of custom column from Javascript template stringsgetAll
to TrueBaseFile
makeNameSearchIndex
and typedMapJson
to TrueBaseFolder
json
search routes now work as you'd expect tsv
routetql
from jtree
to this repo