Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@digitalnative/cosmwasm

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digitalnative/cosmwasm - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

.babelrc

38

.eslintrc.json
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nrwl/nx", "prefer-let"],
"extends": ["../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"overrides": [

@@ -9,15 +8,3 @@ {

"rules": {
"@nrwl/nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": [],
"depConstraints": [
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
}
]
}
]
"@typescript-eslint/no-explicit-any": "off"
}

@@ -27,24 +14,9 @@ },

"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nrwl/nx/typescript"],
"rules": {
"prefer-const": "off",
"prefer-let/prefer-let": "warn",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_"
}
]
}
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nrwl/nx/javascript"],
"rules": {
"prefer-const": "off",
"prefer-let/prefer-let": "warn"
}
"rules": {}
}
]
}

@@ -0,3 +1,16 @@

/* eslint-disable */
export default {
projects: ["<rootDir>/packages/cargo", "<rootDir>/e2e\\cargo-e2e"],
displayName: "cargo",
preset: "../../jest.preset.js",
globals: {
"ts-jest": {
tsconfig: "<rootDir>/tsconfig.spec.json",
},
},
testEnvironment: "node",
transform: {
"^.+\\.[tj]sx?$": "ts-jest",
},
moduleFileExtensions: ["ts", "tsx", "js", "jsx"],
coverageDirectory: "../../coverage/packages/cargo",
};
{
"name": "@digitalnative/cosmwasm",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"nx": "nx",
"start": "nx serve",
"build": "nx build",
"test": "nx test",
"lint": "nx workspace-lint && nx lint",
"e2e": "jest e2e/cargo-e2e --runInBand",
"affected:apps": "nx affected:apps",
"affected:libs": "nx affected:libs",
"affected:build": "nx affected:build",
"affected:e2e": "nx affected:e2e",
"affected:test": "nx affected:test",
"affected:lint": "nx affected:lint",
"affected:dep-graph": "nx affected:dep-graph",
"affected": "nx affected",
"format": "nx format:write",
"format:write": "nx format:write",
"format:check": "nx format:check",
"update": "nx migrate latest",
"workspace-generator": "nx workspace-generator",
"dep-graph": "nx dep-graph",
"help": "nx help"
"version": "0.0.1",
"license": "Apache-2.0",
"main": "src/index.js",
"generators": "./generators.json",
"executors": "./executors.json",
"repository": {
"type": "git",
"url": "https://github.com/digitalnative/nx-cosmwasm"
},
"private": false,
"publishConfig": {
"access": "public"
"author": {
"name": "Hyungsuk Kang",
"email": "hskang9@gmail.com",
"url": "https://github.com/hskang9"
},
"dependencies": {
"tslib": "^2.0.0"
"chalk": "^4.1.2"
},
"devDependencies": {
"@nrwl/cli": "14.3.5",
"@nrwl/devkit": "14.3.5",
"@nrwl/eslint-plugin-nx": "14.3.5",
"@nrwl/jest": "14.3.5",
"@nrwl/js": "14.3.5",
"@nrwl/linter": "14.3.5",
"@nrwl/node": "14.3.5",
"@nrwl/nx-cloud": "14.1.1",
"@nrwl/nx-plugin": "14.3.5",
"@nrwl/workspace": "14.3.5",
"@swc-node/register": "^1.4.2",
"@swc/core": "^1.2.173",
"@types/jest": "27.4.1",
"@types/node": "14.14.33",
"@typescript-eslint/eslint-plugin": "5.24.0",
"@typescript-eslint/parser": "5.24.0",
"chalk": "^4.1.2",
"dotenv": "10.0.0",
"eslint": "8.15.0",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-prefer-let": "^1.1.0",
"jest": "27.5.1",
"nx": "14.3.5",
"prettier": "2.7.1",
"ts-jest": "27.1.4",
"ts-node": "10.8.1",
"tslib": "^2.0.0",
"typescript": "4.7.3"
"peerDependencies": {
"@nrwl/devkit": ">= 12.7.0"
}
}
# @digitalnative/cosmwasm
[![npm version](https://badge.fury.io/js/%40nxrs%2Fcargo.svg)](https://badge.fury.io/js/%40digitalnative%2Fcosmwasm)
[![npm version](https://badge.fury.io/js/%40nxrs%2Fcargo.svg)](https://badge.fury.io/js/%40nxrs%2Fcargo)
This is a WIP plugin for `@nrwl/nx` adding support for Cosmwasm smart contracts
This is a WIP plugin for `@nrwl/nx` adding support for Rust applications and libraries.
Nx helps building contracts faster with cloud computing with github integration.
## Prerequisuite
Install [Nx](https://nx.app/) first.
## Installation
```sh
> nx init
> yarn add @digitalnative/cosmwasm
```
## Generators
```sh
> nx generate @digitalnative/cosmwasm:contract my_cosmwasm_contract
# @digitalnative/cosmwasm:bin also works
> nx generate @digitalnative/cosmwasm:app my-rust-app
```
** WIP: cosmjs lib **
```sh
> nx generate @digitalnative/cosmwasm:js my_cosmjs_lib
> nx generate @digitalnative/cosmwasm:lib my-rust-lib
```

@@ -34,12 +21,12 @@

```sh
# Build a contract or Typescript library
> nx build my_cosmwasm_contract
# Build a library or binary
> nx build my-rust-app
# Run unit tests in a library
> nx test my_cosmjs_lib
> nx test my-rust-lib
# Check a Rust project with `clippy`
> nx lint my_cosmwasm_contract
> nx lint my-rust-app
# Don't fail on warnings:
> nx lint my_cosmwasm_contract __fail_on_warnings false
> nx lint my-rust-app --fail-on-warnings false
```

@@ -49,6 +36,6 @@

The executors accept most of the same CLI args as the corresponding `cargo` commands. When in doubt, run with the `__help` flag to see all options with descriptions:
The executors accept most of the same CLI args as the corresponding `cargo` commands. When in doubt, run with the `--help` flag to see all options with descriptions:
```sh
> nx build my_cosmwasm_contract __help
> nx build my-rust-app --help
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc