Skip to content

Commit c350dd5

Browse files
committed
chore: update
1 parent ccbef72 commit c350dd5

File tree

7 files changed

+66
-79
lines changed

7 files changed

+66
-79
lines changed

.eslintrc.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
"plugin:vitest/recommended",
1313
"plugin:astro/recommended",
1414
"plugin:import/recommended",
15-
"plugin:import/typescript",
16-
"@unocss"
15+
"plugin:import/typescript"
1716
],
17+
"globals": {
18+
"JSX": true
19+
},
1820
"rules": {
1921
"sort-imports": ["error", {
2022
"ignoreDeclarationSort": true
@@ -59,10 +61,13 @@
5961
"parserOptions": {
6062
"parser": "@typescript-eslint/parser",
6163
"extraFileExtensions": [".astro"]
62-
},
63-
"rules": {
64-
"prettier/prettier": "off"
6564
}
65+
},
66+
{
67+
// Define the configuration for `<script>` tag.
68+
// Script in `<script>` is assigned a virtual file name with the `.js` extension.
69+
"files": ["**/*.astro/*.js", "*.astro/*.js"],
70+
"parser": "@typescript-eslint/parser"
6671
}
6772
]
6873
}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v18.15.0
1+
v18.16.0

.prettierrc.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://json.schemastore.org/prettierrc.json",
23
"editorconfig": true,
34
"semi": false,
45
"singleQuote": false,
@@ -7,5 +8,14 @@
78
"trailingComma": "all",
89
"bracketSpacing": true,
910
"bracketSameLine": false,
10-
"proseWrap": "preserve"
11+
"proseWrap": "preserve",
12+
"plugins": ["prettier-plugin-astro"],
13+
"overrides": [
14+
{
15+
"files": ["**/*.astro"],
16+
"options": {
17+
"parser": "astro"
18+
}
19+
}
20+
]
1121
}

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@
22

33
## Introduction
44

5-
This project is to develop and deploy [Astro](https://astro.build/) with AWS. It provides [Astro Adapter](./packages/adapter/) for developing Astro SSR(Lambda or Edge) website. In the meanwhile, it provides [AWS CDK Construct](./packages/construct/) to deploy website(Static or SSR) to AWS. You can see further [examples](./examples/).
5+
The **astrojs-aws** provides a set of libraries to helps develop and deploy the [Astro](https://astro.build/) in [AWS](https://aws.amazon.com/) Platform. It consists of:
6+
7+
- [Astro SSR Adapter](https://github.com/helbing/astrojs-aws/tree/main/packages/adapter)
8+
- [AWS CDK Construct](https://github.com/helbing/astrojs-aws/tree/main/packages/construct)
9+
10+
You can know further with [examples](./examples/).
611

712
## Contributing
813

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"cdk": "turbo run cdk -- ",
1414
"astro": "turbo run astro --",
1515
"publish-version": "bumpp -r",
16-
"publish-packages": "turbo run publish-packages"
16+
"publish-packages": "turbo run publish-packages",
17+
"docs:dev": "turbo run dev --filter docs"
1718
},
1819
"keywords": [
1920
"aws",

pnpm-lock.yaml

Lines changed: 29 additions & 60 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

turbo.json

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,20 @@
99
"dist/**"
1010
]
1111
},
12-
"test": {},
13-
"test:integ": {
14-
"cache": false,
15-
"dependsOn": [
16-
"build"
17-
]
12+
"dev": {
13+
"cache": false
1814
},
15+
"test": {},
1916
"clean": {
2017
"cache": false
2118
},
2219
"cdk": {
2320
"cache": false
2421
},
25-
"publish-version": {},
26-
"publish-packages": {},
27-
"hugo": {
22+
"astro": {
2823
"cache": false
29-
}
24+
},
25+
"publish-version": {},
26+
"publish-packages": {}
3027
}
3128
}

0 commit comments

Comments
 (0)