Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump loader-utils from 1.2.3 to 1.4.2 in /example #528

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
570bbf6
chore: add yarn-error.log to .gitignore
lulzneko Oct 24, 2021
3753515
docs: add an explanation for excludeVerboseContent (#439)
lulzneko Oct 24, 2021
a03560e
Fixed waf tags (#443)
WolfWalter Oct 29, 2021
4200ad8
Fixed waf tags (#443) (#445)
bboure Oct 29, 2021
d0f857a
Merge pull request #442 from lulzneko/refactor/add-yarn-error-log-to-…
bboure Nov 14, 2021
708cbf8
v1.12.1
bboure Nov 14, 2021
bc93c3c
Better converts and preserves comment descriptions (#437)
vicary Nov 18, 2021
eb0c4e6
Merge remote-tracking branch 'origin/master'
bboure Dec 6, 2021
b0b5d79
Revert "Better converts and preserves comment descriptions (#437)"
bboure Feb 12, 2022
6b88bc8
Merge pull request #471 from sid88in/revert-437-modern-schema
bboure Feb 12, 2022
5c4c433
feat: support MaxBatchSize (#463)
vicary Feb 12, 2022
38394d1
Merge remote-tracking branch 'origin/master'
bboure Feb 12, 2022
095275d
Chhroe: Upgrade dependencies
bboure Feb 12, 2022
c231e1d
Merge pull request #474 from sid88in/chores/update-deps
bboure Feb 12, 2022
f76aa16
feat: Add support for custom domains (#475)
bboure Mar 30, 2022
f562308
feat: Support OpenSearch datasource (#481)
vicary Mar 30, 2022
5bf0316
Add opensearch datasource (#465)
nvanlo Mar 30, 2022
c09ec82
Add @nvanlo as a contributor
bboure Mar 30, 2022
6fd5f89
1.13.0
bboure Mar 30, 2022
6115737
docs: recommend to install as dev dependency (#484)
y0ssi10 May 1, 2022
826578f
docs(offline): fix typo in Readme about offline support libraries (#498)
antoinewg Jun 2, 2022
d152217
doc: Update serverless minimum requirement (#451)
ankon Jun 2, 2022
4c283f0
feat: support associating WAF without creating (#501)
rikhilrai Jun 11, 2022
7d5c65d
doc: Typo fix (#508)
joebernard Jun 15, 2022
a2bb44a
feat(pipelineFunctions): Added the sync options
arielschvartz Jul 8, 2022
ffc87f1
ci(release): automatic releases + PR naming convention check (#520)
bboure Jul 16, 2022
d00f71a
Bump loader-utils from 1.2.3 to 1.4.2 in /example
dependabot[bot] Nov 12, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,15 @@
"contributions": [
"code"
]
},
{
"login": "nvanlo",
"name": "Nik Van Looy",
"avatar_url": "https://avatars.githubusercontent.com/u/68108702?v=4",
"profile": "https://github.com/nvanlo",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/naming.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Naming conventions

on:
pull_request:
types: [opened, edited, reopened]

permissions:
pull-requests: read

jobs:
naming:
name: Naming conventions
runs-on: ubuntu-latest
steps:
- uses: deepakputhraya/action-pr-title@master
with:
regex: '(feat|fix|ci|docs|test|refactor|build|chore|script)\(.+\): .+'
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release

on:
workflow_dispatch:

permissions:
contents: write
issues: write
pull-requests: write

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install dependencies
run: yarn
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
node_modules
npm-debug.log
yarn-error.json
yarn-error.log
users.json

# serverless zip
Expand Down
277 changes: 180 additions & 97 deletions README.md

Large diffs are not rendered by default.

136 changes: 136 additions & 0 deletions __snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1449,6 +1449,23 @@ Object {
}
`;

exports[`WAF should generate the WAF association and not the config 1`] = `
Object {
"GraphQlWafAssoc": Object {
"Properties": Object {
"ResourceArn": Object {
"Fn::GetAtt": Array [
"GraphQlApi",
"Arn",
],
},
"WebACLArn": "arn:aws:waf-regional:us-east-1:123456789012:rule/123-456-7890",
},
"Type": "AWS::WAFv2::WebACLAssociation",
},
}
`;

exports[`api keys should fail with a date > 1 year 1`] = `"Api Key MyKey must be valid for a minimum of 1 day and a maximum of 365 days."`;

exports[`api keys should fail with invalid duration 1`] = `"Could not parse foobar as a valid duration"`;
Expand Down Expand Up @@ -2448,6 +2465,125 @@ Object {
},
"Type": "AWS::IAM::Role",
},
"GraphQlDsOpenSearchSource2Role": Object {
"Properties": Object {
"AssumeRolePolicyDocument": Object {
"Statement": Array [
Object {
"Action": Array [
"sts:AssumeRole",
],
"Effect": "Allow",
"Principal": Object {
"Service": Array [
"appsync.amazonaws.com",
],
},
},
],
"Version": "2012-10-17",
},
"Policies": Array [
Object {
"PolicyDocument": Object {
"Statement": Array [
Object {
"Action": Array [
"es:ESHttpDelete",
"es:ESHttpGet",
"es:ESHttpHead",
"es:ESHttpPost",
"es:ESHttpPut",
"es:ESHttpPatch",
],
"Effect": "Allow",
"Resource": Array [
Object {
"Fn::Join": Array [
"/",
Array [
Object {
"Fn::GetAtt": Array [
Object {
"Ref": "OSDomain",
},
"Arn",
],
},
"*",
],
],
},
],
},
],
"Version": "2012-10-17",
},
"PolicyName": "GraphQlDsOpenSearchSource2Policy",
},
],
},
"Type": "AWS::IAM::Role",
},
"GraphQlDsOpenSearchSourceRole": Object {
"Properties": Object {
"AssumeRolePolicyDocument": Object {
"Statement": Array [
Object {
"Action": Array [
"sts:AssumeRole",
],
"Effect": "Allow",
"Principal": Object {
"Service": Array [
"appsync.amazonaws.com",
],
},
},
],
"Version": "2012-10-17",
},
"Policies": Array [
Object {
"PolicyDocument": Object {
"Statement": Array [
Object {
"Action": Array [
"es:ESHttpDelete",
"es:ESHttpGet",
"es:ESHttpHead",
"es:ESHttpPost",
"es:ESHttpPut",
"es:ESHttpPatch",
],
"Effect": "Allow",
"Resource": Array [
Object {
"Fn::Join": Array [
":",
Array [
"arn",
"aws",
"es",
"us-east-1",
Object {
"Ref": "AWS::AccountId",
},
"domain/search-my-os-domain-abcdefghijklmnop.us-east-1.es.amazonaws.com/*",
],
],
},
],
},
],
"Version": "2012-10-17",
},
"PolicyName": "GraphQlDsOpenSearchSourcePolicy",
},
],
},
"Type": "AWS::IAM::Role",
},
"GraphQlDsRelationalDbSourceRole": Object {
"Properties": Object {
"AssumeRolePolicyDocument": Object {
Expand Down
23 changes: 14 additions & 9 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1588,10 +1588,10 @@ elliptic@^6.0.0:
minimalistic-assert "^1.0.0"
minimalistic-crypto-utils "^1.0.0"

emojis-list@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389"
integrity sha1-TapNnbAPmBmIDHn6RXrlsJof04k=
emojis-list@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78"
integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==

encoding@^0.1.11:
version "0.1.12"
Expand Down Expand Up @@ -3124,12 +3124,12 @@ loader-runner@^2.3.0:
integrity sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==

loader-utils@^1.0.2, loader-utils@^1.1.0:
version "1.2.3"
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.2.3.tgz#1ff5dc6911c9f0a062531a4c04b609406108c2c7"
integrity sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA==
version "1.4.2"
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.2.tgz#29a957f3a63973883eb684f10ffd3d151fec01a3"
integrity sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==
dependencies:
big.js "^5.2.2"
emojis-list "^2.0.0"
emojis-list "^3.0.0"
json5 "^1.0.1"

locate-path@^2.0.0:
Expand Down Expand Up @@ -3320,11 +3320,16 @@ minimist@0.0.8:
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=

minimist@^1.1.1, minimist@^1.2.0:
minimist@^1.1.1:
version "1.2.0"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=

minimist@^1.2.0:
version "1.2.7"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18"
integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==

minimist@~0.0.1:
version "0.0.10"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
Expand Down