-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #621 from lowcoder-org/dev
Dev -> Main (release preview)
- Loading branch information
Showing
334 changed files
with
3,867 additions
and
3,484 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,47 @@ | ||
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | ||
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | ||
|
||
name: Publish Lowcoder CLI | ||
|
||
on: | ||
push: | ||
branches: [ "dev" ] | ||
|
||
jobs: | ||
publish-package: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Check version changes | ||
uses: EndBug/version-check@v1 | ||
id: check | ||
with: | ||
diff-search: true | ||
file-name: client/packages/lowcoder-cli/package.json | ||
|
||
- name: Version update detected | ||
if: steps.check.outputs.changed == 'true' | ||
run: 'echo "Version change found! New version: ${{ steps.check.outputs.version }} (${{ steps.check.outputs.type }})"' | ||
|
||
- name: Set up Node.js for NPM | ||
if: steps.check.outputs.changed == 'true' | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Install dependencies | ||
if: steps.check.outputs.changed == 'true' | ||
uses: borales/actions-yarn@v4.2.0 | ||
with: | ||
cmd: install | ||
dir: client/packages/lowcoder-cli | ||
|
||
- name: Publish package to NPM | ||
if: steps.check.outputs.changed == 'true' | ||
run: npm publish | ||
working-directory: client/packages/lowcoder-cli | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.LOWCODERNPMBOT }} |
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,49 @@ | ||
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | ||
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | ||
|
||
name: Publish Lowcoder Comps | ||
|
||
on: | ||
push: | ||
branches: [ "dev" ] | ||
|
||
jobs: | ||
publish-package: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Check version changes | ||
uses: EndBug/version-check@v1 | ||
id: check | ||
with: | ||
diff-search: true | ||
file-name: client/packages/lowcoder-comps/package.json | ||
|
||
- name: Version update detected | ||
if: steps.check.outputs.changed == 'true' | ||
run: 'echo "Version change found! New version: ${{ steps.check.outputs.version }} (${{ steps.check.outputs.type }})"' | ||
|
||
- name: Set up Node.js for NPM | ||
if: steps.check.outputs.changed == 'true' | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Install dependencies | ||
if: steps.check.outputs.changed == 'true' | ||
uses: borales/actions-yarn@v4.2.0 | ||
with: | ||
cmd: install | ||
dir: client/packages/lowcoder-comps | ||
|
||
- name: Publish | ||
if: steps.check.outputs.changed == 'true' | ||
uses: borales/actions-yarn@v4.2.0 | ||
with: | ||
cmd: build_publish | ||
dir: client/packages/lowcoder-comps | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.LOWCODERNPMBOT }} |
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,47 @@ | ||
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | ||
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | ||
|
||
name: Publish Lowcoder Core | ||
|
||
on: | ||
push: | ||
branches: [ "dev" ] | ||
|
||
jobs: | ||
publish-package: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Check version changes | ||
uses: EndBug/version-check@v1 | ||
id: check | ||
with: | ||
diff-search: true | ||
file-name: client/packages/lowcoder-core/package.json | ||
|
||
- name: Version update detected | ||
if: steps.check.outputs.changed == 'true' | ||
run: 'echo "Version change found! New version: ${{ steps.check.outputs.version }} (${{ steps.check.outputs.type }})"' | ||
|
||
- name: Set up Node.js for NPM | ||
if: steps.check.outputs.changed == 'true' | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Install dependencies | ||
if: steps.check.outputs.changed == 'true' | ||
uses: borales/actions-yarn@v4.2.0 | ||
with: | ||
cmd: install | ||
dir: client/packages/lowcoder-core | ||
|
||
- name: Publish package to NPM | ||
if: steps.check.outputs.changed == 'true' | ||
run: npm publish | ||
working-directory: client/packages/lowcoder-core | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.LOWCODERNPMBOT }} |
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,54 @@ | ||
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | ||
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | ||
|
||
name: Publish Lowcoder SDK | ||
|
||
on: | ||
push: | ||
branches: [ "dev" ] | ||
|
||
jobs: | ||
publish-package: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Check version changes | ||
uses: EndBug/version-check@v1 | ||
id: check | ||
with: | ||
diff-search: true | ||
file-name: client/packages/lowcoder-sdk/package.json | ||
|
||
- name: Version update detected | ||
if: steps.check.outputs.changed == 'true' | ||
run: 'echo "Version change found! New version: ${{ steps.check.outputs.version }} (${{ steps.check.outputs.type }})"' | ||
|
||
- name: Set up Node.js for NPM | ||
if: steps.check.outputs.changed == 'true' | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Install dependencies | ||
if: steps.check.outputs.changed == 'true' | ||
uses: borales/actions-yarn@v4.2.0 | ||
with: | ||
cmd: install | ||
dir: client/packages/lowcoder-sdk | ||
|
||
- name: Build Package | ||
if: steps.check.outputs.changed == 'true' | ||
uses: borales/actions-yarn@v4.2.0 | ||
with: | ||
cmd: build | ||
dir: client/packages/lowcoder-sdk | ||
|
||
- name: Publish package to NPM | ||
if: steps.check.outputs.changed == 'true' | ||
run: npm publish | ||
working-directory: client/packages/lowcoder-sdk | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.LOWCODERNPMBOT }} |
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
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,2 +1,4 @@ | ||
*.tgz | ||
/node_modules | ||
.DS_Store | ||
node_modules | ||
*.zip |
28 changes: 25 additions & 3 deletions
28
client/packages/lowcoder-cli-template-typescript/README.md
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,5 +1,27 @@ | ||
# lowcoder-cli-template-typescript | ||
# Lowcoder Demonstrator Plugin Sourcecode | ||
|
||
This is the official typescript template of lowcoder-cli. | ||
## Overview | ||
|
||
This template will be used by default. | ||
This repository contains the demonstrator code for a Component Plugin in Lowcoder. It serves as a practical example and a reference for developers looking to build their own Component Plugins within the Lowcoder framework. | ||
|
||
This repository is not about to integrate the Plugin like other NPM repositories. However, for the Lowcoder Component Plugin Creator we wanted to publish the Demonstrator Plugin code sources. | ||
|
||
### The Lowcoder App Editor | ||
|
||
<p align="center"> | ||
<img src="https://raw.githubusercontent.com/lowcoder-org/lowcoder-media-assets/main/images/App%20Editor%20%7C%20Main%20Screeen%20clean.png" alt="Lowcoder App Editor"> | ||
</p> | ||
|
||
### Purpose | ||
|
||
The primary goal of this repository is to showcase best practices, demonstrate the structure, and provide a clear example of how to develop Component Plugins for Lowcoder. It is intended to be a learning resource rather than a production-ready solution. | ||
|
||
## Getting Started | ||
|
||
To explore this demonstrator plugin, install and test it in action you can use the "Lowcoder Component Plugin Builder". https://www.npmjs.com/package/create-lowcoder-plugin | ||
|
||
### The Lowcoder Component Plugin Builder and Preivew | ||
|
||
<p align="center"> | ||
<img src="https://raw.githubusercontent.com/lowcoder-org/lowcoder-media-assets/main/images/Component%20Plugin%20Builder%20%7C%20Preview.png" alt="Lowcoder Plugin Preview"> | ||
</p> |
17 changes: 17 additions & 0 deletions
17
client/packages/lowcoder-cli-template-typescript/icons/hills.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.