Skip to content

Commit

Permalink
Merge pull request #173 from kimlimjustin/rebrand
Browse files Browse the repository at this point in the history
Rebranding of Xplorer
  • Loading branch information
kimlimjustin authored Nov 21, 2021
2 parents ecb68d8 + b3fd69c commit c06d96c
Show file tree
Hide file tree
Showing 385 changed files with 20,087 additions and 17,570 deletions.
5 changes: 3 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
test/*
src/Typings/*
src/Lib/**/*
outs/**/*
out/**/*
scripts/*
src/Components/Functions/log.ts
gruntfile.js
docs/**/*
packages/**/*
packages/**/*
*.config.js
6 changes: 5 additions & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ parserOptions:
sourceType: module
plugins:
- '@typescript-eslint'
rules: { '@typescript-eslint/no-var-requires': 0 }
rules:
{
'@typescript-eslint/no-var-requires': 0,
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_', varsIgnorePattern: '^_', caughtErrorsIgnorePattern: '^_' }],
}
88 changes: 32 additions & 56 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,70 +1,46 @@
name: Build

name: 'publish'
on:
push:
branches: [master]
jobs:
build-win:
runs-on: windows-latest

strategy:
matrix:
node-version: [14.x]

jobs:
empty-draft:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
with:
cache: 'npm'

- name: Update npm
run: npm install --global npm@latest

- name: Patch node-gyp to support Visual Studio 2019
shell: powershell
run: |
npm install --global node-gyp@latest
npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"}
- run: yarn install --frozen-lockfile
- name: Build on Windows
- name: Empty drafts
uses: hugo19941994/[email protected]
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: yarn build --publish=always

build-mac:
runs-on: macos-latest
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
publish-tauri:
strategy:
fail-fast: false
matrix:
node-version: [14.x]
platform: [macos-latest, ubuntu-latest, windows-latest]

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
- name: setup node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- name: Build on macOS
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: yarn build --publish=always

build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
node-version: 12
- name: install Rust stable
uses: actions-rs/toolchain@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile
- name: Build on Linux
toolchain: stable
- name: install webkit2gtk (ubuntu only)
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y webkit2gtk-4.0
- name: install app dependencies and build it
run: yarn && yarn build
- uses: tauri-apps/tauri-action@v0
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: yarn build --publish=always
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
tagName: app-v__VERSION__
releaseName: 'App v__VERSION__'
releaseBody: 'See the assets to download this version and install.'
releaseDraft: true
prerelease: false
58 changes: 27 additions & 31 deletions .github/workflows/jest.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,35 @@
name: Jest

on:
push:
branches: [master]
pull_request:
branches: [master]
on: [push, pull_request]

jobs:
jest-mac:
runs-on: macos-latest
jest-mac:
runs-on: macos-latest

strategy:
matrix:
node-version: [14.x, 15.x]
strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn test
jest-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn test
jest-linux:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 15.x]
strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: rm -rf node_modules && yarn install
- run: yarn test
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: rm -rf node_modules && yarn install
- run: yarn test
32 changes: 14 additions & 18 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
name: Lint

on:
push:
branches: [master]
pull_request:
branches: [master]
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 15.x]
strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: rm -rf node_modules && yarn install
- run: yarn lint
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: rm -rf node_modules && yarn install
- run: yarn lint
58 changes: 27 additions & 31 deletions .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,34 @@
name: Compile TypeScript

on:
push:
branches: [master]
pull_request:
branches: [master]
on: [push, pull_request]

jobs:
ts-mac:
runs-on: macos-latest
ts-mac:
runs-on: macos-latest

strategy:
matrix:
node-version: [14.x, 15.x]
strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn compile
ts-linux:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 15.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: yarn install
- run: yarn compile
ts-linux:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: rm -rf node_modules && yarn install
- run: yarn compile
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: rm -rf node_modules && yarn install
- run: yarn compile
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ temp
yarn-error.log
.DS_Store
.idea
target
WixTools
fake-files
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v14.15.0
v16.0.0
5 changes: 1 addition & 4 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
build
dist
outs
out
node_modules
src/Components/Theme/theme.ts
src/Components/Files/File Operation/open.ts
src/Components/Favorites/favorites.ts
*.min.
packages/**/*.ejs
9 changes: 5 additions & 4 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"trailingComma": "es5",
"tabWidth": 4,
"semi": true,
"singleQuote": true
"trailingComma": "es5",
"tabWidth": 4,
"semi": true,
"singleQuote": true,
"printWidth": 150
}
17 changes: 10 additions & 7 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"eslint.format.enable": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
"eslint.format.enable": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust"
}
}
Loading

1 comment on commit c06d96c

@vercel
Copy link

@vercel vercel bot commented on c06d96c Nov 21, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.