Skip to content

Commit 550ba2a

Browse files
authored
chore(cli): Prepare for publishing (#248)
The CLI was previously published by building an AOT executable and bundling with platform-dependent methods. This was nice for improving performance but suffers from requiring a lot of infrastructure and having a non-zero cost. With the open-sourcing of the CLI, we'll publish to pub.dev, sacrificing some performance but making installation a single `dart pub global activate` command. - Removes old release code - Updates `pubspec.yaml` to support publishing to pub.dev
1 parent 41a966b commit 550ba2a

File tree

77 files changed

+131
-2888
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+131
-2888
lines changed

.github/workflows/celest_cli.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
# TODO: Need to fix tests on Windows
2828
# - windows-latest
2929
runs-on: ${{ matrix.os }}
30-
timeout-minutes: 15
30+
timeout-minutes: 20
3131
steps:
3232
- name: Git Checkout
3333
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
@@ -49,6 +49,10 @@ jobs:
4949
- name: Setup Libsecret
5050
if: runner.os == 'Linux'
5151
run: tool/setup-ci.sh
52+
- name: Setup Melos
53+
run: dart pub global activate melos
54+
- name: Get Packages
55+
run: melos bootstrap
5256
- name: Get Packages
5357
working-directory: apps/cli
5458
run: dart pub upgrade

apps/cli/.pubignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fixtures/

apps/cli/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
## 0.1.0
1+
## 1.0.7
22

3-
- Initial version.
3+
- Initial open-source release.

apps/cli/LICENSE

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
Copyright (c) Dillon Nys
2+
3+
Redistribution and use in source and binary forms, with or without modification,
4+
are permitted provided that the following conditions are met:
5+
6+
1. Redistributions of source code must retain the above copyright notice, this
7+
list of conditions and the following disclaimer.
8+
9+
2. Redistributions in binary form must reproduce the above copyright notice,
10+
this list of conditions and the following disclaimer in the documentation and/or
11+
other materials provided with the distribution.
12+
13+
Subject to the terms and conditions of this license, each copyright holder and
14+
contributor hereby grants to those receiving rights under this license a
15+
perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
16+
(except for failure to satisfy the conditions of this license) patent license to
17+
make, have made, use, offer to sell, sell, import, and otherwise transfer this
18+
software, where such license applies only to those patent claims, already
19+
acquired or hereafter acquired, licensable by such copyright holder or
20+
contributor that are necessarily infringed by:
21+
22+
(a) their Contribution(s) (the licensed copyrights of copyright holders and
23+
non-copyrightable additions of contributors, in source or binary form) alone; or
24+
25+
(b) combination of their Contribution(s) with the work of authorship to which
26+
such Contribution(s) was added by such copyright holder or contributor, if, at
27+
the time the Contribution is added, such addition causes such combination to be
28+
necessarily infringed. The patent license shall not apply to any other
29+
combinations which include the Contribution.
30+
31+
Except as expressly stated above, no rights or licenses from any copyright
32+
holder or contributor is granted under this license, whether expressly, by
33+
implication, estoppel or otherwise.
34+
35+
DISCLAIMER
36+
37+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND
38+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
39+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
40+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE
41+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
42+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
43+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
44+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
45+
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
46+
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

apps/cli/fixtures/apps/firebase/celest/goldens/ast.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/cli/fixtures/apps/firebase/celest/goldens/ast.resolved.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/cli/fixtures/apps/supabase/celest/goldens/ast.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/cli/fixtures/standalone/api/goldens/ast.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/cli/fixtures/standalone/api/goldens/ast.resolved.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/cli/fixtures/standalone/api/goldens/celest.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)