Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: remove spark library #714

Merged
merged 1 commit into from
Nov 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .github/workflows/ci:main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,3 @@ jobs:

- name: Check format
run: npm run format:check

- name: Unit test project spark
run: npx nx run spark:test
38 changes: 0 additions & 38 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,44 +21,6 @@ jobs:
- name: Clean install
run: npm ci

- name: Test
run: npx nx run spark:test

- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}

- name: Build @prenda/spark
run: npm run build:components

- name: Publish @prenda/spark
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./dist/libs/spark/package.json

- name: Notify @prenda/spark publish success
if: success()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: feed-design-system
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_COLOR: ${{ job.status }}
SLACK_ICON: https://github.com/prenda-school/prenda-spark/raw/main/public/img/prenda-design-system-abstract-mark-logo.svg
SLACK_USERNAME: 'Action: NPM Publish'
MSG_MINIMAL: true
SLACK_TITLE: '@prenda/spark ${{ steps.get_version.outputs.VERSION }}'
SLACK_MESSAGE: Published

- name: Notify @prenda/spark publish failure
if: failure()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: feed-design-system
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_COLOR: ${{ job.status }}
SLACK_ICON: https://github.com/prenda-school/prenda-spark/raw/main/public/img/prenda-design-system-abstract-mark-logo.svg
SLACK_USERNAME: 'Action: NPM Publish'
MSG_MINIMAL: true
SLACK_TITLE: '@prenda/spark ${{ steps.get_version.outputs.VERSION }}'
SLACK_MESSAGE: Failed to publish
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/coverage
/dist
/dist
20 changes: 1 addition & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
</p>

[![Contributors](https://img.shields.io/github/contributors/prenda-school/design-system)](https://github.com/prenda-school/design-system/graphs/contributors)
[![NPM Latest Version](https://img.shields.io/npm/v/@prenda/spark/latest)](https://www.npmjs.com/package/@prenda/spark)
[![NPM Downloads](https://img.shields.io/npm/dm/@prenda/spark)](https://www.npmjs.com/package/@prenda/spark)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow)](https://conventionalcommits.org)
[![Semantic Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079)](https://semver.org/)
[![Figma](https://img.shields.io/badge/-designed%20in%20Figma-f24e1e?logo=figma&logoColor=white)](https://www.figma.com/files/917908403520495571/project/20230042/Design-System?fuid=918218354701455034)
Expand All @@ -30,26 +28,12 @@

Implementations are available as installable NPM packages:

- [@prenda/spark](https://www.npmjs.com/package/@prenda/spark)

## Usage

Here is an example to get you started.

```tsx
import React from 'react';
import ReactDOM from 'react-dom';
import { SparkThemeProvider, Button } from '@prenda/spark';

function App() {
return (
<SparkThemeProvider>
<Button>Hello World</Button>
</SparkThemeProvider>
);
}

ReactDOM.render(<App />, document.querySelector('#app'));

```

## Documentation
Expand All @@ -64,8 +48,6 @@ Read the [contributing guide](/CONTRIBUTING.md) to learn about our development p

Read the changelog of each library to address breaking changes and learn about new features and fixes.

- [`@prenda/spark/CHANGELOG`](libs/spark/CHANGELOG.md)

## No license

Copyright (C) 2021 Prenda, Inc. -- All Rights Reserved
Expand Down
11 changes: 0 additions & 11 deletions libs/spark/.babelrc

This file was deleted.

33 changes: 0 additions & 33 deletions libs/spark/.eslintrc.json

This file was deleted.

Loading