-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR moves all of the packages in zealot into the zui repo. The structure of this repo is now as follows: apps └── zui └── Zui-insiders packages ├── e2e-tests ├── sample-data ├── zed-js ├── zed-node ├── zed-wasm └── zui-test-data It's managed by nx. The yarn commands to start, test, and build are all still the same. This will make our development cycle much faster, while enabling us to release separate packages to npm.
- Loading branch information
Showing
1,694 changed files
with
16,344 additions
and
1,655 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 @@ | ||
# Editor configuration, see http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
max_line_length = off | ||
trim_trailing_whitespace = false |
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,46 @@ | ||
{ | ||
"root": true, | ||
"ignorePatterns": ["**/*"], | ||
"plugins": ["@nrwl/nx"], | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"], | ||
"rules": { | ||
"@typescript-eslint/no-unused-vars": ["error", { | ||
"varsIgnorePattern": "^_", | ||
"argsIgnorePattern": "^_" | ||
}], | ||
"@nrwl/nx/enforce-module-boundaries": [ | ||
"error", | ||
{ | ||
"enforceBuildableLibDependency": true, | ||
"allow": [], | ||
"depConstraints": [ | ||
{ | ||
"sourceTag": "*", | ||
"onlyDependOnLibsWithTags": ["*"] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"files": ["*.ts", "*.tsx"], | ||
"extends": ["plugin:@nrwl/nx/typescript"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.js", "*.jsx"], | ||
"extends": ["plugin:@nrwl/nx/javascript"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"], | ||
"env": { | ||
"jest": true | ||
}, | ||
"rules": {} | ||
} | ||
] | ||
} |
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,25 +1,25 @@ | ||
name: Uploade Build Artifacts | ||
description: Uploade artifacts for each platform | ||
name: Upload Build Artifacts | ||
description: Upload artifacts for each platform | ||
|
||
runs: | ||
using: "composite" | ||
using: 'composite' | ||
steps: | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: Mac Artifact | ||
path: installers/*.dmg | ||
path: dist/apps/zui/*.dmg | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: Windows Artifact | ||
path: installers/*.exe | ||
path: dist/apps/zui/*.exe | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: Debian Artifact | ||
path: installers/*.deb | ||
path: dist/apps/zui/*.deb | ||
|
||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: RPM Artifact | ||
path: installers/*.rpm | ||
path: dist/apps/zui/*.rpm |
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: Create Insiders Dev Build | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
zui-branch: | ||
description: 'Zui branch on which to base this Zui Insiders build' | ||
default: 'main' | ||
required: false | ||
push: | ||
branches: | ||
- 'build/**' | ||
|
||
jobs: | ||
release: | ||
name: Build | ||
strategy: | ||
matrix: | ||
platform: [windows-2019, macos-12, ubuntu-20.04] | ||
|
||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- name: Checkout Zui | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Zui | ||
uses: ./.github/actions/setup-zui | ||
|
||
- name: Inject package.json | ||
run: yarn nx inject zui-insiders | ||
|
||
- name: Disable yarn immutable installs | ||
run: yarn config set enableImmutableInstalls false | ||
|
||
- name: Build Zui | ||
uses: ./.github/actions/build-zui | ||
with: | ||
cmd: yarn nx package zui --config electron-builder-insiders.json --publish never | ||
gh_token: ${{ secrets.GITHUB_TOKEN }} | ||
# Windows | ||
csc_key_password: ${{ secrets.WINDOWS_SIGNING_PASSPHRASE }} | ||
csc_link: ${{ secrets.WINDOWS_SIGNING_PFX_BASE64 }} | ||
# Mac | ||
apple_id: ${{ secrets.APPLEID_USER }} | ||
apple_id_password: ${{ secrets.APPLEID_PASSWORD }} | ||
apple_team_id: ${{ secrets.APPLE_TEAM_ID }} | ||
cert_p12: ${{ secrets.APPLE_DEVELOPER_ID_CERT_P12_BASE64 }} | ||
cert_passphrase: ${{ secrets.APPLE_DEVELOPER_ID_CERT_PASSPHRASE }} | ||
|
||
- name: Upload Artifacts | ||
uses: ./.github/actions/upload-build-artifacts |
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,56 @@ | ||
name: Create Insiders Release | ||
|
||
on: | ||
workflow_dispatch: | ||
# schedule: | ||
# - cron: '15 20 * * *' # Every day at 8:15pm UTC | ||
|
||
jobs: | ||
release: | ||
name: Build and Publish | ||
strategy: | ||
matrix: | ||
platform: [windows-2019, macos-12, ubuntu-20.04] | ||
|
||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- name: Checkout Zui | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup Zui | ||
uses: ./.github/actions/setup-zui | ||
|
||
- name: Check if there have been any changes to publish | ||
run: yarn nx updated-needed zui-insiders | ||
|
||
- name: Inject package.json | ||
run: yarn nx inject zui-insiders | ||
|
||
- name: Disable yarn immutable installs | ||
run: yarn config set enableImmutableInstalls false | ||
|
||
- name: Build Zui | ||
uses: ./.github/actions/build-zui | ||
with: | ||
cmd: yarn nx package zui --config electron-builder-insiders.json --publish always | ||
gh_token: ${{ secrets.GITHUB_TOKEN }} | ||
# Windows | ||
csc_key_password: ${{ secrets.WINDOWS_SIGNING_PASSPHRASE }} | ||
csc_link: ${{ secrets.WINDOWS_SIGNING_PFX_BASE64 }} | ||
# Mac | ||
apple_id: ${{ secrets.APPLEID_USER }} | ||
apple_id_password: ${{ secrets.APPLEID_PASSWORD }} | ||
apple_team_id: ${{ secrets.APPLE_TEAM_ID }} | ||
cert_p12: ${{ secrets.APPLE_DEVELOPER_ID_CERT_P12_BASE64 }} | ||
cert_passphrase: ${{ secrets.APPLE_DEVELOPER_ID_CERT_PASSPHRASE }} | ||
|
||
- name: Inform Slack users of failure | ||
uses: tiloio/[email protected] | ||
if: ${{ failure() }} | ||
with: | ||
slack_web_hook_url: ${{ secrets.SLACK_WEBHOOK_BRIMLABS_TEST }} | ||
slack_json: | | ||
{ | ||
"username": "{{GITHUB_REPOSITORY}}", | ||
"text": "Release failed: https://github.com/{{GITHUB_REPOSITORY}}/actions/runs/{{GITHUB_RUN_ID}}" | ||
} |
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 +1 @@ | ||
v16.10.0 | ||
16.10.0 |
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,3 @@ | ||
dist | ||
run | ||
# Add files here to ignore them from prettier formatting | ||
/dist | ||
/coverage |
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,3 @@ | ||
{ | ||
"singleQuote": true | ||
} |
Oops, something went wrong.