@xata.io/client 0.0.0-alpha.vf217b0e → 0.0.0-alpha.vf229a69778d4166c9021b4cec87cfce2b38e6bbf

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/package.json CHANGED
@@ -1,13 +1,16 @@
1
1
  {
2
2
  "name": "@xata.io/client",
3
- "version": "0.0.0-alpha.vf217b0e",
3
+ "version": "0.0.0-alpha.vf229a69778d4166c9021b4cec87cfce2b38e6bbf",
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
- "import": "./dist/index.mjs",
10
- "require": "./dist/index.cjs"
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
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-floating-promises': 'error',
10
- '@typescript-eslint/strict-boolean-expressions': ['error', { allowNullableString: true, allowNullableObject: true }],
11
- "@typescript-eslint/ban-types": "off",
12
- }
13
- };
package/rollup.config.mjs DELETED
@@ -1,44 +0,0 @@
1
- import dts from 'rollup-plugin-dts';
2
- import esbuild from 'rollup-plugin-esbuild';
3
- import stripCode from 'rollup-plugin-strip-code';
4
-
5
- export default [
6
- {
7
- input: 'src/index.ts',
8
- plugins: [
9
- stripCode({
10
- start_comment: 'REMOVE_CJS_BUNDLE_START',
11
- end_comment: 'REMOVE_CJS_BUNDLE_END'
12
- }),
13
- esbuild()
14
- ],
15
- output: {
16
- file: `dist/index.cjs`,
17
- format: 'cjs',
18
- sourcemap: true
19
- }
20
- },
21
- {
22
- input: 'src/index.ts',
23
- plugins: [
24
- stripCode({
25
- start_comment: 'REMOVE_ESM_BUNDLE_START',
26
- end_comment: 'REMOVE_ESM_BUNDLE_END'
27
- }),
28
- esbuild()
29
- ],
30
- output: {
31
- file: `dist/index.mjs`,
32
- format: 'es',
33
- sourcemap: true
34
- }
35
- },
36
- {
37
- input: 'src/index.ts',
38
- plugins: [dts()],
39
- output: {
40
- file: `dist/index.d.ts`,
41
- format: 'es'
42
- }
43
- }
44
- ];
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
- }