Skip to content

Commit b6fa80d

Browse files
authored
4.0.0 (#398)
1 parent 4c28ed0 commit b6fa80d

File tree

121 files changed

+2613
-4109
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+2613
-4109
lines changed

.changeset/forty-meals-behave.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@ts-safeql/eslint-plugin": major
3+
"@ts-safeql/generate": major
4+
---
5+
6+
BREAKING: SafeQL now requires the latest minore releases of `libpg-query` which use WASM builds instead of native binaries. This change imporves compatibility across different platforms and eliminates native compilation issues.

.eslintrc.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
node_modules
22
.turbo
3-
*.tsbuildinfo
3+
*.tsbuildinfo
4+
dist
5+
generated

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18
1+
20

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ I would first recommend follow the instructions in the [documentation](https://w
3333

3434
### Prerequisites
3535

36-
1. Set up ESLint following [the `typescript-eslint` Getting Started docs](https://typescript-eslint.io/getting-started), to enable TypeScript language support in ESLint
37-
2. Install [the `node-gyp` prerequisites for your operating system](https://github.com/nodejs/node-gyp#on-unix)
36+
Set up ESLint following [the `typescript-eslint` Getting Started docs](https://typescript-eslint.io/getting-started), to enable TypeScript language support in ESLint.
3837

3938
```bash
4039
npm install --save-dev @ts-safeql/eslint-plugin libpg-query

demos/basic-flat-config/eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ export default tseslint.config(
88
safeql.configs.connections({
99
databaseUrl: "postgres://postgres:postgres@localhost:5432/safeql_basic_flat_config",
1010
targets: [{ tag: "sql", transform: "{type}[]" }],
11-
})
11+
}),
1212
);

demos/basic-flat-config/package.json

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@
1010
"lint!": "eslint src --fix"
1111
},
1212
"devDependencies": {
13-
"@eslint/js": "^8.57.1",
14-
"@types/eslint": "^8.56.12",
15-
"@types/node": "^18.19.68",
16-
"eslint": "^8.57.1",
17-
"tsx": "^4.19.2",
18-
"typescript": "^5.7.2",
19-
"typescript-eslint": "^7.18.0"
13+
"@eslint/js": "^9.23.0",
14+
"@types/node": "^22.13.13",
15+
"eslint": "^9.23.0",
16+
"tsx": "^4.19.3",
17+
"typescript": "^5.8.2",
18+
"typescript-eslint": "^8.28.0"
2019
},
2120
"dependencies": {
2221
"@ts-safeql/eslint-plugin": "workspace:*",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extends": "../../tsconfig.node.json",
33
"compilerOptions": {
4-
"noEmit": true
4+
"outDir": "./dist",
55
}
66
}

demos/basic-migrations-raw/.eslintrc.json

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lib
1+
dist

0 commit comments

Comments
 (0)