Commit Graph

519 Commits

Author SHA1 Message Date
Rish
ec94fb9529 🐛 Fixed changelog getting set as empty
no issue

- Changelog was set as empty due to concat creating new arrays
2019-03-18 00:43:40 +05:30
Rish
51693d0b5e Published new versions
- @tryghost/release-utils@0.3.0
2019-03-17 17:53:49 +05:30
Rish
86132d0681 releases.create accepts changelogPath as single path or array
- changelogPath can be a single path as before, or an array of paths with optional content which will be pre-pended
- Removed non-generic casper option from releases.create options
2019-03-17 17:53:17 +05:30
Rish
fc28d5e13f Published new versions
- @tryghost/release-utils@0.2.1
2019-03-17 13:27:05 +05:30
Rish
d0bde8c9bc Added casper changelog option to release draft
no issue

- Added option to allow appending casper changelog to main release draft
- Uses capser changelog path and new version info to append casper changes
2019-03-17 13:16:07 +05:30
kirrg001
dba3b43708 Published new versions
- @tryghost/release-utils@0.2.0
2019-03-14 17:13:24 +01:00
kirrg001
5247eb95f5 releases.create accepts optional content array
no issue

e.g. content: ['line\n']
2019-03-14 17:12:08 +01:00
kirrg001
0b49f17250 Published new versions
- @tryghost/release-utils@0.1.1
2019-03-14 16:52:23 +01:00
kirrg001
d7c930d278 🐛 Fixed changelog entry with emoji not being detected
no issue
2019-03-14 16:51:47 +01:00
kirrg001
89c555e29f Published new versions
- @tryghost/release-utils@0.1.0
2019-03-14 16:39:58 +01:00
kirrg001
696b87b103 Added more emoji tests
no issue
2019-03-14 16:35:48 +01:00
Fabien O'Carroll
23fd4702a0 Fixed emoji tests to use correct input data 2019-03-13 17:01:29 +01:00
Fabien O'Carroll
df57b8c944 Refactored emoji filtering to only loop once
Small perf improvment, also easier to read now because we can use 0
index which is more obvious as to what we're doing
2019-03-13 17:01:29 +01:00
Fabien O'Carroll
c681b8e9be Refactored line parsing to use regex
Was having issues debugging the index issue, and regex cleans it up a little
2019-03-13 17:01:29 +01:00
Fabien O'Carroll
f8f96b49db Fixed check for emoji index
The emoji *must* be at index=2 as each line looks like:
    "* <commit message>"
We use index=2 to make test whether emoji is first character(s) in the
commit message
2019-03-13 17:01:29 +01:00
Fabien O'Carroll
5e9bf5cfb5 Added error handling to filestream
This would have probably rejected the promise anyway because uncaught
error, but it's better to be explicit
2019-03-13 17:01:29 +01:00
Fabien O'Carroll
d40a44b9a0 Fixed passing request completion handler
We were passing this as the second argument to pipe - ups!
2019-03-13 17:01:29 +01:00
kirrg001
791a1b54b5 [@tryghost/release-utils] Removed unused dependencies
no issue

- ...unused? 👻
2019-03-12 21:55:00 +01:00
Katharina Irrgang
3cb6042b10 Added initial implementation of @tryghost/release-utils (#7)
- Added the first version of release-utils
- Will release a v0.0.1

- Be able to create changelog.md based on previous version.
- Be able to merge & clean changelog.md.
- Be able to create a gist
- Be able to filter commits by emojis (user-facing changes)
- Be able to create a draft release
- Be able to upload a release zip to Github

The goal is to use our release-utils in multiple places (e.g. in Casper).

We will discuss if we want to replace some of our manual written utilities by existing npm packages. But to avoid breaking everything, we do it iteratively. Our release utils works and was designed based on our needs. We've tested some release utility in the past, they were all not really satisfying. TBC...
2019-03-12 21:53:32 +01:00
Hannah Wolfe
3f9137903e Published new versions
- @tryghost/pretty-cli@1.2.0
2019-03-12 13:39:12 +00:00
Hannah Wolfe
a929b6a0f9 Added full suite of log functions
- matches logging in ignition: https://github.com/TryGhost/Ignition/blob/master/lib/logging/PrettyStream.js#L11
- so that it's possible to add log lines to our CLI tools that have a consistent format
2019-03-10 15:08:53 +00:00
Hannah Wolfe
93dbcef099 🛠 Moved Pretty-CLI into Ghost-Utils repo
- this was originally created in the slimer repo, as that's where it was first used
- it's also used in migrate, should be used in gscan, and hopefully eventually, will also be part of Ghost-CLI
- therefore, it belongs somewhere more general
2019-03-10 14:00:05 +00:00
Hannah Wolfe
2eb39e6c2b Published new versions
- @tryghost/generator-slimer@1.3.0
 - @tryghost/pretty-cli@1.1.4
 - @tryghost/slimer-cli@0.2.3
 - @tryghost/slimer@0.5.0
2019-03-05 17:27:33 +00:00
renovate[bot]
d0b1331c51 Update dependency sinon to v7 (#9) 2019-03-05 17:25:41 +00:00
renovate[bot]
24898228b6 Update dependency mocha to v6 (#8) 2019-03-05 17:22:08 +00:00
renovate[bot]
d7861f390e Update dependency sinon to v6.3.5 (#5) 2019-03-05 16:54:19 +00:00
Hannah Wolfe
aa6971f82f Published new versions
- @tryghost/generator-slimer@1.2.0
 - @tryghost/pretty-cli@1.1.3
 - @tryghost/slimer-cli@0.2.2
 - @tryghost/slimer@0.4.0
2019-03-05 16:15:41 +00:00
Hannah Wolfe
e3132f4fe5 Initial commit 2019-01-21 22:07:40 +00:00
Hannah Wolfe
9ca92908ef Updated docs links to best equivalents (#10386)
* Updated docs links to best equivalents
   - Our documentation has been overhauled, this updates the all the old links sprinkled through Ghost
* Update integrity hash
2019-01-17 06:57:37 +00:00
Hannah Wolfe
c0b5d28a78 Updated docs links to best equivalents (#10386)
* Updated docs links to best equivalents
   - Our documentation has been overhauled, this updates the all the old links sprinkled through Ghost
* Update integrity hash
2019-01-17 06:57:37 +00:00
John O'Nolan
50e83faccd 2019 2019-01-01 14:27:50 +00:00
John O'Nolan
5e10faee8b 2019 2019-01-01 14:07:15 +00:00
Hannah Wolfe
2315781eb7 Published new versions
- @tryghost/pretty-cli@1.1.2
 - @tryghost/slimer-cli@0.2.1
 - @tryghost/slimer@0.3.1
2018-11-29 16:06:15 +00:00
Hannah Wolfe
66f1ddcbe9 🎨 Update to use files array in package.json
- run `slimer fix package.json` to add a files array everywhere
- manually update slimer-cli to have a files array for bin
- manually update slimer to include commands or else this will break!!
- update pretty-cli to use our standard /lib/ pattern
- this means we only publish what we need to npm, and keeps things cleaner and safer
2018-11-29 16:04:13 +00:00
Katharina Irrgang
7fb0b96f3e Added Node v10 Support (#10058)
* Added Node v10 Support

no issue

Signed-off-by: kirrg001 <katharina.irrgang@googlemail.com>

* Bump amperize to version 0.3.8

no issue

* Bump mysql to version 2.16.0

no issue

- mysql 2.15.0 uses a deprecated notation for timers
- e.g. timers.unenroll()

* Bump sub dependencies

no issue

- e.g. knex-migrator used mysql 2.15.0

* Bump dependencies

no issue

* Replaced `new Buffer` with `Buffer.from`

no issue

- Buffer() is deprecated due to security and usability issues.
- https://nodejs.org/en/docs/guides/buffer-constructor-deprecation/
2018-10-30 15:45:51 +07:00
Hannah Wolfe
d715596b50 Published new versions
- @tryghost/generator-slimer@1.0.7
 - @tryghost/pretty-cli@1.1.1
 - @tryghost/slimer-cli@0.1.8
 - @tryghost/slimer@0.2.1
2018-10-04 20:14:39 +01:00
Hannah Wolfe
45763f9267 📖 Update all README.md files to use full commands
- We don't use aliases in docs, to be as clear as possible
2018-10-04 14:45:02 +01:00
Hannah Wolfe
8bbfaf578c Published new versions
- @tryghost/generator-slimer@1.0.6
 - @tryghost/pretty-cli@1.1.0
 - @tryghost/slimer-cli@0.1.7
 - @tryghost/slimer@0.2.0
2018-10-04 13:37:38 +01:00
Hannah Wolfe
dfe1610a47 🎨 Move Slimer UI into Pretty CLI
- We'll want these log utils in other cli tools
2018-10-04 13:30:59 +01:00
kirrg001
b7b4026fd5 Extended sequence utility
no issue

- support promise and none promise tasks
- helpful if you create an array of operations and not all of the operations/tasks are async
- `response instanceof Promise` does not work for all cases e.g. some usages return a transaction/bookshelf chain
2018-10-03 00:17:45 +02:00
Hannah Wolfe
e80f4e93f2 Published new versions
- @tryghost/generator-slimer@1.0.0
 - @tryghost/pretty-cli@1.0.2
 - @tryghost/slimer-cli@0.1.0
 - @tryghost/slimer@0.1.0
2018-10-01 12:01:30 +01:00
Hannah Wolfe
e7bc545b36 Add support for public vs private
- Projects can be public or private -> they are either oss or not.
  - With flags like this, there is no default. We either want to pass a flag or be prompted later if we forget
  - To achieve this: added a custom sywac type of Switch, that is able to handle this concept
 - We may want to change this to a proper boolean that defaults to true
  - That would be easier, and possibly more sensible for the public tool
2018-09-28 17:59:41 +01:00
Hannah Wolfe
8c1b5cd383 Published new versions
- generator-slimer@0.0.2
 - @tryghost/pretty-cli@1.0.1
 - @tryghost/slimer-cli@0.0.2
 - @tryghost/slimer@0.0.2
2018-09-21 14:15:45 +01:00
Hannah Wolfe
c52b095955 📖 Updated READMEs with more clarity
- Getting used to developing in the monorepo structure
- Add more instructions that are relevant, push people to the top level repo
- Make READMEs as consistent as possible
- PROFIT!
2018-09-21 13:45:33 +01:00
Hannah Wolfe
b305b8582c Published new versions
- @tryghost/pretty-cli@1.0.0
2018-09-21 13:21:25 +01:00
Hannah Wolfe
7f234269a5 Pretty CLI - provide a styled sywac instance
- Initial commit
- Added a mini module to style sywac (http://sywac.io)
- Makes really pretty, easy to read, CLI instances
2018-09-21 13:12:12 +01:00
kirrg001
cb03ca2529 Changed http to https links
no issue

- use https
- replace broken links e.g. docs.ghost.org/themes
2018-08-16 12:13:24 +02:00
kirrg001
1af0dbc717 Fixed tests
no issue

- replace test themes
  - otherwise they are all invalid with the new GScan version
- fix general tests because of Ghost 2.0 logic
2018-08-16 12:13:24 +02:00
kirrg001
a7a3c27a2e Updated docs links
refs #9742

- rebase against master updated some docs links again
- go over code base again and double check that all docs links are correct
- 2.0 will become the latest version on our readme pages
2018-08-16 12:13:24 +02:00
kirrg001
847d4b2f01 Updated docs links
refs #9742

- Ghost 2.0 is coming
- all doc links in 1.0 must use concrete links e.g. docs.ghost.org/v1 or themes.ghost.org/v1.23.0/
- if we release Ghost 2.0, docs.ghost.org will show 2.0 docs
2018-07-20 23:49:16 +02:00