aws-prototyping-sdk.cloudscape-react-ts-website-0.9.4
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.9
0.7.8
0.7.7
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.2
0.6.1
0.6.0
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.4
0.4.3
0.4.2
0.4.0
0.18.1
0.18.0
0.17.5
0.17.4
0.17.3
0.17.2
0.17.1
0.17.0
0.16.1
0.16.0
0.15.5
0.15.4
0.15.3
0.14.9
0.14.8
0.14.7
0.14.6
0.14.5
0.14.4
0.14.3
0.14.21
0.14.20
0.14.2
0.14.19
0.14.18
0.14.17
0.14.16
0.14.15
0.14.11
0.14.10
0.14.1
0.14.0
0.13.6
0.13.5
0.13.4
0.13.3
0.13.2
0.13.1
0.13.0
0.12.9
0.12.8
0.12.7
0.12.6
0.12.5
0.12.4
0.12.37
0.12.36
0.12.35
0.12.34
0.12.33
0.12.32
0.12.31
0.12.30
0.12.3
0.12.26
0.12.25
0.12.24
0.12.23
0.12.22
0.12.21
0.12.20
0.12.2
0.12.19
0.12.18
0.12.17
0.12.16
0.12.15
0.12.14
0.12.13
0.12.12
0.12.11
0.12.10
0.12.1
0.12.0
0.11.9
0.11.8
0.11.7
0.11.6
0.11.5
0.11.4
0.11.3
0.11.2
0.11.1
0.11.0
0.10.3
0.10.2
0.10.1
0.10.0
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.9
0.7.8
0.7.7
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.2
0.6.1
0.6.0
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.4
0.4.3
0.4.2
0.4.0
0.18.1
0.18.0
0.17.5
0.17.4
0.17.3
0.17.2
0.17.1
0.17.0
0.16.1
0.16.0
0.15.5
0.15.4
0.15.3
0.14.9
0.14.8
0.14.7
0.14.6
0.14.5
0.14.4
0.14.3
0.14.21
0.14.20
0.14.2
0.14.19
0.14.18
0.14.17
0.14.16
0.14.15
0.14.11
0.14.10
0.14.1
0.14.0
0.13.6
0.13.5
0.13.4
0.13.3
0.13.2
0.13.1
0.13.0
0.12.9
0.12.8
0.12.7
0.12.6
0.12.5
0.12.4
0.12.37
0.12.36
0.12.35
0.12.34
0.12.33
0.12.32
0.12.31
0.12.30
0.12.3
0.12.26
0.12.25
0.12.24
0.12.23
0.12.22
0.12.21
0.12.20
0.12.2
0.12.19
0.12.18
0.12.17
0.12.16
0.12.15
0.12.14
0.12.13
0.12.12
0.12.11
0.12.10
0.12.1
0.12.0
0.11.9
0.11.8
0.11.7
0.11.6
0.11.5
0.11.4
0.11.3
0.11.2
0.11.1
0.11.0
0.10.3
0.10.2
0.10.1
0.10.0
توضیحات
@aws-prototyping-sdk/cloudscape-react-ts-website
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | aws-prototyping-sdk.cloudscape-react-ts-website-0.9.4 |
| نام | aws-prototyping-sdk.cloudscape-react-ts-website |
| نسخه کتابخانه | 0.9.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | AWS APJ COPE<apj-cope@amazon.com> |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/aws/aws-prototyping-sdk |
| آدرس اینترنتی | https://pypi.org/project/aws-prototyping-sdk.cloudscape-react-ts-website/ |
| مجوز | Apache-2.0 |
## Getting started
To create a new [Cloudscape](https://cloudscape.design/) React Typescript Project, there are a couple of options:
### Via Projen CLI
```
npx projen new --from @aws-prototyping-sdk/cloudscape-react-ts-website cloudscape-react-ts-website [--application-name <your-app>]
```
### Programmatically
```python
new CloudscapeReactTsWebsiteProject({
defaultReleaseBranch: "mainline",
name: "<name-of-package>",
applicationName: "<name-of-app>",
});
```
### Running your synthesized Application
To run your synthesized application locally, run `npx projen dev`.
## Developer Notes
To enable Cognito auth, ensure you have a runtime-config.json file in the root of your deployed project which at least contains the following:
```json
{
"region": "<aws-region>",
"identityPoolId":"<identity-pool-id>",
"userPoolId":"<user-pool-id>",
"userPoolWebClientId":"<user-pool-web-client-id>"
}
```
The easiest way to get this set up is to use the static-website + identity packages to deploy your website.
An example of how to do this is as follows:
```python
const userIdentity = new UserIdentity(this, 'UserIdentity');
new StaticWebsite(this, 'StaticWebsite', {
websiteContentPath: '<relative>/<path>/<to>/<built>/<website>',
runtimeOptions: {
jsonPayload: {
region: Stack.of(this).region,
identityPoolId: userIdentity.identityPool.identityPoolId,
userPoolId: userIdentity.userPool?.userPoolId,
userPoolWebClientId: userIdentity.userPoolClient?.userPoolClientId,
}
},
});
```
For local development, you will need to copy the generated runtime-config.json file into your /public directory. An example on how to do this is as follows:
```
curl https://dxxxxxxxxxx.cloudfront.net/runtime-config.json > public/runtime-config.json
```
نیازمندی
| مقدار | نام |
|---|---|
| <2.0.0,>=1.80.0 | jsii |
| <0.72.0,>=0.71.35 | projen |
| >=0.0.3 | publication |
| ~=2.13.3 | typeguard |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| ~=3.7 | Python |
نحوه نصب
نصب پکیج whl aws-prototyping-sdk.cloudscape-react-ts-website-0.9.4:
pip install aws-prototyping-sdk.cloudscape-react-ts-website-0.9.4.whl
نصب پکیج tar.gz aws-prototyping-sdk.cloudscape-react-ts-website-0.9.4:
pip install aws-prototyping-sdk.cloudscape-react-ts-website-0.9.4.tar.gz