Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GORELEASER_KEY: ${{ secrets.KOSLI_GORELEASERPRO }}

- name: Copy npm packages into dist for provenance
Expand Down
4 changes: 3 additions & 1 deletion npm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This directory contains the npm package structure for distributing the Kosli CLI

## Structure

```
```text
npm/
├── wrapper/ # @kosli/cli — the package users install
│ ├── bin/kosli # JS shim that detects the platform and runs the binary
Expand Down Expand Up @@ -97,6 +97,8 @@ before:

Packages are published to the [npm public registry](https://registry.npmjs.org). Platform packages must be published before the wrapper, since the wrapper's `optionalDependencies` references them by version. After a goreleaser build has populated the `bin/` directories:

The package publishing expects the package is configured for [Trusted publishing](https://docs.npmjs.com/trusted-publishers) - so if more platforms are added you must configure the new packages accordingly.
Comment thread
mbevc1 marked this conversation as resolved.
Outdated

```sh
# Publish platform packages first
(cd npm/cli-linux-x64 && npm publish)
Expand Down
1 change: 0 additions & 1 deletion npm/cli-darwin-arm64/.npmrc

This file was deleted.

1 change: 0 additions & 1 deletion npm/cli-darwin-x64/.npmrc

This file was deleted.

1 change: 0 additions & 1 deletion npm/cli-linux-arm/.npmrc

This file was deleted.

1 change: 0 additions & 1 deletion npm/cli-linux-arm64/.npmrc

This file was deleted.

1 change: 0 additions & 1 deletion npm/cli-linux-x64/.npmrc

This file was deleted.

1 change: 0 additions & 1 deletion npm/cli-win32-arm64/.npmrc

This file was deleted.

1 change: 0 additions & 1 deletion npm/cli-win32-x64/.npmrc

This file was deleted.

1 change: 0 additions & 1 deletion npm/wrapper/.npmrc

This file was deleted.

Loading