@supabase/auth-js 2.105.5-beta.8 → 2.106.0-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -19
- package/dist/main/lib/version.d.ts +1 -1
- package/dist/main/lib/version.d.ts.map +1 -1
- package/dist/main/lib/version.js +1 -1
- package/dist/main/lib/version.js.map +1 -1
- package/dist/module/lib/version.d.ts +1 -1
- package/dist/module/lib/version.d.ts.map +1 -1
- package/dist/module/lib/version.js +1 -1
- package/dist/module/lib/version.js.map +1 -1
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -9
- package/src/lib/version.ts +1 -1
package/README.md
CHANGED
|
@@ -81,19 +81,19 @@ This package is part of the [Supabase JavaScript monorepo](https://github.com/su
|
|
|
81
81
|
|
|
82
82
|
```bash
|
|
83
83
|
# Complete build (from monorepo root)
|
|
84
|
-
|
|
84
|
+
npx nx build auth-js
|
|
85
85
|
|
|
86
86
|
# Build with watch mode for development
|
|
87
|
-
|
|
87
|
+
npx nx build auth-js --watch
|
|
88
88
|
|
|
89
89
|
# Individual build targets
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
npx nx build:main auth-js # CommonJS build (dist/main/)
|
|
91
|
+
npx nx build:module auth-js # ES Modules build (dist/module/)
|
|
92
92
|
|
|
93
93
|
# Other useful commands
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
npx nx lint auth-js # Run ESLint
|
|
95
|
+
npx nx typecheck auth-js # TypeScript type checking
|
|
96
|
+
npx nx docs auth-js # Generate documentation
|
|
97
97
|
```
|
|
98
98
|
|
|
99
99
|
#### Build Outputs
|
|
@@ -118,13 +118,13 @@ The auth-js package has two test suites:
|
|
|
118
118
|
|
|
119
119
|
```bash
|
|
120
120
|
# Run main test suite with Supabase CLI (recommended)
|
|
121
|
-
|
|
121
|
+
npx nx test:auth auth-js
|
|
122
122
|
|
|
123
123
|
# Run Docker-only edge case tests
|
|
124
|
-
|
|
124
|
+
npx nx test:docker auth-js
|
|
125
125
|
|
|
126
126
|
# Run both test suites
|
|
127
|
-
|
|
127
|
+
npx nx test:auth auth-js && npx nx test:docker auth-js
|
|
128
128
|
```
|
|
129
129
|
|
|
130
130
|
#### Main Test Suite (Supabase CLI)
|
|
@@ -138,9 +138,9 @@ The `test:auth` command automatically:
|
|
|
138
138
|
|
|
139
139
|
```bash
|
|
140
140
|
# Individual commands for manual control
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
141
|
+
npx nx test:infra auth-js # Start Supabase CLI
|
|
142
|
+
npx nx test:suite auth-js # Run tests only
|
|
143
|
+
npx nx test:clean-post auth-js # Stop Supabase CLI
|
|
144
144
|
```
|
|
145
145
|
|
|
146
146
|
#### Docker Tests (Edge Cases)
|
|
@@ -156,9 +156,9 @@ These tests are located in `test/docker-tests/` and use the Docker Compose setup
|
|
|
156
156
|
|
|
157
157
|
```bash
|
|
158
158
|
# Individual commands for manual control
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
npx nx test:docker:infra auth-js # Start Docker containers
|
|
160
|
+
npx nx test:docker:suite auth-js # Run Docker tests only
|
|
161
|
+
npx nx test:docker:clean-post auth-js # Stop Docker containers
|
|
162
162
|
```
|
|
163
163
|
|
|
164
164
|
#### Development Testing
|
|
@@ -167,13 +167,13 @@ For actively developing and debugging tests:
|
|
|
167
167
|
|
|
168
168
|
```bash
|
|
169
169
|
# Start Supabase CLI once
|
|
170
|
-
|
|
170
|
+
npx nx test:infra auth-js
|
|
171
171
|
|
|
172
172
|
# Run tests multiple times (faster since instance stays up)
|
|
173
|
-
|
|
173
|
+
npx nx test:suite auth-js
|
|
174
174
|
|
|
175
175
|
# Clean up when done
|
|
176
|
-
|
|
176
|
+
npx nx test:clean-post auth-js
|
|
177
177
|
```
|
|
178
178
|
|
|
179
179
|
#### Test Infrastructure
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "2.
|
|
1
|
+
export declare const version = "2.106.0-canary.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,qBAAqB,CAAA"}
|
package/dist/main/lib/version.js
CHANGED
|
@@ -7,5 +7,5 @@ exports.version = void 0;
|
|
|
7
7
|
// - Debugging and support (identifying which version is running)
|
|
8
8
|
// - Telemetry and logging (version reporting in errors/analytics)
|
|
9
9
|
// - Ensuring build artifacts match the published package version
|
|
10
|
-
exports.version = '2.
|
|
10
|
+
exports.version = '2.106.0-canary.0';
|
|
11
11
|
//# sourceMappingURL=version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":";;;AAAA,6EAA6E;AAC7E,gEAAgE;AAChE,uEAAuE;AACvE,iEAAiE;AACjE,kEAAkE;AAClE,iEAAiE;AACpD,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":";;;AAAA,6EAA6E;AAC7E,gEAAgE;AAChE,uEAAuE;AACvE,iEAAiE;AACjE,kEAAkE;AAClE,iEAAiE;AACpD,QAAA,OAAO,GAAG,kBAAkB,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "2.
|
|
1
|
+
export declare const version = "2.106.0-canary.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,qBAAqB,CAAA"}
|
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
// - Debugging and support (identifying which version is running)
|
|
5
5
|
// - Telemetry and logging (version reporting in errors/analytics)
|
|
6
6
|
// - Ensuring build artifacts match the published package version
|
|
7
|
-
export const version = '2.
|
|
7
|
+
export const version = '2.106.0-canary.0';
|
|
8
8
|
//# sourceMappingURL=version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,gEAAgE;AAChE,uEAAuE;AACvE,iEAAiE;AACjE,kEAAkE;AAClE,iEAAiE;AACjE,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,gEAAgE;AAChE,uEAAuE;AACvE,iEAAiE;AACjE,kEAAkE;AAClE,iEAAiE;AACjE,MAAM,CAAC,MAAM,OAAO,GAAG,kBAAkB,CAAA"}
|