@architect/inventory 3.3.1 → 3.3.3

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,23 @@
2
2
 
3
3
  ---
4
4
 
5
+ ## [3.3.3] 2022-11-15
6
+
7
+ ### Fixed
8
+
9
+ - Fixed issue where projects with plugins that define >1 transpiled Lambdas would all build to the same directory; thanks @Scorsi!
10
+ - Fixed issue where plugins may not be found if attempted to be loaded from a subfolder in a monorepo; thanks @Scorsi!
11
+
12
+ ---
13
+
14
+ ## [3.3.2] 2022-10-19
15
+
16
+ ### Fixed
17
+
18
+ - Fixed issue where `@static spa true` setting wouldn't be respected when the root handler is not explicitly defined; thanks @oliverturner!
19
+
20
+ ---
21
+
5
22
  ## [3.3.1] 2022-10-15
6
23
 
7
24
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@architect/inventory",
3
- "version": "3.3.1",
3
+ "version": "3.3.3",
4
4
  "description": "Architect project resource enumeration utility",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -21,23 +21,23 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@architect/asap": "~5.0.1",
25
- "@architect/parser": "~6.0.0",
26
- "@architect/utils": "~3.1.1",
24
+ "@architect/asap": "~5.0.2",
25
+ "@architect/parser": "~6.0.2",
26
+ "@architect/utils": "~3.1.2",
27
27
  "lambda-runtimes": "~1.1.2"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@architect/eslint-config": "~2.0.1",
31
31
  "aws-sdk": "2.1055.0",
32
- "aws-sdk-mock": "~5.6.2",
32
+ "aws-sdk-mock": "~5.8.0",
33
33
  "cross-env": "~7.0.3",
34
- "dotenv": "~16.0.0",
35
- "eslint": "~8.15.0",
36
- "mock-fs": "~5.1.2",
34
+ "dotenv": "~16.0.3",
35
+ "eslint": "~8.27.0",
36
+ "mock-fs": "~5.2.0",
37
37
  "mock-require": "~3.0.3",
38
38
  "nyc": "~15.1.0",
39
39
  "tap-spec": "^5.0.0",
40
- "tape": "^5.5.3"
40
+ "tape": "^5.6.1"
41
41
  },
42
42
  "eslintConfig": {
43
43
  "extends": "@architect/eslint-config"
@@ -57,6 +57,7 @@ module.exports = function configureHTTP ({ arc, inventory, errors }) {
57
57
  handlerMethod: 'handler',
58
58
  configFile: null,
59
59
  arcStaticAssetProxy: true,
60
+ pragma: 'http',
60
61
  method: 'get',
61
62
  path: '/*'
62
63
  }
@@ -113,6 +113,11 @@ function getPath (cwd, srcDir, name) {
113
113
  return require.resolve(name)
114
114
  }
115
115
  catch {
116
- return
116
+ try {
117
+ return require.resolve(`@${name}`)
118
+ }
119
+ catch {
120
+ return
121
+ }
117
122
  }
118
123
  }
@@ -14,7 +14,7 @@ function getLambdaDirs (params, options) {
14
14
  let src = normalizeSrc(cwd, item.src)
15
15
  lambdaDirs.src = src
16
16
  if (projBuild) {
17
- lambdaDirs.build = src.replace(src, projBuild)
17
+ lambdaDirs.build = src.replace(cwd, projBuild)
18
18
  }
19
19
  }
20
20
  else {