Skip to content
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
12 changes: 1 addition & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +75,11 @@ jobs:
run: pnpm install

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

- name: Build
run: pnpm -r build

# - name: seed app_user
# run: |
# lql admin-users bootstrap --yes
# lql admin-users add --test --yes
# env:
# PGHOST: 127.0.0.1
# PGPORT: 54322
# PGUSER: postgres
# PGPASSWORD: postgres

- name: Test ${{ matrix.package }}
run: cd ./packages/${{ matrix.package }} && pnpm test

7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,15 @@
"scripts": {
"bundle": "pnpm -r bundle",
"lint": "pnpm -r lint",
"test": "pnpm -r test"
"test": "pnpm -r test",
"up-i": "pnpm up -i -L"
},
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/jest-in-case": "^1.0.3",
"@types/node": "^22.10.4",
"@typescript-eslint/eslint-plugin": "^8.46.4",
"@typescript-eslint/parser": "^8.46.4",
"copyfiles": "^2.4.1",
"cpy-cli": "^6.0.0",
"eslint": "^9.39.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-simple-import-sort": "^12.1.0",
Expand All @@ -40,7 +39,7 @@
"lerna": "^8.2.3",
"prettier": "^3.0.2",
"rimraf": "4.4.1",
"supabase-test": "^0.0.14",
"supabase-test": "^0.0.16",
"ts-jest": "^29.4.5",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/hello-world/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ module.exports = {
watchPathIgnorePatterns: ['/dist/'],

moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
};
};
9 changes: 5 additions & 4 deletions packages/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
"version": "0.0.1",
"author": "Interweb <[email protected]>",
"description": "Hello World extension with Row Level Security (RLS) demo",
"publishConfig": {
"access": "public"
},
"private": true,
"scripts": {
"clean": "rimraf dist/**",
"lint": "eslint . --fix",
"test": "jest",
"test:watch": "jest --watch"
}
},
"keywords": []
}
2 changes: 1 addition & 1 deletion packages/supabase/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @launchql/supabase
# @lql-pg/supabase

<p align="center" width="100%">
<img height="250" src="https://raw.githubusercontent.com/launchql/supabase-test/refs/heads/main/docs/img/logos.svg" />
Expand Down
29 changes: 13 additions & 16 deletions packages/supabase/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
preset: "ts-jest",
testEnvironment: "node",
transform: {
"^.+\\.tsx?$": [
"ts-jest",
{
babelConfig: false,
tsconfig: "tsconfig.json",
},
],
},
transformIgnorePatterns: [`/node_modules/*`],
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
modulePathIgnorePatterns: ["dist/*"]
};
preset: 'ts-jest',
testEnvironment: 'node',

// Match both __tests__ and colocated test files
testMatch: ['**/?(*.)+(test|spec).{ts,tsx,js,jsx}'],

// Ignore build artifacts and type declarations
testPathIgnorePatterns: ['/dist/', '\\.d\\.ts$'],
modulePathIgnorePatterns: ['<rootDir>/dist/'],
watchPathIgnorePatterns: ['/dist/'],

moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
};
3 changes: 1 addition & 2 deletions packages/supabase/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"name": "@launchql/supabase",
"name": "@lql-pg/supabase",
"version": "0.0.1",
"author": "Interweb <[email protected]>",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "rimraf dist/**",
"lint": "eslint . --fix",
"test": "jest",
"test:watch": "jest --watch"
Expand Down
9 changes: 0 additions & 9 deletions packages/supabase/tsconfig.esm.json

This file was deleted.

9 changes: 0 additions & 9 deletions packages/supabase/tsconfig.json

This file was deleted.

Loading