Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
592 commits
Select commit Hold shift + click to select a range
237ecd4
feat: Update getFlag() #build
VirgilClyne Jun 22, 2022
ed86a56
Build sub-store.min.js
Jun 22, 2022
f93398b
feat: Added support for display name
ChaoyueLee Jun 22, 2022
4095606
perf: Allow using full configuration as subscription source
Peng-YM Jun 23, 2022
64a453c
fix (proxy-producer): ws-headers keys are lost when producing Surge n…
Peng-YM Jun 23, 2022
a1df2de
perf (UI): Use display name in collections
QuentinHsu Jun 24, 2022
730986f
feat (UI/sub-editor): Add speed dial for quick saving and adding oper…
DesnLee Jun 24, 2022
305ae48
fix (proxy-parser): ws-headers with multiple keys are not correctly h…
Peng-YM Jun 24, 2022
013b217
Fix: fix the issue that speed dial auto-adaptation theme does not wor…
DesnLee Jun 24, 2022
9202437
feat: add preview specific platform feature (#131)
DesnLee Jun 25, 2022
f1c8d85
fix(geo.js): separate ISO Code from Country Name (#133)
Jun 25, 2022
03d4d6e
fix(geo.js): ISO Code at Start/End of String (#137)
Peng-YM Jun 28, 2022
79a8956
docs: Add version number into products
Peng-YM Jun 28, 2022
7e11395
feat (backend): Add backend API to get flow info for subscriptions
Peng-YM Jun 28, 2022
ffc7c07
perf: Improve /utils/env API
Peng-YM Jun 29, 2022
9653b09
fix: Backend crashes when invalid url is used
Peng-YM Jun 29, 2022
bb87a6c
refactor: Download API
Peng-YM Jun 30, 2022
606cfed
feat (backend): Add preview API
Peng-YM Jul 1, 2022
7834fd6
fix: Failed to parse Surge/QX nodes with tls fingerprint
Peng-YM Jul 2, 2022
0f6a3a8
fix (geo.js): adjust the China flag order (#138)
VirgilClyne Jul 4, 2022
297fb1b
Build sub-store.min.js
Jul 4, 2022
fdbcce8
doc: Change LICENSE to AGPLv3
Peng-YM Jul 6, 2022
b115185
chore: Migrate from npm to pnpm for better performance
Peng-YM Jul 5, 2022
84b4dba
refactor: Migrate to API v2
Peng-YM Jul 5, 2022
ce51674
feat: Add sorting API
Peng-YM Jul 5, 2022
9e33160
fix: Process ids are now preserved in migration
Peng-YM Jul 5, 2022
8e2cd5b
fix: Database updateByName not working
Peng-YM Jul 5, 2022
b2a797c
fix: Useless filters are not migrated
Peng-YM Jul 5, 2022
7468089
fix: QuickSettingOperator does not respect default settings
Peng-YM Jul 5, 2022
0e089ef
feat: Fetch avatar from GitHub automatically
Peng-YM Jul 5, 2022
00c28c6
refactor: Standardize error handling for RESTful APIs
Peng-YM Jul 5, 2022
41f84dd
chore: nodemon now ignore the changes of sub-store.json
Peng-YM Jul 5, 2022
310d797
fix: Perform migration after restoring data from gist
Peng-YM Jul 5, 2022
a28c001
fix: Useless filter bug
Peng-YM Jul 5, 2022
bc58419
feat: Added Conditional Filter
Peng-YM Jul 6, 2022
ffd219a
refactor: Add new frontend as submodule
Peng-YM Jul 6, 2022
acd0a62
fix: Set default subscription source to remote when migrating data
Peng-YM Jul 6, 2022
a420c12
refactor: Refactor the arguments of the Flag Operator
Peng-YM Jul 6, 2022
240156d
refactor: Revise sync artifacts APIs
Peng-YM Jul 7, 2022
07cae95
feat: Add artifactStore URL in settings
Peng-YM Jul 7, 2022
2ee515d
fix: Full config preprocessor bug
Peng-YM Jul 7, 2022
b1d811e
fix: Sync time is updated even if upload failed
Peng-YM Jul 8, 2022
8aed066
fix: Restrict artifact name in order to fix a Gist API bug
Peng-YM Jul 8, 2022
d7b97f4
fix: Error codes are not shown in the response
Peng-YM Jul 8, 2022
2aa3cbd
fix: Backend crash when operator argument is undefined
Peng-YM Jul 8, 2022
49c8f2e
perf: Modify revert.js to completely clear sub-store cache
Peng-YM Jul 11, 2022
848491c
feat: Add support for targetPlatform ShadowRocket
Peng-YM Jul 11, 2022
6881148
perf: Use cache for all remote resources
Peng-YM Jul 11, 2022
2c4e471
feat (restful): Add /api/utils/refresh
Peng-YM Jul 11, 2022
b143476
fix (core): Clash Vmess servername does parse correctly
Peng-YM Jul 11, 2022
de892aa
fix: Vmess auto/none cipher parsed incorrectly
Peng-YM Jul 11, 2022
8c844eb
chore: Use pnpm in GitHub action
Peng-YM Jul 11, 2022
f7d4b66
feat (restful): Add /api/utils/node-info for querying proxy node info
Peng-YM Jul 12, 2022
f7333c0
perf: Include cron script for syncing artifacts in configurations
Peng-YM Jul 12, 2022
3d58534
fix (restful): Intercept IP-API query failed message when querying no…
Peng-YM Jul 12, 2022
813f2b8
perf: Add switch for cron-sync-artifacts
Peng-YM Jul 12, 2022
4cd5258
fix (restful): Add query field in IP-API
Peng-YM Jul 12, 2022
1bfa6eb
fix (core): trojan sni is lost when parsing Clash nodes
Peng-YM Jul 13, 2022
03149dc
Release
Jul 13, 2022
9677c7e
fix (product): cron-sync-artifacts not working
Peng-YM Jul 13, 2022
9fba350
chore: Update GitHub action to automatically release new version
Peng-YM Jul 13, 2022
a949c49
perf: Use the latest release scripts in configs
Peng-YM Jul 13, 2022
4121ec2
chore (gh-action): Trigger workflow run only if package.json have bee…
Peng-YM Jul 13, 2022
5244de4
fix (config): Sub-Store url is incorrect in Surge.sgmodule
Peng-YM Jul 13, 2022
8f5d027
fix (cron-sync-artifact): sync timeout due to missing await
Peng-YM Jul 19, 2022
77604a3
perf (core): DomainResolveProcessor now cache results
Peng-YM Jul 19, 2022
f64e8ec
fix: Loon shadowsocksr obfs-param incorrect
Peng-YM Aug 2, 2022
26820ea
fix: proxy duplicate issue
Peng-YM Aug 4, 2022
6ea3575
fix: Rename subscription and collection will break artifacts
Peng-YM Aug 9, 2022
4dcb9ae
feat: Include cron-sync-artifact in Stash configuration
Peng-YM Aug 9, 2022
e933320
fix: Occasional crashed when performing migration
Peng-YM Aug 9, 2022
c073870
perf: Add support for sending http requests using specific nodes
Peng-YM Aug 10, 2022
6484edb
feat: Add ip-flag script
Peng-YM Aug 11, 2022
0a31f5d
fix: ip-flag does not work on Loon
Peng-YM Aug 11, 2022
1bd2f5f
fix: xchacha20-ietf-poly1305 cipher is now supported
Peng-YM Aug 13, 2022
0072739
refactor (core): Reworked Trojan URI parser to support IPV6 nodes
Peng-YM Aug 13, 2022
c60aec6
fix (core): Proxy port smaller that 80 is now allowed
Peng-YM Sep 9, 2022
eb32a09
fix (core): Fix QX vmess-http producer
Peng-YM Sep 9, 2022
5845ea1
fix (ip-flag.js): Use batch processing to reduce memory footprint
Peng-YM Sep 9, 2022
1c29771
build: Build minimized JavaScripts files
Peng-YM Sep 9, 2022
6ee6a9b
build: Split sub-store.min.js for better performance on iOS devices
Peng-YM Sep 9, 2022
94fbe53
build: Update GitHub action
Peng-YM Sep 9, 2022
3de8a1d
build: Bump version
Peng-YM Sep 9, 2022
cca5c18
build: Update config files
Peng-YM Sep 9, 2022
0299000
fix: cron-sync-artifacts.js path
Peng-YM Sep 10, 2022
06d0c14
fix: sync artifacts issue (#164)
Jasonzj Sep 11, 2022
5de35c7
🐞 fix(subscriptions): negative usage flow (#175)
QuentinHsu Oct 24, 2022
999271f
Improve resource cache key. (#190)
NobyDa Feb 8, 2023
39b79b6
feat: Added support for producing Surge nodes with test-url (#199)
xream Mar 19, 2023
f6ca9af
fix: tasks cache in Node.js environment (#209)
xream May 9, 2023
21726bf
script-Cache
Keywos Jul 22, 2023
e4b54b4
Merge pull request #216 from Keywos/script-Cache
xream Jul 22, 2023
e18c215
[+] version
Keywos Jul 22, 2023
b3ccd57
Merge branch 'sub-store-org:master' into script-Cache
Keywos Jul 22, 2023
6e9c3ea
Merge pull request #217 from Keywos/script-Cache
xream Jul 22, 2023
5d6bd14
build(deps-dev): bump axios from 0.20.0 to 0.21.2 in /backend
dependabot[bot] Jul 22, 2023
de15bbf
using Node.js v16
xream Jul 22, 2023
b9ce4e8
Merge pull request #218 from sub-store-org/dependabot/npm_and_yarn/ba…
xream Jul 22, 2023
0bd0040
[-] log
Keywos Jul 22, 2023
390e454
Merge branch 'script-Cache' of https://github.com/Keywos/Sub-Store in…
Keywos Jul 22, 2023
d963be8
[!] Surge
Keywos Jul 23, 2023
38f1728
fix: Full Config Preprocessor
xream Jul 23, 2023
e862235
Merge pull request #220 from xream/fix/FullConfig
xream Jul 23, 2023
7d2ea10
Merge pull request #219 from Keywos/script-Cache
xream Jul 23, 2023
6427f99
Update Surge.sgmodule
xream Jul 24, 2023
20d958d
Update Surge.sgmodule
Keywos Jul 25, 2023
edee10c
Update Surge.sgmodule
xream Jul 26, 2023
8e49a78
feat: V2Ray Producer
xream Jul 26, 2023
26d47b0
Merge pull request #223 from xream/feature/V2Ray
xream Jul 26, 2023
fc90e22
Added Surge-Noability.sgmodule
xream Jul 28, 2023
6eea8bb
Merge branch 'sub-store-org:master' into master
Keywos Jul 31, 2023
f7c08e3
fixed deleted gist
Keywos Jul 31, 2023
ff71f12
version 2.14.3
Keywos Jul 31, 2023
36d4600
Fixed: empty uploading files
xream Jul 31, 2023
431b1a3
Merge pull request #226 from Keywos/master
xream Jul 31, 2023
fcab840
feat: Added support for producing snell nodes with reuse and optional…
xream Jul 31, 2023
e99f13d
Merge pull request #227 from xream/feature/snell
xream Jul 31, 2023
47a95e5
feat: Added support for tuic and some compatibility adjustments
xream Aug 13, 2023
b770578
Merge pull request #228 from xream/feature/tuic
xream Aug 13, 2023
537a00e
Adjust the logic for determining the tuic version
xream Aug 13, 2023
cb21a8e
Merge pull request #229 from xream/feature/tuic
xream Aug 13, 2023
d229047
Fixed: unsupported cipher for Clash/Stash
xream Aug 14, 2023
5cb226d
feat: Added support for SS URI in other formats
xream Aug 14, 2023
c5746f6
Fixed: fast-open tfo
xream Aug 15, 2023
0483442
feat: Added replaceSubscriptions, replaceCollection API
xream Aug 15, 2023
bc9fae6
feat: Added support for SNI & allowInsecure of Trojan URI
xream Aug 15, 2023
090d8a9
feat: Added support for scy of VMESS URI
xream Aug 15, 2023
4a0319e
fix: flexible cipher for Loon
xream Aug 15, 2023
4dd86cb
feat: Added replaceArtifact API
xream Aug 18, 2023
c5b6960
Update geo.js (#231)
walkxspace Aug 19, 2023
20afa0a
Surge 默认模块不带 ability 参数; 分离出固定带参和不带参的模块
xream Aug 20, 2023
9e54507
fix: double quotes in Surge vmess ws-headers Host
xream Aug 21, 2023
99b19c4
fix: vmess/vless http-opts.path/http-opts.headers.Host must be an arr…
xream Aug 21, 2023
f8ed6a3
fix: QX tls
xream Aug 21, 2023
9676959
fix: QX tls
xream Aug 21, 2023
9ac1112
fix: VMess URI alterId parseInt
xream Aug 22, 2023
feb207b
fix: servername/sni priority over wss host
xream Aug 22, 2023
497bc26
fix: servername/sni priority over wss host
xream Aug 22, 2023
0734a3d
Fix typo in README.md
eltociear Aug 23, 2023
1f50575
fix: trojan uri and tls
xream Aug 24, 2023
46738d5
fix: trojan network tcp
xream Aug 24, 2023
9b0c15e
fix: 兼容 value 为空的 Trojan URI
xream Aug 24, 2023
afb9296
feat: Added support for VMess URI in other formats and VMess without …
xream Aug 24, 2023
0320a77
feat: producers adjustments, VMess URI formats
xream Aug 24, 2023
9cbbd0e
Merge pull request #233 from eltociear/master-1
xream Aug 24, 2023
4c6ba2c
feat: hysteria
xream Aug 25, 2023
4973454
feat: wireguard
xream Aug 25, 2023
8c5dca7
feat: Loon WireGuard
xream Aug 25, 2023
5e14d05
feat: 组合订阅错误信息将包含出现错误的子订阅名称; 获取流量失败时, 不影响节点订阅; 订阅上游无有效节点时将报错
xream Aug 26, 2023
8bfa4db
feat: VLESS URI
xream Aug 26, 2023
49c7107
fix: transport headers may have no Host
xream Aug 27, 2023
7b8f6f7
feat: 域名解析新增 Tencent, Ali; 脚本下载失败, 脚本操作失败, 脚本过滤失败时都会报错了
xream Aug 27, 2023
4bebcff
feat: 非 tls, 有 ws/http 传输层, 使用域名的节点, 将设置传输层 Host 防止之后域名解析后丢失域名
xream Aug 27, 2023
af8e965
feat: new target platform "Clash.Meta"
xream Aug 28, 2023
f02af9d
fix: vless servername
xream Aug 28, 2023
bd510a9
fix: sync
xream Aug 28, 2023
f94a12b
feat: bundle
xream Aug 28, 2023
347b19e
remove: deprecated artifact
Peng-YM Aug 28, 2023
be1e2c9
chore: removed tracking dist files from git
Peng-YM Aug 28, 2023
4f2c95f
chore: remove unnecessary files
Peng-YM Aug 28, 2023
f5aea14
fix: 非 tls, 有 ws/http 传输层, 使用域名的节点, 将设置传输层 Host 防止之后域名解析后丢失域名(不覆盖现有的 …
xream Aug 28, 2023
ad6d1ab
fix: build dist
xream Aug 28, 2023
5ae6687
chore: changelog
xream Aug 28, 2023
0141e48
feat: 增加还原备份完成的日志输出
xream Aug 28, 2023
2619330
fix: 仅在 VMess/VLESS 且传输层为 http 时设置 Host 为数组
xream Aug 28, 2023
ba78982
feat: 统一将 VMess 和 VLESS 的 http 传输层的 path 和 Host 处理为数组
xream Aug 28, 2023
41d24b1
feat: 根据 UA 识别 macOS 版 Surge(也可指定参数 target=SurgeMac) 并支持 SSR 协议(节点字段…
xream Aug 28, 2023
25ec219
docs: 更新 Surge SSR 协议说明; 模块说明页增加更新说明的链接
xream Aug 28, 2023
336ddd6
chore: 调整部分日志
xream Aug 29, 2023
b29266a
chore: sync to GitLab
xream Aug 30, 2023
5b0e2e1
docs: config
xream Aug 30, 2023
a65cd1f
Update README.md
Peng-YM Aug 31, 2023
f1e1d50
fix: 暂时将后端上传限制放宽到 1mb
xream Aug 31, 2023
07a2709
feat: 支持 Surge WireGuard 的输入和输出(由于 Surge 配置的特殊性, 仅支持 同进同出) 支持的字段格式: `…
xream Aug 31, 2023
77191f9
feat: 为 Gist 备份还原增加基础校验逻辑
xream Sep 4, 2023
ea31b1d
fix: 排序接口修正为使用 name 排序
xream Sep 4, 2023
28186f5
feat: added the ability to change the base path for the data files
Peng-YM Sep 4, 2023
07b38cf
release: backend version 2.14.49
Peng-YM Sep 4, 2023
59bca56
fix: 预览时脚本下载报错导致的崩溃
xream Sep 7, 2023
939022e
fix: 修复了 Clash.Meta 输出 VLESS 时 内部字段 sni 未作用到 servername 的问题
xream Sep 9, 2023
2c89a0d
feat: 支持 Clash VLESS 输出(与 Clash.Meta 的区别为: 无 XTLS
xream Sep 10, 2023
33a17c2
feat: 实验性支持本地脚本复用
xream Sep 13, 2023
3211fbf
feat: 模块接口; 脚本参数支持 JSON 和 URL编码
xream Sep 14, 2023
b2d0276
feat: 文件和模块接口获取原始内容; 文件列表不返回原始内容
xream Sep 14, 2023
1d31a80
fix: 修复文件和模块命名/重复添加的逻辑
xream Sep 15, 2023
024582a
fix: 修复 sub-store-0 路由
xream Sep 15, 2023
9acc161
fix @
Keywos Sep 15, 2023
7603fac
fix: 修复部分环境无 clearTimeout 的问题
xream Sep 18, 2023
bc0dd4b
feat: 支持 hysteria2
xream Sep 22, 2023
9e3e4c6
[+] Surge 输出支持 underlying-proxy; VMess/Vless URI 支持 gRPC mode(默认为 gun)
xream Oct 1, 2023
3fbc280
[+] 重复节点通知中增加订阅名称和重复节点名称
xream Oct 2, 2023
d3c6c99
feat: proxy 增加 subName(订阅名), collectionName(组合订阅名); 脚本增加第三个参数 env(包含订…
xream Oct 8, 2023
b061fca
feat: Surge Snell 输入支持解析 reuse 字段
xream Oct 8, 2023
40fb0fd
feat: 兼容更多 VMess URI 格式
xream Oct 9, 2023
e7c0b23
feat: Surge 输入输出增加 Hysteria2
xream Oct 9, 2023
bf81ca4
feat: 输入增加 Hysteria2 URI 支持; Surge Hysteria2 输出增加 fingerprint
xream Oct 11, 2023
4e5b46a
feat: Surge Hysteria2 输出增加 download-bandwidth(若有值但解析失败则为 0)
xream Oct 11, 2023
21b531a
feat: Surge TUIC 输入/输出增加 ecn 参数
xream Oct 12, 2023
fca508b
feat: Surge Hysteria2 输入/输出增加 ecn 参数
xream Oct 12, 2023
79c9b89
feat: Stash Hysteria2
xream Oct 15, 2023
fa65eb1
feat: Base64 订阅关键词增加 VLESS 和 Hysteria2
xream Oct 16, 2023
c21ce0b
fix: Surge Hysteria2 输出重复添加 tfo 的 bug
xream Oct 17, 2023
fab3644
feat: 支持 Shadowrocket Hysteria2 URI 格式输入
xream Oct 18, 2023
adc95bb
feat: Surge 全协议支持 Shadow TLS, 部分协议增加 TLS Fingerprint 支持
xream Oct 23, 2023
6a66475
feat: Surge 支持 block-quic 参数
xream Oct 24, 2023
6216217
feat: add qx sync task
YES-Lee Oct 25, 2023
14648d6
feat: 订阅链接支持参数(例: https://foo.com#noCache 关闭缓存)
xream Oct 26, 2023
a4ff323
fix: 简单限制一下订阅/组合订阅的名称(不可包含 "/" )
xream Oct 29, 2023
c547f34
feat: 支持 Loon Hysteria2(ecn, 流量控制参数未知)
xream Oct 29, 2023
df366cf
doc: pnpm
xream Oct 29, 2023
a91f9d7
feat: 兼容另一种 username password 格式
xream Oct 31, 2023
6d51774
feat: 为脚本操作增加流量信息操作 flowUtils
xream Nov 7, 2023
955c74a
feat: 兼容某些机场订阅 hysteria 节点中的 auth_str 字段(将会在未来某个时候删除 但是有的机场不规范)
xream Nov 7, 2023
69fab11
feat: 兼容传输层 headers 中小写的 host 字段
xream Nov 8, 2023
c8b197c
feat: 支持 QX server_check_url 和 Stash benchmark-url 字段
xream Nov 13, 2023
ea88cc1
feat: 支持 QX tls-pubkey-sha256 tls-alpn tls-no-session-ticket tls-no-s…
xream Nov 13, 2023
9c78b87
feat: 兼容某些格式的 Trojan URI(首个 # 之后的字符串均视为节点名称)
xream Nov 13, 2023
3e5f3ea
feat: 脚本操作 ProxyUtils 增加了 isIPv4, isIPv6, isIP 方法
xream Nov 13, 2023
3e30a35
feat: 脚本操作支持节点快捷脚本. 语法与 Shadowrocket 脚本类似
xream Nov 14, 2023
f3de132
feat: 脚本链接的末尾加上 #noCache 关闭缓存
xream Nov 14, 2023
5392551
feat: Sub-Store 生成的订阅地址支持传入 订阅链接/User-Agent/节点内容 可以复用此订阅的其他设置
xream Nov 14, 2023
1ae1ec4
feat: 补全 Surge 全协议的 no-error-alert 和 ip-version 字段
xream Nov 15, 2023
ff8573c
fix: 修复 app 版参数
xream Nov 16, 2023
89e8a99
Merge pull request #250 from YES-Lee/patch-1
xream Nov 19, 2023
905a50c
fix: Hysteria/Hysteria2 输出到 Stash 时 down-speed 和 up-speed 字段截取数字部分
xream Nov 20, 2023
1e3b4a1
feat: 增加了节点字段 1. no-resolve, 可用于跳过域名解析 2. resolved 用来标记域名解析是否成功
xream Nov 21, 2023
5f1415d
feat: 后端支持自定义 `host` 和 `port`. 环境变量 `SUB_STORE_BACKEND_API_HOST` 默认 `…
xream Nov 24, 2023
1fc5b76
feat: 支持设置默认 User-Agent
xream Nov 24, 2023
5a64508
fix: SS URI 端口取整数部分
xream Nov 28, 2023
3054d5c
feat: 远程订阅支持换行符连接的多个订阅链接(前端版本 > `2.14.13` 可输入)
xream Nov 28, 2023
c541b83
feat: 支持按顺序合并本地和远程订阅(前端版本 > `2.14.14` 可输入)
xream Nov 28, 2023
53dd1fd
feat: 支持不规范的 Loon ss+simple obfs 协议格式
xream Nov 30, 2023
bf9210f
fix: 修复多行订阅流量(仅传递首个订阅的流量信息)
xream Dec 1, 2023
c2499f6
fix: 修复 Base64 内容的判断
xream Dec 2, 2023
000e90d
feat: 手动下载备份文件和使用备份上传恢复(前端版本 > `2.14.15`)
xream Dec 4, 2023
75f802f
fix: 默认 User-Agent 改为 clash.meta 后, 调整订阅预处理器的逻辑, 减少 Base64 误判
xream Dec 5, 2023
6d11ea0
feat: `ProxyUtils.produce` 增加第二个参数 `type`, 暂时仅支持目标为 `ClashMeta` 时 `in…
xream Dec 5, 2023
0e82a76
feat: Hysteria2 URI
Ariesly Dec 7, 2023
f5ef601
Merge pull request #260 from Ariesly/master
xream Dec 7, 2023
b7b734f
release: backend version 2.14.113
xream Dec 7, 2023
fe937d6
fix(hysteria2): Change to TLS Fingerprint
Ariesly Dec 8, 2023
e7dfa1c
chore(hysteria2): Uri support with tfo
Ariesly Dec 8, 2023
0d8fa91
fix(hysteria2): For shadowrocket obfs
Ariesly Dec 8, 2023
17504ab
Merge pull request #261 from Ariesly/master
xream Dec 8, 2023
8918479
release: backend version 2.14.114
xream Dec 8, 2023
69726cd
fix: 处理 IPv6 地址 URI
xream Dec 8, 2023
d636e1b
fix: 处理预览时子订阅出错的情况
xream Dec 8, 2023
d0cba28
fix: 处理 Hysteria2 URI 中的密码部分
xream Dec 8, 2023
7aaa03d
chore: workflow
xream Dec 10, 2023
79cd7bb
chore(deps-dev): bump axios from 0.21.2 to 1.6.0 in /backend
dependabot[bot] Dec 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: build
on:
push:
branches:
- master
paths:
- "backend/package.json"
pull_request:
branches:
- master
paths:
- "backend/package.json"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: "master"
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "16"
- name: Install dependencies
run: |
npm install -g pnpm
cd backend && pnpm i
- name: Test
run: |
cd backend
pnpm test
- name: Build
run: |
cd backend
pnpm run build
- name: Bundle
run: |
cd backend
pnpm i -D estrella
pnpm run bundle
- id: tag
name: Generate release tag
run: |
cd backend
SUBSTORE_RELEASE=`node --eval="process.stdout.write(require('./package.json').version)"`
echo "release_tag=$SUBSTORE_RELEASE" >> $GITHUB_OUTPUT
- name: Release
uses: softprops/action-gh-release@v1
if: ${{ success() }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.tag.outputs.release_tag }}
generate_release_notes: true
files: |
./backend/sub-store.min.js
./backend/dist/sub-store-0.min.js
./backend/dist/sub-store-1.min.js
./backend/dist/sub-store-parser.loon.min.js
./backend/dist/cron-sync-artifacts.min.js
./backend/dist/sub-store.bundle.js
- name: Sync to GitLab
env:
GITLAB_PIPELINE_TOKEN: ${{ secrets.GITLAB_PIPELINE_TOKEN }}
run: |
curl -X POST --fail -F token=$GITLAB_PIPELINE_TOKEN -F ref=master https://gitlab.com/api/v4/projects/48891296/trigger/pipeline
21 changes: 19 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
# json config
sub-store.json
root.json
Expand Down Expand Up @@ -86,7 +87,7 @@ out

# Nuxt.js build / generate output
.nuxt
dist
# dist

# Gatsby files
.cache/
Expand Down Expand Up @@ -117,4 +118,20 @@ dist
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
.pnp.*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# Dist files
backend/dist/*
!backend/dist/.gitkeep
backend/sub-store.min.js

CHANGELOG.md
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "web"]
path = web
url = https://github.com/sub-store-org/Sub-Store-Front-End.git
5 changes: 0 additions & 5 deletions .idea/.gitignore

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/MagicStore.iml

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/dictionaries/pengym.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/inspectionProfiles/Project_Default.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

Loading