@xata.io/client 0.0.0-alpha.vfaca77b → 0.0.0-alpha.vfaf1ed2b0879fdfe9376d9f7f460d513d467257d
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/.turbo/turbo-add-version.log +4 -0
- package/.turbo/turbo-build.log +13 -0
- package/CHANGELOG.md +664 -0
- package/README.md +3 -254
- package/dist/index.cjs +5086 -1365
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +9984 -2390
- package/dist/index.mjs +4980 -1363
- package/dist/index.mjs.map +1 -1
- package/package.json +14 -11
- package/.eslintrc.cjs +0 -12
- package/rollup.config.js +0 -29
- package/tsconfig.json +0 -23
package/package.json
CHANGED
@@ -1,21 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"name": "@xata.io/client",
|
3
|
-
"version": "0.0.0-alpha.
|
3
|
+
"version": "0.0.0-alpha.vfaf1ed2b0879fdfe9376d9f7f460d513d467257d",
|
4
4
|
"description": "Xata.io SDK for TypeScript and JavaScript",
|
5
5
|
"main": "./dist/index.cjs",
|
6
6
|
"module": "./dist/index.mjs",
|
7
7
|
"types": "./dist/index.d.ts",
|
8
8
|
"exports": {
|
9
|
-
"
|
10
|
-
|
9
|
+
".": {
|
10
|
+
"import": "./dist/index.mjs",
|
11
|
+
"require": "./dist/index.cjs",
|
12
|
+
"types": "./dist/index.d.ts"
|
13
|
+
}
|
11
14
|
},
|
12
15
|
"browser": {
|
13
16
|
"child_process": false
|
14
17
|
},
|
15
|
-
"scripts": {
|
16
|
-
"build": "rimraf dist && rollup -c",
|
17
|
-
"prepack": "npm run build"
|
18
|
-
},
|
19
18
|
"peerDependencies": {
|
20
19
|
"typescript": ">=4.5"
|
21
20
|
},
|
@@ -25,10 +24,14 @@
|
|
25
24
|
},
|
26
25
|
"keywords": [],
|
27
26
|
"author": "",
|
28
|
-
"license": "
|
27
|
+
"license": "Apache-2.0",
|
29
28
|
"bugs": {
|
30
29
|
"url": "https://github.com/xataio/client-ts/issues"
|
31
30
|
},
|
32
|
-
"homepage": "https://
|
33
|
-
"
|
34
|
-
|
31
|
+
"homepage": "https://xata.io/docs/sdk/getting-started",
|
32
|
+
"scripts": {
|
33
|
+
"build": "rimraf dist && rollup -c",
|
34
|
+
"tsc": "tsc --noEmit",
|
35
|
+
"add-version": "node ../../scripts/add-version-file.mjs"
|
36
|
+
}
|
37
|
+
}
|
package/.eslintrc.cjs
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
module.exports = {
|
2
|
-
ignorePatterns: ["dist"],
|
3
|
-
parserOptions: {
|
4
|
-
ecmaVersion: 2020,
|
5
|
-
sourceType: 'module',
|
6
|
-
project: 'packages/client/tsconfig.json'
|
7
|
-
},
|
8
|
-
rules: {
|
9
|
-
'@typescript-eslint/no-floating-promises': 'error',
|
10
|
-
"@typescript-eslint/strict-boolean-expressions": ["error", { allowNullableString: true, allowNullableObject: true }],
|
11
|
-
}
|
12
|
-
};
|
package/rollup.config.js
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
import dts from 'rollup-plugin-dts';
|
2
|
-
import esbuild from 'rollup-plugin-esbuild';
|
3
|
-
|
4
|
-
export default [
|
5
|
-
{
|
6
|
-
input: 'src/index.ts',
|
7
|
-
plugins: [esbuild()],
|
8
|
-
output: [
|
9
|
-
{
|
10
|
-
file: `dist/index.cjs`,
|
11
|
-
format: 'cjs',
|
12
|
-
sourcemap: true
|
13
|
-
},
|
14
|
-
{
|
15
|
-
file: `dist/index.mjs`,
|
16
|
-
format: 'es',
|
17
|
-
sourcemap: true
|
18
|
-
}
|
19
|
-
]
|
20
|
-
},
|
21
|
-
{
|
22
|
-
input: 'src/index.ts',
|
23
|
-
plugins: [dts()],
|
24
|
-
output: {
|
25
|
-
file: `dist/index.d.ts`,
|
26
|
-
format: 'es'
|
27
|
-
}
|
28
|
-
}
|
29
|
-
];
|
package/tsconfig.json
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"compilerOptions": {
|
3
|
-
"target": "es2020",
|
4
|
-
"lib": ["esnext"],
|
5
|
-
"allowJs": true,
|
6
|
-
"skipLibCheck": true,
|
7
|
-
"esModuleInterop": true,
|
8
|
-
"allowSyntheticDefaultImports": true,
|
9
|
-
"strict": true,
|
10
|
-
"strictNullChecks": true,
|
11
|
-
"forceConsistentCasingInFileNames": true,
|
12
|
-
"noFallthroughCasesInSwitch": true,
|
13
|
-
"module": "es2020",
|
14
|
-
"moduleResolution": "node",
|
15
|
-
"resolveJsonModule": true,
|
16
|
-
"isolatedModules": true,
|
17
|
-
"noEmit": false,
|
18
|
-
"outDir": "dist",
|
19
|
-
"declaration": true
|
20
|
-
},
|
21
|
-
"include": ["src"],
|
22
|
-
"exclude": ["node_modules"]
|
23
|
-
}
|