Skip to content

Commit 702a95e

Browse files
Add a default .gitignore that ignores node_modules in the connector template (#34)
1 parent 53ae387 commit 702a95e

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ This changelog documents the changes between release versions.
77
## [Unreleased]
88
Changes to be included in the next upcoming release
99

10+
- Added a default .gitignore that ignores node_modules in the connector template ([#34](https://github.com/hasura/ndc-nodejs-lambda/pull/34))
11+
1012
## [1.4.0] - 2024-05-08
1113
- Removed type inference recursion limit ([#33](https://github.com/hasura/ndc-nodejs-lambda/pull/33)). This enables the use of very nested object graphs.
1214
- Updated the NDC TypeScript SDK to v4.6.0 ([#33](https://github.com/hasura/ndc-nodejs-lambda/pull/33)).

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,6 @@ export async function test(statusCode: number): Promise<string> {
279279
Non-readonly functions are not invoked in parallel within the same mutation request to the connector, so it is invalid to use the @paralleldegree JSDoc tag on those functions.
280280

281281
### Documentation
282-
*Note: this feature is still in development.*
283-
284282
JSDoc comments on your functions and types are used to provide descriptions for types exposed in your GraphQL schema. For example:
285283

286284
```typescript

connector-definition/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ dist/.hasura-connector/Dockerfile: Dockerfile dist/.hasura-connector $(RELEASE_V
2525
dist/.hasura-connector/.dockerignore: .dockerignore dist/.hasura-connector
2626
cp -f .dockerignore dist/.hasura-connector/
2727

28-
template_files := $(filter-out %/package.json,$(wildcard template/*))
28+
# The .[!.]* includes hidden files (ie. the .gitignore file)
29+
template_files := $(filter-out %/package.json,$(wildcard template/* template/.[!.]*))
2930
dist_template_files := $(patsubst template/%,dist/%,$(template_files))
3031

3132
$(dist_template_files): $(template_files)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

0 commit comments

Comments
 (0)