Skip to content

Commit

Permalink
Rearranging packages folder
Browse files Browse the repository at this point in the history
  • Loading branch information
paulomarg committed Apr 9, 2024
1 parent 24c494b commit 2d7755c
Show file tree
Hide file tree
Showing 1,846 changed files with 29 additions and 42 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import path from 'path';

import typescript from '@rollup/plugin-typescript';
import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import replace from '@rollup/plugin-replace';
import excludeDependenciesFromBundle from 'rollup-plugin-exclude-dependencies-from-bundle';

import * as pkg from '../../package.json';

export function getPlugins(outDir) {
return [
excludeDependenciesFromBundle({dependencies: true, peerDependencies: true}),
Expand Down Expand Up @@ -46,7 +45,7 @@ export const cjsConfigs = {
exports: 'named',
};

export function getConfig(input = 'src/index.ts') {
export function getConfig(pkg, input = 'src/index.ts') {
return [
{
input,
Expand All @@ -62,7 +61,3 @@ export function getConfig(input = 'src/index.ts') {
},
];
}

const config = getConfig();

export default config;
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@
"ts-jest": "^29.1.2"
},
"workspaces": [
"packages/*"
"packages/api-clients/*",
"packages/apps/shopify-api",
"packages/apps/shopify-app-remix",
"packages/apps/shopify-app-express",
"packages/apps/session-storage/*"
]
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"devDependencies": {
"@shopify/shopify-api": "^9.7.1",
"@shopify/shopify-app-session-storage": "^2.1.2"
"@shopify/shopify-app-session-storage": "^2.1.3"
},
"files": [
"dist/*",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 2d7755c

Please sign in to comment.