meshjs 1.8.13 → 1.9.0-beta-38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,14 +1,14 @@
1
1
  ![Mesh Logo](https://meshjs.dev/logo-mesh/mesh.png)
2
2
 
3
- Mesh is an open-source library to make building dApps accessible. Whether you're a beginner developer, startup, web3 market leader, or a large enterprise, Mesh makes web3 development easy with reliable, scalable, and well-engineered APIs & developer tools.
3
+ Mesh is an open-source library to make building applications accessible. Whether you're a beginner developer, startup, web3 market leader, or a large enterprise, Mesh makes web3 development easy with reliable, scalable, and well-engineered APIs & developer tools.
4
4
 
5
5
  ```sh
6
6
  Usage: create-mesh-app [options] <name>
7
7
 
8
- A quick and easy way to bootstrap your dApps on Cardano using Mesh.
8
+ A quick and easy way to bootstrap your Web3 app using Mesh.
9
9
 
10
10
  Arguments:
11
- name Set a name for your dApp.
11
+ name Set a name for your app.
12
12
 
13
13
  Options:
14
14
  -V, --version output the version number
package/dist/index.cjs CHANGED
@@ -148,7 +148,7 @@ var createDirectory = (name) => {
148
148
  logError("\u274C Unable to create a project in current directory.");
149
149
  process.exit(1);
150
150
  }
151
- logInfo("\u{1F3D7}\uFE0F - Creating a new mesh dApp in current directory...");
151
+ logInfo("\u{1F3D7}\uFE0F - Creating a new app in current directory...");
152
152
  process.chdir(path);
153
153
  };
154
154
  var fetchRepository = async (template) => {
@@ -188,10 +188,10 @@ var main = async () => {
188
188
  console.log("\n");
189
189
  const program = (0, import_commander.createCommand)();
190
190
  program.name("meshjs").description(
191
- "A quick and easy way to bootstrap your dApps on Cardano using Mesh."
191
+ "A quick and easy way to bootstrap your Web3 app using Mesh."
192
192
  ).version("1.0.0");
193
193
  program.addArgument(
194
- (0, import_commander.createArgument)("name", "Set a name for your dApp.").argParser((name) => {
194
+ (0, import_commander.createArgument)("name", "Set a name for your app.").argParser((name) => {
195
195
  if (/^([A-Za-z\-\\_\d])+$/.test(name)) return name;
196
196
  throw new import_commander.InvalidArgumentError(
197
197
  import_chalk2.default.redBright(
@@ -219,7 +219,7 @@ var main = async () => {
219
219
  };
220
220
  main().then(() => {
221
221
  logSuccess("\u2728\u2728 Welcome to Web 3.0! \u2728\u2728");
222
- logInfo('Run "cd <project-name>" and "npm run dev" to start your dApp.');
222
+ logInfo('Run "cd <project-name>" and "npm run dev" to start your app.');
223
223
  process.exit(0);
224
224
  }).catch((error) => {
225
225
  logError(error);
package/dist/index.js CHANGED
@@ -129,7 +129,7 @@ var createDirectory = (name) => {
129
129
  logError("\u274C Unable to create a project in current directory.");
130
130
  process.exit(1);
131
131
  }
132
- logInfo("\u{1F3D7}\uFE0F - Creating a new mesh dApp in current directory...");
132
+ logInfo("\u{1F3D7}\uFE0F - Creating a new app in current directory...");
133
133
  process.chdir(path);
134
134
  };
135
135
  var fetchRepository = async (template) => {
@@ -169,10 +169,10 @@ var main = async () => {
169
169
  console.log("\n");
170
170
  const program = createCommand();
171
171
  program.name("meshjs").description(
172
- "A quick and easy way to bootstrap your dApps on Cardano using Mesh."
172
+ "A quick and easy way to bootstrap your Web3 app using Mesh."
173
173
  ).version("1.0.0");
174
174
  program.addArgument(
175
- createArgument("name", "Set a name for your dApp.").argParser((name) => {
175
+ createArgument("name", "Set a name for your app.").argParser((name) => {
176
176
  if (/^([A-Za-z\-\\_\d])+$/.test(name)) return name;
177
177
  throw new InvalidArgumentError(
178
178
  chalk2.redBright(
@@ -200,7 +200,7 @@ var main = async () => {
200
200
  };
201
201
  main().then(() => {
202
202
  logSuccess("\u2728\u2728 Welcome to Web 3.0! \u2728\u2728");
203
- logInfo('Run "cd <project-name>" and "npm run dev" to start your dApp.');
203
+ logInfo('Run "cd <project-name>" and "npm run dev" to start your app.');
204
204
  process.exit(0);
205
205
  }).catch((error) => {
206
206
  logError(error);
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "meshjs",
3
- "description": "A quick and easy way to bootstrap your dApps on Cardano using Mesh.",
3
+ "description": "A quick and easy way to bootstrap your Web3 app using Mesh.",
4
4
  "homepage": "https://meshjs.dev",
5
5
  "author": "MeshJS",
6
- "version": "1.8.13",
6
+ "version": "1.9.0-beta-38",
7
7
  "license": "Apache-2.0",
8
8
  "type": "module",
9
9
  "main": "./dist/index.cjs",
@@ -22,7 +22,8 @@
22
22
  "blockchain",
23
23
  "cardano",
24
24
  "dapp",
25
- "npx"
25
+ "npx",
26
+ "web3"
26
27
  ],
27
28
  "scripts": {
28
29
  "clean": "rm -rf .turbo && rm -rf dist && rm -rf node_modules",
@@ -43,9 +44,10 @@
43
44
  "@types/figlet": "1.5.8",
44
45
  "@types/got": "^9.6.12",
45
46
  "@types/prompts": "2.4.9",
46
- "@types/tar": "6.1.13"
47
+ "@types/tar": "6.1.13",
48
+ "tsup": "^8.0.2"
47
49
  },
48
50
  "files": [
49
51
  "dist/**"
50
52
  ]
51
- }
53
+ }