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

Skip to content

Adding lowcoder logo #155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
May 17, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
8f02a47
rebrand API server
ludomikula May 10, 2023
ea88857
refactor: rename openlocks-core to lowcoder-core
falnyr May 11, 2023
6d89a13
refactor: rename openblocks-dev-utils to lowcoder-dev-utils
falnyr May 11, 2023
e0ecb33
refactor: rename openblocks-design to lowcoder-design
falnyr May 11, 2023
0c119ad
refactor: rename openblocks-comps to lowcoder-comps
falnyr May 11, 2023
cf0a870
refactor: rename openblocks-sdk to lowcoder-sdk
falnyr May 11, 2023
dec2350
refactor: rename openblocks-ee to lowcoder-sdk
falnyr May 11, 2023
18aaffc
refactor: rename openblocks- lowcoder-
falnyr May 11, 2023
b04b0ff
refactor: rename /openblocks to /lowcoder
falnyr May 11, 2023
f75715f
refactor: rename openblocks. to lowcoder.
falnyr May 11, 2023
c1a25c5
refactor: rename openblocks to lowcoder
falnyr May 11, 2023
2f5a085
refactor: rename Openblocks to Lowcoder
falnyr May 11, 2023
7130095
refactor: rename OpenBlocks to Lowcoder
falnyr May 11, 2023
c6f85fc
refactor: rename openBlocks to lowcoder
falnyr May 11, 2023
3a58d5f
refactor: renamed folders
falnyr May 11, 2023
a1c5c16
refactor: renamed folders and files
falnyr May 13, 2023
54dd179
Merge branch 'main' into feat/rebrand
falnyr May 13, 2023
30adab5
refactor: replaced openblocks references with lowcoder
falnyr May 13, 2023
ee73078
refactor: renamed folders for sonarcloud
falnyr May 13, 2023
dc9b82c
chore: bumped versions and pushed to npm registry
falnyr May 13, 2023
784c8e0
refactor: updated dependencies, switched to lowcoder folder
falnyr May 16, 2023
ec58b27
Merge branch 'main' into feat/rebrand
falnyr May 17, 2023
bca8247
feat: lowcoder logos
falnyr May 17, 2023
840df83
chore: removed unused import
falnyr May 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: rename openblocks- lowcoder-
  • Loading branch information
falnyr committed May 11, 2023
commit 18aaffc719eb6078f47e303a4160f01673daf6e8
6 changes: 3 additions & 3 deletions client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Simply run below command to start a backend server.

```bash
docker run -d --name openblocks -p 3000:3000 -v "$PWD/stacks:/openblocks-stacks" lowcoderorg/lowcoder-ce
docker run -d --name openblocks -p 3000:3000 -v "$PWD/stacks:/lowcoder-stacks" lowcoderorg/lowcoder-ce
```

For more information, view our [docs](../docs/self-hosting)
Expand All @@ -20,13 +20,13 @@ For more information, view our [docs](../docs/self-hosting)
2. Use the command below to build Docker image :

```bash
docker build -f ./deploy/docker/Dockerfile -t openblocks-dev .
docker build -f ./deploy/docker/Dockerfile -t lowcoder-dev .
```

3. Start

```bash
docker run -d --name openblocks-dev -p 3000:3000 -v "$PWD/stacks:/openblocks-stacks" openblocks-dev
docker run -d --name lowcoder-dev -p 3000:3000 -v "$PWD/stacks:/lowcoder-stacks" lowcoder-dev
```

### Start develop
Expand Down
6 changes: 3 additions & 3 deletions client/packages/create-openblocks-plugin/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# create-openblocks-plugin
# create-lowcoder-plugin

## Usage

```bash
yarn create openblocks-plugin my-openblocks-plugin
yarn create lowcoder-plugin my-lowcoder-plugin

# or

npm create openblocks-plugin my-openblocks-plugin
npm create lowcoder-plugin my-lowcoder-plugin
```
6 changes: 3 additions & 3 deletions client/packages/create-openblocks-plugin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const currentDir = currentDirName(import.meta.url);
const pkg = readJson(path.resolve(currentDir, "./package.json"));

const isUsingYarn = (process.env.npm_config_user_agent || "").indexOf("yarn") === 0;
const cliPackageName = "openblocks-cli";
const cliPackageName = "lowcoder-cli";
const sdkPackageName = "lowcoder-sdk";

let verbose = false;
Expand Down Expand Up @@ -92,8 +92,8 @@ function executeNodeScript({ cwd, args }, data, source) {
* create openblocks comps project
* 1. create dir
* 2. create package.json
* 3. install openblocks-cli
* 4. run `openblocks-cli init`
* 3. install lowcoder-cli
* 4. run `lowcoder-cli init`
*/
async function createProject(projectName, options) {
const { template, force } = options;
Expand Down
2 changes: 1 addition & 1 deletion client/packages/create-openblocks-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "create-openblocks-plugin",
"name": "create-lowcoder-plugin",
"version": "0.0.3",
"bin": "./index.js",
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions client/packages/openblocks-cli-template-typescript/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# openblocks-cli-template-typescript
# lowcoder-cli-template-typescript

This is the official typescript template of openblocks-cli.
This is the official typescript template of lowcoder-cli.

This template will be used by default.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "openblocks-cli-template-typescript",
"name": "lowcoder-cli-template-typescript",
"version": "0.0.11",
"type": "module",
"scripts": {
"start": "vite",
"build": "openblocks-cli build"
"build": "lowcoder-cli build"
},
"openblocks": {
"description": "",
Expand All @@ -16,7 +16,7 @@
}
},
"devDependencies": {
"openblocks-cli": "workspace:^",
"lowcoder-cli": "workspace:^",
"lowcoder-sdk": "workspace:^",
"typescript": "^4.8.4",
"vite": "^3.2.4"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/// <reference types="openblocks-cli/client" />
/// <reference types="lowcoder-cli/client" />

declare module "lowcoder-sdk";
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import config from "openblocks-cli/config/vite.config";
import config from "lowcoder-cli/config/vite.config";
export default {
...config,
server: {
Expand Down
2 changes: 1 addition & 1 deletion client/packages/openblocks-cli/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# openblocks-cli
# lowcoder-cli

CLI tool used to start build and publish openblocks component library.
4 changes: 2 additions & 2 deletions client/packages/openblocks-cli/actions/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async function uninstall(dependencies) {
*/
export default async function initAction(options) {
const { template, registry } = options;
const templatePackageName = `openblocks-cli-template-${template}`;
const templatePackageName = `lowcoder-cli-template-${template}`;

await install([templatePackageName], registry);
console.log("template package installed");
Expand All @@ -77,7 +77,7 @@ export default async function initAction(options) {
appPackageJson.openblocks = templatePackageJson.openblocks || {};
appPackageJson.scripts = {
start: "vite",
build: "openblocks-cli build",
build: "lowcoder-cli build",
};
fs.writeFileSync(paths.appPackageJson, JSON.stringify(appPackageJson, null, 2));
console.log("package.json updated");
Expand Down
2 changes: 1 addition & 1 deletion client/packages/openblocks-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "openblocks-cli",
"name": "lowcoder-cli",
"description": "CLI tool used to start build publish openblocks components",
"version": "0.0.24",
"license": "MIT",
Expand Down
6 changes: 3 additions & 3 deletions client/packages/openblocks-comps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@types/react-dom": "17",
"big.js": "^6.2.1",
"mermaid": "^10.0.2",
"openblocks-cli": "workspace:^",
"lowcoder-cli": "workspace:^",
"lowcoder-sdk": "workspace:^",
"react": "17",
"react-dom": "17",
Expand Down Expand Up @@ -52,8 +52,8 @@
},
"scripts": {
"start": "vite",
"build": "yarn test && openblocks-cli build",
"build_only": "openblocks-cli build",
"build": "yarn test && lowcoder-cli build",
"build_only": "lowcoder-cli build",
"test": "jest"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion client/packages/openblocks-comps/src/app-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/// <reference types="openblocks-cli/client" />
/// <reference types="lowcoder-cli/client" />

declare module "lowcoder-sdk";
2 changes: 1 addition & 1 deletion client/packages/openblocks-comps/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import config from "openblocks-cli/config/vite.config";
import config from "lowcoder-cli/config/vite.config";
import viteTsconfigPaths from "vite-tsconfig-paths";
export default {
...config,
Expand Down
2 changes: 1 addition & 1 deletion client/packages/openblocks-dev-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.5",
"license": "MIT",
"type": "module",
"description": "Openblocks dev utils for openblocks build process and openblocks-cli",
"description": "Openblocks dev utils for openblocks build process and lowcoder-cli",
"keywords": [
"openblocks"
]
Expand Down
6 changes: 3 additions & 3 deletions client/packages/openblocks-plugin-demo/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "openblocks-plugin-demo",
"name": "lowcoder-plugin-demo",
"version": "0.0.3",
"type": "module",
"license": "MIT",
Expand Down Expand Up @@ -27,12 +27,12 @@
},
"scripts": {
"start": "vite",
"build": "openblocks-cli build"
"build": "lowcoder-cli build"
},
"devDependencies": {
"@types/react": "17",
"@types/react-dom": "17",
"openblocks-cli": "workspace:^",
"lowcoder-cli": "workspace:^",
"lowcoder-sdk": "workspace:^",
"typescript": "4.8.4",
"vite": "^3.2.4"
Expand Down
2 changes: 1 addition & 1 deletion client/packages/openblocks-plugin-demo/src/app-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/// <reference types="openblocks-cli/client" />
/// <reference types="lowcoder-cli/client" />

declare module "lowcoder-sdk";
2 changes: 1 addition & 1 deletion client/packages/openblocks-plugin-demo/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import config from "openblocks-cli/config/vite.config";
import config from "lowcoder-cli/config/vite.config";
export default {
...config,
server: {
Expand Down
2 changes: 1 addition & 1 deletion client/packages/openblocks/src/i18n/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2121,7 +2121,7 @@ export const en = {
cloneUrl: "/apps/template-import/",
},
openBlocksUrl: {
createIssue: "https://github.com/openblocks-dev/openblocks/issues",
createIssue: "https://github.com/lowcoder-dev/openblocks/issues",
discord: "https://discord.com/invite/z5W2YHXdtt",
},
componentDoc: {
Expand Down
2 changes: 1 addition & 1 deletion client/packages/openblocks/src/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
transition: none !important;
}

.openblocks-app-root, // used for app run in shadow dom, don't delete!
.lowcoder-app-root, // used for app run in shadow dom, don't delete!
body {
margin: 0;
padding: 0;
Expand Down
4 changes: 2 additions & 2 deletions client/scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ if (process.argv.includes("--internal-deploy")) {
const deployDir = shell.env["DEPLOY_DIR"];
console.log();
console.log(chalk.cyan`deploying...`);
shell.exec("docker cp ./packages/openblocks/build openblocks-fe:/var/www/", { fatal: true });
shell.exec("docker cp ./packages/openblocks/build lowcoder-fe:/var/www/", { fatal: true });
shell.exec(
`docker exec openblocks-fe /bin/sh -c "cd /var/www/ && rm -rf ${deployDir} && mv build ${deployDir}"`,
`docker exec lowcoder-fe /bin/sh -c "cd /var/www/ && rm -rf ${deployDir} && mv build ${deployDir}"`,
{ fatal: true }
);
}
Expand Down
26 changes: 13 additions & 13 deletions client/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7466,17 +7466,17 @@ __metadata:
languageName: node
linkType: hard

"create-openblocks-plugin@workspace:packages/create-openblocks-plugin":
"create-lowcoder-plugin@workspace:packages/create-lowcoder-plugin":
version: 0.0.0-use.local
resolution: "create-openblocks-plugin@workspace:packages/create-openblocks-plugin"
resolution: "create-lowcoder-plugin@workspace:packages/create-lowcoder-plugin"
dependencies:
chalk: 4
commander: ^9.4.1
cross-spawn: ^7.0.3
fs-extra: ^10.1.0
lowcoder-dev-utils: "workspace:^"
bin:
create-openblocks-plugin: ./index.js
create-lowcoder-plugin: ./index.js
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -14286,20 +14286,20 @@ __metadata:
languageName: node
linkType: hard

"openblocks-cli-template-typescript@workspace:packages/openblocks-cli-template-typescript":
"lowcoder-cli-template-typescript@workspace:packages/lowcoder-cli-template-typescript":
version: 0.0.0-use.local
resolution: "openblocks-cli-template-typescript@workspace:packages/openblocks-cli-template-typescript"
resolution: "lowcoder-cli-template-typescript@workspace:packages/lowcoder-cli-template-typescript"
dependencies:
openblocks-cli: "workspace:^"
lowcoder-cli: "workspace:^"
lowcoder-sdk: "workspace:^"
typescript: ^4.8.4
vite: ^3.2.4
languageName: unknown
linkType: soft

"openblocks-cli@workspace:^, openblocks-cli@workspace:packages/openblocks-cli":
"lowcoder-cli@workspace:^, lowcoder-cli@workspace:packages/lowcoder-cli":
version: 0.0.0-use.local
resolution: "openblocks-cli@workspace:packages/openblocks-cli"
resolution: "lowcoder-cli@workspace:packages/lowcoder-cli"
dependencies:
"@types/axios": ^0.14.0
"@vitejs/plugin-react": ^2.2.0
Expand All @@ -14320,7 +14320,7 @@ __metadata:
peerDependencies:
lowcoder-sdk: "*"
bin:
openblocks-cli: ./index.js
lowcoder-cli: ./index.js
languageName: unknown
linkType: soft

Expand All @@ -14340,7 +14340,7 @@ __metadata:
big.js: ^6.2.1
jest: 29.3.0
mermaid: ^10.0.2
openblocks-cli: "workspace:^"
lowcoder-cli: "workspace:^"
lowcoder-sdk: "workspace:^"
react: 17
react-dom: 17
Expand Down Expand Up @@ -14411,13 +14411,13 @@ __metadata:
languageName: unknown
linkType: soft

"openblocks-plugin-demo@workspace:packages/openblocks-plugin-demo":
"lowcoder-plugin-demo@workspace:packages/lowcoder-plugin-demo":
version: 0.0.0-use.local
resolution: "openblocks-plugin-demo@workspace:packages/openblocks-plugin-demo"
resolution: "lowcoder-plugin-demo@workspace:packages/lowcoder-plugin-demo"
dependencies:
"@types/react": 17
"@types/react-dom": 17
openblocks-cli: "workspace:^"
lowcoder-cli: "workspace:^"
lowcoder-core: ^0.0.1
lowcoder-design: ^0.0.1
lowcoder-sdk: "workspace:^"
Expand Down