Skip to content

Commit a83ef28

Browse files
committed
Typesaurus X POC
1 parent 38e4f2c commit a83ef28

Some content is hidden

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

105 files changed

+22883
-27012
lines changed

Diff for: β€Ž.tool-versions

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodejs 14.15.4
1+
nodejs 16.14.2

Diff for: β€Žjest.config.js

+11-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1+
/** @type {import('@jest/types').Config.InitialOptions} */
12
module.exports = {
23
roots: ['<rootDir>/src/'],
3-
setupFiles: [
4+
testRegex: ['tests\\.ts$', 'tests/.+\\.ts$'],
5+
// setupFiles: [
6+
// process.env.FIRESTORE_EMULATOR_HOST
7+
// ? '<rootDir>/test/setupJestLocal.ts'
8+
// : '<rootDir>/test/setupJestSystem.ts'
9+
// ],
10+
setupFilesAfterEnv: [
411
process.env.FIRESTORE_EMULATOR_HOST
5-
? '<rootDir>/test/setupJestLocal.ts'
6-
: '<rootDir>/test/setupJestSystem.ts'
7-
],
8-
setupFilesAfterEnv: ['<rootDir>/test/setupJestAfterEnv.ts']
12+
? '<rootDir>/test/setupJestAfterEnvEmulator.ts'
13+
: '<rootDir>/test/setupJestAfterEnvSystem.ts'
14+
]
915
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: β€Žsrc/all/test.ts renamed to β€Žlegacy/all/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import assert from 'assert'
22
import { nanoid } from 'nanoid'
33
import { add } from '../add'
4-
import { all } from '../all'
4+
import { all } from '.'
55
import { collection } from '../collection'
66
import { get } from '../get'
77
import { group } from '../group'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: β€Žlegacy/index.ts

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
export * from './add'
2+
export * from './all'
3+
export * from './batch'
4+
export * from './collection'
5+
export * from './cursor'
6+
export * from './doc'
7+
export { DocId, docId } from './docId'
8+
export * from './field'
9+
export * from './get'
10+
export * from './getMany'
11+
export * from './group'
12+
export * from './limit'
13+
export * from './onAll'
14+
export * from './onGet'
15+
export * from './onGetMany'
16+
export * from './onQuery'
17+
export * from './order'
18+
export * from './query'
19+
export * from './ref'
20+
export * from './remove'
21+
export * from './set'
22+
export * from './subcollection'
23+
export * from './transaction'
24+
export * from './types'
25+
export * from './update'
26+
export * from './upset'
27+
export * from './value'
28+
export * from './where'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: β€Žsrc/types.ts renamed to β€Žlegacy/types.ts

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
Β (0)