We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b77c01 commit bf650d1Copy full SHA for bf650d1
1 file changed
‎packages/newdocs/scripts/helpers/getElements.ts‎
@@ -1,7 +1,7 @@
1
import fs from 'node:fs';
2
import path from 'node:path';
3
4
-import type { FunctionType } from '../constants';
+import type { FunctionType } from '@/src/constants';
5
6
import { CORE_ROOT } from '../constants';
7
@@ -11,6 +11,7 @@ export const getElements = async (type: FunctionType) => {
11
12
return files
13
.filter((file) => file.isDirectory())
14
+ .sort((left, right) => left.name.localeCompare(right.name))
15
.map((file) => ({
16
type,
17
name: file.name
0 commit comments