Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
11053b0
Minor edits to Vite + React quickstart (#6926)
hibler13 Feb 19, 2024
c54850c
fix: Fix incorrect auth import path in migration guide. (#6934)
jimblanc Feb 20, 2024
d9e1afa
fix: Update incorrect `updateMFAPreference` parameter in JS v6 migrat…
jimblanc Feb 20, 2024
abea35b
Amplify Android Release 2.14.11 (#6933)
ankpshah Feb 20, 2024
f4fe23e
chore: refactor .layout-header into separate component (#6826)
katieklein Feb 21, 2024
20df399
fix: Nesting of auth cli templates (#6932)
nadetastic Feb 21, 2024
d29e872
fix: change config variable name (#6923)
tacck Feb 21, 2024
2aef692
Guide to support Amplify v2 with AWS Android SDK (#6927)
tylerjroach Feb 22, 2024
ea39d66
Update puppeteer (#6949)
timngyn Feb 22, 2024
cadadb0
Update index.mdx (#6950)
renebrandel Feb 22, 2024
bcfdc8e
Update CODEOWNERS with correct PM alignment (#6951)
renebrandel Feb 22, 2024
5998b22
fix(flutter, js): scope "connect existing cdk" guide to respective pl…
Equartey Feb 23, 2024
c3d5432
Revert "fix(flutter, js): scope "connect existing cdk" guide to respe…
Equartey Feb 23, 2024
4c8a711
chore: remove duplicated logic between Layout and LayoutHeader (#6954)
hbuchel Feb 23, 2024
bb954cd
extend eslint to lint mdx files, snippets. enable in vscode
josefaidt Feb 24, 2024
f72926f
rm stale setting
josefaidt Feb 24, 2024
b5cdee5
improve oauth docs (#6961)
johnpc Feb 26, 2024
71b5756
fixed gen 2 getting started guide (#6968)
renebrandel Feb 27, 2024
c97a89d
Update redirects for deleted hidden pages (#6944)
heatheramz Feb 27, 2024
0b99910
Update manual installation to point to @beta tag (#6972)
swaminator Feb 27, 2024
74850e5
include usage for multi-page apps (#6964)
johnpc Feb 27, 2024
7661906
chore: Clean up broken Amplify JS API reference links (#6976)
jimblanc Feb 28, 2024
3647359
Update build image instructions for Gen 2 (#6978)
Jay2113 Feb 29, 2024
fb1b8ed
chore: add unit test for YoutubeEmbed component (#6983)
katieklein Feb 29, 2024
f57a60a
chore: add unit tests for Accordion component (#6981)
katieklein Feb 29, 2024
0a7e95b
Update index.mdx (#6986)
renebrandel Feb 29, 2024
f9115e5
Add env variables for algolia (#6957)
timngyn Feb 29, 2024
7a9d346
fix(data): update REST API docs to document correct error response ty…
david-mcafee Feb 29, 2024
b148025
fix(data): update React Native minimum iOS deployment target guidance…
david-mcafee Feb 29, 2024
d2d48fe
Clarify behavior of forgetDevice() API regarding device tracking (#6985)
ankpshah Feb 29, 2024
c641e6d
Support for enum value listing (#6885)
renebrandel Mar 1, 2024
e0c58b2
CDK updates v2 (#6990)
hibler13 Mar 1, 2024
3cbd591
Add padding to bottom of nav menu (#6991)
timngyn Mar 1, 2024
8f43f83
Adding secondary index to Gen 2 (#6996)
renebrandel Mar 4, 2024
8adadb2
extend config to show addOuput (#6963)
ykethan Mar 4, 2024
6a60ffb
Update index.mdx (#6995)
renebrandel Mar 4, 2024
5c3f549
chore: add unit tests for NextPrevious component (#7003)
katieklein Mar 5, 2024
9889330
chore: add unit tests for LinkCards and LinkCard components (#7006)
katieklein Mar 5, 2024
0209b3b
chore: add unit tests for GetStartedPopover component (#7005)
katieklein Mar 5, 2024
2bed645
fix: [Storage] Configure Access (#6948)
nadetastic Mar 6, 2024
684333a
fix(Swift): update data use policy info's tracking to false (#6938)
lawmicha Mar 6, 2024
6d37f78
chore: add callouts and troubleshooting guide for configuration (#6967)
erinleigh90 Mar 6, 2024
25e641b
fix: resolve in-content broken links (#7011)
katieklein Mar 6, 2024
28ddcfd
update gen2 storage and function docs (#7009)
edwardfoyle Mar 6, 2024
5cd0ec3
Update CODEOWNERS (#7014)
katieklein Mar 6, 2024
e4f697d
updated steps for extending components in code (#6827)
the1adi Mar 7, 2024
941a617
Custom business logic support as of March @beta (#7019)
renebrandel Mar 7, 2024
ae8bad3
add storage trigger docs (#7020)
edwardfoyle Mar 7, 2024
1dc24d6
update link checker to wait for each call to complete before making t…
jacoblogan Mar 7, 2024
662bff3
custom examples (#6979)
ykethan Mar 7, 2024
54aaa73
fix: broken link, missing / at start (#7026)
katieklein Mar 8, 2024
0d0e9aa
validate and fix code snippets in Data section (#6975)
chrisbonifacio Mar 8, 2024
886f984
Update sandbox --dir-to-watch description (#7031)
rtpascual Mar 9, 2024
0be1575
Update index.mdx (#7035)
timngyn Mar 11, 2024
8e1c3e3
Fix link (#7028)
timngyn Mar 11, 2024
57a1f7e
add docs to auth resource access pattern (#7032)
bombguy Mar 11, 2024
cbacd40
fix: type platform as optional in Breadcrumbs component & add unit te…
katieklein Mar 12, 2024
e4aed00
fix: proper variable naming conventions for storage (#7033)
ujjwol05 Mar 12, 2024
79b112b
remove explicit file extension from gen2 imports (#6946)
gentamura Mar 12, 2024
6ad97e5
fix: Update diff code blocks to TypeScript with code highlights (#6905)
kevinold Mar 12, 2024
b4ad8fe
add docs on granting defineFunction access to defineData (#7029)
edwardfoyle Mar 12, 2024
5e1c738
standardize Gen 2 wording (#7036)
Jay2113 Mar 12, 2024
9a67d96
Update index.mdx (#6906)
dwittle Mar 12, 2024
2af8c10
fix lint config
josefaidt Mar 13, 2024
56e9af1
remove typescript-eslint/parser dep declaration
josefaidt Mar 13, 2024
c41ee1e
remove md, mdx from prettierignore
josefaidt Mar 13, 2024
b28388d
Modify_Amplify_resources (#7018)
AnilMaktala Mar 13, 2024
4fb7203
Update maplibre links (#7040)
timngyn Mar 13, 2024
7c02c8b
chore: add unit tests for PlatformNavigator (#6980)
katieklein Mar 13, 2024
63505fe
Update links to expo docs (#7044)
timngyn Mar 13, 2024
9785d09
chore: add unit tests for InternalLinkButton (#7000)
katieklein Mar 14, 2024
993eec9
chore: add addtl unit test for Block component (#6982)
katieklein Mar 14, 2024
6eee7cd
chore: add unit tests for TOC (#6984)
katieklein Mar 14, 2024
dac59ce
chore: add unit tests for ExternalLink (#6915)
katieklein Mar 14, 2024
7af4804
chore: add unit tests for ExternalLinkButton (#6914)
katieklein Mar 14, 2024
98a5f85
chore: add unit tests for Footer component (#6999)
katieklein Mar 14, 2024
6dc792d
chore: add unit tests for MigrationAlert component (#7004)
katieklein Mar 14, 2024
e026ec7
chore: add unit test for Overview component (#7002)
katieklein Mar 14, 2024
a136b57
chore: upgrade docsearch/react to 3.6 (#7046)
hbuchel Mar 14, 2024
1395531
added utility type content (#7047)
renebrandel Mar 14, 2024
78e6811
chore: add unit tests for PageLastUpdated (#7001)
katieklein Mar 15, 2024
e432da6
chore: add unit tests for Commands and Columns (#6916)
katieklein Mar 15, 2024
ea60cd2
Update resolution for follow-redirects (#7055)
timngyn Mar 15, 2024
9caa150
Update relative urls (#7048)
timngyn Mar 15, 2024
5b9ee28
Updating link checker (#7052)
timngyn Mar 18, 2024
47e8072
chore: update redirects list (#6969)
katieklein Mar 18, 2024
a9fc205
remove allowlist role names for appsync console access page (#7081)
chrisbonifacio Mar 19, 2024
571ee1c
Add JavaScript resolver code sample to Gen 1 (#7087)
renebrandel Mar 19, 2024
060d042
fix(JS): Update v5 JS libraries installation guides. (#7090)
israx Mar 20, 2024
186ec25
Cbonif/field-level-auth-support-for-sql (#7091)
chrisbonifacio Mar 20, 2024
fc3170e
Merge remote-tracking branch 'upstream/main' into lint-mdx-files-and-…
josefaidt Mar 21, 2024
bf358b0
alter no-undef rule for ts snippets
josefaidt Mar 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 34 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,45 @@
{
"$schema": "https://json.schemastore.org/eslintrc.json",
"extends": [
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended",
"plugin:mdx/recommended",
"prettier" // prettier should always come last
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "prettier"],
"parser": "@typescript-eslint/parser",
"rules": {
"react-hooks/exhaustive-deps": "error",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-vars": "error",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error"
}
"react-hooks/exhaustive-deps": "error"
},
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["./tsconfig.json"]
}
},
{
"files": ["*.mdx"],
"extends": ["plugin:mdx/overrides"],
"settings": {
"mdx/code-blocks": true
},
"rules": {
// for mdx shortcodes, and snippets
"react/jsx-no-undef": ["off"]
}
},
{
// disable type-aware linting for MDX TS virtual files (code snippets)
"files": ["**/*.mdx/*.ts"],
"extends": ["plugin:@typescript-eslint/disable-type-checked"],
"rules": {
"@typescript-eslint/no-unused-vars": "warn"
}
}
]
}
65 changes: 34 additions & 31 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -9,80 +9,83 @@
/src/pages/console/ @dbanksdesign @aws-amplify/documentation-team

#Analytics
/src/**/**/analytics @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/**/analytics @hdworld11 @dbanksdesign @aws-amplify/documentation-team

#Auth
/src/**/**/auth @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/**/authz @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/**/authentication @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/**/auth @josefaidt @aws-amplify/documentation-team
/src/**/**/authz @josefaidt @renebrandel @aws-amplify/documentation-team
/src/**/**/authentication @renebrandel @josefaidt @aws-amplify/documentation-team

#Client Configuration
/src/**/**/client-configuration @renebrandel @dbanksdesign @hdworld11 @aws-amplify/documentation-team
/src/**/**/configuration @renebrandel @dbanksdesign @hdworld11 @aws-amplify/documentation-team
/src/**/**/client-configuration @renebrandel @josefaidt @hdworld11 @aws-amplify/documentation-team
/src/**/**/configuration @renebrandel @josefaidt @hdworld11 @aws-amplify/documentation-team

#Common
/src/fragments/common @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/fragments/lib/common @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/fragments/common @renebrandel @hdworld11 @josefaidt @dbanksdesign @aws-amplify/documentation-team
/src/fragments/lib/common @renebrandel @hdworld11 @josefaidt @dbanksdesign @aws-amplify/documentation-team

#Data
/src/**/**/datastore @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/**/data @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/**/datastore @renebrandel @aws-amplify/documentation-team
/src/**/**/data @renebrandel @aws-amplify/documentation-team

#Debugging
/src/fragments/**/debugging @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/fragments/**/debugging @josefaidt @aws-amplify/documentation-team

#Geo
/src/**/**/geo @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/**/geo @hdworld11 @aws-amplify/documentation-team

#Getting Started
/src/**/start @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/start @renebrandel @hdworld11 @josefaidt @dbanksdesign @aws-amplify/documentation-team

#GraphQL API
/src/**/**/api-graphql @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/**/graphqlapi @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/cli-legacy/graphql-transformer @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/fragments/sdk/api/**/graphql.mdx @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/**/api-graphql @renebrandel @aws-amplify/documentation-team
/src/**/**/graphqlapi @renebrandel @aws-amplify/documentation-team
/src/**/cli-legacy/graphql-transformer @renebrandel @aws-amplify/documentation-team
/src/fragments/sdk/api/**/graphql.mdx @renebrandel @aws-amplify/documentation-team

#In-App Messaging
/src/**/**/in-app-messaging @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/**/in-app-messaging @hdworld11 @aws-amplify/documentation-team

#Info
/src/fragments/**/info @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/fragments/**/info @renebrandel @hdworld11 @josefaidt @dbanksdesign @aws-amplify/documentation-team

#Interactions
/src/**/**/interactions @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/**/interactions @josefaidt @aws-amplify/documentation-team

#Logging
/src/fragments/lib/logging @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/fragments/lib/logging @hdworld11 @aws-amplify/documentation-team

#Predictions
/src/**/**/predictions @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/**/predictions @hdworld11 @dbanksdesign @aws-amplify/documentation-team

#Project Setup
/src/**/**/project-setup @renebrandel @dbanksdesign @hdworld11 @aws-amplify/documentation-team
/src/**/**/project-setup @renebrandel @josefaidt @dbanksdesign @hdworld11 @aws-amplify/documentation-team

#PubSub
/src/**/**/pubsub @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/**/pubsub @renebrandel @aws-amplify/documentation-team

#Push Notifications
/src/**/**/push-notifications @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/**/push-notifications @hdworld11 @dbanksdesign @aws-amplify/documentation-team

#Rest API
/src/**/**/api-rest @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/**/restapi @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/fragments/sdk/api/**/rest.mdx @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/**/api-rest @josefaidt @aws-amplify/documentation-team
/src/**/**/restapi @josefaidt @aws-amplify/documentation-team
/src/fragments/sdk/api/**/rest.mdx @josefaidt @aws-amplify/documentation-team

#SSR
/src/fragments/lib/ssr @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/fragments/lib/ssr @renebrandel @josefaidt @dbanksdesign @aws-amplify/documentation-team

#Storage
/src/**/**/storage @hdworld11 @aws-amplify/documentation-team

#Troubleshooting
/src/fragments/lib/troubleshooting @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/fragments/lib/troubleshooting @josefaidt @aws-amplify/documentation-team

#Utilities
/src/**/**/utilities @renebrandel @dbanksdesign @aws-amplify/documentation-team
/src/**/**/utilities @josefaidt @aws-amplify/documentation-team

#Gen2
/src/pages/gen2 @ykethan @jay2113 @chrisbonifacio @aspittel @renebrandel @swaminator @dbanksdesign @josefaidt @ErikCH @arundna @hdworld11

#Docs Engineering
/src/components @aws-amplify/documentation-team
Expand Down
6 changes: 0 additions & 6 deletions .lintstagedrc.js

This file was deleted.

2 changes: 0 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@ public
README-assets
yarn.lock
redirects.json
*.md
*.mdx
8 changes: 8 additions & 0 deletions .remarkrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"plugins": [
"preset-lint-consistent",
"preset-lint-markdown-style-guide",
"preset-lint-recommended",
"preset-prettier"
]
}
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp

// List of extensions which should be recommended for users of this workspace.
"recommendations": ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint"],
"recommendations": ["esbenp.prettier-vscode", "dbaeumer.vscode-eslint", "unifiedjs.vscode-remark"],
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": []
}
22 changes: 19 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,23 @@
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[mdx]": {
"editor.wordWrap": "on"
}
"eslint.enable": true,
"eslint.probe": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"markdown",
"mdx"
],
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"markdown",
"mdx"
]
}
3 changes: 3 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ const nextJSConfig = () => {
distDir: 'client/www/next-build',
env: {
BUILD_ENV: process.env.BUILD_ENV,
ALGOLIA_APP_ID: process.env.ALGOLIA_APP_ID,
ALGOLIA_API_KEY: process.env.ALGOLIA_API_KEY,
ALGOLIA_INDEX_NAME: process.env.ALGOLIA_INDEX_NAME,
nextImageExportOptimizer_imageFolderPath: 'public',
nextImageExportOptimizer_exportFolderPath: 'out',
nextImageExportOptimizer_quality: '75',
Expand Down
27 changes: 19 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@types/node": "^12.12.9",
"@types/react": "^18.0.0",
"@types/url-parse": "^1.4.3",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"axios": "^1.3.4",
"classnames": "^2.3.2",
"cross-env": "^7.0.3",
Expand All @@ -47,7 +47,7 @@
"eslint": "8.54.0",
"eslint-config-next": "14.0.3",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-next": "^0.0.0",
"eslint-plugin-mdx": "^3.1.5",
"eslint-plugin-prettier": "^5.0.1",
"fs-extra": "^9.0.1",
"git-jiggy": "1.1.1",
Expand All @@ -58,14 +58,19 @@
"lint-staged": "^14.0.0",
"next-bundle-analyzer": "^0.6.7",
"prettier": "^3.0.3",
"puppeteer": "^20.8.2",
"puppeteer": "^22.2.0",
"rehype": "^11.0.0",
"rehype-img-size": "^1.0.1",
"rehype-mdx-code-props": "^2.0.0",
"remark": "^14.0.2",
"remark-gfm": "^3.0.0",
"remark-lint": "^9.1.2",
"remark-mdx": "^2.3.0",
"remark-mdx-searchable": "^0.1.3",
"remark-preset-lint-consistent": "^5.1.2",
"remark-preset-lint-markdown-style-guide": "^5.1.3",
"remark-preset-lint-recommended": "^6.1.3",
"remark-preset-prettier": "^2.0.1",
"rollup-plugin-node-polyfills": "^0.2.1",
"sass": "^1.54.8",
"serve": "^14.2.1",
Expand All @@ -80,22 +85,21 @@
"@babel/core": "^7.23.2",
"@babel/traverse": "^7.23.2",
"loader-utils": "2.0.4",
"minimatch": "3.1.2",
"decode-uri-component": "0.2.1",
"fast-xml-parser": "4.2.5",
"semver": "7.5.2",
"tough-cookie": "4.1.3",
"aws-cdk-lib": "2.80.0",
"prismjs": "^1.27.0",
"@adobe/css-tools": "4.3.2",
"follow-redirects": "^1.15.4",
"follow-redirects": "^1.15.6",
"ip": "2.0.1",
"sharp": "0.32.6"
},
},
"scripts": {
"clean": "rm -rf node_modules yarn.lock",
"refresh": "yarn clean && yarn",
"test": "jest",
"test": "jest --coverage",
"dev": "yarn prebuild && next dev",
"spellcheck": "cspell \"src/**/*.mdx\" --no-progress",
"spellcheck-diff": "git diff --name-only --cached | awk \"/src.*\\.mdx/{print}\" | npx cspell --no-must-find-files --file-list stdin",
Expand All @@ -106,6 +110,13 @@
"prepare": "husky install",
"analyze": "ANALYZE=true yarn next-build",
"prebuild": "node src/directory/generateDirectory.mjs && node src/directory/generateFlatDirectory.mjs",
"lint": "next lint"
"lint": "next lint",
"lint:content": "eslint --ext mdx src"
},
"lint-staged": {
"**/*.(ts|tsx|js|css|mjs|mdx)": [
"eslint",
"prettier --list-different"
]
}
}
Binary file removed public/images/gen2/getting-started/console4.png
Binary file not shown.
Loading