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

NEW CMS 5 compatability #41

Merged

Conversation

GuySartorelli
Copy link
Member

@GuySartorelli GuySartorelli force-pushed the pulls/5/cms5-compat branch 2 times, most recently from 3cbfedd to 9c71f3b Compare May 4, 2023 21:33
@GuySartorelli GuySartorelli marked this pull request as ready for review May 4, 2023 21:33
@GuySartorelli GuySartorelli changed the base branch from 4 to 5 May 4, 2023 21:33
Copy link

@maxime-rainville maxime-rainville left a comment

Choose a reason for hiding this comment

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

This looks great. I ran this locally to make sure I could create a module with it.

Made some suggestion, but I'm not overly wedged to any of them.

CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Comment on lines +34 to +36
- If you need to build your css or js and are using components, injector, scss variables, etc from `silverstripe/admin`:
- Ensure that `silverstripe/admin` is installed with `composer install --prefer-source` instead of the default `--prefer-dist` (you can use `composer reinstall silverstripe/admin --prefer-source` if you already installed it)
- If you are relying on additional dependencies from `silverstripe/admin` instead of adding them as dependencies in your `package.json` file, you need to install third party dependencies in `silverstripe/admin` by running `yarn install` in the `vendor/silverstripe/admin/` directory.

Choose a reason for hiding this comment

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

We need a better way of explaining this thing. But that will do for now.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
client/dist/js/bundle.js Outdated Show resolved Hide resolved
@@ -2,4 +2,6 @@

Put your initialisation scripts in here.

See the [Silverstripe CMS javascript documentation](https://docs.silverstripe.org/en/developer_guides/customising_the_admin_interface/javascript_development/)

Choose a reason for hiding this comment

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

Good call!

@GuySartorelli GuySartorelli force-pushed the pulls/5/cms5-compat branch from 9c71f3b to bba3c67 Compare May 10, 2023 21:14
Copy link

@maxime-rainville maxime-rainville left a comment

Choose a reason for hiding this comment

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

LGTM

@maxime-rainville maxime-rainville merged commit 154c815 into silverstripe:5 May 11, 2023
@maxime-rainville maxime-rainville deleted the pulls/5/cms5-compat branch May 11, 2023 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants