-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: change retrieval of record count (#453)
- Loading branch information
1 parent
756410e
commit 87711c6
Showing
17 changed files
with
170 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
'@flatfile/plugin-foreign-db-extractor': patch | ||
'@flatfile/plugin-connect-via-merge': patch | ||
'@flatfile/util-response-rejection': patch | ||
'@flatfile/plugin-space-configure': patch | ||
'@flatfile/plugin-webhook-egress': patch | ||
'@flatfile/plugin-constraints': patch | ||
'@flatfile/plugin-job-handler': patch | ||
'@flatfile/plugin-record-hook': patch | ||
'@flatfile/plugin-autocast': patch | ||
'@flatfile/plugin-dedupe': patch | ||
'@flatfile/util-common': patch | ||
--- | ||
|
||
`@flatfile/plugin-connect-via-merge`: `@flatfile/[email protected]` removes `countRecords` from the get sheet endpoint. This release switches to the get record count endpoint. | ||
|
||
This release also includes bundling fixes across the Flatfile plugin ecosystem. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
import commonjs from '@rollup/plugin-commonjs' | ||
import json from '@rollup/plugin-json' | ||
import resolve from '@rollup/plugin-node-resolve' | ||
import terser from '@rollup/plugin-terser' | ||
import typescript from '@rollup/plugin-typescript' | ||
import { dts } from 'rollup-plugin-dts' | ||
import peerDepsExternal from 'rollup-plugin-peer-deps-external' | ||
|
||
import dotenv from 'dotenv' | ||
dotenv.config() | ||
|
||
const PROD = process.env.NODE_ENV !== 'development' | ||
if (!PROD) { | ||
console.log('Not in production mode - skipping minification') | ||
} | ||
|
||
function commonPlugins(browser, umd = false) { | ||
return [ | ||
!umd ? peerDepsExternal() : undefined, | ||
json(), | ||
commonjs({ | ||
include: '**/node_modules/**', | ||
requireReturnsDefault: 'auto', | ||
esmExternals: true, | ||
}), | ||
resolve({ browser, preferBuiltins: !browser }), | ||
typescript({ | ||
tsconfig: '../../tsconfig.json', | ||
declaration: false, | ||
declarationMap: false, | ||
declarationDir: './dist', | ||
exclude: ['**/tests/*', '**/*.spec.ts'], | ||
}), | ||
PROD ? terser() : null, | ||
] | ||
} | ||
|
||
export default [ | ||
// Node.js build | ||
{ | ||
input: 'src/index.ts', | ||
output: [ | ||
{ | ||
exports: 'auto', | ||
file: 'dist/index.cjs', | ||
format: 'cjs', | ||
}, | ||
{ | ||
exports: 'auto', | ||
file: 'dist/index.mjs', | ||
sourcemap: false, | ||
format: 'es', | ||
}, | ||
], | ||
plugins: commonPlugins(false), | ||
}, | ||
// Browser build | ||
{ | ||
input: 'src/index.ts', | ||
output: [ | ||
{ | ||
exports: 'auto', | ||
file: 'dist/index.browser.cjs', | ||
format: 'cjs', | ||
}, | ||
{ | ||
exports: 'auto', | ||
file: 'dist/index.browser.mjs', | ||
sourcemap: false, | ||
format: 'es', | ||
}, | ||
], | ||
plugins: commonPlugins(true), | ||
}, | ||
{ | ||
input: 'src/index.ts', | ||
output: [{ file: 'dist/index.d.ts', format: 'es' }], | ||
plugins: [dts()], | ||
}, | ||
] |
Oops, something went wrong.