Skip to content

Commit bebc939

Browse files
authored
Merge pull request #1 from minswap/build-lib
2 parents 1a56b6e + 80f4655 commit bebc939

11 files changed

+1122
-11
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Install pnpm
1515
uses: pnpm/action-setup@v4
1616
with:
17-
version: 9
17+
version: 9.5.0
1818
- name: Use Node.js ${{ matrix.node-version }}
1919
uses: actions/setup-node@v4
2020
with:

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
node_modules
33
.idea
44
.vscode
5+
build

package.json

+13-4
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,28 @@
11
{
2-
"name": "minswap-tokens",
2+
"name": "@minswap/minswap-tokens",
33
"version": "1.0.0",
44
"description": "",
5-
"main": "index.js",
5+
"main": "build/index.js",
6+
"module": "build/index.es.js",
7+
"types": "build/index.d.ts",
68
"scripts": {
9+
"build": "rimraf build && rollup -c rollup.config.js",
710
"test": "echo \"Test run\" && exit 0",
811
"lint": "biome check --no-errors-on-unmatched --fix ."
912
},
1013
"keywords": [],
11-
"author": "",
14+
"author": "Minswap Labs",
1215
"license": "ISC",
13-
"packageManager": "[email protected]+sha512.140036830124618d624a2187b50d04289d5a087f326c9edfc0ccd733d76c4f52c3a313d4fc148794a2a9d81553016004e6742e8cf850670268a7387fc220c903",
16+
"packageManager": "[email protected]",
1417
"devDependencies": {
1518
"@biomejs/biome": "1.9.4",
1619
"@total-typescript/ts-reset": "^0.6.1",
20+
"@types/node": "^22.9.1",
21+
"rimraf": "^6.0.1",
22+
"rollup": "^2.70.2",
23+
"rollup-plugin-copy": "^3.5.0",
24+
"rollup-plugin-dts": "^4.2.1",
25+
"rollup-plugin-esbuild": "^4.9.1",
1726
"typescript": "^5.6.3"
1827
}
1928
}

0 commit comments

Comments
 (0)