-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added environments and launch functionality to projects (#87)
* feat: add environments schema definition Signed-off-by: Francisco Madeira <francisco.madeira@diconium.com> * feat: remove query from getProjects action * refactor: remove query from getProjects * refactor: remove query from getProjectsById * refactor: fix projects/{id} with fixed environtment * refactor: project components list and add * refactor: project components actions * feat: add environment picker * feat: add environment picker to projects page Signed-off-by: Francisco Madeira <francisco.madeira@diconium.com> * refactor: component actions with environments * refactor: api routes for projects * feat: add new environment based api routes * feat: add copy url to environments * feat: actions on project environments * refactor: clean types on projects actions * feat: add default environment to new projects * feat: create launch page Signed-off-by: Francisco Madeira <francisco.madeira@diconium.com> * feat: added launch funcionality * feat: improve comparison page result Signed-off-by: Francisco Madeira <francisco.madeira@diconium.com> * chore: add changeset Signed-off-by: Francisco Madeira <francisco.madeira@diconium.com> * fix: remove group to display all the components Signed-off-by: Francisco Madeira <francisco.madeira@diconium.com> * chore: update the release workflow Signed-off-by: Francisco Madeira <francisco.madeira@diconium.com> --------- Signed-off-by: Francisco Madeira <francisco.madeira@diconium.com>
- Loading branch information
Showing
62 changed files
with
2,513 additions
and
1,055 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,13 @@ | ||
--- | ||
'@ethereal-nexus/dashboard': major | ||
'@ethereal-nexus/site': major | ||
'@ethereal-nexus/cli': major | ||
'@ethereal-nexus/conector-aem-react': major | ||
'@ethereal-nexus/core': major | ||
'@ethereal-nexus/vite-plugin-ethereal-nexus': major | ||
--- | ||
|
||
This is the first Major release of Ethereal Nexus! | ||
|
||
Added environments features. This allows projects to have several configurations based on the respective environemnt and to publish them from one environment to the other using launches. | ||
Because of this there were breaking changes to the schema of the component configs. |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
'@ethereal-nexus/core': patch | ||
--- | ||
|
||
fix type inference for select schema | ||
Fix type inference for select schema |
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
concurrency: ${{ github.workflow }}-${{ github.ref }} | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|
||
- uses: pnpm/action-setup@v4 | ||
name: Install pnpm | ||
with: | ||
run_install: false | ||
|
||
- name: Install Dependencies | ||
run: pnpm i --frozen-lockfile | ||
|
||
- name: 'Create env file' | ||
run: | | ||
echo "${{ secrets.AUTH_SECRET }}" >> ./web/dashboard/.env | ||
- name: Build Packages | ||
run: pnpm run build | ||
|
||
- name: Fix npmrc | ||
run: npm config set "//registry.npmjs.org/:_authToken" "$NPM_TOKEN" | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
- name: Publish to npm | ||
id: changesets | ||
uses: changesets/action@v1 | ||
with: | ||
publish: pnpm release | ||
commit: "chore: release version" | ||
title: "[ci] Release version" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.