Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@konradpabjan
Copy link
Contributor

@konradpabjan konradpabjan commented Jan 4, 2023

Right now if you create a codespace is creates one with a really old node version and npm and that causes package.json to drop down to version 1 and it messes up a bunch of things.

I'm adding a basic devcontainer so that we have a basic node codespace that gets created. This makes it easier to to development and for small changes such as package updates.

In order to make node16 work in CI, we had to update all dev dependencies as well. This fixed something with NPM due to really old deprecated packages 🤷‍♂️

We also moved from zeit/ncc to vercel/ncc which is supported and our other first party actions use this. Because of this we had to rebuild index.js substantially

@konradpabjan konradpabjan requested a review from a team as a code owner January 4, 2023 19:29
@konradpabjan konradpabjan marked this pull request as draft January 4, 2023 20:49
@konradpabjan konradpabjan changed the title Create devcontainer for codespaces Create devcontainer for codespaces + update all dev dependencies Jan 5, 2023
@konradpabjan konradpabjan marked this pull request as ready for review January 5, 2023 20:17
@konradpabjan konradpabjan merged commit 013d2b8 into main Jan 5, 2023
@konradpabjan konradpabjan deleted the konradpabjan/codespace-devcontainer branch January 5, 2023 21:27
tdfacer pushed a commit to ifit/upload-artifact that referenced this pull request Oct 7, 2025
…ions#375)

* Create devcontainer for codespaces

* Use node 16 for devcontainer and CI

* Fix node version incompatibility error

* Remove caching

* Add npm build to check-dist

* Remove new caching

* use npm install

* Test node 14

* Update check dist with node 16

* Use node 18.x for check-dist

* Npm install vs CI

* Update package.json scripts

* test

* Remove caching

* npm run test

* testing

* test

* test

* One more test

* Test

* test

* Update everything

* use vercel

* Test

* Update index.js

* Test

* Remove codeql warnings

* Use NPM CI vs install

* Small tweaks to existing workflows
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.

4 participants