hyper-elements 0.0.1 → 0.1.0

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/bin.js +1 -2
  3. package/package.json +4 -3
package/README.md CHANGED
@@ -1,3 +1,3 @@
1
1
  # hyper-elements
2
2
 
3
- The `hyper-elements` command is in [`@hyper-elements/cli`](https://www.npmjs.com/package/@hyper-elements/cli). See [hyperelements.dev/docs/cli](https://hyperelements.dev/docs/cli).
3
+ The `hyper-elements` command, from [`@hyper-elements/cli`](https://www.npmjs.com/package/@hyper-elements/cli): `npx hyper-elements render emails/`. See [hyperelements.dev/docs/cli](https://hyperelements.dev/docs/cli).
package/bin.js CHANGED
@@ -1,3 +1,2 @@
1
1
  #!/usr/bin/env node
2
- console.error("hyper-elements: the command is in @hyper-elements/cli. Install it (npm install -D @hyper-elements/cli) and run npx hyper-elements, or run npx @hyper-elements/cli.");
3
- process.exit(1);
2
+ import "@hyper-elements/cli/dist/bin.js";
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "hyper-elements",
3
- "version": "0.0.1",
4
- "description": "The hyper-elements command. Install @hyper-elements/cli.",
3
+ "version": "0.1.0",
4
+ "description": "The hyper-elements command: runs @hyper-elements/cli",
5
5
  "type": "module",
6
- "bin": { "hyper-elements": "./bin.js" },
6
+ "bin": { "hyper-elements": "bin.js" },
7
7
  "files": ["bin.js"],
8
+ "dependencies": { "@hyper-elements/cli": "^0.1.0" },
8
9
  "repository": { "type": "git", "url": "git+https://github.com/hyper-elements/hyper-elements.git" },
9
10
  "homepage": "https://hyperelements.dev/docs/cli",
10
11
  "license": "MIT"