#!/usr/bin/env bash

projects=(
default
koa
node
pg
typescript
# web
# apollo-graphql-server
)

pushd ..
for folder in ${projects[*]}
do
  pushd ${folder}
    # cp ../../.gitignore .
    # cp ../../launch.json .vscode/
    # cp ../../README.md .

    cp ../project-files/npm-up.sh .
    # cp ../project-files/eslint.config.mjs .
    # cp ../project-files/package.json .
    # cp ../project-files/package.json.t .
    # cp ../project-files/tsconfig.json .
    # cp ../project-files/tsconfig.dev.json .

    # cp -r ../../img/ .
    # rm ./img/dm-tools.ai
    # ./npm-up.sh -
    rm -rf node_modules
  popd
done
popd
