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

Refactor: migrate repo to a nx monorepo #287

Merged
merged 51 commits into from
Nov 16, 2023
Merged
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
e1989a2
feat: Migrate to React 18
Akshat55 Nov 5, 2023
840552f
refactor: initialize nx monorepo with vite
Akshat55 Nov 9, 2023
ebd742f
chore: Remove deprecated react-scripts in favor of vite
Akshat55 Nov 9, 2023
182eaf3
chore: Add nx commands for development and production
Akshat55 Nov 9, 2023
88cf0dd
chore: use vite approach for hot module reload
Akshat55 Nov 9, 2023
d433300
chore: Add node js global workaround for browser
Akshat55 Nov 9, 2023
a0b5f28
chore: Update octokit to use vite without isomorphic-fetch workaround
Akshat55 Nov 9, 2023
90d7a2b
chore: import the files instead of using 'require'
Akshat55 Nov 9, 2023
26b9602
chore: include markdown files in assets included in dist
Akshat55 Nov 9, 2023
1ba5793
chore: move index file to root of app directory
Akshat55 Nov 9, 2023
f368e84
chore: update config to typescript and reference tsconfig
Akshat55 Nov 10, 2023
744b9c6
fix: correctly toggle rich text on click
Akshat55 Nov 10, 2023
0f21b98
chore: reference custom eslint rules & ignore vite config
Akshat55 Nov 10, 2023
981eda9
refactor: separate ui-fragment into a lib
Akshat55 Nov 10, 2023
12adead
refactor: separate sdk into a lib
Akshat55 Nov 10, 2023
d003ab8
fix: use react-dom/client for rendering fragment
Akshat55 Nov 10, 2023
c405d84
chore: remove global node js workaround
Akshat55 Nov 10, 2023
b1d9e9b
fix: exclude test files for app build
Akshat55 Nov 10, 2023
2d9ca84
fix: Add module declarations
Akshat55 Nov 10, 2023
0a56e60
fix: use a basic for loop instead of for of to resolve type error
Akshat55 Nov 10, 2023
6a9d8d5
ci: use node v20 in workflow
Akshat55 Nov 10, 2023
eb6d56f
chore: update packages
Akshat55 Nov 10, 2023
3000459
chore: update generator to use scss for styling
Akshat55 Nov 10, 2023
59d2990
chore: Add linter to app
Akshat55 Nov 10, 2023
e72729b
chore: lint fix
Akshat55 Nov 10, 2023
67eedb5
chore: extend correct base file
Akshat55 Nov 10, 2023
3cdbad3
refactor: rename directory and move out of apps dir
Akshat55 Nov 10, 2023
3c627a8
fix: correct radio tile styling
Akshat55 Nov 10, 2023
8e036fb
fix: remove component and add routing inline
Akshat55 Nov 10, 2023
4b6d030
fix: remove export for LinkButton
Akshat55 Nov 10, 2023
57672af
fix: rename ui-fragment lib to 'player'
Akshat55 Nov 10, 2023
e8770fb
fix: include all files in src
Akshat55 Nov 10, 2023
8dc1e8c
fix: disable dot rule to load iframe
Akshat55 Nov 11, 2023
f72dc2f
refactor: rename directory to app
Akshat55 Nov 11, 2023
19deed6
fix: update carbon config to remove '~' from import path
Akshat55 Nov 13, 2023
52b2b51
refactor: place sdk content in 'react' directory
Akshat55 Nov 16, 2023
28d231d
chore: reference correct path for linting
Akshat55 Nov 16, 2023
8675ec7
chore: resolve linting errors
Akshat55 Nov 16, 2023
ed5082d
refactor: move existing player content in 'react' directory
Akshat55 Nov 16, 2023
f5288b6
ci: reference new build path
Akshat55 Nov 16, 2023
7ca4549
refactor: Add library supported as a suffix
Akshat55 Nov 16, 2023
f2c4e03
Merge branch 'main' of https://github.com/IBM/carbon-ui-builder into …
Akshat55 Nov 16, 2023
83509ac
chore: remove prettier in favor of editorconfig & eslint
Akshat55 Nov 16, 2023
0671787
chore: ignore vscode extensions
Akshat55 Nov 16, 2023
4ff33c0
chore: enable linting for vite config
Akshat55 Nov 16, 2023
9879d08
chore: reference vite/client type
Akshat55 Nov 16, 2023
6945135
chore: allow patch releases
Akshat55 Nov 16, 2023
24dc918
chore: remove vscode config from PR
Akshat55 Nov 16, 2023
b448b66
chore: freeze versions
Akshat55 Nov 16, 2023
2671d6d
chore: freeze versions
Akshat55 Nov 16, 2023
ade67e0
chore: freeze versions
Akshat55 Nov 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: reference vite/client type
Signed-off-by: Akshat Patel <[email protected]>
Akshat55 committed Nov 16, 2023

Verified

This commit was signed with the committer’s verified signature.
commit 9879d08d22371b50ea9717163599b5fe273e359a
1 change: 0 additions & 1 deletion app/src/vite-env.d.ts

This file was deleted.

3 changes: 2 additions & 1 deletion app/tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -3,7 +3,8 @@
"compilerOptions": {
"outDir": "../dist/out-tsc",
"types": [
"node"
"node",
"vite/client"
]
},
"files": [
3 changes: 2 additions & 1 deletion app/tsconfig.json
Original file line number Diff line number Diff line change
@@ -18,7 +18,8 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react"
"jsx": "react",
"types": ["vite/client"]
},
"include": [
"src"