Skip to content

Commit

Permalink
refactor: rename packages to shared, update: readme (#14)
Browse files Browse the repository at this point in the history
* refactor: rename packages to shared, update: readme

* fix formatting
  • Loading branch information
ahmedcognite authored Jan 10, 2024
1 parent e49c76d commit 7328bb0
Show file tree
Hide file tree
Showing 43 changed files with 573 additions and 571 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/verify-pr-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:

- name: Create .env file
run: |
touch ./packages/sdk/.env
echo API_USERNAME=${{ secrets.API_USERNAME }} >> ./packages/sdk/.env
echo API_PASSWORD=${{ secrets.API_PASSWORD }} >> ./packages/sdk/.env
touch ./shared/sdk/.env
echo API_USERNAME=${{ secrets.API_USERNAME }} >> ./shared/sdk/.env
echo API_PASSWORD=${{ secrets.API_PASSWORD }} >> ./shared/sdk/.env
- run: npx nx format:check
- run: npx nx affected -t lint,test,build --parallel=3
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

Repo for practicing different tools

List of things being practiced
List of things done so far

- Created NX workspace
- Created react app via nx
- Created ui lib via nx
- Added storybook in ui lib via nx
- Added i18n translations
- Added locize integration
- Added github action to verify build of affected nx projects
- Added Api class in sdk lib to provie an interfaace for fetching
- [x] Created nx workspace
- [x] Created react app via nx
- [x] Created ui lib via nx
- [x] Added storybook in ui lib via nx
- [x] Added i18n translations
- [x] Added locize integration
- [x] Added github action to verify lint, test & build of affected nx projects
- [x] Added Api class in sdk lib to provide an interfaace for fetching
2 changes: 1 addition & 1 deletion apps/asdf/.env.sample
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
LOCIZE_PROJECT_ID=your-locize-project-id
LOCIZE_API_KEY=your-locize-api-key
LOCIZE_API_KEY=your-locize-api-key
1 change: 1 addition & 0 deletions apps/asdf/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@ export default defineConfig({
reportsDirectory: '../../coverage/apps/asdf',
provider: 'v8',
},
passWithNoTests: true,
},
});
Loading

0 comments on commit 7328bb0

Please sign in to comment.