Skip to content

Commit

Permalink
some rewrite architecture to feature-sliced
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksiikhr committed Oct 15, 2022
1 parent 81fffa5 commit 66674e1
Show file tree
Hide file tree
Showing 287 changed files with 2,201 additions and 3,734 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
coverage/
.pnpm-store/
src/UI/public/dist/
src/app/public/dist/
8 changes: 4 additions & 4 deletions .github/workflows/extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- run: pnpm build

- name: Commit changes
working-directory: ./src/UI/public
working-directory: ./src/app/public
if: github.ref == 'refs/heads/main'
run: |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
Expand All @@ -58,15 +58,15 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
force: true
directory: ./src/UI/public
directory: ./src/app/public

- name: Zip extension
working-directory: ./src/UI/public
working-directory: ./src/app/public
if: startsWith(github.ref, 'refs/tags/')
run: zip -r extension.zip *

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: src/UI/public/extension.zip
files: src/app/public/extension.zip
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
coverage/
.pnpm-store/
src/UI/public/dist/
src/app/public/dist/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ $ pnpm test

**Install extension**

Load unpacked from path `src/UI/public`.
Load unpacked from path `src/app/public`.

## License

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "flashcard-new-tab",
"version": "2.1.0",
"version": "2.2.0",
"description": "Repeat your knowledge with flashcard on each new tab",
"scripts": {
"dev": "node src/UI/build/dev.js",
"build": "node src/UI/build/prod.js",
"dev": "node src/app/build/dev.js",
"build": "node src/app/build/prod.js",
"lint": "npm run typescript && npm run eslint && npm run prettier && npm run stylelint",
"lint:fix": "npm run typescript && npm run eslint:fix && npm run prettier:fix && npm run stylelint:fix",
"typescript": "tsc --noEmit",
Expand Down

This file was deleted.

10 changes: 0 additions & 10 deletions src/Application/Card/CreateVocabularyCard/index.ts

This file was deleted.

23 changes: 0 additions & 23 deletions src/Application/Card/DeleteCard/DeleteCardHandler.ts

This file was deleted.

10 changes: 0 additions & 10 deletions src/Application/Card/DeleteCard/index.ts

This file was deleted.

11 changes: 0 additions & 11 deletions src/Application/Card/FindCard/FindCardHandler.ts

This file was deleted.

6 changes: 0 additions & 6 deletions src/Application/Card/FindCard/index.ts

This file was deleted.

137 changes: 0 additions & 137 deletions src/Application/Card/ImportCards/ImportCardsHandler.ts

This file was deleted.

18 changes: 0 additions & 18 deletions src/Application/Card/ImportCards/index.ts

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions src/Application/Card/IncreaseCardClicks/index.ts

This file was deleted.

14 changes: 0 additions & 14 deletions src/Application/Card/PaginateCard/PaginateCardHandler.ts

This file was deleted.

6 changes: 0 additions & 6 deletions src/Application/Card/PaginateCard/index.ts

This file was deleted.

Loading

0 comments on commit 66674e1

Please sign in to comment.