Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5 extensions added and ready. CI set up. #1

Merged
merged 49 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
a27d7d7
Move extensions and templates from Jarvis main repo to this
HuakunShen May 22, 2024
2f5b75d
Disable CI
HuakunShen May 22, 2024
5a2b8c2
Enable overlay for my ip extension
HuakunShen May 22, 2024
3107081
Migrate qrcode from sveltekit to svelte, to fix multi page. Also supp…
HuakunShen May 22, 2024
00aac0b
Improve twitter video downloader
HuakunShen May 22, 2024
6cae278
Clean vue ext template
HuakunShen May 22, 2024
449b100
Remove youtube ext
HuakunShen May 22, 2024
65e4fd9
Update @jarvis/api-ui to @jarvis/api/ui
HuakunShen May 23, 2024
6e0ab4b
Change @jarvis/api to jarvis-api, because @jarvis is not available on…
HuakunShen May 23, 2024
d6773ee
Migrate jarvis.ext.json to package.json
HuakunShen May 23, 2024
bafc30a
move jarvis-api version from workspace:* to latest
HuakunShen May 23, 2024
15660a9
Add build.sh and entrypoint.sh for building and packing packages
HuakunShen May 23, 2024
cdb4349
Turn this repo into a turbo mono repo with pnpm, enable CI
HuakunShen May 23, 2024
1f091ae
Fix a package name bug
HuakunShen May 23, 2024
14e283f
Add files field in package.json to reduce bundle size. Include docker…
HuakunShen May 23, 2024
4078de9
Add ext json schema to all package.json
HuakunShen May 23, 2024
6d479f8
Remove inlineCmds from package.json
HuakunShen May 24, 2024
7225315
Use tauri http client
HuakunShen May 24, 2024
3a2dd21
Fix myip identifier
HuakunShen May 24, 2024
2046285
Update schema url
HuakunShen May 26, 2024
58721a5
chore: Add ci for extension build and upload
HuakunShen May 26, 2024
1ad95a1
Run prettier to format all
HuakunShen May 26, 2024
9a0d274
Add CI
HuakunShen May 26, 2024
1e27d40
Disable upload CI for PR
HuakunShen May 26, 2024
fee379b
chore: Update workflow name to reflect extension upload
HuakunShen May 26, 2024
30714a5
chore: Update branch filter in upload-extensions workflow
HuakunShen May 26, 2024
4731c03
Fix duplicate extension skip upload bug
HuakunShen May 26, 2024
a7ad01e
Improve extension build and upload efficiency
HuakunShen May 26, 2024
4c593e4
Run CI to upload extensions
HuakunShen May 26, 2024
a8b0f49
chore: Update upload-extensions workflow to install dependencies with…
HuakunShen May 26, 2024
63cb505
chore: Update build-upload script to use a single Docker build proces…
May 26, 2024
111986b
Increase docker build pool size
May 26, 2024
7f3e440
Change My IP extension name
HuakunShen May 26, 2024
0336969
Update pnpm lock
HuakunShen May 26, 2024
337100d
chore: Remove commented out code in Search.svelte
HuakunShen May 27, 2024
8c5b207
Add demo images upload support
HuakunShen May 28, 2024
fe6449d
chore: Update QRCode component with improved links
HuakunShen May 28, 2024
ac26b9f
Update Extension package.json to follow new schema
HuakunShen May 28, 2024
a01462d
Update build and upload code to work with latest DB design
HuakunShen May 28, 2024
ebe2151
Update according to new schema
HuakunShen May 28, 2024
aed0c23
Fix package.json format
HuakunShen May 28, 2024
a956101
Fix typo
HuakunShen May 28, 2024
9d5e8f1
Add git-skyline model extension
HuakunShen May 28, 2024
ced1a1c
Fix CI
HuakunShen May 28, 2024
6c305fa
Add permission declaration to extensions
HuakunShen May 29, 2024
dcecefc
chore: Update jarvis-api dependency to version 0.0.2-alpha.7
HuakunShen May 30, 2024
58baa9c
chore: Update jarvis-api dependency to version 0.0.2-alpha.8
HuakunShen May 30, 2024
9599b38
Update jarvis-api dependency to version 0.0.2-alpha.8
HuakunShen May 30, 2024
b1df371
Fix UI display issue for twitter downloader and git-skyline
HuakunShen May 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: [HuakunShen]
29 changes: 29 additions & 0 deletions .github/workflows/ci-pack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI Build and Pack

on:
push:
branches: ["main", "dev"]
pull_request:
branches: ["main"]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
with:
submodules: "true"
- uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- run: npm run build:docker
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI Build & Test

on:
push:
branches: ["main", "dev"]
pull_request:
branches: ["main"]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
with:
submodules: "true"
- uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- run: pnpm i
- run: pnpm build
34 changes: 34 additions & 0 deletions .github/workflows/upload-extensions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI Build & Upload Extensions

on:
push:
branches: ["main", "dev"]
workflow_dispatch:

jobs:
upload-extensions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: "true"
- uses: pnpm/action-setup@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "pnpm"
- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.10
- run: pnpm i
- name: Docker Build and Uplad Extensions
env:
SUPABASE_PROJECT_REF: ${{ secrets.SUPABASE_PROJECT_REF }}
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
SUPABASE_SERVICE_ROLE_KEY: ${{ secrets.SUPABASE_SERVICE_ROLE_KEY }}
S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
run: |
pnpm --filter ci build-upload
177 changes: 177 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
# Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore

# Logs

logs
_.log
npm-debug.log_
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Caches

.cache

# Diagnostic reports (https://nodejs.org/api/report.html)

report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json

# Runtime data

pids
_.pid
_.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover

lib-cov

# Coverage directory used by tools like istanbul

coverage
*.lcov

# nyc test coverage

.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)

.grunt

# Bower dependency directory (https://bower.io/)

bower_components

# node-waf configuration

.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)

build/Release

# Dependency directories

node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)

web_modules/

# TypeScript cache

*.tsbuildinfo

# Optional npm cache directory

.npm

# Optional eslint cache

.eslintcache

# Optional stylelint cache

.stylelintcache

# Microbundle cache

.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history

.node_repl_history

# Output of 'npm pack'

*.tgz

# Yarn Integrity file

.yarn-integrity

# dotenv environment variable files

.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)

.parcel-cache

# Next.js build output

.next
out

# Nuxt.js build / generate output

.nuxt
dist

# Gatsby files

# Comment in the public line in if your project uses Gatsby and not Next.js

# https://nextjs.org/blog/next-9-1#public-directory-support

# public

# vuepress build output

.vuepress/dist

# vuepress v2.x temp and cache directory

.temp

# Docusaurus cache and generated files

.docusaurus

# Serverless directories

.serverless/

# FuseBox cache

.fusebox/

# DynamoDB Local files

.dynamodb/

# TernJS port file

.tern-port

# Stores VSCode versions used for testing VSCode extensions

.vscode-test

# yarn v2

.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

# IntelliJ based IDEs
.idea

# Finder (MacOS) folder config
.DS_Store
.turbo
.vscode
Loading
Loading