@oclif/core 1.2.1 → 1.3.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.3.0](https://github.com/oclif/core/compare/v1.2.1...v1.3.0) (2022-02-01)
6
+
7
+
8
+ ### Features
9
+
10
+ * add S3Manifest ([#354](https://github.com/oclif/core/issues/354)) ([ea5585d](https://github.com/oclif/core/commit/ea5585db6361f12c3c0608b05d1e33e16bc0b4b6))
11
+
5
12
  ### [1.2.1](https://github.com/oclif/core/compare/v1.2.0...v1.2.1) (2022-01-28)
6
13
 
7
14
 
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.anykey = exports.confirm = exports.prompt = void 0;
4
- const Errors = require("../../src/errors");
4
+ const Errors = require("../errors");
5
5
  const chalk = require("chalk");
6
6
  const config_1 = require("./config");
7
7
  const deps_1 = require("./deps");
@@ -32,12 +32,14 @@ export interface Hooks {
32
32
  preupdate: {
33
33
  options: {
34
34
  channel: string;
35
+ version: string;
35
36
  };
36
37
  return: void;
37
38
  };
38
39
  update: {
39
40
  options: {
40
41
  channel: string;
42
+ version: string;
41
43
  };
42
44
  return: void;
43
45
  };
@@ -5,6 +5,7 @@ export { OclifError, PrettyPrintableError } from './errors';
5
5
  export { HelpOptions } from './help';
6
6
  export { Hook, Hooks } from './hooks';
7
7
  export { Manifest } from './manifest';
8
+ export { S3Manifest } from './s3-manifest';
8
9
  export { ParserArg, Arg, ParseFn, ParserOutput, ParserInput, ArgToken, OptionalArg, FlagOutput, OutputArgs, OutputFlags, FlagUsageOptions, CLIParseErrorOptions, ArgInput, RequiredArg, Metadata, ParsingToken, FlagToken, List, ListItem, BooleanFlag, Flag, FlagBase, OptionFlag, Input, EnumFlagOptions, DefaultContext, Default, Definition, CompletableOptionFlag, Completion, CompletionContext, FlagInput, CompletableFlag, } from './parser';
9
10
  export { PJSON } from './pjson';
10
11
  export { Plugin, PluginOptions, Options } from './plugin';
@@ -0,0 +1,14 @@
1
+ export interface S3Manifest {
2
+ version: string;
3
+ sha: string;
4
+ gz: string;
5
+ xz?: string;
6
+ sha256gz: string;
7
+ sha256xz?: string;
8
+ baseDir: string;
9
+ rollout?: number;
10
+ node: {
11
+ compatible: string;
12
+ recommended: string;
13
+ };
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/core",
3
3
  "description": "base library for oclif CLIs",
4
- "version": "1.2.1",
4
+ "version": "1.3.0",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/core/issues",
7
7
  "dependencies": {