Skip to content

Commit bd98369

Browse files
authored
Merge pull request #20 from launchql/feat/cleanup-1
Feat/cleanup 1
2 parents e7528e4 + e4c73c0 commit bd98369

File tree

10 files changed

+280
-476
lines changed

10 files changed

+280
-476
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -75,21 +75,11 @@ jobs:
7575
run: pnpm install
7676

7777
- name: Install LaunchQL CLI globally
78-
run: npm install -g @launchql/cli@4.12.3
78+
run: npm install -g @launchql/cli@4.13.4
7979

8080
- name: Build
8181
run: pnpm -r build
8282

83-
# - name: seed app_user
84-
# run: |
85-
# lql admin-users bootstrap --yes
86-
# lql admin-users add --test --yes
87-
# env:
88-
# PGHOST: 127.0.0.1
89-
# PGPORT: 54322
90-
# PGUSER: postgres
91-
# PGPASSWORD: postgres
92-
9383
- name: Test ${{ matrix.package }}
9484
run: cd ./packages/${{ matrix.package }} && pnpm test
9585

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,15 @@
2121
"scripts": {
2222
"bundle": "pnpm -r bundle",
2323
"lint": "pnpm -r lint",
24-
"test": "pnpm -r test"
24+
"test": "pnpm -r test",
25+
"up-i": "pnpm up -i -L"
2526
},
2627
"devDependencies": {
2728
"@types/jest": "^29.5.11",
2829
"@types/jest-in-case": "^1.0.3",
2930
"@types/node": "^22.10.4",
3031
"@typescript-eslint/eslint-plugin": "^8.46.4",
3132
"@typescript-eslint/parser": "^8.46.4",
32-
"copyfiles": "^2.4.1",
33-
"cpy-cli": "^6.0.0",
3433
"eslint": "^9.39.1",
3534
"eslint-config-prettier": "^9.1.0",
3635
"eslint-plugin-simple-import-sort": "^12.1.0",
@@ -40,7 +39,7 @@
4039
"lerna": "^8.2.3",
4140
"prettier": "^3.0.2",
4241
"rimraf": "4.4.1",
43-
"supabase-test": "^0.0.14",
42+
"supabase-test": "^0.0.16",
4443
"ts-jest": "^29.4.5",
4544
"ts-node": "^10.9.2",
4645
"typescript": "^5.9.3"

packages/hello-world/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ module.exports = {
1212
watchPathIgnorePatterns: ['/dist/'],
1313

1414
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
15-
};
15+
};

packages/hello-world/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
"version": "0.0.1",
44
"author": "Interweb <[email protected]>",
55
"description": "Hello World extension with Row Level Security (RLS) demo",
6-
"publishConfig": {
7-
"access": "public"
8-
},
6+
"private": true,
97
"scripts": {
8+
"clean": "rimraf dist/**",
9+
"lint": "eslint . --fix",
1010
"test": "jest",
1111
"test:watch": "jest --watch"
12-
}
12+
},
13+
"keywords": []
1314
}

packages/supabase/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @launchql/supabase
1+
# @lql-pg/supabase
22

33
<p align="center" width="100%">
44
<img height="250" src="https://raw.githubusercontent.com/launchql/supabase-test/refs/heads/main/docs/img/logos.svg" />

packages/supabase/jest.config.js

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
/** @type {import('ts-jest').JestConfigWithTsJest} */
22
module.exports = {
3-
preset: "ts-jest",
4-
testEnvironment: "node",
5-
transform: {
6-
"^.+\\.tsx?$": [
7-
"ts-jest",
8-
{
9-
babelConfig: false,
10-
tsconfig: "tsconfig.json",
11-
},
12-
],
13-
},
14-
transformIgnorePatterns: [`/node_modules/*`],
15-
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
16-
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
17-
modulePathIgnorePatterns: ["dist/*"]
18-
};
3+
preset: 'ts-jest',
4+
testEnvironment: 'node',
5+
6+
// Match both __tests__ and colocated test files
7+
testMatch: ['**/?(*.)+(test|spec).{ts,tsx,js,jsx}'],
8+
9+
// Ignore build artifacts and type declarations
10+
testPathIgnorePatterns: ['/dist/', '\\.d\\.ts$'],
11+
modulePathIgnorePatterns: ['<rootDir>/dist/'],
12+
watchPathIgnorePatterns: ['/dist/'],
13+
14+
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
15+
};

packages/supabase/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
2-
"name": "@launchql/supabase",
2+
"name": "@lql-pg/supabase",
33
"version": "0.0.1",
44
"author": "Interweb <[email protected]>",
55
"license": "MIT",
66
"publishConfig": {
77
"access": "public"
88
},
99
"scripts": {
10-
"clean": "rimraf dist/**",
1110
"lint": "eslint . --fix",
1211
"test": "jest",
1312
"test:watch": "jest --watch"

packages/supabase/tsconfig.esm.json

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

packages/supabase/tsconfig.json

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

0 commit comments

Comments
 (0)