Skip to content

Commit df196c8

Browse files
fix: add @godaddy scope (#33)
- Add `@godaddy` scope to package so we can publish to npm - Fix runner - Remove build cache which seems to not be working :/
1 parent 0994cea commit df196c8

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/pr.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
ci:
1010
runs-on:
11-
- self-hosted
11+
- ubuntu-24.04-arm
1212

1313
steps:
1414
- name: Checkout Repo
@@ -17,7 +17,6 @@ jobs:
1717
- name: Use Node.js
1818
uses: actions/setup-node@04c56d2f954f1e4c69436aa54cfef261a018f458
1919
with:
20-
cache: npm
2120
node-version-file: .nvmrc
2221

2322
- name: Install Dependencies

MIGRATION.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44

55
The following breaking changes were made in v2:
66
- Everything was migrated from AWS SDK v2 to AWS SDK v3. This means that you must now pass in V3-generation client instances for liveness checks.
7-
- The library is now ESM-only. If you are using CommonJS, you will need to use `import()` to load the library or convert the code using this library to ESM.
7+
- The library is now ESM-only. If you are using CommonJS, you will need to use `import()` to load the library or convert the code using this library to ESM.
8+
- The package has been renamed to `@godaddy/aws-liveness` to follow the GoDaddy package naming convention. You will need to update your import statements accordingly.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ npm i --save aws-liveness
1313
## Usage
1414

1515
```javascript
16-
import AWSLiveness from 'aws-liveness';
16+
import AWSLiveness from '@godaddy/aws-liveness';
1717
import { DynamoDBClient } from '@aws-sdk/client-dynamodb';
1818

1919
const awsLiveness = new AWSLiveness();
@@ -53,7 +53,7 @@ By default, `AWSLiveness` supports running the following liveness commands for t
5353
You can also create additional checks to customize liveness.
5454

5555
```js
56-
import AWSLiveness from 'aws-liveness';
56+
import AWSLiveness from '@godaddy/aws-liveness';
5757
import { DynamoDBClient, DescribeTableCommand } from '@aws-sdk/client-dynamodb';
5858

5959
class MyCustomService {

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "aws-liveness",
2+
"name": "@godaddy/aws-liveness",
33
"version": "2.0.0",
44
"description": "AWS Liveness tools",
55
"type": "module",

0 commit comments

Comments
 (0)