Skip to content

Commit 45ed2c4

Browse files
committed
chore: flatten package to repo root for n8n publish
1 parent 81b9180 commit 45ed2c4

25 files changed

+8652
-8652
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
name: CI
2-
3-
on:
4-
pull_request:
5-
push:
6-
branches:
7-
- main
8-
9-
jobs:
10-
build:
11-
runs-on: ubuntu-latest
12-
13-
steps:
14-
- uses: actions/checkout@v4
15-
16-
- name: Use Node.js
17-
uses: actions/setup-node@v4
18-
with:
19-
node-version: '22'
20-
21-
- name: Install dependencies
22-
run: 'npm ci'
23-
24-
- name: Run lint
25-
run: 'npm run lint'
26-
27-
- name: Run build
28-
run: 'npm run build'
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Use Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: '22'
20+
21+
- name: Install dependencies
22+
run: 'npm ci'
23+
24+
- name: Run lint
25+
run: 'npm run lint'
26+
27+
- name: Run build
28+
run: 'npm run build'

.prettierrc.js

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,51 @@
1-
module.exports = {
2-
/**
3-
* https://prettier.io/docs/en/options.html#semicolons
4-
*/
5-
semi: true,
6-
7-
/**
8-
* https://prettier.io/docs/en/options.html#trailing-commas
9-
*/
10-
trailingComma: 'all',
11-
12-
/**
13-
* https://prettier.io/docs/en/options.html#bracket-spacing
14-
*/
15-
bracketSpacing: true,
16-
17-
/**
18-
* https://prettier.io/docs/en/options.html#tabs
19-
*/
20-
useTabs: true,
21-
22-
/**
23-
* https://prettier.io/docs/en/options.html#tab-width
24-
*/
25-
tabWidth: 2,
26-
27-
/**
28-
* https://prettier.io/docs/en/options.html#arrow-function-parentheses
29-
*/
30-
arrowParens: 'always',
31-
32-
/**
33-
* https://prettier.io/docs/en/options.html#quotes
34-
*/
35-
singleQuote: true,
36-
37-
/**
38-
* https://prettier.io/docs/en/options.html#quote-props
39-
*/
40-
quoteProps: 'as-needed',
41-
42-
/**
43-
* https://prettier.io/docs/en/options.html#end-of-line
44-
*/
45-
endOfLine: 'lf',
46-
47-
/**
48-
* https://prettier.io/docs/en/options.html#print-width
49-
*/
50-
printWidth: 100,
51-
};
1+
module.exports = {
2+
/**
3+
* https://prettier.io/docs/en/options.html#semicolons
4+
*/
5+
semi: true,
6+
7+
/**
8+
* https://prettier.io/docs/en/options.html#trailing-commas
9+
*/
10+
trailingComma: 'all',
11+
12+
/**
13+
* https://prettier.io/docs/en/options.html#bracket-spacing
14+
*/
15+
bracketSpacing: true,
16+
17+
/**
18+
* https://prettier.io/docs/en/options.html#tabs
19+
*/
20+
useTabs: true,
21+
22+
/**
23+
* https://prettier.io/docs/en/options.html#tab-width
24+
*/
25+
tabWidth: 2,
26+
27+
/**
28+
* https://prettier.io/docs/en/options.html#arrow-function-parentheses
29+
*/
30+
arrowParens: 'always',
31+
32+
/**
33+
* https://prettier.io/docs/en/options.html#quotes
34+
*/
35+
singleQuote: true,
36+
37+
/**
38+
* https://prettier.io/docs/en/options.html#quote-props
39+
*/
40+
quoteProps: 'as-needed',
41+
42+
/**
43+
* https://prettier.io/docs/en/options.html#end-of-line
44+
*/
45+
endOfLine: 'lf',
46+
47+
/**
48+
* https://prettier.io/docs/en/options.html#print-width
49+
*/
50+
printWidth: 100,
51+
};

CHANGELOG.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
### Changelog
2-
3-
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
4-
5-
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6-
7-
#### 0.2.1
8-
9-
- .. [`0b6d683`](https://github.com/Cryptolens/n8n-node/commit/0b6d6838ad39a14115d8aa290d7410b48175a138)
10-
- .. [`69d32e3`](https://github.com/Cryptolens/n8n-node/commit/69d32e319773599077aa139d3dbc9510ed8d17a1)
11-
- createkey [`9282db4`](https://github.com/Cryptolens/n8n-node/commit/9282db4554e62b56c3b97824079cf5bd9dea8de5)
1+
### Changelog
2+
3+
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
4+
5+
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6+
7+
#### 0.2.1
8+
9+
- .. [`0b6d683`](https://github.com/Cryptolens/n8n-node/commit/0b6d6838ad39a14115d8aa290d7410b48175a138)
10+
- .. [`69d32e3`](https://github.com/Cryptolens/n8n-node/commit/69d32e319773599077aa139d3dbc9510ed8d17a1)
11+
- createkey [`9282db4`](https://github.com/Cryptolens/n8n-node/commit/9282db4554e62b56c3b97824079cf5bd9dea8de5)

README.md

Lines changed: 81 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,81 @@
1-
# @cryptolens/n8n-nodes-devolens
2-
3-
This is an n8n community node for Cryptolens. It lets you use Cryptolens Web API v3 in your n8n workflows.
4-
5-
[Cryptolens](https://cryptolens.io/) is a software licensing and entitlement platform.
6-
7-
[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/sustainable-use-license/) workflow automation platform.
8-
9-
[Installation](#installation)
10-
[Operations](#operations)
11-
[Credentials](#credentials)
12-
[Compatibility](#compatibility)
13-
[Usage](#usage)
14-
[Resources](#resources)
15-
[Version history](#version-history)
16-
17-
## Installation
18-
19-
Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
20-
21-
## Operations
22-
23-
### Key
24-
- Create Key (`/key/CreateKey`)
25-
- Extend License (`/key/ExtendLicense`)
26-
- Block Key (`/key/BlockKey`)
27-
- Unblock Key (`/key/UnblockKey`)
28-
- Add Feature (`/key/AddFeature`)
29-
- Remove Feature (`/key/RemoveFeature`)
30-
31-
### AI
32-
- Get Web API Log (`/ai/GetWebAPILog`)
33-
34-
### Product
35-
- Get Products (`/product/GetProducts`)
36-
- Get Keys (`/product/GetKeys`)
37-
38-
## Credentials
39-
40-
Create a Cryptolens Access Token in your Cryptolens account and add it in n8n as the credential type `Cryptolens Devolens API`.
41-
42-
Credential field:
43-
- `Access Token`
44-
- Source file: [`credentials/CryptolensDevolensApi.credentials.ts`](https://github.com/Cryptolens/n8n-node/blob/main/%40cryptolens/n8n-nodes-devolens/credentials/CryptolensDevolensApi.credentials.ts)
45-
46-
This node sends the token as:
47-
- `token` header
48-
- `token` query parameter
49-
50-
Base URL used by the node:
51-
- `https://api.cryptolens.io/api`
52-
53-
## Compatibility
54-
55-
Built with the n8n community node tooling (`@n8n/node-cli`) and Node API version 1.
56-
57-
Test this node against your target n8n version before production use.
58-
59-
## Usage
60-
61-
1. Add the `Cryptolens Devolens` node to your workflow.
62-
2. Select a resource (`Key`, `AI`, or `Product`).
63-
3. Select an operation.
64-
4. Configure the operation fields.
65-
5. Execute the node.
66-
67-
Notes:
68-
- Most endpoints in this node are `GET` and map fields to query parameters.
69-
- Some operations include an optional method version parameter `v`.
70-
71-
## Resources
72-
73-
* [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
74-
* [Cryptolens Web API v3 docs](https://app.cryptolens.io/docs/api/v3/)
75-
* [Project repository](https://github.com/Cryptolens/n8n-node/tree/main/%40cryptolens/n8n-nodes-devolens)
76-
77-
## Version history
78-
79-
### 0.1.0
80-
- Initial public version.
81-
1+
# @cryptolens/n8n-nodes-devolens
2+
3+
This is an n8n community node for Cryptolens. It lets you use Cryptolens Web API v3 in your n8n workflows.
4+
5+
[Cryptolens](https://cryptolens.io/) is a software licensing and entitlement platform.
6+
7+
[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/sustainable-use-license/) workflow automation platform.
8+
9+
[Installation](#installation)
10+
[Operations](#operations)
11+
[Credentials](#credentials)
12+
[Compatibility](#compatibility)
13+
[Usage](#usage)
14+
[Resources](#resources)
15+
[Version history](#version-history)
16+
17+
## Installation
18+
19+
Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.
20+
21+
## Operations
22+
23+
### Key
24+
- Create Key (`/key/CreateKey`)
25+
- Extend License (`/key/ExtendLicense`)
26+
- Block Key (`/key/BlockKey`)
27+
- Unblock Key (`/key/UnblockKey`)
28+
- Add Feature (`/key/AddFeature`)
29+
- Remove Feature (`/key/RemoveFeature`)
30+
31+
### AI
32+
- Get Web API Log (`/ai/GetWebAPILog`)
33+
34+
### Product
35+
- Get Products (`/product/GetProducts`)
36+
- Get Keys (`/product/GetKeys`)
37+
38+
## Credentials
39+
40+
Create a Cryptolens Access Token in your Cryptolens account and add it in n8n as the credential type `Cryptolens Devolens API`.
41+
42+
Credential field:
43+
- `Access Token`
44+
- Source file: [`credentials/CryptolensDevolensApi.credentials.ts`](https://github.com/Cryptolens/n8n-node/blob/main/%40cryptolens/n8n-nodes-devolens/credentials/CryptolensDevolensApi.credentials.ts)
45+
46+
This node sends the token as:
47+
- `token` header
48+
- `token` query parameter
49+
50+
Base URL used by the node:
51+
- `https://api.cryptolens.io/api`
52+
53+
## Compatibility
54+
55+
Built with the n8n community node tooling (`@n8n/node-cli`) and Node API version 1.
56+
57+
Test this node against your target n8n version before production use.
58+
59+
## Usage
60+
61+
1. Add the `Cryptolens Devolens` node to your workflow.
62+
2. Select a resource (`Key`, `AI`, or `Product`).
63+
3. Select an operation.
64+
4. Configure the operation fields.
65+
5. Execute the node.
66+
67+
Notes:
68+
- Most endpoints in this node are `GET` and map fields to query parameters.
69+
- Some operations include an optional method version parameter `v`.
70+
71+
## Resources
72+
73+
* [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
74+
* [Cryptolens Web API v3 docs](https://app.cryptolens.io/docs/api/v3/)
75+
* [Project repository](https://github.com/Cryptolens/n8n-node/tree/main/%40cryptolens/n8n-nodes-devolens)
76+
77+
## Version history
78+
79+
### 0.1.0
80+
- Initial public version.
81+

0 commit comments

Comments
 (0)