Skip to content

Commit

Permalink
update swc and ts-node to latest versions (#1717)
Browse files Browse the repository at this point in the history
  • Loading branch information
lolopinto authored Dec 6, 2023
1 parent 325c40a commit 8108125
Show file tree
Hide file tree
Showing 16 changed files with 1,557 additions and 1,265 deletions.
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/core@1.3.57 @swc/cli@0.1.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/core@1.3.100 @swc/cli@0.1.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/core@1.3.57 @swc/cli@0.1.62
- run: npm install -g ts-node@11.0.0-beta.1 prettier@3.1.0 typescript@5.3.2 @swc/core@1.3.100 @swc/cli@0.1.63
- run: |
cd ts
npm ci
npm install --save-dev @swc-node/register@1.6.5
npm install --save-dev @swc-node/register@1.6.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/core@1.3.57 @swc/cli@0.1.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/core@1.3.100 @swc/cli@0.1.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/register@1.6.5
npm install --save-dev tsconfig-paths@4.2.0 @swc-node/register@1.6.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

0 comments on commit 8108125

Please sign in to comment.