Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,21 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

publish-meshsdk-scalus-emulator:
needs: [build, check-version]
if: needs.check-version.outputs.version-updated == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm install && npm run build
- run: cd packages/mesh-scalus-emulator && npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

publish-meshsdk-transaction:
needs: [build, check-version]
if: needs.check-version.outputs.version-updated == 'true'
Expand Down
688 changes: 387 additions & 301 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/mesh-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/common",
"version": "1.9.0",
"version": "1.9.1",
"description": "Contains constants, types and interfaces used across the SDK and different serialization libraries",
"main": "./dist/index.cjs",
"browser": "./dist/index.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/mesh-contract/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/contract",
"version": "1.9.0",
"version": "1.9.1",
"description": "List of open-source smart contracts, complete with documentation, live demos, and end-to-end source code. https://meshjs.dev/smart-contracts",
"main": "./dist/index.cjs",
"browser": "./dist/index.js",
Expand Down Expand Up @@ -34,8 +34,8 @@
"typescript": "^5.3.3"
},
"dependencies": {
"@meshsdk/common": "1.9.0",
"@meshsdk/core": "1.9.0"
"@meshsdk/common": "1.9.1",
"@meshsdk/core": "1.9.1"
},
"prettier": "@meshsdk/configs/prettier",
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions packages/mesh-core-csl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/core-csl",
"version": "1.9.0",
"version": "1.9.1",
"description": "Types and utilities functions between Mesh and cardano-serialization-lib",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
Expand Down Expand Up @@ -38,7 +38,7 @@
"typescript": "^5.3.3"
},
"dependencies": {
"@meshsdk/common": "1.9.0",
"@meshsdk/common": "1.9.1",
"@sidan-lab/whisky-js-browser": "^1.0.11",
"@sidan-lab/whisky-js-nodejs": "^1.0.11",
"@types/base32-encoding": "^1.0.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/mesh-core-cst/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/core-cst",
"version": "1.9.0",
"version": "1.9.1",
"description": "Types and utilities functions between Mesh and cardano-js-sdk",
"main": "./dist/index.cjs",
"browser": "./dist/index.js",
Expand Down Expand Up @@ -44,7 +44,7 @@
"@harmoniclabs/pair": "^1.0.0",
"@harmoniclabs/plutus-data": "1.2.6",
"@harmoniclabs/uplc": "1.4.1",
"@meshsdk/common": "1.9.0",
"@meshsdk/common": "1.9.1",
"@types/base32-encoding": "^1.0.2",
"base32-encoding": "^1.0.0",
"bech32": "^2.0.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/mesh-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@meshsdk/core",
"version": "1.9.0",
"version": "1.9.1",
"description": "Mesh SDK Core - https://meshjs.dev/",
"main": "./dist/index.cjs",
"browser": "./dist/index.js",
Expand Down Expand Up @@ -33,11 +33,11 @@
"typescript": "^5.3.3"
},
"dependencies": {
"@meshsdk/common": "1.9.0",
"@meshsdk/core-cst": "1.9.0",
"@meshsdk/common": "1.9.1",
"@meshsdk/core-cst": "1.9.1",
"@meshsdk/provider": "1.9.0-beta.101",
"@meshsdk/transaction": "1.9.0",
"@meshsdk/wallet": "1.9.0",
"@meshsdk/transaction": "1.9.1",
"@meshsdk/wallet": "1.9.1",
"scalus": "^0.17.0"
},
"prettier": "@meshsdk/configs/prettier",
Expand Down
5 changes: 5 additions & 0 deletions packages/mesh-scalus-emulator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# mesh-scalus-emulator

Scalus emulator utilities for Mesh SDK.

[meshjs.dev](https://meshjs.dev/)
20 changes: 20 additions & 0 deletions packages/mesh-scalus-emulator/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import type { Config } from "jest";

const jestConfig: Config = {
clearMocks: true,
maxWorkers: 1,
testEnvironment: "node",
testMatch: ["**/*.test.ts"],
setupFiles: ["dotenv/config"],
preset: "ts-jest",
moduleNameMapper: {
"^(\\.{1,2}/.*)\\.js$": "$1",
},
transform: {
"^.+\\.[jt]s?$": "ts-jest",
},
transformIgnorePatterns: ["/node_modules/(?!@meshsdk/.*)"],
passWithNoTests: true,
};

export default jestConfig;
52 changes: 52 additions & 0 deletions packages/mesh-scalus-emulator/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"name": "@meshsdk/scalus-emulator",
"version": "1.9.1",
"description": "Scalus emulator utilities for Mesh SDK",
"main": "./dist/index.cjs",
"browser": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist/**"
],
"scripts": {
"build:mesh": "tsup src/index.ts --format esm,cjs --dts",
"clean": "rm -rf .turbo && rm -rf dist && rm -rf node_modules",
"dev": "tsup src/index.ts --format esm,cjs --watch --dts",
"format": "prettier --check . --ignore-path ../../.gitignore",
"lint": "eslint",
"pack": "npm pack --pack-destination=./dist",
"test": "jest"
},
"dependencies": {
"scalus": "^0.17.0",
"@meshsdk/core-cst": "1.9.1",
"@meshsdk/common": "1.9.1"
},
"devDependencies": {
"@meshsdk/configs": "*",
"eslint": "^8.57.0",
"tsup": "^8.0.2",
"typescript": "^5.3.3"
},
"prettier": "@meshsdk/configs/prettier",
"publishConfig": {
"access": "public"
},
"license": "Apache-2.0",
"keywords": [
"cardano",
"ada",
"web3",
"blockchain",
"sdk"
]
}
Loading
Loading