Skip to content

Commit

Permalink
feat: rename automation package to event-listener
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoAmura committed Dec 20, 2024
1 parent 0f4df3b commit 528bc01
Show file tree
Hide file tree
Showing 47 changed files with 16 additions and 16 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# @lit-protocol/automation
# @lit-protocol/event-listener

A TypeScript library for creating and managing automated workflows using Lit Protocol.

The automation package provides a flexible state machine implementation that allows you to:
The event listener package provides a flexible state machine implementation that allows you to:

- Execute automated Lit Action workflows based on custom triggers, such as events on blockchains or off-chain platforms
- Automate the minting of PKPs, Capacity Credits, and other Lit operations
Expand All @@ -13,9 +13,9 @@ The automation package provides a flexible state machine implementation that all
## Installation

```bash
npm install @lit-protocol/automation
npm install @lit-protocol/event-listener
# or
yarn add @lit-protocol/automation
yarn add @lit-protocol/event-listener
```

## Core Concepts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ export default {
'^.+\\.[t]s$': 'ts-jest',
},
moduleFileExtensions: ['ts', 'js', 'html'],
coverageDirectory: '../../coverage/packages/automation',
coverageDirectory: '../../coverage/packages/event-listener',
setupFilesAfterEnv: ['../../jest.setup.js'],
};
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@lit-protocol/automation",
"name": "@lit-protocol/event-listener",
"type": "commonjs",
"license": "MIT",
"homepage": "https://github.com/Lit-Protocol/js-sdk",
Expand All @@ -15,7 +15,7 @@
},
"publishConfig": {
"access": "public",
"directory": "../../dist/packages/automation"
"directory": "../../dist/packages/event-listener"
},
"tags": [
"universal"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "automation",
"name": "event-listener",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/automation/src",
"sourceRoot": "packages/event-listener/src",
"projectType": "library",
"targets": {
"build": {
"cache": false,
"executor": "@nx/js:tsc",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/packages/automation",
"main": "packages/automation/src/index.ts",
"tsConfig": "packages/automation/tsconfig.lib.json",
"assets": ["packages/automation/*.md"],
"outputPath": "dist/packages/event-listener",
"main": "packages/event-listener/src/index.ts",
"tsConfig": "packages/event-listener/tsconfig.lib.json",
"assets": ["packages/event-listener/*.md"],
"updateBuildableProjectDepsInPackageJson": true
},
"dependsOn": ["^build"]
Expand All @@ -21,14 +21,14 @@
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["packages/automation/**/*.ts"]
"lintFilePatterns": ["packages/event-listener/**/*.ts"]
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/packages/automation"],
"outputs": ["{workspaceRoot}/coverage/packages/event-listener"],
"options": {
"jestConfig": "packages/automation/jest.config.ts",
"jestConfig": "packages/event-listener/jest.config.ts",
"passWithNoTests": true
}
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 528bc01

Please sign in to comment.