Skip to content

Commit

Permalink
Chore/dependency cleanup (#34)
Browse files Browse the repository at this point in the history
* Remove chalk as a dependency

* Do not install dev deps on deploy

* Bump version
  • Loading branch information
artufimtcev authored Aug 12, 2024
1 parent e45a2e6 commit c2fad50
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN_READ }}" > ~/.npmrc

- name: Install dependencies
run: npm i
run: npm ci --skip-dev

- name: Build
run: npm run build
Expand Down
15 changes: 9 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@supernovaio/cli",
"description": "Supernova.io Command Line Interface",
"version": "1.0.8",
"version": "1.0.9",
"author": "Supernova.io",
"homepage": "https://supernova.io/",
"keywords": [
Expand All @@ -28,9 +28,7 @@
"@supernova-studio/pulsar-core": "2.2.3",
"@supernovaio/sdk": "2.0.12",
"axios": "^1.6.2",
"chalk": "^5.0.1",
"colors": "^1.4.0",
"dotenv": "^16.0.0",
"node-fetch": "^3.2.4"
},
"bundleDependencies": [
Expand Down Expand Up @@ -59,7 +57,8 @@
"shx": "^0.3.3",
"ts-node": "10.9.1",
"tslib": "^2.3.1",
"typescript": "5.2.2"
"typescript": "5.2.2",
"dotenv": "^16.0.0"
},
"engines": {
"node": ">=12.0.0"
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3893,7 +3893,7 @@ chalk@^4.1.2:
ansi-styles "^4.1.0"
supports-color "^7.1.0"

chalk@^5.0.1, chalk@^5.3.0:
chalk@^5.3.0:
version "5.3.0"
resolved "https://registry.npmjs.org/chalk/-/chalk-5.3.0.tgz"
integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==
Expand Down

0 comments on commit c2fad50

Please sign in to comment.