Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c119ad

Browse files
committed
refactor: rename openblocks-comps to lowcoder-comps
1 parent e0ecb33 commit 0c119ad

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

‎client/config/test/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default {
2727
modulePaths: [
2828
"<rootDir>/src",
2929
path.resolve(dirname, "../../packages/openblocks/src"),
30-
path.resolve(dirname, "../../packages/openblocks-comps/src"),
30+
path.resolve(dirname, "../../packages/lowcoder-comps/src"),
3131
path.resolve(dirname, "../../packages/lowcoder-design/src"),
3232
],
3333
setupFiles: [path.resolve(dirname, "./jest.setup.js")],

‎client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"start:ee": "REACT_APP_EDITION=enterprise yarn workspace openblocks start",
1515
"start:ee-global": "REACT_APP_EDITION=enterprise-global yarn workspace openblocks start",
1616
"build": "yarn node ./scripts/build.js",
17-
"test": "jest && yarn workspace openblocks-comps test",
17+
"test": "jest && yarn workspace lowcoder-comps test",
1818
"prepare": "yarn workspace openblocks prepare",
1919
"build:core": "yarn workspace lowcoder-core build",
2020
"test:core": "yarn workspace lowcoder-core test"

‎client/packages/openblocks-comps/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "openblocks-comps",
2+
"name": "lowcoder-comps",
33
"version": "0.0.4",
44
"type": "module",
55
"license": "MIT",

‎client/packages/openblocks-sdk/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"*": [
2525
"*",
2626
"../../openblocks/src/*",
27-
"../../openblocks-comps/src/*",
27+
"../../lowcoder-comps/src/*",
2828
"../../lowcoder-design/src/*"
2929
],
3030
"@openblocks-ee/*": ["../../openblocks/src/*"]
@@ -35,7 +35,7 @@
3535
"src",
3636
"index.tsx",
3737
"../openblocks/src",
38-
"../openblocks-comps/src",
38+
"../lowcoder-comps/src",
3939
"../lowcoder-design/src"
4040
]
4141
}

‎client/packages/openblocks-sdk/vite.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export const viteConfig: UserConfig = {
8484
viteTsconfigPaths({
8585
projects: [
8686
"../openblocks/tsconfig.json",
87-
"../openblocks-comps/tsconfig.json",
87+
"../lowcoder-comps/tsconfig.json",
8888
"../lowcoder-design/tsconfig.json",
8989
],
9090
}),

‎client/packages/openblocks/src/comps/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ type Registry = {
124124
const builtInRemoteComps: Omit<RemoteCompInfo, "compName"> = {
125125
source: !!REACT_APP_BUNDLE_BUILTIN_PLUGIN ? "bundle" : "npm",
126126
isRemote: true,
127-
packageName: "openblocks-comps",
127+
packageName: "lowcoder-comps",
128128
};
129129

130130
const uiCompMap: Registry = {

‎client/packages/openblocks/src/pages/setting/Plugins.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export function PluginSetting() {
6666
<InputList
6767
addBtnText={trans("pluginSetting.npmPluginAddButton")}
6868
value={settings.npmPlugins || []}
69-
placeholder="https://www.npmjs.com/package/hello-openblocks-comps"
69+
placeholder="https://www.npmjs.com/package/hello-lowcoder-comps"
7070
onChange={(value) => setSettings((v) => ({ ...v, npmPlugins: value }))}
7171
/>
7272
<SaveButton onClick={() => handleSaveCommonSetting("npmPlugins")()}>

‎client/packages/openblocks/tsconfig.paths.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"paths": {
44
"@openblocks-ee/*": ["*"],
55
"openblocks-sdk": ["index.sdk"],
6-
"*": ["*", "../../openblocks-comps/src/*", "../../lowcoder-design/src/*"]
6+
"*": ["*", "../../lowcoder-comps/src/*", "../../lowcoder-design/src/*"]
77
}
88
}
99
}

‎client/scripts/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import axios from "axios";
77
import { buildVars } from "lowcoder-dev-utils/buildVars.js";
88
import { currentDirName, readJson } from "lowcoder-dev-utils/util.js";
99

10-
const builtinPlugins = ["openblocks-comps"];
10+
const builtinPlugins = ["lowcoder-comps"];
1111
const curDirName = currentDirName(import.meta.url);
1212

1313
async function downloadFile(url, dest) {

‎client/yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14324,9 +14324,9 @@ __metadata:
1432414324
languageName: unknown
1432514325
linkType: soft
1432614326

14327-
"openblocks-comps@workspace:packages/openblocks-comps":
14327+
"lowcoder-comps@workspace:packages/lowcoder-comps":
1432814328
version: 0.0.0-use.local
14329-
resolution: "openblocks-comps@workspace:packages/openblocks-comps"
14329+
resolution: "lowcoder-comps@workspace:packages/lowcoder-comps"
1433014330
dependencies:
1433114331
"@fullcalendar/core": ^6.1.6
1433214332
"@fullcalendar/daygrid": ^6.1.6

0 commit comments

Comments
 (0)