-
Notifications
You must be signed in to change notification settings - Fork 50
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
Remove any external linked javascript dependency #101
Changes from 11 commits
8a120cc
da248f0
e127631
431321f
5d23fb8
71daebb
12234a2
db9e5bb
c236f3c
84d94f2
0e0148d
7b71645
78da9fe
b534558
090e662
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,3 +85,6 @@ core | |
backend/backend-production.* | ||
|
||
**/temp/** | ||
|
||
# monaco editor | ||
**/vs/loader.js |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../shared/node_modules/monaco-editor/min/vs |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../shared/node_modules/monaco-editor/min/vs |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,4 +41,4 @@ testem.log | |
Thumbs.db | ||
pkup.sh | ||
|
||
src/assets/luigi-core | ||
src/assets/libs |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
src/assets/luigi-core | ||
src/assets/libs | ||
src/assets/luigiConfig.bundle.js |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../shared/node_modules/monaco-editor/min/vs |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
"test:watch": "jest --watch", | ||
"build": "webpack --env.production", | ||
"start:kyma": "webpack --env.development --watch", | ||
"build:npx": "echo no-op, done during bootstrap" | ||
"build:npx": "ln -sf ../shared/node_modules/monaco-editor/min/vs ../backend/vs" | ||
}, | ||
"author": "hasselhoff-team@kyma", | ||
"devDependencies": { | ||
|
@@ -37,6 +37,7 @@ | |
"caniuse-lite": "^1.0.30001081", | ||
"jsoneditor": "^8.6.1", | ||
"jwt-decode": "^3.1.2", | ||
"monaco-editor": "^0.23.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why do we use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Additionally, we use |
||
"react-tippy": "^1.3.1", | ||
"socket.io-client": "^2.3.1" | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need
../shared
part in../shared/node_modules/monaco-editor/min/v
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, when in my infinite naivety I tried to do
ln -s node_modules/monaco-editor/min/vs ../backend/vs
, it created a symlink in valid target directory, but didn't take the path into account, so it tried to linkbusola/backend/node_modules/monaco...
.