generated from autonomic-cooperative/astro-payload-template
Move payload types so dev container doesn't crash
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
370eac2b25
commit
f94bc5d822
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,3 +2,5 @@
|
|||||||
data
|
data
|
||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
yarn-error.log*
|
yarn-error.log*
|
||||||
|
|
||||||
|
/types/payload-types.ts
|
5
astro/.gitignore
vendored
5
astro/.gitignore
vendored
@ -15,7 +15,4 @@ pnpm-debug.log*
|
|||||||
|
|
||||||
|
|
||||||
# macOS-specific files
|
# macOS-specific files
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
# types
|
|
||||||
src/types/payload-types.ts
|
|
@ -4,7 +4,8 @@
|
|||||||
"types": ["@astrojs/image/client"],
|
"types": ["@astrojs/image/client"],
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["src/*"]
|
"@/*": ["src/*"],
|
||||||
|
"@/types/*": ["../types/*"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -22,6 +22,6 @@ export default buildConfig({
|
|||||||
},
|
},
|
||||||
collections: [Posts, Users, Authors, Media],
|
collections: [Posts, Users, Authors, Media],
|
||||||
typescript: {
|
typescript: {
|
||||||
outputFile: path.resolve("../astro/src/types/", "payload-types.ts"),
|
outputFile: path.resolve("../types/", "payload-types.ts"),
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user