Skip to content

Commit 85d9b48

Browse files
authored
Merge pull request #14 from nexB/prepare-v1.0.0-release
Initial Release for DepLock v1.0.0
2 parents beccf84 + e406146 commit 85d9b48

3 files changed

Lines changed: 26 additions & 10 deletions

File tree

CHANGELOG.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Changelog
2+
=========
3+
4+
Next Release
5+
----------------
6+
7+
-
8+
9+
v1.0.0 (2024-06-13)
10+
-------------------
11+
12+
- Initial release with support for npm, pnpm, and yarn.

README.rst

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ DepLock
88

99
.. |license| image:: https://img.shields.io/badge/License-Apache--2.0-blue.svg?style=for-the-badge
1010
:target: https://opensource.org/licenses/Apache-2.0
11+
1112
.. |version| image:: https://img.shields.io/github/v/release/nexB/dependency-inspector?style=for-the-badge
1213

1314
.. |build| image:: https://img.shields.io/github/actions/workflow/status/nexB/dependency-inspector/ci.yml?style=for-the-badge&logo=github
@@ -20,14 +21,16 @@ To install DepLock, follow these steps:
2021

2122
.. code-block:: bash
2223
23-
# Download the latest binary
24-
curl -LO https://github.com/nexB/dependency-inspector/releases/latest/download/deplock
24+
# Download the latest binary depending on your OS and architecture
25+
# Replace <OS> with your operating system (linux, darwin, windows)
26+
# Replace <ARCH> with your architecture (amd64, arm64)
27+
curl -LO https://github.com/nexB/dependency-inspector/releases/latest/download/deplock-<OS>-<ARCH>
2528
2629
# Make the binary executable
27-
chmod +x deplock
30+
chmod +x deplock-<OS>-<ARCH>
2831
29-
# [Optional] Move the binary to included in your PATH
30-
mv deplock /usr/local/bin/
32+
# [Optional] Rename and move the binary to your PATH
33+
mv deplock-<OS>-<ARCH> /usr/local/bin/deplock
3134
3235
Uses
3336
=====
@@ -45,9 +48,9 @@ Here's how to get started and use the various commands:
4548
Supported Ecosystems
4649
--------------------
4750

48-
- npm
49-
- pnpm
50-
- yarn
51+
- **npm**
52+
- **pnpm**
53+
- **yarn**
5154

5255
Example
5356
-------

cmd/root.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ var ecosystems = []func() *cobra.Command{
2626

2727
func NewRootCmd() *cobra.Command {
2828
rootCmd := &cobra.Command{
29-
Use: "deplock",
30-
Short: "DepLock: Dependency Locker CLI",
29+
Use: "deplock",
30+
Short: "DepLock: Dependency Locker CLI",
31+
Version: "1.0.0",
3132
}
3233

3334
initConfig(rootCmd)

0 commit comments

Comments
 (0)