Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update swc and ts-node to latest versions #1717

Merged
merged 15 commits into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18.x
- run: npm install -g ts-node prettier@3.0.3 typescript@5.0.4 @swc/[email protected].57 @swc/[email protected].62 jest @biomejs/biome@1.0.0
- run: npm install -g ts-node@11.0.0-beta.1 prettier@3.1.0 typescript@5.3.2 @swc/[email protected].100 @swc/[email protected].63 jest @biomejs/biome@1.4.1
- run: |
cd ts
npm ci
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18.x
- run: npm install -g ts-node@10.9.1 prettier typescript@5.0.4 @swc/[email protected].57 @swc/[email protected].62
- run: npm install -g ts-node@11.0.0-beta.1 prettier@3.1.0 typescript@5.3.2 @swc/[email protected].100 @swc/[email protected].63
- run: |
cd ts
npm ci
npm install --save-dev @swc-node/[email protected].5
npm install --save-dev @swc-node/[email protected].8

- name: Setup ripgrep
run: curl -LO https://github.com/BurntSushi/ripgrep/releases/download/13.0.0/ripgrep_13.0.0_amd64.deb && sudo dpkg -i ripgrep_13.0.0_amd64.deb
Expand Down
1 change: 1 addition & 0 deletions docker_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Changelog for the npm version are [here](/CHANGELOG.md).

### Fixed

- Updated swc and ts-node to latest versions. Adds module to generated .swcrc used for graphql codegen (#1717)
- fix EdgeGroup actions sets incorrect ent type in DB (#1719)

## [0.1.14] - 2023-11-06
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/advanced-topics/running-locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ python3 -m pip install auto_schema==0.0.26
* Install the following TypeScript packages globally:

```shell
npm install -g typescript@4.4.2 prettier@3.0.3 ts-node@10.7 @swc/[email protected].57 @swc/[email protected].62 @biomejs/biome@1.0.0
npm install -g typescript@5.3.2 prettier@3.1.0 ts-node@11.0.0-beta.1 @swc/[email protected].100 @swc/[email protected].63 @biomejs/biome@1.4.1
```

* Install `tsconfig-paths` and `@swc-node/register` locally:

```shell
npm install --save-dev tsconfig-paths@3.11.0 @swc-node/[email protected].5
npm install --save-dev tsconfig-paths@4.2.0 @swc-node/[email protected].8
```

* Install `rg`
Expand Down
2 changes: 1 addition & 1 deletion examples/simple/develop.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/lolopinto/ent:v0.1.14-nodejs-18-dev
FROM ghcr.io/lolopinto/ent:v0.1.15-test2-nodejs-18-dev

WORKDIR /app

Expand Down
1 change: 1 addition & 0 deletions examples/simple/docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ services:
# - simple-sync:/app/:nocopy # nocopy is important
environment:
- DB_CONNECTION_STRING=postgres://$USER:@host.docker.internal/tsent_test
# - ENABLE_SWC=true

volumes:
simple-sync:
Expand Down
Loading