Skip to content

Commit

Permalink
KOA-5584: Migrating bpk-stylesheets and bpk-mixins to backpack web (#216
Browse files Browse the repository at this point in the history
)

* KOA-5584: Migrating bpk-stylesheets and bpk-mixins to backpack web

* Updating stories to reflect removal of bpk-mixins
  • Loading branch information
olliecurtis authored Aug 17, 2023
1 parent 518d683 commit 829a9d0
Show file tree
Hide file tree
Showing 52 changed files with 53 additions and 7,605 deletions.
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Remember to include the following changes:
- [ ] `UNRELEASED.md` (See [How to write a good changelog entry](https://github.com/Skyscanner/backpack-foundations/blob/main/CHANGELOG_FORMAT.md))
- [ ] `README.md`
- [ ] Tests
- [ ] Storybook examples created/updated for changes to tokens, mixins, icons
- [ ] Storybook examples created/updated for changes to tokens and icons
18 changes: 1 addition & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,4 @@ jobs:
- name: Run tests
run: |
nvm use
npm test
- name: Build Sass docs
if: github.ref == 'refs/heads/main'
run: |
nvm use
npm run sassdoc
- name: Deploy Sass docs to backpack.github.io, if on main branch
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
personal_token: ${{ secrets.DEPLOY_TOKEN }}
publish_dir: dist-sassdoc/
keep_files: false
external_repository: backpack/sassdoc
publish_branch: main
npm test
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
.DS_Store
.idea
.vscode
/dist-sassdoc
/dist-storybook
node_modules
npm-debug.*
lerna-debug.log
sassdoc-data.json
yarn.lock
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@
},
"scripts": {
"bootstrap": "lerna bootstrap --no-ci",
"build": "npm run build:tokens && npm run build:svgs && npm run build:stylesheets && lerna run build",
"build": "npm run build:tokens && npm run build:svgs && lerna run build",
"build:svgs": "lerna run svgs --scope @skyscanner/bpk-svgs",
"build:tokens": "lerna run tokens",
"build:stylesheets": "lerna run build --scope bpk-stylesheets",
"clean": "npm run clean:lerna && npm run clean:node_modules",
"clean:node_modules": "rm -rf node_modules",
"clean:lerna": "lerna clean --yes",
Expand All @@ -36,7 +35,6 @@
"preinstall": "npx [email protected]",
"prettier": "prettier --config .prettierrc --write \"**/*.{js,jsx}\"",
"release": "lerna bootstrap && npm run build && npm test && lerna publish",
"sassdoc": "sassdoc {packages/bpk-mixins/src/**/*,packages/bpk-svgs/dist/*,packages/bpk-foundations-web/tokens/base.default}.scss -d dist-sassdoc -v --strict",
"test": "npm run lint && npm run jest && npm run flow",
"start": "npm run build && npm run storybook",
"storybook": "NODE_OPTIONS=--openssl-legacy-provider start-storybook -p 6006",
Expand Down
19 changes: 0 additions & 19 deletions packages/bpk-mixins/README.md

This file was deleted.

35 changes: 0 additions & 35 deletions packages/bpk-mixins/_index.scss

This file was deleted.

74 changes: 0 additions & 74 deletions packages/bpk-mixins/package-lock.json

This file was deleted.

23 changes: 0 additions & 23 deletions packages/bpk-mixins/package.json

This file was deleted.

29 changes: 0 additions & 29 deletions packages/bpk-mixins/sass-functions.js

This file was deleted.

19 changes: 0 additions & 19 deletions packages/bpk-mixins/src/_bonds.scss

This file was deleted.

Loading

0 comments on commit 829a9d0

Please sign in to comment.