mirror of https://github.com/qortal/qortal-ui
AlphaX-Projects
6 months ago
8 changed files with 0 additions and 246 deletions
@ -1,15 +0,0 @@
|
||||
{ |
||||
"env": { |
||||
"browser": true, |
||||
"es2021": true |
||||
}, |
||||
"plugins": ["lit", "wc"], |
||||
"extends": ["eslint:recommended", "plugin:lit/recommended", "plugin:wc/recommended"], |
||||
"parserOptions": { |
||||
"ecmaVersion": 12, |
||||
"sourceType": "module" |
||||
}, |
||||
"rules": { |
||||
"no-mixed-spaces-and-tabs": 0 |
||||
} |
||||
} |
@ -1,71 +0,0 @@
|
||||
|
||||
branches: |
||||
except: |
||||
- master |
||||
|
||||
language: node_js |
||||
node_js: "14.17.0" |
||||
|
||||
cache: |
||||
yarn: true |
||||
directories: |
||||
- node_modules |
||||
# - qortal-ui-core/node_modules |
||||
# - qortal-ui-plugins/node_modules |
||||
# - qortal-ui-crypto/node_modules |
||||
- $HOME/.cache/electron |
||||
- $HOME/.cache/electron-builder |
||||
|
||||
install: |
||||
- sh install-dependencies.sh |
||||
|
||||
env: |
||||
global: |
||||
- ELECTRON_CACHE=$HOME/.cache/electron |
||||
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder |
||||
- ELECTRON_ENABLE_LOGGING=true |
||||
|
||||
jobs: |
||||
include: |
||||
- stage: Deploy Linux |
||||
if: tag IS present |
||||
os: linux |
||||
dist: bionic |
||||
sudo: required |
||||
addons: |
||||
apt: |
||||
packages: |
||||
# default Electron dependencies |
||||
- build-essential |
||||
- gconf2 |
||||
- gconf-service |
||||
- libgtk-3-0 |
||||
- libnotify4 |
||||
- libxss-dev |
||||
- libxss1 |
||||
- xdg-utils |
||||
- libatspi2.0-0 |
||||
- libappindicator1 |
||||
- libxext-dev |
||||
- libxtst6 |
||||
- libxtst-dev |
||||
- libnss3 |
||||
script: |
||||
- newVersion=$(git describe --abbrev=0) |
||||
- yarn version --new-version $newVersion |
||||
- sh set-up-snap.sh |
||||
- yarn run release |
||||
- stage: Deploy Windows & Mac |
||||
if: tag IS present |
||||
os: osx |
||||
osx_image: xcode12.5.1 |
||||
script: |
||||
- newVersion=$(git describe --abbrev=0) |
||||
- yarn version --new-version $newVersion |
||||
- yarn run release -- --mac --win |
||||
before_cache: |
||||
- rm -rf $HOME/.cache/electron-builder/wine |
||||
# - stage: Update GitHub with Builds |
||||
# if: tag IS present |
||||
# script: |
||||
# - sh push-updates-with-travis-build.sh |
@ -1,23 +0,0 @@
|
||||
{ |
||||
"name": "Q-Blog", |
||||
"defaultFeedIndex": 0, |
||||
"feed": [ |
||||
{ |
||||
"id": "post-creation", |
||||
"version": 1, |
||||
"updated": 1696646223261, |
||||
"title": "Q-Blog Post creations", |
||||
"description": "Get your friends Q-Blog posts on your feed", |
||||
"search": { |
||||
"query": "-post-", |
||||
"identifier": "q-blog-", |
||||
"service": "BLOG_POST", |
||||
"exactmatchnames": true |
||||
}, |
||||
"click": "qortal://APP/Q-Blog/$${resource.name}$$/blog/$${resource.identifier}$$", |
||||
"display": { |
||||
"title": "$${rawdata.title}$$" |
||||
} |
||||
} |
||||
] |
||||
} |
@ -1,22 +0,0 @@
|
||||
{ |
||||
"extends" : "standard", |
||||
"rules": { |
||||
"indent": [ |
||||
"error", |
||||
4, |
||||
{ |
||||
"SwitchCase": 1 |
||||
} |
||||
] |
||||
}, |
||||
"env": { |
||||
"es6": true, |
||||
"browser": true, |
||||
"worker": true |
||||
}, |
||||
"parser": "babel-eslint", |
||||
"parserOptions": { |
||||
"sourceType": "module", |
||||
"allowImportExportEverywhere": true |
||||
} |
||||
} |
@ -1,71 +0,0 @@
|
||||
#!/bin/sh |
||||
|
||||
# Qortal Blockchain Project - 2021 |
||||
|
||||
# Travis Script to install dependencies... |
||||
|
||||
set -ev |
||||
|
||||
# install every repository needed, install dependencies, clone git repos, do yarn linking and building, and build and run final UI |
||||
|
||||
install_dependencies() |
||||
{ |
||||
echo -e '---INSTALLING DEPENDENCIES!---' |
||||
echo -e '---INSTALLING ALL UI REPOSITORIES---' |
||||
|
||||
cd ../ |
||||
cd qortal-ui-core |
||||
yarn install --pure-lockfile |
||||
cd ../ |
||||
mkdir qortal-ui/qortal-ui-core |
||||
rsync -a qortal-ui-core/ qortal-ui/qortal-ui-core --exclude .git |
||||
cd qortal-ui/qortal-ui-core |
||||
yarn link |
||||
cd ../../ |
||||
|
||||
cd qortal-ui-plugins |
||||
yarn install --pure-lockfile |
||||
cd ../ |
||||
mkdir qortal-ui/qortal-ui-plugins |
||||
rsync -a qortal-ui-plugins/ qortal-ui/qortal-ui-plugins --exclude .git |
||||
cd qortal-ui/qortal-ui-plugins |
||||
yarn link |
||||
cd ../../ |
||||
|
||||
cd qortal-ui-crypto |
||||
yarn install --pure-lockfile |
||||
cd ../ |
||||
mkdir qortal-ui/qortal-ui-crypto |
||||
rsync -a qortal-ui-crypto/ qortal-ui/qortal-ui-crypto --exclude .git |
||||
cd qortal-ui/qortal-ui-crypto |
||||
yarn link |
||||
cd ../ |
||||
|
||||
echo -e '---INSTALL ALL DEPENDENCIES---' |
||||
yarn install --pure-lockfile |
||||
|
||||
echo -e '---LINKING UI FOLDERS ---' |
||||
yarn link qortal-ui-core |
||||
yarn link qortal-ui-crypto |
||||
yarn link qortal-ui-plugins |
||||
|
||||
echo -e '---BUILDING UI DEPENDENCIES!---' |
||||
yarn build |
||||
|
||||
echo -e '---UPDATE PACKAGE-JSON UI DEPENDENCIES!---' |
||||
yarn update-package-json |
||||
|
||||
echo -e '---REMOVE MODULES AND UNUSED DEPENDENCIES!---' |
||||
cd qortal-ui-core |
||||
yarn install --production --ignore-scripts --prefer-offline |
||||
cd ../ |
||||
cd qortal-ui-plugins |
||||
rm -R node_modules |
||||
cd ../ |
||||
cd qortal-ui-crypto |
||||
rm -R node_modules |
||||
cd ../ |
||||
rm -R qortal-ui-crypto |
||||
} |
||||
|
||||
install_dependencies |
@ -1,42 +0,0 @@
|
||||
#!/bin/sh |
||||
|
||||
set -x |
||||
|
||||
setup_git() { |
||||
git config --global user.email "[email protected]" |
||||
git config --global user.name "Travis CI" |
||||
} |
||||
|
||||
commit_version_push() { |
||||
# Add New Remote |
||||
git remote add ci https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git > /dev/null 2>&1 |
||||
# Show Remotes |
||||
git remote -v |
||||
# Create Version variable |
||||
newVersion=$(git describe --abbrev=0) |
||||
# Checkout and Switch to master branch |
||||
# git checkout master |
||||
# Disable yarn version-git-tag |
||||
yarn config set version-git-tag false |
||||
# Update package.json version |
||||
yarn version --new-version $newVersion |
||||
# Stage file for commit |
||||
git add package.json |
||||
# Create a new commit with a build version |
||||
git commit --message "Build Version: $newVersion" |
||||
# PUSH TO GITHUB |
||||
git push ci master |
||||
} |
||||
|
||||
setup_git |
||||
|
||||
commit_version_push |
||||
|
||||
|
||||
# # Attempt to commit to git only if "git commit" succeeded |
||||
# if [ $? -eq 0 ]; then |
||||
# echo "Commit the new version. Built and Pushing to GitHub" |
||||
# push_build |
||||
# else |
||||
# echo "Cannot commit new version" |
||||
# fi |
Loading…
Reference in new issue