Skip to content
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.

Releases: Financial-Times/origami-build-tools

prerelease: make demos use origami build service v3 for their dependencies instead of v2

28 Apr 14:34
Compare
Choose a tag to compare
v11.0.0-beta.27

make demos use origmai build service v3 for their dependencies

prerelease: Allow './main.js' to be the browser entrypoint for a component

27 Apr 15:45
Compare
Choose a tag to compare
v11.0.0-beta.26

Add test case for complex browser entry point

prerelease: update all dependencies to latest versions which support commonjs

27 Apr 15:42
Compare
Choose a tag to compare
the aliases and strip-ansi packages have new versions which only support ecmascript modules, which means we can't update to those until we make origami-build-tools' code to use import/export

prerelease: Verify supported npm version is set to a minimum of 7.0.0

21 Apr 15:20
Compare
Choose a tag to compare
This verification helps ensure origami components adhere to the specification

The origami 2.0 spec states:
>It *must* include an engines property set to an object which has an npm property set to a SemVer range which disallows anything below v7.0.0. E.G. ^7 would be valid as would >= 7.

prerelease: Enforce that a package.json file exists for origami components instead of skipping the validation

21 Apr 13:37
Compare
Choose a tag to compare
v11.0.0-beta.23

ensure the test directory does not exist before we try to create it

prerelease: Ensure that origami components have package.json.type set to 'module'

21 Apr 09:31
Compare
Choose a tag to compare
v11.0.0-beta.22

Ensure that origami components have package.json.type set to 'module'

prerelease: Make verify-origami-json look for all the different origamiType variations

12 Apr 21:48
Compare
Choose a tag to compare
v11.0.0-beta.21

Make verify-origami-json look for all the different origamiType varia…

prerelease: Add validation for package.json.browser field

08 Apr 09:32
Compare
Choose a tag to compare
The component v2 specification states that if a main.js file exists, then the `browser` field must be set to `"main.js"`. This commit updates the verify task to ensure that the component being tested adheres to these rules.

I've quoted below the parts of the specification this is testing.

>  - It **must** include a <a href="https://docs.npmjs.com/cli/v7/configuring-npm/package-json#browser">`browser`</a> property set to the component's main JavaScript file (`main.js`) **_if_** it exists.

Those came from the spec v2 pull-request -- https://github.com/Financial-Times/origami-website/pull/273/files#diff-5ebc2f3b798414ec905f3fdceb910557607b8d779a56bf1ce09ad48e32fd085aR88

I've also added in a check for the opposite situation, if no `main.js` file exists, then the `browser` field should not exist. This is not currently written in the specification though. If we don't want this functionality, I will remove it. If we do want this functionality, I will update the specification to reflect this.

prerelease: Add validation for package.json.name field

08 Apr 08:54
Compare
Choose a tag to compare
v11.0.0-beta.19

update fixtures to adhere to package.json.name specification

prerelease: Swap to npm-shrinkwrap to ensure all installs use the same dependency versions

31 Mar 16:52
Compare
Choose a tag to compare
v11.0.0-beta.18

Swap to npm-shrinkwrap to ensure all installs use the same dependency…