@abide/abide 0.108.0 → 0.110.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -142,7 +142,6 @@ export async function serveDev(
142
142
  files: {},
143
143
  handlers: {},
144
144
  tables: {},
145
- mounted: {},
146
145
  },
147
146
  published: new Map(),
148
147
  failure,
@@ -1,30 +1,17 @@
1
- // THE FENCES: the four directory names that are never an address (23.15). `server` fences a graph
2
- // (16.29), `public` is answered as authored (36.11), and `lib` and `tests` hold what is neither an
3
- // address nor either of those. Every other directory under the root is a segment of the routes of
4
- // the files directly in it (23.14), and holds nothing else (23.22).
5
-
6
- /** A module under one only the server loads. */
7
- export const SERVER_DIRECTORY = 'server'
1
+ // THE FENCES: the two directory names that are never an address (23.15). `public` is answered as
2
+ // authored (36.11), and `lib` holds what is neither an address nor that. Every other directory under
3
+ // the root is a segment of the routes of the files directly in it (23.14), and holds nothing else
4
+ // (23.22). What only the server loads is a file's NAME rather than a directory's (16.29), and so is a
5
+ // test — `placement.ts` reads both.
8
6
 
9
7
  /** A file under one is answered as authored, at the path above it. */
10
8
  export const PUBLIC_DIRECTORY = 'public'
11
9
 
12
- /** The app's own code that is no address: components, modules, both sides. */
10
+ /** The app's own code that is no address: components and modules, both sides. */
13
11
  export const LIB_DIRECTORY = 'lib'
14
12
 
15
- /** The app's tests. */
16
- export const TESTS_DIRECTORY = 'tests'
17
-
18
- /** All four, as the walk of the app tests a directory against them. */
13
+ /** Both, as the walk of the app tests a directory against them. */
19
14
  export const RESERVED_DIRECTORIES: ReadonlySet<string> = new Set([
20
- SERVER_DIRECTORY,
21
15
  PUBLIC_DIRECTORY,
22
16
  LIB_DIRECTORY,
23
- TESTS_DIRECTORY,
24
- ])
25
-
26
- /** 23.16 — the fences a `server` directory nests in: it fences a graph rather than an address. */
27
- export const HOLDS_SERVER: ReadonlySet<string> = new Set([
28
- LIB_DIRECTORY,
29
- TESTS_DIRECTORY,
30
17
  ])