Skip to content

Commit

Permalink
redesign for v2
Browse files Browse the repository at this point in the history
  • Loading branch information
necessarylion committed Nov 26, 2023
1 parent f3260c3 commit beb67c7
Show file tree
Hide file tree
Showing 333 changed files with 10,206 additions and 621 deletions.
1 change: 0 additions & 1 deletion .env

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/coverage.yaml

This file was deleted.

46 changes: 32 additions & 14 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,39 @@
name: Publish
name: Release

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
branches:
- main

concurrency:
group: "publish"
cancel-in-progress: true

jobs:
Publish:
permissions:
id-token: write
publish:
if: |
startsWith(github.event.head_commit.message, 'release')
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1

- run: dart pub get
- run: dart test --concurrency=1
- run: dart analyze
- run: dart pub publish --force
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
with:
sdk: stable
- name: Set dart credentials
run: |
mkdir "$XDG_CONFIG_HOME/dart"
echo '${{ secrets.PUB_CREDENTIALS }}' > "$XDG_CONFIG_HOME/dart/pub-credentials.json"
- name: Prepare git
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: Activate melos
run: dart pub global activate melos
- name: Publish package
run: melos publish --no-dry-run --git-tag-version --yes
- name: Create tags
uses: CasperWA/push-protected@v2
with:
token: ${{ secrets.PUSH_TO_PROTECTED_BRANCH }}
tags: true
branch: main
16 changes: 0 additions & 16 deletions .github/workflows/test.yaml

This file was deleted.

11 changes: 5 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
# Created by `dart pub`
.dart_tool/
.DS_Store

# Avoid committing pubspec.lock for library packages; see
# https://dart.dev/guides/libraries/private-files#pubspeclock.
pubspec.lock
coverage
/storage
.env
bin/server
.docker
packages/dox-app/storage
pubspec_overrides.yaml
1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/runConfigurations/melos_bootstrap.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/runConfigurations/melos_clean.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2023
Copyright 2022

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
67 changes: 0 additions & 67 deletions example/cache/redis_driver.dart

This file was deleted.

34 changes: 0 additions & 34 deletions example/config/redis.dart

This file was deleted.

26 changes: 0 additions & 26 deletions example/example.dart

This file was deleted.

12 changes: 0 additions & 12 deletions lib/exception/http_exception.dart

This file was deleted.

45 changes: 0 additions & 45 deletions lib/interfaces/auth.dart

This file was deleted.

35 changes: 0 additions & 35 deletions lib/isolate/isolate_handler.dart

This file was deleted.

Loading

0 comments on commit beb67c7

Please sign in to comment.