question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

As part of the push towards Ghost 1.0.0, and getting rid of things which get in our way, we’re going to look towards getting rid of Grunt. The tools we have now were first created before we split the admin client out of the main repository. The current versions are designed to match how the old tooling worked, but with the new setup.

They work but are slow, hard to use and confusing. Some tools are for installing, some tools are for developing and some tools are for releasing. The tooling isn’t really good at one particular job.

The goals for the new tooling are:

  1. An amazing set of developer tools that make it really easy for people to contribute and for us to do our jobs.
  2. A very separate set of “install” tools. From Ghost 1.0, installing is going to be handled by the Ghost CLI tool. We’re going to be recommending this for all production installs, and discouraging installing from git for production.
  3. A single command for the purpose of converting source code to a ready-to-run build.
  4. A release script which does ALL THE WORK and makes releasing super-crazy easy.

Installing from git will be for those people developing Ghost, so the tools we have in the repository should be geared towards making it super easy to develop.

In Ghost-Admin, I don’t think we need much on top of ember-cli itself.

  • what to do about the buildAboutPage task?
  • can we run csscomb without Grunt/Gulp?

In Ghost, I want to remove the release-specific tools, and focus on having an amazing set of tools for contributors. I recommend that we use Gulp rather than Grunt, as it’s much faster, and setup any npm aliases that are common amongst dependencies (like npm test).

  • New dev task that supports both client & server watch & livereload
  • Tools for watching just client or server?
  • Setup tool, for initialising the different repos on a particular PR/commit?
  • Test tools
  • Coverage tools
  • Linting tools

Aside from the development tools, which will do watching & live reloading, we should have one single command which will ensure the state of the source code (sync the submodules), do all build tasks to convert source code into built code, and also provide an opportunity for any minification or optimisations needed for production. I think this will likely be a gulp build command, aliased to npm run build.

  • gulp build task

All release-specific code (handling npm dependencies, version bumping, generating contributor lists (except for the ones needed for the about page), zipping, etc will live in a separate place (although will probably also be built with Gulp).

  • remove release-related code

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:21 (21 by maintainers)

github_iconTop GitHub Comments

2reactions
kevinansfieldcommented, Sep 22, 2016

WRT csscomb, I think having it as part of the gulp tooling is probably the best first step, then we can look at making a broccoli plugin that runs it as part of the ember-cli build process later on.

1reaction
ErisDScommented, Mar 15, 2017

Labeled with later & closing for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Team GO Rocket Grunts Guide (December 2022)
Team GO Rocket Grunts can be quite difficult without proper counters, especially if ... Currently, they will most likely use a Dratini.
Read more >
Pokemon Go Rocket Grunt guide: Counters and lineups ...
Team Go Rocket Grunts can put up a fight in Pokemon Go, ... Subscribe to our newsletter for the latest updates on Esports,...
Read more >
All leaders, no grunts? : r/pokemongo - Reddit
Sierra hasn't used a Beldum (as a lead) for more than a month now. As you may have noticed, her starter is currently...
Read more >
Team GO Rocket Grunts — Pokémon GO Help Center
Keep an eye out for any stops that twitch and look discolored. Once you're in range, the PokéStop will turn black and a...
Read more >
Team GO Rocket Grunts - Pokémon GO Wiki - Fandom
"Not seeing many items? I've been stealing them!" "Want more items? You'll have to beat me." "Stealing items from this PokéStop ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found