Skip to content

Commit 849ffca

Browse files
committed
chore: Updates to the latest version
1 parent 55a3785 commit 849ffca

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @taskless/packcheck
22

3+
## 0.0.15
4+
5+
### Patch Changes
6+
7+
- Updates create command to bundle
8+
39
## 0.0.14
410

511
### Patch Changes

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ npx @taskless/pack <command>
1111
- **install** Install a pack from a URL, downloading the pack.tgz and extracting it to the current directory
1212
- **check** Check a pack against fixtures, running a test suite that simulates network requests and responses
1313
- **publish** Publish a pack to Taskless Cloud (must be an organization with `publish` permission)
14-
- **create** Create a pack.tgz from a manifest and wasm file for distribution outside of Taskless
14+
- **bundle** Create a pack.tgz from a manifest and wasm file for distribution outside of Taskless
1515

1616
# Testing Packs with `pack check`
1717

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@taskless/pack",
33
"description": "CLI for working with Taskless packs",
4-
"version": "0.0.14",
4+
"version": "0.0.15",
55
"author": "Taskless",
66
"license": "Apache-2.0",
77
"repository": "taskless/pack",

src/cli.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import process from "node:process";
22
import { Command } from "@commander-js/extra-typings";
33
import { readPackageUpSync } from "read-package-up";
4+
import { bundle } from "./commands/bundle.js";
45
import { check } from "./commands/check.js";
5-
import { create } from "./commands/create.js";
66
import { install } from "./commands/install.js";
77
import { publish } from "./commands/publish.js";
88

@@ -100,7 +100,7 @@ program
100100
});
101101

102102
program
103-
.command("create")
103+
.command("bundle")
104104
.description(
105105
"Create a pack.tgz from a manifest and wasm file for distribution outside of Taskless"
106106
)
@@ -111,7 +111,7 @@ program
111111
"Output directory for the created pack, defaults to process.cwd()"
112112
)
113113
.action(async (options) => {
114-
await create({
114+
await bundle({
115115
manifest: options.manifest,
116116
wasm: options.wasm,
117117
out: options.out ?? process.cwd(),

src/commands/create.ts renamed to src/commands/bundle.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ import { type Manifest } from "@taskless/loader";
55
import { mkdirp } from "mkdirp";
66
import { create as c } from "tar";
77

8-
export type CreateOptions = {
8+
export type BundleOptions = {
99
manifest: string;
1010
wasm: string;
1111
out: string;
1212
};
1313

14-
export const create = async (options: CreateOptions) => {
14+
export const bundle = async (options: BundleOptions) => {
1515
// create a temp directory
1616
// resolve out, manifest, and wasm paths into absolute paths
1717
// copy the manifest and wasm files into the temp directory

0 commit comments

Comments
 (0)