Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

Return to master and release v2.0.0 #122

Merged
merged 386 commits into from
Mar 31, 2020
Merged

Return to master and release v2.0.0 #122

merged 386 commits into from
Mar 31, 2020

Conversation

nokome
Copy link
Member

@nokome nokome commented Mar 30, 2020

This PR is to merge the next branch into master and bump the version number to 2.0. next was always meant to be temporary while we did some refactoring of the base architecture / organisation of the repo. That has been completed now.

Also going back to releasing on master will mean that the NPM package gets deployed to the latest channel again (which means that dependencies will get latest changes again).

Things to do:

  • This is unlikely to break any thing but please approve this PR or leave a comment if you think it shouldn't be done now.
  • Merge this PR with a BREAKING CHANGE commit message to trigger v2.0.0
  • Change the default branch back to master
  • Confirm that Argos CI is working on master (see ci(Argos): Not working as expected #53 (comment))

nokome and others added 30 commits February 20, 2020 13:05
Reorganize shared folder and update guide for authors
chore(deps): update dev dependencies
chore(Deps): Update hotlink url to eLife css
fix(Hooks): Update pre-commit script name to match renamed script
Update build process to use Webpack
# [1.6.0](v1.5.6...v1.6.0) (2020-02-21)

### Bug Fixes

* **Bootstrap theme:** Do not use mixins from shared; docs ([8347907](8347907))
* **Build:** Fix build issues due to circular dependencies ([4d7c13e](4d7c13e))
* **Code extension:** Fix itemtype; add default language; do not style executable nodes ([1315c67](1315c67))
* **Components:** Load components in index.html ([a32262a](a32262a))
* **Demo:** Generate examples standalone ([a2eb9f1](a2eb9f1))
* **Demo:** Initialize theme each time it, and  example, set ([801a7e9](801a7e9))
* **Demo:** Make demo paths relative for use on GH Pages ([07d980a](07d980a))
* **Docs:** Fix Publication step on TravisCI ([35cfad0](35cfad0))
* **eLife theme:** Changes to dir names and selectors ([6ef7ac2](6ef7ac2))
* **Examples:** Actually run the functions ([0907a34](0907a34))
* **Extensions:** Only quote name when need to ([f189065](f189065))
* **Generate:** Use Promise<unknown> when generating themes ([87736d1](87736d1))
* **Hooks:** Update pre-commit script name to match renamed script ([cc69db8](cc69db8))
* **Hooks:** Update pre-commit script name to match renamed script ([4814aea](4814aea))
* **Javascript:** Allow themes to be loaded in Node.js ([4f307e5](4f307e5))
* **Linting:** Add Stylelint to enforce semantic selector usage ([a6a4b89](a6a4b89))
* **References:** Fix Reference formatting selectors and type castings ([b3e23e1](b3e23e1))
* **Selectors:** Fix selectors import path in configuration ([c37e331](c37e331))
* **Selectors:** Match Headings & elements with multiple itemtypes ([d35e8f1](d35e8f1))
* **Selectors:** Prevent Prettier from mangling Custom Selectors ([45ae358](45ae358))
* **Selectors:** Reove trailing newline to avoid stylelint error ([08728e1](08728e1))
* **Selectors:** Update selectors after upgrade of Schema version ([b37c2fb](b37c2fb))
* **Selectors:** Update selectors to also target data- prefixed versions ([4306d68](4306d68))
* **Skeleton:** Do not rely on anything in shared; add README; linting ([7b238c3](7b238c3))
* **Skeleton:** Ensure index.ts is a module ([d1d941e](d1d941e))
* **Themes:** Remove zombie theme ([15d336e](15d336e))
* **Types:** Type root ([f4e8160](f4e8160))

### Features

* **Bootstrap:** Add bootsrap theme ([68d42ec](68d42ec))
* **Build:** Combine & sort media queries ([16ed2b6](16ed2b6))
* **Mathjax CSS:** Add generation of MathJax CSS ([d1fda5d](d1fda5d))
* **Nature:** Refactor and update Nature theme to emulate new branding ([d552f57](d552f57))
* **Pages extension:** Add the pages extension ([eb64e1a](eb64e1a)), closes [#23](#23)
* **PLOS:** Update theme with new semantic selectors ([ca36008](ca36008))
* **Prism addon:** Add prisom addon for syntax highlighting ([967fe53](967fe53))
* **RPNG Theme:** Add theme for generating RPNGs. ([c5b18b7](c5b18b7)), closes [#31](#31)
* **Selector functions:** Add module for handling custom selectors ([59be9e9](59be9e9))
* **Selectors:** Autogenerate semantic selectors from Stencila Schema ([8c5862c](8c5862c))
* **Selectors:** Draft: Auto-Generate semantic selectors ([1caacfd](1caacfd))
* **Shared JS:** Add functions for DOM manipulation ([01d6d71](01d6d71))
* **Shared scripts:** Add DOM manipulation fixes ([c049b5f](c049b5f))
* **Skeleton:** Add Skeleton starter theme ([c70dbb4](c70dbb4))
* **Skeleton theme:** Add all existing addons ([e73d853](e73d853))
* **Stencila components addon:** Addon for adding Stencila Web Components for document nodes ([65d84a9](65d84a9))
* **Themes:** Add a script to create a new theme ([5081903](5081903))
* **Themes:** Horizontally centre eLife article ([e7fc6a7](e7fc6a7))
* **Variables:** Add a shared layer of variables for all themes ([15bb7da](15bb7da))

### Performance Improvements

* **CSS:** Reduce file sizes by using CSSNano during builds ([87f7b2b](87f7b2b))
This avoid the following error when installing Thema in another package:

```bash
> @stencila/[email protected] postinstall /home/nokome/stencila/source/encoda/node_modules/@stencila/thema
> npm run update

> @stencila/[email protected] update /home/nokome/stencila/source/encoda/node_modules/@stencila/thema
> npm run update:selectors && npm run update:examples && npm run update:themes && npm run update:extensions

> @stencila/[email protected] update:selectors /home/nokome/stencila/source/encoda/node_modules/@stencila/thema
> ts-node --files src/scripts/selectors.ts

Error: Cannot find module '/home/nokome/stencila/source/encoda/node_modules/@stencila/thema/src/scripts/selectors.ts'
```

See https://docs.npmjs.com/misc/scripts
## [1.6.1](v1.6.0...v1.6.1) (2020-02-21)

### Bug Fixes

* **Package:** Use prepare instead of postinstall ([1be7091](1be7091))
Fix Hot Module Reloading during development
alex-ketch and others added 18 commits March 17, 2020 13:46
….7.4

build(deps): bump acorn from 5.7.3 to 5.7.4
Add missing Stencila Components scripts to demo view
## [1.15.2](v1.15.1...v1.15.2) (2020-03-26)

### Bug Fixes

* **Demo:** Add missing Stencila Components JS files to preview documents ([9ef8939](9ef8939))
* **RPNG:** Collapse source code panels in RPNG theme ([a15e6d5](a15e6d5))
# [1.16.0](v1.15.2...v1.16.0) (2020-03-26)

### Bug Fixes

* **Galleria:** Fix grid layout at medium breakpoints ([3228bc0](3228bc0))

### Features

* Hide article identifiers section ([cc54727](cc54727))
* **Elife:** Hide article identifiers section ([0bfc95f](0bfc95f))
Update eLife's date handling to match Encoda
## [1.16.1](v1.16.0...v1.16.1) (2020-03-26)

### Bug Fixes

* **Elife:** Match Encoda date semantics & be defensive ([09707f6](09707f6))
Copy link
Collaborator

@davidcmoulton davidcmoulton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving for @discodavey too.

Copy link
Collaborator

@alex-ketch alex-ketch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit: 🚀

@nokome nokome merged commit bdf95b8 into master Mar 31, 2020
stencila-ci added a commit that referenced this pull request Mar 31, 2020
# [2.0.0](v1.16.1...v2.0.0) (2020-03-31)

* Merge pull request #122 from stencila/next ([bdf95b8](bdf95b8)), closes [#122](#122)

### BREAKING CHANGES

* Return to master and release `v2.0.0`
@stencila-ci
Copy link
Collaborator

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants