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

Commit

Permalink
Merge pull request #183 from Financial-Times/d
Browse files Browse the repository at this point in the history
Add library component with no sass
  • Loading branch information
JakeChampion committed Jun 17, 2021
2 parents 4bca7e3 + 6ec50b5 commit af8e4b1
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 104 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-origami-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.1.5
with:
node-version: 12.x
node-version: 14.x
- run: npm install -g npm@^7
- run: npm install -g origami-build-tools@prerelease
- run: obt install
Expand Down
1 change: 0 additions & 1 deletion demos/src/demo.js

This file was deleted.

1 change: 0 additions & 1 deletion demos/src/demo.scss

This file was deleted.

2 changes: 0 additions & 2 deletions demos/src/test-demo.mustache

This file was deleted.

21 changes: 0 additions & 21 deletions main.scss

This file was deleted.

25 changes: 4 additions & 21 deletions origami.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,13 @@
{
"supportStatus": "deprecated",
"origamiType": "component",
"description": "A component used to test origami tools and services",
"origamiType": "library",
"description": "A project used to test origami tools and services",
"origamiVersion": "2.0",
"support": "origami.support@ft.com",
"supportContact": {
"email": "origami.support@ft.com",
"slack": "financialtimes/origami-support"
},
"demosDefaults": {
"js": "demos/src/demo.js",
"sass": "demos/src/demo.scss"
},
"demos": [
{
"title": "Test Demo",
"name": "test-demo",
"template": "demos/src/test-demo.mustache",
"description": "This demo shows the test component in action."
},
{
"title": "Pa11y",
"name": "pa11y",
"template": "demos/src/test-demo.mustache",
"hidden": true,
"description": "Used to run automated accessibility tests against."
}
]
"demosDefaults": {},
"demos": []
}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@financial-times/o-test-component",
"version": "0.0.0",
"version": "2.2.9",
"description": "A component used to test origami tools and services",
"keywords": [],
"homepage": "https://registry.origami.ft.com/components/o-test-component",
Expand Down Expand Up @@ -42,7 +42,6 @@
"lodash-es": "^4.17.20"
},
"peerDependencies": {
"@financial-times/o-brand": "prerelease",
"mathsass": "^0.11.0"
},
"volta": {
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ To learn about getting started with other Origami components see the [Origami co
|2.2.18 | Yes | No | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | component | CSS is output by the sass by default on import |
|2.2.20 | Yes | Yes | Yes | - | Yes | Yes | Yes | Yes | Yes | Yes | library | ✅ All correct. This library release has no "primary" `oTestComponent` Sass mixin. (2.2.19 is identical but specifies a "component" type in `origami.json`.) |
|2.2.21 | Yes | No | Yes | - | Yes | Yes | Yes | Yes | Yes | Yes | library | CSS is output by the sass by default on import |
|2.2.22 | Yes | - | Yes | - | Yes | Yes | - | Yes | - | Yes | library | Has no css and is a library not a component |

_2.2.1 introduces a Sass linting error not present in 2.0.1 or 2.1.1. Otherwise 2.0.x and 2.1.x match the corresponding patch version in the table above, up to 2.2.16. However they have a number of additional failures related to changes made since v1 of the Origami specification._

Expand Down
38 changes: 0 additions & 38 deletions src/scss/_brand.scss

This file was deleted.

8 changes: 0 additions & 8 deletions src/scss/_functions.scss

This file was deleted.

5 changes: 0 additions & 5 deletions test/scss/functions.test.scss

This file was deleted.

4 changes: 0 additions & 4 deletions test/scss/index.test.scss

This file was deleted.

0 comments on commit af8e4b1

Please sign in to comment.