Skip to content

Commit

Permalink
Merge pull request #1742 from lowdefy/enterprise
Browse files Browse the repository at this point in the history
Licensing changes
  • Loading branch information
SamTolmay committed Jan 5, 2024
2 parents 14f7aa4 + 46e79b2 commit 0e603d6
Show file tree
Hide file tree
Showing 379 changed files with 16,266 additions and 4,530 deletions.
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.3.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [["@lowdefy/*", "lowdefy"]],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
5 changes: 5 additions & 0 deletions .changeset/loud-steaks-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@lowdefy/build': patch
---

Remove case sensitivity in duplicate page ids check.
5 changes: 5 additions & 0 deletions .changeset/mighty-vans-repair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@lowdefy/build': patch
---

Remove unnecessary warning message on build "\_id is used but not defined".
58 changes: 58 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"mode": "pre",
"tag": "rc",
"initialVersions": {
"@lowdefy/api": "4.0.0",
"@lowdefy/build": "4.0.0",
"lowdefy": "4.0.0",
"@lowdefy/client": "4.0.0",
"@lowdefy/docs": "4.0.0",
"@lowdefy/engine": "4.0.0",
"@lowdefy/layout": "4.0.0",
"@lowdefy/operators": "4.0.0",
"@lowdefy/actions-core": "4.0.0",
"@lowdefy/actions-pdf-make": "4.0.0",
"@lowdefy/blocks-aggrid": "4.0.0",
"@lowdefy/blocks-algolia": "4.0.0",
"@lowdefy/blocks-antd": "4.0.0",
"@lowdefy/blocks-basic": "4.0.0",
"@lowdefy/blocks-color-selectors": "4.0.0",
"@lowdefy/blocks-echarts": "4.0.0",
"@lowdefy/blocks-google-maps": "4.0.0",
"@lowdefy/blocks-loaders": "4.0.0",
"@lowdefy/blocks-markdown": "4.0.0",
"@lowdefy/blocks-qr": "4.0.0",
"@lowdefy/connection-axios-http": "4.0.0",
"@lowdefy/connection-elasticsearch": "4.0.0",
"@lowdefy/connection-google-sheets": "4.0.0",
"@lowdefy/connection-knex": "4.0.0",
"@lowdefy/connection-mongodb": "4.0.0",
"@lowdefy/connection-redis": "4.0.0",
"@lowdefy/connection-sendgrid": "4.0.0",
"@lowdefy/connection-stripe": "4.0.0",
"@lowdefy/operators-change-case": "4.0.0",
"@lowdefy/operators-diff": "4.0.0",
"@lowdefy/operators-js": "4.0.0",
"@lowdefy/operators-moment": "4.0.0",
"@lowdefy/operators-mql": "4.0.0",
"@lowdefy/operators-nunjucks": "4.0.0",
"@lowdefy/operators-uuid": "4.0.0",
"@lowdefy/operators-yaml": "4.0.0",
"@lowdefy/plugin-auth0": "4.0.0",
"@lowdefy/plugin-aws": "4.0.0",
"@lowdefy/plugin-csv": "4.0.0",
"@lowdefy/plugin-next-auth": "4.0.0",
"@lowdefy/server-community": "4.0.0",
"@lowdefy/server-dev": "4.0.0",
"@lowdefy/server-enterprise": "4.0.0",
"@lowdefy/ajv": "4.0.0",
"@lowdefy/block-dev": "4.0.0",
"@lowdefy/block-utils": "4.0.0",
"@lowdefy/helpers": "4.0.0",
"@lowdefy/jest-yaml-transform": "4.0.0",
"@lowdefy/node-utils": "4.0.0",
"@lowdefy/nunjucks": "4.0.0",
"@lowdefy/website": "4.0.0"
},
"changesets": []
}
8 changes: 8 additions & 0 deletions .changeset/silent-pigs-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@lowdefy/server-enterprise': minor
'@lowdefy/server-community': minor
'@lowdefy/server-dev': minor
'@lowdefy/client': minor
---

Add built with lowdefy branding to servers.
5 changes: 5 additions & 0 deletions .changeset/strange-pianos-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@lowdefy/client': patch
---

Add a message to Link Action to inform when popups are blocked.
58 changes: 36 additions & 22 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,44 @@
name: Release
on:
release:
types:
- published
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
build_and_publish:
release:
name: Release
runs-on: ubuntu-latest
environment: publish
if: github.repository == 'lowdefy/lowdefy'
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x

- name: Enable pnpm
run: corepack enable

- name: Install Dependencies
run: pnpm i --frozen-lockfile

- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- name: pnpm install
run: pnpm install --frozen-lockfile
- name: pnpm build
run: pnpm build
# --no-verify-access to use automation tokens https://github.com/lerna/lerna/issues/2788
# --ignore-scripts to avoid scripts that could read npm token
# --yes to autoconfirm in ci
# --pre-dist-tag do not tag prereleases as latest
- name: publish to npm
run: pnpm lerna:publish --ignore-scripts --yes --no-verify-access
# run: pnpm lerna:publish --ignore-scripts --yes --no-verify-access --pre-dist-tag rc
publish: pnpm run publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
16 changes: 5 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@

.turbo

packages/server/build/**
packages/server-dev/build/**
packages/servers/*/build/**
packages/servers/*/public/**
packages/servers/*/package.original.json


!packages/docs/lowdefy.yaml
!packages/docs/howto/**/lowdefy.yaml
!packages/website/lowdefy.yaml
packages/cli/server/**

.DS_Store

Expand All @@ -29,14 +31,6 @@ packages/utils/node-utils/test/copyDirectory/**
packages/utils/node-utils/test/copyFile/**

app/**
packages/server-dev/plugins/**
packages/server/plugins/**

packages/server-dev/public/**
packages/server/public/**

packages/server/package.original.json
packages/server-dev/package.original.json

packages/docs/public/sitemap.xml

Expand Down
3 changes: 0 additions & 3 deletions .lgtm.yml

This file was deleted.

Loading

0 comments on commit 0e603d6

Please sign in to comment.