1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Move events into subject folder (#35262)

This commit is contained in:
Kevin Heis
2023-03-14 08:53:42 -07:00
committed by GitHub
parent 8535653590
commit 0c67aadebc
20 changed files with 88 additions and 54 deletions

View File

@@ -7,14 +7,15 @@ Output looks like:
src/
xsubject/
README.md
components/
docs/
gitkeep
lib/
tests/
scripts/
stylesheets/
middleware/
pages/
docs/
components/
stylesheets/
scripts/
tests/
*/
import fs from 'fs/promises'
@@ -33,7 +34,16 @@ if (!name) {
const src = 'src/'
const subfolders = ['components', 'lib', 'tests', 'scripts', 'stylesheets', 'pages', 'docs']
const subfolders = [
'docs',
'lib',
'middleware',
'pages',
'components',
'stylesheets',
'scripts',
'tests',
]
const files = [
[