Skip to content

Commit 1650095

Browse files
committed
Dropping npm/yarn install options
1 parent 1c18372 commit 1650095

15 files changed

Lines changed: 2 additions & 1099 deletions

File tree

.github/dependabot.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,6 @@ updates:
2626
- "dependencies"
2727
- "javascript"
2828

29-
# Check for npm dependencies in dist/npm
30-
- package-ecosystem: "npm"
31-
directory: "/dist/npm"
32-
schedule:
33-
interval: "weekly"
34-
labels:
35-
- "dependencies"
36-
- "javascript"
37-
3829
# Check for npm dependencies at root level (but exclude docs)
3930
- package-ecosystem: "npm"
4031
directory: "/"
@@ -46,4 +37,4 @@ updates:
4637
interval: "weekly"
4738
labels:
4839
- "dependencies"
49-
- "javascript"
40+
- "javascript"

.github/workflows/npm.yaml

Lines changed: 0 additions & 59 deletions
This file was deleted.

.github/workflows/release.yaml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
2929
- uses: actions/setup-node@v1
3030
with:
3131
node-version: 20
32-
registry-url: https://registry.npmjs.org/
3332
- id: get_version
3433
run: |
3534
RELEASE_VERSION=$(echo $GITHUB_REF | sed -nE 's!refs/tags/!!p')
@@ -44,8 +43,6 @@ jobs:
4443
- name: Build UI
4544
env:
4645
VERSION: ${{ steps.get_version.outputs.release_version }}
47-
NPM_CONFIG_GLOBALCONFIG: "dist/npm/config/npmrc"
48-
NPM_REGISTRY_TOKEN: ${{ secrets.NPM_DEVSPACE_REGISTRY_TOKEN }}
4946
CI: "false"
5047
run: ./hack/build-ui.bash
5148
- name: Upload ui tar
@@ -90,28 +87,6 @@ jobs:
9087
with:
9188
pattern: "release/*"
9289
github-token: ${{ secrets.GITHUB_TOKEN }}
93-
publish-npm:
94-
if: startsWith(github.ref, 'refs/tags/v') == true
95-
needs: [release, release-ui]
96-
runs-on: ubuntu-latest
97-
steps:
98-
- uses: actions/checkout@v1
99-
- uses: actions/setup-node@v1
100-
with:
101-
node-version: 20
102-
registry-url: https://registry.npmjs.org/
103-
- id: get_version
104-
run: |
105-
RELEASE_VERSION=$(echo $GITHUB_REF | sed -nE 's!refs/tags/!!p')
106-
echo "::set-output name=release_version::$RELEASE_VERSION"
107-
- run: |
108-
npm ci
109-
export NPM_TAG=$(node index.js get-tag)
110-
npm publish --tag $NPM_TAG
111-
working-directory: ./dist/npm
112-
env:
113-
RELEASE_VERSION: ${{ steps.get_version.outputs.release_version }}
114-
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}
11590
publish-next-image:
11691
if: github.ref == 'refs/heads/main'
11792
runs-on: ubuntu-latest

.github/workflows/ui.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
- uses: actions/setup-node@v1
1818
with:
1919
node-version: 20
20-
registry-url: https://registry.npmjs.org/
2120
- name: Cache node modules
2221
uses: actions/cache@v4
2322
with:
@@ -27,7 +26,5 @@ jobs:
2726
${{ runner.os }}-node-
2827
- name: Build UI
2928
env:
30-
NPM_CONFIG_GLOBALCONFIG: "dist/npm/config/npmrc"
31-
NPM_REGISTRY_TOKEN: ${{ secrets.NPM_DEVSPACE_REGISTRY_TOKEN }}
3229
CI: "false"
3330
run: ./hack/build-ui.bash

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
![Latest Release](https://img.shields.io/github/v/release/loft-sh/devspace?style=for-the-badge&label=Latest%20Release&color=%23007ec6)
77
![License: Apache-2.0](https://img.shields.io/github/license/loft-sh/devspace?style=for-the-badge&color=%23007ec6)
88
![Total Downloads (GitHub Releases)](https://img.shields.io/github/downloads/loft-sh/devspace/total?style=for-the-badge&label=Total%20Downloads&color=%23007ec6)
9-
![NPM Installs per Month](https://img.shields.io/npm/dm/devspace?label=NPM%20Installs&style=for-the-badge&color=%23007ec6)
109
![OpenSSF Best Practices](https://bestpractices.coreinfrastructure.org/projects/6945/badge)
1110

1211
[![Join us on Slack!](docs/static/img/slack.svg)](https://slack.loft.sh/)

dist/npm/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/npm/.npmignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

dist/npm/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/npm/bin/devspace

Lines changed: 0 additions & 56 deletions
This file was deleted.

dist/npm/bin/devspace.cmd

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)