Skip to content

Move optionalDependencies to devDependencies - #84

Merged
mblomdahl merged 3 commits into
smithmicro:masterfrom
mdartic:master
Oct 23, 2022
Merged

mblomdahl merged 3 commits into
smithmicro:masterfrom
mdartic:master

Conversation

@mdartic

@mdartic mdartic commented Nov 8, 2019

Copy link
Copy Markdown
Contributor

Related to #82

Because it creates some issues when you install optionalDependency like "yarn 0.27.5" and now we are on "1.19".
Because I think it's better to not install these dependencies when just using it on a project.

Thanks for the library anyway, it helps a lot !

@mblomdahl
mblomdahl self-requested a review as a code owner October 23, 2022 13:25
mblomdahl added a commit to mblomdahl/mapbox-gl-circle that referenced this pull request Oct 23, 2022
…micro#84

`optionalDependencies` removed from `package.json`, closes smithmicro#82 and closes smithmicro#65; now you can `docker build -t . && docker run -it --rm -p 9966:9966` and `open http://127.0.0.1:9966` to run the playground from a container. Performing a normal `npm install` works like a charm with NPM 7+ and Node LTS, inside or outside a container.

Additionally:
- New MapBox access token for the `npm run start` development playground
- Dockerfile updated from Node 8 to Node 16 LTS
- Changelog entry added for this change, coming up in next version `1.6.7`

Ping @mdartic and @dsperling FYI!
mdartic and others added 3 commits October 23, 2022 16:37
optionalDependencie "yarn" cause problem... I think this move will fix an issue I have that use the `node_modules/.bin/yarn` instead of the global `yarn`.
`optionalDependencies` removed from `package.json`, closes #82 and closes #65; now you can `docker build -t . && docker run -it --rm -p 9966:9966` and `open http://127.0.0.1:9966` to run the playground from a container. Performing a normal `npm install` works like a charm with NPM 7+ and Node LTS, inside or outside a container.

Additionally:
- New MapBox access token for the `npm run start` development playground
- Dockerfile updated from Node 8 to Node 16 LTS
- Changelog entry added for this change, coming up in next version `1.6.7`

Ping @mdartic and @dsperling FYI!
@mblomdahl mblomdahl added the dependencies Pull requests that update a dependency file label Oct 23, 2022

@mblomdahl mblomdahl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for posting this issue and contributing to a solution @mdartic! 🌟

@mblomdahl
mblomdahl merged commit 9e1ec0f into smithmicro:master Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants