-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into liz/store-user-info
- Loading branch information
Showing
498 changed files
with
7,400 additions
and
6,542 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,6 @@ | ||
--- | ||
"@shopify/shopify-app-session-storage-drizzle": patch | ||
"@shopify/shopify-app-session-storage-mysql": patch | ||
--- | ||
|
||
Bump mysql2 from 3.9.2 to 3.9.7 |
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,2 @@ | ||
--- | ||
--- |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
rollup.config.js | ||
rollup.config.*.js | ||
rollup.config.cjs | ||
.eslintrc.cjs | ||
node_modules/ | ||
|
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 |
---|---|---|
@@ -1,64 +1,18 @@ | ||
import dts from "rollup-plugin-dts"; | ||
import typescript from "@rollup/plugin-typescript"; | ||
import resolve from "@rollup/plugin-node-resolve"; | ||
import commonjs from "@rollup/plugin-commonjs"; | ||
import terser from "@rollup/plugin-terser"; | ||
import replace from "@rollup/plugin-replace"; | ||
import dts from 'rollup-plugin-dts'; | ||
|
||
import * as pkg from "./package.json"; | ||
import * as pkg from './package.json'; | ||
import {getConfig} from '../../../config/rollup/rollup-utils'; | ||
|
||
export const mainSrcInput = "src/index.ts"; | ||
|
||
export function getPlugins({ tsconfig, minify } = {}) { | ||
return [ | ||
replace({ | ||
preventAssignment: true, | ||
ROLLUP_REPLACE_CLIENT_VERSION: pkg.version, | ||
}), | ||
resolve(), | ||
commonjs(), | ||
typescript({ | ||
tsconfig: tsconfig ? tsconfig : "./tsconfig.build.json", | ||
outDir: "./dist/ts", | ||
}), | ||
...(minify === true ? [terser({ keep_fnames: new RegExp("fetch") })] : []), | ||
]; | ||
} | ||
|
||
const config = [ | ||
{ | ||
input: mainSrcInput, | ||
plugins: getPlugins(), | ||
output: [ | ||
{ | ||
dir: "./dist", | ||
format: "es", | ||
sourcemap: true, | ||
preserveModules: true, | ||
preserveModulesRoot: "src", | ||
entryFileNames: "[name].mjs", | ||
}, | ||
], | ||
}, | ||
export default [ | ||
...getConfig({ | ||
pkg, | ||
input: 'src/index.ts', | ||
replacements: {ROLLUP_REPLACE_CLIENT_VERSION: pkg.version}, | ||
flatOutput: true, | ||
}), | ||
{ | ||
input: mainSrcInput, | ||
plugins: getPlugins(), | ||
output: [ | ||
{ | ||
dir: "./dist", | ||
format: "cjs", | ||
sourcemap: true, | ||
exports: "named", | ||
preserveModules: true, | ||
preserveModulesRoot: "src", | ||
}, | ||
], | ||
}, | ||
{ | ||
input: "./dist/ts/index.d.ts", | ||
output: [{ file: "dist/admin-api-client.d.ts", format: "es" }], | ||
input: './dist/ts/index.d.ts', | ||
output: [{file: 'dist/admin-api-client.d.ts', format: 'es'}], | ||
plugins: [dts.default()], | ||
}, | ||
]; | ||
|
||
export default config; |
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 |
---|---|---|
@@ -1,4 +1,9 @@ | ||
{ | ||
"compilerOptions": { | ||
"declaration": true, | ||
"emitDeclarationOnly": true, | ||
"outDir": "dist/ts", | ||
}, | ||
"extends": "./tsconfig.json", | ||
"exclude": ["./node_modules", "./src/**/tests/*.ts"] | ||
} |
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 |
---|---|---|
@@ -1,65 +1,17 @@ | ||
import dts from 'rollup-plugin-dts'; | ||
import typescript from '@rollup/plugin-typescript'; | ||
import resolve from '@rollup/plugin-node-resolve'; | ||
import commonjs from '@rollup/plugin-commonjs'; | ||
import terser from '@rollup/plugin-terser'; | ||
import replace from '@rollup/plugin-replace'; | ||
|
||
import * as pkg from './package.json'; | ||
import {getConfig} from '../../../config/rollup/rollup-utils'; | ||
|
||
export const mainSrcInput = 'src/index.ts'; | ||
|
||
export function getPlugins({tsconfig, minify} = {}) { | ||
return [ | ||
replace({ | ||
preventAssignment: true, | ||
}), | ||
resolve(), | ||
commonjs(), | ||
typescript({ | ||
tsconfig: tsconfig ? tsconfig : './tsconfig.build.json', | ||
outDir: './dist/ts', | ||
}), | ||
...(minify === true ? [terser({keep_fnames: new RegExp('fetch')})] : []), | ||
]; | ||
} | ||
|
||
const config = [ | ||
{ | ||
input: mainSrcInput, | ||
plugins: getPlugins(), | ||
external: Object.keys(pkg.dependencies), | ||
output: [ | ||
{ | ||
dir: './dist', | ||
format: 'es', | ||
sourcemap: true, | ||
preserveModules: true, | ||
preserveModulesRoot: 'src', | ||
entryFileNames: '[name].mjs', | ||
}, | ||
], | ||
}, | ||
{ | ||
input: mainSrcInput, | ||
plugins: getPlugins(), | ||
external: Object.keys(pkg.dependencies), | ||
output: [ | ||
{ | ||
dir: './dist', | ||
format: 'cjs', | ||
sourcemap: true, | ||
exports: 'named', | ||
preserveModules: true, | ||
preserveModulesRoot: 'src', | ||
}, | ||
], | ||
}, | ||
export default [ | ||
...getConfig({ | ||
pkg, | ||
input: 'src/index.ts', | ||
flatOutput: true, | ||
}), | ||
{ | ||
input: './dist/ts/index.d.ts', | ||
output: [{file: 'dist/index.d.ts', format: 'es'}], | ||
plugins: [dts.default()], | ||
}, | ||
]; | ||
|
||
export default config; |
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 |
---|---|---|
@@ -1,4 +1,11 @@ | ||
{ | ||
"compilerOptions": { | ||
"declaration": true, | ||
"emitDeclarationOnly": true, | ||
"moduleResolution": "Bundler", | ||
"module": "Preserve", | ||
"outDir": "dist/ts", | ||
}, | ||
"extends": "./tsconfig.json", | ||
"exclude": ["./node_modules", "./src/**/tests/*.ts"] | ||
} |
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
Oops, something went wrong.