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

Fix last import issue in auth-express #904

Merged
merged 3 commits into from Mar 12, 2024
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Expand Up @@ -76,9 +76,12 @@ jobs:
- name: Build
run: |
yarn workspace edgedb build
yarn workspace @edgedb/auth-core build
yarn workspace @edgedb/auth-nextjs build
yarn workspace @edgedb/generate build
yarn workspace @edgedb/auth-core build

- name: Typecheck
run: |
yarn workspaces run typecheck

# - name: Compile for Deno
# run: |
Expand Down
1 change: 1 addition & 0 deletions integration-tests/legacy/package.json
Expand Up @@ -3,6 +3,7 @@
"name": "@edgedb/integration-legacy",
"version": "0.0.0",
"scripts": {
"typecheck": "echo 'Integration tests, skipping typecheck...'",
"generate": "../../packages/generate/dist/cli.js",
"build": "echo 'Integration tests, no build output...'",
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" yarn generate edgeql-js && yarn generate queries --file && yarn generate interfaces && jest --detectOpenHandles --forceExit --passWithNoTests",
Expand Down
1 change: 1 addition & 0 deletions integration-tests/lts/package.json
Expand Up @@ -3,6 +3,7 @@
"name": "@edgedb/integration-lts",
"version": "0.0.0",
"scripts": {
"typecheck": "echo 'Integration tests, skipping typecheck...'",
"generate": "../../packages/generate/dist/cli.js",
"build": "echo 'Integration tests, no build output...'",
"test": "yarn test:ts && yarn test:non_ts",
Expand Down
1 change: 1 addition & 0 deletions integration-tests/nightly/package.json
Expand Up @@ -3,6 +3,7 @@
"name": "@edgedb/integration-nightly",
"version": "0.0.0",
"scripts": {
"typecheck": "echo 'Integration tests, skipping typecheck...'",
"generate": "../../packages/generate/dist/cli.js",
"build": "echo 'Integration tests, no build output...'",
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" yarn generate edgeql-js && yarn generate queries --file && yarn generate interfaces && jest --detectOpenHandles --forceExit --passWithNoTests",
Expand Down
1 change: 1 addition & 0 deletions integration-tests/stable/package.json
Expand Up @@ -3,6 +3,7 @@
"name": "@edgedb/integration-stable",
"version": "0.0.0",
"scripts": {
"typecheck": "echo 'Integration tests, skipping typecheck...'",
"generate": "../../packages/generate/dist/cli.js",
"build": "echo 'Integration tests, no build output...'",
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" yarn generate edgeql-js && yarn generate queries --file && yarn generate interfaces && jest --detectOpenHandles --forceExit --passWithNoTests",
Expand Down
1 change: 1 addition & 0 deletions packages/auth-core/package.json
Expand Up @@ -26,6 +26,7 @@
"/dist"
],
"scripts": {
"typecheck": "tsc --project tsconfig.json --noEmit",
"test": "jest --detectOpenHandles",
"build": "tsc --project tsconfig.json",
"gen-consts": "node genConsts.js"
Expand Down
1 change: 1 addition & 0 deletions packages/auth-express/package.json
Expand Up @@ -23,6 +23,7 @@
}
},
"scripts": {
"typecheck": "tsc --project tsconfig.json --noEmit",
"build": "tsc --project tsconfig.json"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/auth-express/src/index.ts
Expand Up @@ -21,7 +21,7 @@ import {

type RouterStack = (RequestHandler | ErrorRequestHandler)[];

export * from "@edgedb/auth-core/dist/errors.js";
export * from "@edgedb/auth-core/errors";

export type BuiltinProviderNames =
| BuiltinOAuthProviderNames
Expand Down
1 change: 1 addition & 0 deletions packages/auth-nextjs/package.json
Expand Up @@ -18,6 +18,7 @@
"./pages/*": "./dist/pages/*.js"
},
"scripts": {
"typecheck": "tsc --project tsconfig.json --noEmit",
"build": "tsc --project tsconfig.json"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/auth-remix/package.json
Expand Up @@ -15,6 +15,7 @@
"/dist"
],
"scripts": {
"typecheck": "tsc --project tsconfig.json --noEmit",
"build": "tsc --project tsconfig.json"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/auth-sveltekit/package.json
Expand Up @@ -15,6 +15,7 @@
"/dist"
],
"scripts": {
"typecheck": "tsc --project tsconfig.json --noEmit",
"build": "tsc --project tsconfig.json"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/create/package.json
Expand Up @@ -33,6 +33,7 @@
"write-package": "^7.0.0"
},
"scripts": {
"typecheck": "tsc --project tsconfig.json --noEmit",
"create": "tsx src/cli.ts",
"build": "./build.sh",
"test": "tsc --noEmit"
Expand Down
1 change: 1 addition & 0 deletions packages/driver/package.json
Expand Up @@ -37,6 +37,7 @@
"typescript": "^5.2.2"
},
"scripts": {
"typecheck": "tsc --project tsconfig.json --noEmit",
"build": "echo 'Building edgedb-js...' && rm -rf dist && yarn build:cjs && yarn build:deno",
"build:cjs": "tsc --project tsconfig.json",
"build:deno": "deno run --unstable --allow-all ./buildDeno.ts",
Expand Down
1 change: 1 addition & 0 deletions packages/edgeql-js/package.json
Expand Up @@ -14,6 +14,7 @@
"main": "index.js",
"license": "Apache-2.0",
"scripts": {
"typecheck": "echo 'Skipping typecheck...'",
"test": "echo 'No tests. Done.'",
"build": "echo 'Building edgeql-js...'",
"edgeql-js": "./index.js"
Expand Down
1 change: 1 addition & 0 deletions packages/generate/package.json
Expand Up @@ -35,6 +35,7 @@
},
"dependencies": {},
"scripts": {
"typecheck": "tsc --project tsconfig.build.json --noEmit",
"play": "tsx playground.ts",
"build": "rm -rf dist && yarn build:cjs && yarn build:esm && yarn build:deno && chmod +x dist/cli.js && yarn syntax:make && yarn syntax:clean && tsx embedVersion.ts dist/genutil.js",
"build:cjs": "tsc --project tsconfig.build.json",
Expand Down