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

feat: convert this library to be "buildless" #498

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 0 additions & 2 deletions .env.development

This file was deleted.

14 changes: 0 additions & 14 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,4 @@ const config = createConfig('eslint', {
},
});

config.settings = {
'import/resolver': {
alias: {
map: [
['editors', './src/editors'],
],
},
node: {
paths: ['editors', 'node_modules'],
extensions: ['.js', '.jsx'],
},
},
};

module.exports = config;
4 changes: 2 additions & 2 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"path": "@semantic-release/github",
"assets": {
"path": "dist/*"
"path": "src/*"
}
}
],
Expand All @@ -18,7 +18,7 @@
{
"path": "@semantic-release/github",
"assets": {
"path": "dist/*"
"path": "src/*"
}
}
],
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,19 @@ It will also configure the editor to be viewable in the gallery view. Adding the
- To make this easier, we provide example files for `jest.config.js` and `setupTest.js` that are known to work.
You can find them in the example/ folder.

## Installing into Course Authoring MFE in dev mode
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a better way to do this?


This is tricky to do correctly, but something like this should work, allowing
you to edit this code and see it reflected immediately in the MFE. Run these
commands, starting from the course authoring MFE's working directory:

```
npm install
rm -rf node_modules/@edx/frontend-lib-content-components && ln -s "$(realpath ../frontend-lib-content-components)" node_modules/@edx/frontend-lib-content-components
cd ../frontend-lib-content-components
rm -rf node_modules && ln -s ../frontend-app-course-authoring/node_modules node_modules
```

## License

The code in this repository is licensed under the AGPLv3 unless otherwise
Expand Down
3 changes: 0 additions & 3 deletions babel.config.js

This file was deleted.

42 changes: 0 additions & 42 deletions example/index.js

This file was deleted.

6 changes: 0 additions & 6 deletions example/index.scss

This file was deleted.

30 changes: 0 additions & 30 deletions example/jest.config.example.js

This file was deleted.

51 changes: 0 additions & 51 deletions example/setupTest.example.js

This file was deleted.

Loading
Loading