@stephendolan/ynab-cli 1.2.1 → 1.2.2

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 (2) hide show
  1. package/dist/cli.js +1 -1
  2. package/package.json +5 -4
package/dist/cli.js CHANGED
@@ -1275,7 +1275,7 @@ function createApiCommand() {
1275
1275
 
1276
1276
  // src/cli.ts
1277
1277
  var program = new Command11();
1278
- program.name("ynab").description("A command-line interface for You Need a Budget (YNAB)").version("1.2.0").option("-c, --compact", "Minified JSON output (single line)").hook("preAction", (thisCommand) => {
1278
+ program.name("ynab").description("A command-line interface for You Need a Budget (YNAB)").version("1.2.2").option("-c, --compact", "Minified JSON output (single line)").hook("preAction", (thisCommand) => {
1279
1279
  const options = thisCommand.opts();
1280
1280
  setOutputOptions({
1281
1281
  compact: options.compact
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@stephendolan/ynab-cli",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "A command-line interface for You Need a Budget (YNAB)",
5
5
  "type": "module",
6
6
  "main": "./dist/cli.js",
7
7
  "bin": {
8
- "ynab": "./dist/cli.js"
8
+ "ynab": "dist/cli.js"
9
9
  },
10
10
  "scripts": {
11
11
  "dev": "tsx src/cli.ts",
@@ -15,7 +15,8 @@
15
15
  "typecheck": "tsc --noEmit",
16
16
  "link": "npm run build && npm link",
17
17
  "start": "node dist/cli.js",
18
- "audit": "npm audit --audit-level=moderate"
18
+ "audit": "npm audit --audit-level=moderate",
19
+ "prepublishOnly": "npm run build"
19
20
  },
20
21
  "keywords": [
21
22
  "ynab",
@@ -31,7 +32,7 @@
31
32
  "license": "MIT",
32
33
  "repository": {
33
34
  "type": "git",
34
- "url": "https://github.com/stephendolan/ynab-cli.git"
35
+ "url": "git+https://github.com/stephendolan/ynab-cli.git"
35
36
  },
36
37
  "bugs": {
37
38
  "url": "https://github.com/stephendolan/ynab-cli/issues"