Skip to content

Commit 79264bc

Browse files
authored
Merge pull request #687 from api3dao/main
Initiate release
2 parents b2d55af + 55d2b00 commit 79264bc

5 files changed

Lines changed: 14 additions & 14 deletions

File tree

.changeset/tangy-files-join.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@api3/contracts': minor
3+
---
4+
5+
Add basedollar on Base to dApp details

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
- name: Set up Node
2727
uses: actions/setup-node@v4
2828
with:
29-
node-version: '22.18.0'
29+
node-version: 24
30+
registry-url: 'https://registry.npmjs.org'
3031
cache: 'pnpm'
3132

3233
- name: Ensure main is present for the commit message preparation
@@ -51,8 +52,6 @@ jobs:
5152
commit: 'Release v${{ env.NEW_VERSION }}'
5253
env:
5354
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
55-
NPM_CONFIG_PROVENANCE: true
5655

5756
- name: Create PR to merge production to main
5857
if: steps.changesets.outputs.published == 'true'

data/dapps/basedollar.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"aliases": {
3+
"basedollar": { "chains": ["base"], "title": "BaseD" }
4+
},
5+
"homepageUrl": "https://basedollar.org/"
6+
}

scripts/check-dapps.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import path from 'node:path';
44
import { DAPPS } from '../src/generated/dapps';
55
import { dappSchema, type Dapp } from '../src/types';
66
import { deepEqual } from '../src/utils/deep-equal';
7-
import { toLowerKebabCase } from '../src/utils/strings';
87

98
const INPUT_DIR = path.join('data', 'dapps');
109

@@ -18,16 +17,6 @@ const jsonDapps: Dapp[] = jsonFiles.map((filePath: string) => {
1817
const fileContentRaw = fs.readFileSync(fullPath, 'utf8');
1918
const dapp: Dapp = JSON.parse(fileContentRaw);
2019

21-
// Validation: Ensure that each JSON file is named as a prefix of one of the dApp's titles
22-
const uniqueDappTitles = [
23-
...new Set(Object.values(dapp.aliases).map((dappAliasValue) => toLowerKebabCase(dappAliasValue.title))),
24-
];
25-
if (!uniqueDappTitles.some((uniqueDappTitle) => uniqueDappTitle.startsWith(filePath.replace('.json', '')))) {
26-
logs.push(
27-
'JSON file name must be the prefix of a dApp title',
28-
`Current value: ${filePath}. Expected to be prefix of: ${uniqueDappTitles.join('/')}\n`
29-
);
30-
}
3120
return dapp;
3221
});
3322

src/generated/dapps.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { type Dapp } from '../types';
99

1010
export const DAPPS: Dapp[] = [
1111
{ aliases: { apebank: { chains: ['apechain'], title: 'ApeBank' } }, homepageUrl: 'https://ape-bank.netlify.app/' },
12+
{ aliases: { basedollar: { chains: ['base'], title: 'BaseD' } }, homepageUrl: 'https://basedollar.org/' },
1213
{
1314
aliases: {
1415
'compound-finance-usde': {

0 commit comments

Comments
 (0)