forumone / nextjs-project

Next.js project template
0 stars 0 forks source link

Proto drupal starter #133

Open kmonahan opened 6 days ago

kmonahan commented 6 days ago
kmonahan commented 12 hours ago

@coreylafferty @mdrayer @mrclay Made some additional directory structure changes beyond what we discussed at the check-in, because I realized that tsc fails on any files that import packages that are only installed with ddev setup-drupal. Since devs don't have to manually copy the starterkit files, I moved the types and util files into starterkit/drupal as well and excluded that directory in the tsconfig.json. (It means that to check types on starter files, you have to run the setup and then check types, but you have to copy them anyway to see if they work.)

Do we still want to use the CMS-specific subdirectories if the files are only added as part of the setup? Right now, for example, the utility files get copied to /util rather than /util/drupal.