Many small tooling cleanup tasks
See original GitHub issueThis issue contains a list of mostly small cleanup tasks for our tooling.
Aim is to move towards consistency between repos (both public and private) to lean on package.json scripts more heavily where possible, simplify grunt & essentially make this repo neater & easier to use 😁
- Switch eslint to use eslint-plugin-ghost (OK this isn’t that small)
- Use .js files rather than .json for eslint config
- Remove grunt-eslint, use
grunt run
orgrunt shell
instead cos it’s more generic, and we can do other things this way - Add
lint
as a script in package.json - Swap .gitignore for standardised file + customisations at end
- Fix .gitignore so we don’t have tracked files in in the ignore:
content/data/README.md
content/themes/casper/
content/apps/README.md
content/images/README.md
content/logs/README.md
core/server/public/ghost-sdk.min.js
core/server/web/admin/views/.gitkeep
- Review .npmignore file
-
grunt release
creates a zip with contents which do not equal .tgz (e.g. https://github.com/TryGhost/Ghost/commit/0db01a02374bfddcca08fb9ecd2286d078f9a74c) - Refactor Gruntfile.js so it isn’t so indented
- We aren’t using greenkeeper - cleanup ignores from package.json
- Why is minimist a dev dep?!
- Fix brute-knex dependency
- Consider moving coverage out of grunt into a script in package.json
- Consider tests: can we restructure them so they are easier to run? 🤔
- Let
grunt master
fail when working tree is not clean
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
5 Tools That Make Fall Lawn Cleanup So Much Easier
These go-to tools will make those once-strenuous fall yard maintenance tasks much more bearable. · Time Saving Nut Picker-Upper · Leaf Blower/ ...
Read more >CleanUp Tasks - Wiki - RWS AppStore
The cleanup tasks tool provides a way to convert these into “real” tags. ... You can find it in a lot of Microsoft...
Read more >Why does the Disk Cleanup tool's Windows Update Cleanup ...
If you ask the Disk Cleanup tool to clean up Windows Update files, you may find that it takes a long time and...
Read more >Spring Cleaning in the Tool Room: Five Jobs to Do Now
Jobs that can be done in a tool room during downtime include creating a prioritized list of tasks and making a list of...
Read more >Hand & Power Tool Maintenance - True Value
Learn how to clean and store your hand and power tools using this ... Use a small tool bag for the tools you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The output tars/zipz of
grunt release
andnpm pack
now unpack to the same directories, apart from these two files:This will be fixed when members has been moved into it’s own monorepo.which is tracked here: https://github.com/TryGhost/Ghost/issues/10701
Closing this now 🎉
After creating a release zip and using
npm pack
to create a tarball, I extracted them to azip
andtgz
directory respectively.Will work on resolving these differences