Skip to content

Commit

Permalink
Merge pull request #14 from nexB/prepare-v1.0.0-release
Browse files Browse the repository at this point in the history
Initial Release for DepLock v1.0.0
  • Loading branch information
keshav-space authored Jun 13, 2024
2 parents beccf84 + e406146 commit 85d9b48
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 10 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Changelog
=========

Next Release
----------------

-

v1.0.0 (2024-06-13)
-------------------

- Initial release with support for npm, pnpm, and yarn.
19 changes: 11 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ DepLock

.. |license| image:: https://img.shields.io/badge/License-Apache--2.0-blue.svg?style=for-the-badge
:target: https://opensource.org/licenses/Apache-2.0

.. |version| image:: https://img.shields.io/github/v/release/nexB/dependency-inspector?style=for-the-badge

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

.. code-block:: bash
# Download the latest binary
curl -LO https://github.com/nexB/dependency-inspector/releases/latest/download/deplock
# Download the latest binary depending on your OS and architecture
# Replace <OS> with your operating system (linux, darwin, windows)
# Replace <ARCH> with your architecture (amd64, arm64)
curl -LO https://github.com/nexB/dependency-inspector/releases/latest/download/deplock-<OS>-<ARCH>
# Make the binary executable
chmod +x deplock
chmod +x deplock-<OS>-<ARCH>
# [Optional] Move the binary to included in your PATH
mv deplock /usr/local/bin/
# [Optional] Rename and move the binary to your PATH
mv deplock-<OS>-<ARCH> /usr/local/bin/deplock
Uses
=====
Expand All @@ -45,9 +48,9 @@ Here's how to get started and use the various commands:
Supported Ecosystems
--------------------

- npm
- pnpm
- yarn
- **npm**
- **pnpm**
- **yarn**

Example
-------
Expand Down
5 changes: 3 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ var ecosystems = []func() *cobra.Command{

func NewRootCmd() *cobra.Command {
rootCmd := &cobra.Command{
Use: "deplock",
Short: "DepLock: Dependency Locker CLI",
Use: "deplock",
Short: "DepLock: Dependency Locker CLI",
Version: "1.0.0",
}

initConfig(rootCmd)
Expand Down

0 comments on commit 85d9b48

Please sign in to comment.