Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

synquery-bootstrap

synquery19ISC0.1.1

Command line tools for developing applications on Synquery web-platform.

synquery, bootstrap, command-line-tools

readme

<picture> <source media="(prefers-color-scheme: dark)" srcset="https://github.com/synquery/logos/blob/4d523a4dc1a6115979a051cdc3e18d3294836968/synquery-web-platform.png" /> synquery project logo </picture>

Synquery Bootstrap Build Status synquery-bootstrap version

Table of Contents

Intro

synquery-bootstrap allows you to quickly install and setup develop environment with synquery web-platform via the command line.

Example:

$ sb use [project id]
Now ready to execute \#project_id 

Simple as that!

synquery-bootstrap also provides convenience tools for building Single-Session Application:

1. HTML replacer

# change parcel absolute paths to relative
$ node .sb/etc/replacer.js relativize -A

# add or modify html node in bulk
$ node .sb/etc/replacer.js add -A head content-type "<meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\">"

# delete html node in bulk
$ node .sb/etc/replacer.js del -A head meta,content-type

Synquery web-platform technology basis

About

synquery-bootstrap needs the well-known javascript runtime node.js. We recommend to install nvm before installing this module.

Installing and Updating

Install & Update Script

After installing node.js, you should make your project directory and move into it.

mkdir myproject
cd myproject

Then, to install the release version:

npm install synquery-bootstrap

Or to install the latest version(only on bash environment):

curl -o- https://raw.githubusercontent.com/synquery/synquery-bootstrap/refs/heads/main/cmd/setup.sh | bash
wget -qO- https://raw.githubusercontent.com/synquery/synquery-bootstrap/refs/heads/main/cmd/setup.sh | bash