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

Adds an integration starter example #4877

Merged
merged 11 commits into from
Oct 7, 2022
Prev Previous commit
Next Next commit
chore: linter fixes
  • Loading branch information
Tony Sullivan committed Sep 26, 2022
commit 03e6938ff1d880265fb7551d0e39dbb0bcf3c554
2 changes: 1 addition & 1 deletion examples/integration/demo/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import myIntegration from '@example/my-integration';

// https://astro.build/config
export default defineConfig({
integrations: [myIntegration()]
integrations: [myIntegration()],
});
44 changes: 22 additions & 22 deletions examples/integration/packages/my-integration/package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"name": "@example/my-integration",
"private": true,
"version": "0.0.1",
"type": "module",
"exports": {
".": "./index.ts",
"./components": "./components.ts"
},
"files": [
"src",
"index.ts"
],
"keywords": [
"astro-component"
],
"scripts": {},
"devDependencies": {
"astro": "^1.3.0"
},
"peerDependencies": {
"astro": "^1.3.0"
}
"name": "@example/my-integration",
"private": true,
"version": "0.0.1",
"type": "module",
"exports": {
".": "./index.ts",
"./components": "./components.ts"
},
"files": [
"src",
"index.ts"
],
"keywords": [
"astro-component"
],
"scripts": {},
"devDependencies": {
"astro": "^1.3.0"
},
"peerDependencies": {
"astro": "^1.3.0"
}
}
2 changes: 1 addition & 1 deletion examples/integration/packages/my-integration/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "astro/tsconfigs/base"
}
}
4 changes: 2 additions & 2 deletions examples/integration/pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
packages:
- 'packages/**/*'
- 'demo'
- 'packages/**/*'
- 'demo'