@jcoreio/toolchain-aws-lambda 5.2.0 → 5.3.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jcoreio/toolchain-aws-lambda",
3
- "version": "5.2.0",
3
+ "version": "5.3.1",
4
4
  "description": "AWS Lambda function build toolchain",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,7 +23,7 @@
23
23
  "dotenv": "^16.4.5",
24
24
  "resolve-bin": "^1.0.0",
25
25
  "zod": "^3.21.4",
26
- "@jcoreio/toolchain": "5.2.0"
26
+ "@jcoreio/toolchain": "5.3.1"
27
27
  },
28
28
  "toolchainManaged": {
29
29
  "devDependencies": {
@@ -54,7 +54,6 @@ module.exports = async function deploy() {
54
54
  const { deployCloudFormationStack } = require('@jcoreio/cloudformation-tools')
55
55
 
56
56
  if (toolchainPackages.includes('@jcoreio/toolchain-esnext')) {
57
- // eslint-disable-next-line @jcoreio/implicit-dependencies/no-implicit
58
57
  require(
59
58
  require.resolve('@jcoreio/toolchain-esnext/util/babelRegister.cjs', {
60
59
  paths: [projectDir],
@@ -118,12 +117,13 @@ module.exports = async function deploy() {
118
117
  const isServerless = lambdaResource.Type === 'AWS::Serverless::Function'
119
118
 
120
119
  // Adapt between janky difference between AWS::Serverless::Function and AWS::Lambda::Function
121
- const adapter = isServerless
122
- ? {
120
+ const adapter =
121
+ isServerless ?
122
+ {
123
123
  get Code() {
124
124
  const { CodeUri } = lambdaResource
125
- return CodeUri
126
- ? {
125
+ return CodeUri ?
126
+ {
127
127
  get S3Bucket() {
128
128
  return CodeUri.Bucket
129
129
  },
@@ -1,23 +0,0 @@
1
- const { packageJson } = require('@jcoreio/toolchain/util/findUps.cjs')
2
-
3
- module.exports = {
4
- overrides: [
5
- {
6
- files: ['src/**'],
7
- excludedFiles: ['**/__tests__/**'],
8
- rules: {
9
- '@jcoreio/implicit-dependencies/no-implicit': [
10
- 'error',
11
- {
12
- dev: false,
13
- peer: true,
14
- optional: true,
15
- ignore: Object.keys(packageJson.devDependencies || {}).filter(
16
- (dep) => dep.startsWith('@aws-sdk/')
17
- ),
18
- },
19
- ],
20
- },
21
- },
22
- ],
23
- }
@@ -1 +0,0 @@
1
- module.exports = [() => [require.resolve('../eslint.extends.cjs')]]