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

Feature add docker compose for dev #2

Merged

Conversation

pmzi
Copy link
Contributor

@pmzi pmzi commented Feb 11, 2023

Hi,

In this PR, I have used docker-compose to make it easier to develop the package inside OSJS. It also helps others to see a demo easily by running only one command.

},
"devDependencies": {
"@babel/preset-react": "^7.0.0",
"@osjs/dev-meta": "^1.0.3",
"babel-eslint": "^10.1.0",
"eslint": "^7.30.0",
"eslint-plugin-react": "^7.24.0"
"eslint-plugin-react": "^7.24.0",
"webpack": "^4.46.0",
Copy link
Collaborator

Choose a reason for hiding this comment

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

We normally don't add webpack and webpack-cli as a devDependency of packages. They are already added in @osjs/dev-meta package

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It should be added. Because this project needs webpack itself and it should not depend on webpack installation based on another project.

Copy link
Collaborator

Choose a reason for hiding this comment

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

As you can see here and here, these sample applications also do the same. So I think we'd better to follow the overall behaviour.

@mahsashadi
Copy link
Collaborator

Hi,

In this PR, I have used docker-compose to make it easier to develop the package inside OSJS. It also helps others to see a demo easily by running only one command.

Thanks for your PR.
Let's wait for conclusion of this PR.

@mahsashadi mahsashadi merged commit db44b45 into BurnaSmartLab:master Mar 1, 2023
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