@architect/inventory 3.0.0-RC.1 → 3.0.0-RC.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.
package/changelog.md CHANGED
@@ -14,6 +14,7 @@
14
14
  - Added the concept of a `build` destination (currently only available via plugin)
15
15
  - Added `handlerModuleSystem` property for `nodejs14.x` Lambdas, with a value of `cjs` or `esm` based on Lambda + Node.js conventions
16
16
  - Added `handlerFile` detection for `nodejs14.x` + `deno` Lambdas
17
+ - Added `inv._arc.deployStage` property, enabling Inventory to be aware of an intended deploy stage; (this property may change, consider it in beta!)
17
18
 
18
19
 
19
20
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@architect/inventory",
3
- "version": "3.0.0-RC.1",
3
+ "version": "3.0.0-RC.2",
4
4
  "description": "Architect project resource enumeration utility",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -7,7 +7,7 @@ let { pragmas } = require('../lib')
7
7
  * - Every possible officially supported value should be present
8
8
  */
9
9
  module.exports = function inventoryDefaults (params = {}) {
10
- let { cwd = process.cwd(), region } = params
10
+ let { cwd = process.cwd(), deployStage = null, region } = params
11
11
  // Allow region env var override
12
12
  region = region || process.env.AWS_REGION || 'us-west-2'
13
13
  let defaultFunctionConfig = fnConfig()
@@ -16,7 +16,8 @@ module.exports = function inventoryDefaults (params = {}) {
16
16
  _arc: {
17
17
  version: 'Unknown', // @architect/architect semver (if installed)
18
18
  defaultFunctionConfig, // Architect's default function config
19
- pragmas, // Registry of all + Lambda pragmas
19
+ pragmas, // Registry of all, Lambda, reserved, retired pragmas
20
+ deployStage, // Deploy stage of the running project (if specified)
20
21
  },
21
22
  _project: {
22
23
  type: 'aws',
@@ -36,6 +36,7 @@ module.exports = {
36
36
  'indexes',
37
37
  'macros',
38
38
  'slack',
39
+ 'streams', // Never fully launched
39
40
  // Static types
40
41
  'css',
41
42
  'html',