@xata.io/client 0.0.0-alpha.vf3ed7b8 → 0.0.0-alpha.vf455e66cda21d00ed37168f3b02730a799f48650
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 +732 -0
- package/README.md +7 -1
- package/dist/index.cjs +4240 -898
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +8875 -1581
- package/dist/index.mjs +4142 -896
- package/dist/index.mjs.map +1 -1
- package/package.json +16 -10
- package/.eslintrc.cjs +0 -13
- package/rollup.config.js +0 -29
- package/tsconfig.json +0 -22
package/package.json
CHANGED
@@ -1,20 +1,22 @@
|
|
1
1
|
{
|
2
2
|
"name": "@xata.io/client",
|
3
|
-
"version": "0.0.0-alpha.
|
3
|
+
"version": "0.0.0-alpha.vf455e66cda21d00ed37168f3b02730a799f48650",
|
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
|
-
"
|
16
|
-
"
|
17
|
-
"prepack": "npm run build"
|
18
|
+
"peerDependencies": {
|
19
|
+
"typescript": ">=4.5"
|
18
20
|
},
|
19
21
|
"repository": {
|
20
22
|
"type": "git",
|
@@ -22,10 +24,14 @@
|
|
22
24
|
},
|
23
25
|
"keywords": [],
|
24
26
|
"author": "",
|
25
|
-
"license": "
|
27
|
+
"license": "Apache-2.0",
|
26
28
|
"bugs": {
|
27
29
|
"url": "https://github.com/xataio/client-ts/issues"
|
28
30
|
},
|
29
|
-
"homepage": "https://
|
30
|
-
"
|
31
|
-
|
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,13 +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-explicit-any': 'off',
|
10
|
-
'@typescript-eslint/ban-types': 'off',
|
11
|
-
'@typescript-eslint/no-floating-promises': 'error',
|
12
|
-
}
|
13
|
-
};
|
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,22 +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
|
-
"forceConsistentCasingInFileNames": true,
|
11
|
-
"noFallthroughCasesInSwitch": true,
|
12
|
-
"module": "es2020",
|
13
|
-
"moduleResolution": "node",
|
14
|
-
"resolveJsonModule": true,
|
15
|
-
"isolatedModules": true,
|
16
|
-
"noEmit": false,
|
17
|
-
"outDir": "dist",
|
18
|
-
"declaration": true
|
19
|
-
},
|
20
|
-
"include": ["src"],
|
21
|
-
"exclude": ["node_modules"]
|
22
|
-
}
|