rename mixan to OPENPANEL!

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-03-11 13:40:46 +01:00
parent 6d4f9010d4
commit e6c0bc2ec8
201 changed files with 1193 additions and 1047 deletions

View File

@@ -4,8 +4,7 @@ import fs from 'node:fs';
import path from 'node:path';
import semver from 'semver';
const sdkPackages = ['sdk', 'sdk-native', 'sdk-web', 'sdk-next'];
// const sdkPackages = ['sdk'];
const sdkPackages = ['sdk', 'react-native', 'web', 'nextjs'];
const workspacePath = (relativePath: string) =>
path.resolve(__dirname, '../../', relativePath);
@@ -59,7 +58,7 @@ function main() {
dependencies: Object.entries(pkgJson.dependencies).reduce(
(acc, [depName, depVersion]) => ({
...acc,
[depName]: depName.startsWith('@mixan') ? version : depVersion,
[depName]: depName.startsWith('@openpanel') ? version : depVersion,
}),
{}
),
@@ -74,7 +73,7 @@ function main() {
try {
for (const name of sdkPackages) {
execSync('pnpm build', {
cwd: workspacePath(`./packages/${name}`),
cwd: workspacePath(`./packages/sdks/${name}`),
});
}
} catch (error) {