The Simple Frontend Build Tool. No Configuration, No Plugins.
MIT License
This release contains a nicer scaffolding dialog and will abort without writing files (see #73, thanks @filtercake):
Published by davej almost 7 years ago
You can now pass a github token to Pingy CLI. This will help if you're rate limited on the Github API. Get a Github Personal Access Token here You can do this in two ways:
"githubToken"
key to your global config file at ~/.config/configstore/@pingy/cli.json
:{
"githubToken": "961990a44422b5a9b07279a1d7c70949c5fXXXXX"
}
PINGY_GITHUB_TOKEN
environmental variableexport PINGY_GITHUB_TOKEN=961990a44422b5a9b07279a1d7c70949c5fXXXXX
You will need to set the token if you see this error:
Published by davej almost 7 years ago
See: #35.
Usage: scaffold [options] <url>
Scaffold a new website using a third-party project template
Options:
--yarn Use Yarn instead of NPM for installing packages
--global-pingy Don't install local version of Pingy CLI, use global version instead
-h, --help output usage information
<url>
can be:
https://github.com/pingyhq/pingy-scaffold-bootstrap-jumbotron.git
pingyhq/bootstrap-jumbotron
/Users/dave/code/pingy-scaffolds/bootstrap-jumbotron
So a typical scaffold command would be pingy scaffold pingyhq/bootstrap-jumbotron
If you are interested in creating your own scaffold then here are some instructions. You can also join me in the new Gitter chat channel for some help. I've also created a reference scaffold: bootstrap-jumbotron.
npm install --save-dev @pingy/[email protected]
to update/install local versionnpm install --global @pingy/[email protected]
to update/install global versionPublished by davej almost 7 years ago
script[type=module]
now cause a reload (#61)Published by davej almost 7 years ago
fs.watch
(Closes #56)Published by davej about 7 years ago
sourceMap: false
from .pingy.json.Published by davej about 7 years ago
Published by davej about 7 years ago
.pingy.json
)npm install --save-dev @pingy/[email protected]
to update/install local versionnpm install --global @pingy/[email protected]
to update/install global versionPublished by davej about 7 years ago
write after end
error [instant] (#27)Published by davej about 7 years ago
npm install --save-dev @pingy/[email protected]
to update/install local versionnpm install --global @pingy/[email protected]
to update/install global versionPublished by davej over 7 years ago
pingy init
Published by davej over 7 years ago
Just add globalModuleSearch
to your .pingy.json
.
{
"name": "my-site",
"foo": "bar",
"globalModuleSearch": true
}
Published by davej over 7 years ago
Document root not being served if it's compiled. Fixes #44.
Published by davej over 7 years ago
pingy init --yarn
to install packages with Yarn instead of NPM. (#26)Published by davej over 7 years ago
package.json
and ask user to confirm if they wish to continue (#29)package.json
Published by davej over 7 years ago
npm init --yes
(#18).pingy.json
are now respected (mentioned in #34)Published by davej over 7 years ago
You can install it using:
npm install @pingy/cli@next
Note the @next
at the end because I want more people using it before I release to the main channel.
To enable autoprefix then just add the following entry to your .pingy.json
:
{
//...
"autoprefix": true,
//...
}
This will default to autoprefixing for the last 2 browser versions if set to true
. But you can also set it to a string
or an array
of strings
(e.g.. ["> 5%", "last 1 version"]
). More info on available queries here.
If you're using Less/Sass/Stylus/etc.. then you don't need to worry about the following, it is only an issue for those using vanilla (no-compiler) CSS.
If you're using vanilla CSS then autoprefixing won't work for pingy dev
, it will only work for pingy export
. This is due to the way that I have architected Pingy CLI internally to serve uncompiled files directly from disk. More time is needed to re-architect Pingy CLI and get this working cleanly.
If you are having issues related to autoprefix support then please comment on this issue.