Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/sudhanshutech/sistent int…
Browse files Browse the repository at this point in the history
…o add/image/func

Signed-off-by: sudhanshu dasgupta <[email protected]>
  • Loading branch information
sudhanshutech committed Feb 13, 2024
2 parents a62401d + f0b95c4 commit 95fe8d9
Show file tree
Hide file tree
Showing 100 changed files with 1,600 additions and 21,530 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,15 @@ name: Publish Node.js Package

on:
release:
types: [published]
workflow_dispatch:
inputs:
release-version:
required: true

types: [synchronize, published]
env:
HUSKY: 0

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{secrets.GH_TOKEN}}

- uses: actions/setup-node@v3
with:
Expand All @@ -33,13 +29,15 @@ jobs:
packages: write
steps:
- uses: actions/checkout@v4
with:
token: ${{secrets.GH_TOKEN}}

- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: "https://registry.npmjs.org"
scope: "@layer5"
- run: npm publish --verbose
- run: |
npm install
npm run build
npm publish --verbose
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 1 addition & 4 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx commitlint --edit ${1}
npx --no -- commitlint --edit $1
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
16 changes: 5 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ Design System components in React, usually built with Vite.
Before you begin, ensure you have the following installed on your system:

- Node.js
- Yarn

### How to get started

Expand All @@ -32,30 +31,25 @@ Make sure you have `npm` on `node@16` and above. The CI workflows checks for in

To set up the project, run the following command to install dependencies:

```
setup:
yarn install
```

To build the project, you can use the following command:
Please note that at this time, `npm install` will also build the project as the first step. This is to ensure that this is building correctly before moving to a task.

```
build: install
yarn run build-all
setup:
npm install
```

To check if your code meets the formatting standards, you can run:

```
format-check:
yarn run format:check
npm run format:check
```

To automatically fix formatting issues, you can run

```
format-fix:
yarn run format:write
npm run format:write
```

> [!NOTE]
Expand Down
1 change: 0 additions & 1 deletion apps/design-system/.eslintignore

This file was deleted.

14 changes: 0 additions & 14 deletions apps/design-system/.eslintrc.cjs

This file was deleted.

24 changes: 0 additions & 24 deletions apps/design-system/.gitignore

This file was deleted.

30 changes: 0 additions & 30 deletions apps/design-system/.storybook/main.ts

This file was deleted.

30 changes: 0 additions & 30 deletions apps/design-system/.storybook/preview.ts

This file was deleted.

27 changes: 0 additions & 27 deletions apps/design-system/README.md

This file was deleted.

13 changes: 0 additions & 13 deletions apps/design-system/index.html

This file was deleted.

Loading

0 comments on commit 95fe8d9

Please sign in to comment.