@architect/inventory 3.0.0-RC.4 → 3.0.0-RC.5

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
@@ -36,6 +36,7 @@
36
36
  - Existing functions can be simply moved to `src/tables-streams/{name}` (or use a custom `src` property)
37
37
  - Breaking change: renamed `lambda.handlerFunction` to `lambda.handlerMethod`
38
38
  - Breaking change: prioritize `mod.ts|js` handlers in Deno Lambdas
39
+ - Breaking change: removed `toml` support
39
40
  - Performance improvements to building `inv.shared` + `inv.views`
40
41
  - Improved memory footprint of Inventory object by preserving references in `lambdaSrcDirs`, `lambdasBySrcDir`
41
42
  - Added `pragma` property to all Lambdas to aid in reference preservation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@architect/inventory",
3
- "version": "3.0.0-RC.4",
3
+ "version": "3.0.0-RC.5",
4
4
  "description": "Architect project resource enumeration utility",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -21,14 +21,14 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@architect/asap": "~4.1.0",
25
- "@architect/parser": "~5.0.2",
24
+ "@architect/asap": "~5.0.0-RC.0",
25
+ "@architect/parser": "~6.0.0-RC.0",
26
26
  "@architect/utils": "~3.0.4",
27
27
  "lambda-runtimes": "~1.1.1"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@architect/eslint-config": "~2.0.1",
31
- "aws-sdk": "2.880.0",
31
+ "aws-sdk": "2.1001.0",
32
32
  "aws-sdk-mock": "~5.6.0",
33
33
  "cross-env": "~7.0.3",
34
34
  "dotenv": "~14.3.2",
package/src/read/index.js CHANGED
@@ -5,7 +5,6 @@ let projectManifest = {
5
5
  arc: [ 'app.arc', '.arc' ],
6
6
  json: [ 'arc.json' ],
7
7
  yaml: [ 'arc.yaml', 'arc.yml' ],
8
- toml: [ 'arc.toml' ],
9
8
  manifest: [ 'package.json' ],
10
9
  _default: `@app\napp-default\n@http\n@static`,
11
10
  }
@@ -15,13 +14,12 @@ let functionConfig = {
15
14
  arc: [ 'config.arc', '.arc-config' ],
16
15
  json: [ 'arc.json', 'arc-config.json' ],
17
16
  yaml: [ 'config.yaml', 'config.yml', 'arc-config.yaml', 'arc-config.yml' ],
18
- toml: [ 'config.toml', 'arc-config.toml' ],
19
17
  }
20
18
 
21
19
  // Local preferences
22
20
  let preferences = {
23
21
  arc: [ 'preferences.arc', 'prefs.arc', '.preferences.arc', '.prefs.arc', ],
24
- // TODO add json, yaml, toml later if folks want it?
22
+ // TODO add json, yaml later if folks want it?
25
23
  }
26
24
 
27
25
  let reads = { projectManifest, functionConfig, preferences }
@@ -37,7 +37,7 @@ module.exports = function reader (reads, cwd, errors) {
37
37
  if (raw.trim() === '') return errors.push(`Empty file: ${f}`)
38
38
  arc = type === 'arc'
39
39
  ? parse(raw)
40
- : parse[type](raw) // Parser has convenient json, yaml, toml methods!
40
+ : parse[type](raw) // Parser has convenient json + yaml methods!
41
41
  }
42
42
  else {
43
43
  let pkg = JSON.parse(read(file))