Skip to content

Commit db0797a

Browse files
authored
Merge pull request #16 from nhost/glob-ignore-fix
Glob ignore underscore folder fix
2 parents f80979f + ece0c6d commit db0797a

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

example/docker-compose.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ services:
2424
ports:
2525
- '5432:5432'
2626
graphql-engine:
27-
image: hasura/graphql-engine:v2.2.0
27+
image: hasura/graphql-engine:v2.15.0
2828
container_name: 'hasura'
2929
depends_on:
3030
- 'postgres'
@@ -43,7 +43,7 @@ services:
4343
- 'traefik.http.routers.hasura.rule=Host(`localhost`) && PathPrefix(`/`)'
4444
- 'traefik.http.routers.hasura.entrypoints=web'
4545
auth:
46-
image: nhost/hasura-auth:latest
46+
image: nhost/hasura-auth:0.15.0
4747
container_name: 'auth'
4848
depends_on:
4949
- postgres
@@ -72,7 +72,7 @@ services:
7272
- 'traefik.http.routers.auth.middlewares=strip-auth@docker'
7373
- 'traefik.http.routers.auth.entrypoints=web'
7474
storage:
75-
image: nhost/hasura-storage:0.2.1
75+
image: nhost/hasura-storage:0.2.7
7676
container_name: 'storage'
7777
depends_on:
7878
- postgres

example/functions/_utils/abc/test.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default async (req, res) => {
2+
res.status(200).send(`test, ${req.query.name}!`)
3+
}

server.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const main = async () => {
4040
cwd: functionsPath,
4141
ignore: [
4242
'**/node_modules/**', // ignore node_modules directories
43-
'**/_**/*', // ignore files inside directories that start with _
43+
'**/_*/**', // ignore files inside directories that start with _
4444
'**/_*' // ignore files that start with _
4545
]
4646
})

0 commit comments

Comments
 (0)