Skip to content

Commit 67c1962

Browse files
committed
feat: initial public SDK release
0 parents  commit 67c1962

File tree

107 files changed

+27239
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+27239
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @anduril/lattice-sdk-maintainers

.github/workflows/commit-lint.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "Lint commit"
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
- reopened
10+
permissions:
11+
pull-requests: read
12+
jobs:
13+
main:
14+
name: Validate PR title
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: amannn/action-semantic-pull-request@v5
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
with:
21+
requireScope: false

.github/workflows/release.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Release
2+
on:
3+
push:
4+
branches:
5+
- master
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
release:
12+
name: Release
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write # to be able to publish a GitHub release
16+
issues: write # to be able to comment on released issues
17+
pull-requests: write # to be able to comment on released pull requests
18+
id-token: write # to enable use of OIDC for npm provenance
19+
steps:
20+
- name: Checkout
21+
uses: actions/checkout@v4
22+
with:
23+
fetch-depth: 0
24+
- name: Setup Node.js
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: "lts/*"
28+
- name: Install dependencies
29+
run: npm clean-install
30+
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
31+
run: npm audit signatures
32+
- name: Release
33+
env:
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
36+
run: npx semantic-release

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

LICENSE.md

Lines changed: 188 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Lattice SDK Javascript
2+
3+
[![Version](https://img.shields.io/npm/v/@anduril-industries/lattice-sdk.svg)](https://www.npmjs.com/package/@anduril-industries/lattice-sdk)
4+
5+
The official [Anduril](https://www.anduril.com/) Lattice SDK for Javascript.
6+
7+
## Documentation
8+
9+
See the documentation for [Lattice Javascript SDK](https://docs.anduril.com/sdks/javascript).
10+
11+
## Requirements
12+
13+
To use the SDK please ensure you have the following installed:
14+
15+
* [NodeJS](https://nodejs.org/en/download/package-manager)
16+
17+
## Installation
18+
19+
1. Create a new NPM repository `npm init`
20+
2. Install the Lattice SDK package with
21+
22+
```
23+
npm i @anduril-industries/lattice-sdk
24+
# or
25+
yarn add @anduril-industries/lattice-sdk
26+
```
27+
28+
## Support
29+
30+
For support with this library please [file an issue](https://github.com/anduril/lattice-sdk-javascript/issues/new) or reach out to your Anduril representative.

SECURITY.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Security Policy
2+
3+
## Reporting a Vulnerability
4+
5+
Please report any security issues to the Anduril Information Security team using the email [email protected]. Additional information including our pgp key can be found in the [security.txt page](https://www.anduril.com/.well-known/security.txt) of our website.

0 commit comments

Comments
 (0)