Compare commits
163 Commits
Author | SHA1 | Date |
---|---|---|
Renovate Bot | f0a74a038c | |
Renovate Bot | f5038838c5 | |
Renovate Bot | 9d271f2055 | |
Renovate Bot | 23721d6214 | |
Renovate Bot | 609c8af7af | |
Renovate Bot | 3ca008485d | |
Renovate Bot | 802e8c1192 | |
Renovate Bot | 244b5d8fbb | |
Renovate Bot | b510fa4281 | |
Renovate Bot | 3abc079c01 | |
Renovate Bot | ad81dc2302 | |
Renovate Bot | 0d5ab7ffd1 | |
Renovate Bot | f04847ee9c | |
Renovate Bot | 255941df19 | |
Renovate Bot | 9331c2396f | |
Renovate Bot | ccffa4f182 | |
Renovate Bot | 0705cce0a4 | |
Renovate Bot | 5b9b05bbbe | |
Renovate Bot | 1e355dfd04 | |
Renovate Bot | 07e5d513be | |
Renovate Bot | 8b5052b786 | |
Renovate Bot | 1311219edb | |
Sam Therapy | 72d2db7a8f | |
Renovate Bot | 31a8fa8046 | |
Renovate Bot | ca5b80617a | |
Renovate Bot | 559c1441c6 | |
Renovate Bot | 262be9627d | |
Renovate Bot | 4d4f47a5f0 | |
Renovate Bot | 1544863300 | |
Renovate Bot | f480ed1d5f | |
Renovate Bot | 2bc3725082 | |
Renovate Bot | c862d02361 | |
Renovate Bot | 874b4599a9 | |
Renovate Bot | 4bc6fa8a47 | |
Renovate Bot | 0b7d36d53d | |
Renovate Bot | 75a28979a7 | |
Renovate Bot | 4ae65eb6f2 | |
Renovate Bot | 00e705e6b2 | |
Renovate Bot | 2401130ed7 | |
Renovate Bot | 10e2a22fb6 | |
Renovate Bot | 983358244d | |
Renovate Bot | 0de24d4c16 | |
Renovate Bot | e4f70c4082 | |
Renovate Bot | 0a6c409c16 | |
Renovate Bot | 929d60612d | |
Renovate Bot | 24081e0e80 | |
Renovate Bot | d90dfb7ece | |
Renovate Bot | bac2379532 | |
Renovate Bot | 2132eb0b84 | |
Renovate Bot | a348d789dc | |
Renovate Bot | a28248cdc8 | |
Renovate Bot | dd5c235b6a | |
Renovate Bot | e6a467c6ee | |
Renovate Bot | 6057d5a4c5 | |
Renovate Bot | a61712e7ac | |
Renovate Bot | 44e6d25926 | |
Renovate Bot | 22f4fb7bd9 | |
Renovate Bot | c60be3142e | |
Renovate Bot | 107eff1a47 | |
Renovate Bot | 4f9da39853 | |
Renovate Bot | 847f85a1c8 | |
Renovate Bot | 22e18b6d62 | |
Renovate Bot | c91ae209e6 | |
Renovate Bot | 8f6cf854cf | |
Renovate Bot | 9b60b80422 | |
Renovate Bot | 1df14a9920 | |
Sam Therapy | 97e798d44b | |
Renovate Bot | e5f996b2c7 | |
Renovate Bot | a19c4ae79a | |
Sam Therapy | bf0409def2 | |
Sam Therapy | 40a4fb0225 | |
Sam Therapy | 31f7ea94ce | |
Sam Therapy | a0985f5156 | |
Renovate Bot | c86145fd56 | |
Renovate Bot | 51eb3f83d5 | |
Renovate Bot | 314279b057 | |
Renovate Bot | e310f9a0dd | |
Renovate Bot | a4b42120e4 | |
Renovate Bot | 5ad64ecc2f | |
Renovate Bot | fcd44e2305 | |
Renovate Bot | 259045d6be | |
Renovate Bot | f43d50a090 | |
Renovate Bot | 5f483e4b35 | |
Renovate Bot | 51ce5c949c | |
Renovate Bot | 20a7730238 | |
Renovate Bot | 8e23a48ba2 | |
Renovate Bot | d821f3a485 | |
Renovate Bot | 6812e13d91 | |
Renovate Bot | f6848b40ac | |
Renovate Bot | e580d2cb82 | |
Renovate Bot | 007e69cbee | |
Renovate Bot | e218e1e6f0 | |
Renovate Bot | ddd757c5f8 | |
Renovate Bot | 35cb19d2e0 | |
Renovate Bot | 05fa58b56e | |
Renovate Bot | 95b32b2979 | |
Sam Therapy | 6ef64eeea6 | |
Sam Therapy | d240cd4e50 | |
Sam Therapy | 7e28c4700c | |
Sam Therapy | 64a5465e02 | |
Sam Therapy | c5bbcb3104 | |
Sam Therapy | 39266ee162 | |
Sam Therapy | 58fdb3beda | |
Sam Therapy | c4e23615ec | |
Sam Therapy | 7c8ff06881 | |
Renovate Bot | 0ccc22feda | |
Renovate Bot | 0ae4ef8515 | |
Renovate Bot | ab484d0ed7 | |
Renovate Bot | 5c8eee0407 | |
Renovate Bot | d4e22095cf | |
Renovate Bot | 846b07862c | |
Renovate Bot | da600721e4 | |
Renovate Bot | 46bde940ed | |
Renovate Bot | 74b8377ea5 | |
Renovate Bot | cd258b154f | |
Renovate Bot | 48d1eb40cd | |
Renovate Bot | 9c8c94949c | |
Renovate Bot | 02b439be86 | |
Renovate Bot | 70a01c6e8f | |
Renovate Bot | afbee77497 | |
Renovate Bot | 2046c36091 | |
Renovate Bot | ff67a7a196 | |
Renovate Bot | 80b5625933 | |
Renovate Bot | b350e15213 | |
Renovate Bot | 8023f4e94e | |
Renovate Bot | 3e7c217626 | |
Renovate Bot | c9c052aba3 | |
Renovate Bot | 287e7311be | |
Renovate Bot | 55570c17c3 | |
Renovate Bot | e5df7265fa | |
Renovate Bot | c8ddb49dac | |
Renovate Bot | d165efc7d5 | |
Renovate Bot | 1e2fb26ea8 | |
Renovate Bot | 3a0555bd99 | |
Renovate Bot | 4d721b03ea | |
Renovate Bot | 1348e1f864 | |
Renovate Bot | bb05328e0d | |
Renovate Bot | 5e30518f3a | |
Renovate Bot | 76479c7642 | |
Renovate Bot | 47f26566c5 | |
Renovate Bot | 8e9c24d726 | |
Renovate Bot | 268bb815a6 | |
Renovate Bot | 7036650634 | |
Renovate Bot | a39c1202e5 | |
Renovate Bot | e412fb050c | |
Renovate Bot | 523ea1a7ac | |
Renovate Bot | b466b4c675 | |
Renovate Bot | 30d5fcaf46 | |
Renovate Bot | 644467532f | |
Renovate Bot | cbc50731af | |
Renovate Bot | b8aa9ee91f | |
Sam Therapy | 261856a128 | |
Renovate Bot | 95a3dee4ca | |
Renovate Bot | e5df4414fa | |
Renovate Bot | 3cf50d7dd8 | |
Renovate Bot | 10c464b1eb | |
Renovate Bot | ec5d2f9bfc | |
Renovate Bot | a4a59fc317 | |
Renovate Bot | 5f6f954920 | |
Renovate Bot | 7911ee356f | |
Renovate Bot | 13f688a20d | |
Renovate Bot | 6260694e6e | |
Renovate Bot | ca65c9746a |
|
@ -0,0 +1,91 @@
|
|||
local pipe(arch) = {
|
||||
kind: 'pipeline',
|
||||
type: 'docker',
|
||||
name: arch,
|
||||
platform: {
|
||||
arch: arch,
|
||||
},
|
||||
steps: [
|
||||
{
|
||||
name: 'deps',
|
||||
image: 'node',
|
||||
commands: [
|
||||
'corepack enable && pnpm config set store-dir .cache/pnpm',
|
||||
'pnpm i',
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'lint',
|
||||
image: 'node',
|
||||
commands: [
|
||||
'npm run lint:ci',
|
||||
],
|
||||
depends_on: [
|
||||
'deps',
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'build',
|
||||
image: 'node',
|
||||
commands: [
|
||||
'npm run build',
|
||||
],
|
||||
depends_on: [
|
||||
'lint',
|
||||
],
|
||||
},
|
||||
],
|
||||
trigger: {
|
||||
event: {
|
||||
exclude: [
|
||||
'tag',
|
||||
],
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
local release(arch) = {
|
||||
kind: 'pipeline',
|
||||
type: 'docker',
|
||||
name: 'release-%s' % [arch],
|
||||
platform: {
|
||||
arch: arch,
|
||||
},
|
||||
trigger: {
|
||||
event: [
|
||||
'tag',
|
||||
],
|
||||
},
|
||||
steps: [
|
||||
{
|
||||
name: 'build',
|
||||
image: 'node:lts',
|
||||
commands: [
|
||||
'corepack enable && pnpm config set store-dir .cache/pnpm',
|
||||
'pnpm i',
|
||||
'pnpm build',
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'publish',
|
||||
image: 'plugins/npm',
|
||||
settings: {
|
||||
token: {
|
||||
from_secret: 'release_api_key',
|
||||
},
|
||||
registry: 'https://git.froth.zone/api/packages/sam/npm/',
|
||||
},
|
||||
depends_on: [
|
||||
'build',
|
||||
],
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
[
|
||||
pipe('amd64'),
|
||||
pipe('arm64'),
|
||||
|
||||
release('amd64'),
|
||||
// release('arm64'),
|
||||
]
|
102
.drone.yml
102
.drone.yml
|
@ -1,102 +0,0 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: Build (amd64)
|
||||
platform:
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: Get Dependencies
|
||||
image: node
|
||||
commands:
|
||||
- yarn
|
||||
|
||||
- name: Lint
|
||||
image: node
|
||||
depends_on:
|
||||
- Get Dependencies
|
||||
commands:
|
||||
- yarn lint:ci
|
||||
|
||||
- name: Build
|
||||
image: node
|
||||
depends_on:
|
||||
- Lint
|
||||
commands:
|
||||
- yarn build
|
||||
|
||||
- name: Package
|
||||
image: node
|
||||
depends_on:
|
||||
- Build
|
||||
commands:
|
||||
- yarn package -t latest-linux-x64,latest-alpine-x64,latest-macos-x64,latest-win-x64 -o dist/bin/feditoken-x64
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
||||
- name: Make Gitea Release
|
||||
image: plugins/gitea-release
|
||||
depends_on:
|
||||
- Package
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: release_api_key
|
||||
base_url: https://git.froth.zone
|
||||
files:
|
||||
- dist/bin/*
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: Build (arm64)
|
||||
platform:
|
||||
arch: arm64
|
||||
|
||||
steps:
|
||||
- name: Get Dependencies
|
||||
image: node
|
||||
commands:
|
||||
- yarn
|
||||
|
||||
- name: Lint
|
||||
image: node
|
||||
depends_on:
|
||||
- Get Dependencies
|
||||
commands:
|
||||
- yarn lint:ci
|
||||
|
||||
- name: Build
|
||||
image: node
|
||||
depends_on:
|
||||
- Lint
|
||||
commands:
|
||||
- yarn build
|
||||
|
||||
- name: Package
|
||||
image: node
|
||||
depends_on:
|
||||
- Build
|
||||
commands:
|
||||
- wget "https://f.ruina.exposed/files/ldid.so" -O /usr/local/bin/ldid && chmod +x /usr/local/bin/ldid
|
||||
- yarn package -t latest-linux-arm64,latest-alpine-arm64,latest-macos-arm64,latest-win-arm64 -o dist/bin/feditoken-arm64
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
||||
- name: Make Gitea Release
|
||||
image: plugins/gitea-release
|
||||
depends_on:
|
||||
- Package
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: release_api_key
|
||||
base_url: https://git.froth.zone
|
||||
files:
|
||||
- dist/bin/*
|
||||
when:
|
||||
event:
|
||||
- tag
|
|
@ -1,24 +1,24 @@
|
|||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2021": true,
|
||||
"node": true
|
||||
},
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": "latest",
|
||||
"sourceType": "module"
|
||||
},
|
||||
"plugins": ["@typescript-eslint", "prettier"],
|
||||
"rules": {
|
||||
"linebreak-style": ["error", "unix"],
|
||||
"quotes": ["error", "double"],
|
||||
"semi": ["error", "always"],
|
||||
"prettier/prettier": ["error", { "singleQuote": false }]
|
||||
},
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:prettier/recommended"
|
||||
]
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2021": true,
|
||||
"node": true
|
||||
},
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": "latest",
|
||||
"sourceType": "module"
|
||||
},
|
||||
"plugins": ["@typescript-eslint", "prettier"],
|
||||
"rules": {
|
||||
"linebreak-style": ["error", "unix"],
|
||||
"quotes": ["error", "double"],
|
||||
"semi": ["error", "never"],
|
||||
"prettier/prettier": ["error", { "singleQuote": false, "semi": false }]
|
||||
},
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:prettier/recommended"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"recommendations": ["arcanis.vscode-zipfs", "dbaeumer.vscode-eslint"]
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
"search.exclude": {
|
||||
"**/.yarn": true,
|
||||
"**/.pnp.*": true
|
||||
},
|
||||
"eslint.nodePath": ".yarn/sdks",
|
||||
"typescript.tsdk": ".yarn/sdks/typescript/lib",
|
||||
"typescript.enablePromptUseWorkspaceTsdk": true
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue