Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(repo): Publish prep #74

Merged
merged 4 commits into from
Mar 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: corks
name: corks_cedar
on:
pull_request:
paths:
- ".github/workflows/corks.yaml"
- "packages/corks/**"
- ".github/workflows/corks_cedar.yaml"
- "packages/corks_cedar/**"

# Prevent duplicate runs due to Graphite
# https://graphite.dev/docs/troubleshooting#why-are-my-actions-running-twice
Expand Down Expand Up @@ -34,8 +34,8 @@ jobs:
- name: Setup Rust
run: rustup update stable && rustup default stable
- name: Get Packages
working-directory: packages/corks
working-directory: packages/corks_cedar
run: dart pub get
- name: Test
working-directory: packages/corks
working-directory: packages/corks_cedar
run: dart --enable-experiment=native-assets test --fail-fast
3 changes: 0 additions & 3 deletions packages/cedar_ffi/pubspec_overrides.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions packages/celest_auth/example/celest/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ dependency_overrides:
path: ../../
celest_core:
path: ../../../celest_core
corks:
path: ../../../corks
corks_cedar:
path: ../../../corks_cedar
4 changes: 2 additions & 2 deletions packages/celest_auth/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ dependency_overrides:
path: ../
celest_core:
path: ../../celest_core
corks:
path: ../../corks
corks_cedar:
path: ../../corks_cedar

dev_dependencies:
flutter_test:
Expand Down
2 changes: 1 addition & 1 deletion packages/celest_auth/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
cedar: ^0.1.0
celest_core: ^0.2.0
chunked_stream: ^1.4.2
corks: ^0.1.0
corks_cedar: ^0.1.0
ffi: ^2.1.2
http: ^1.2.1
logging: ^1.2.0
Expand Down
4 changes: 2 additions & 2 deletions packages/celest_auth/pubspec_overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ dependency_overrides:
path: ../cedar
celest_core:
path: ../celest_core
corks:
path: ../corks
corks_cedar:
path: ../corks_cedar
3 changes: 0 additions & 3 deletions packages/corks/pubspec_overrides.yaml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import 'dart:math';
import 'dart:typed_data';

import 'package:cedar/cedar.dart' as cedar;
import 'package:corks/corks_proto.dart' as proto;
import 'package:corks/src/interop/proto_interop.dart';
import 'package:corks/src/proto/google/protobuf/any.pb.dart' as proto;
import 'package:corks/src/signer.dart';
import 'package:corks_cedar/corks_proto.dart' as proto;
import 'package:corks_cedar/src/interop/proto_interop.dart';
import 'package:corks_cedar/src/proto/google/protobuf/any.pb.dart' as proto;
import 'package:corks_cedar/src/signer.dart';
import 'package:crypto/crypto.dart';
import 'package:meta/meta.dart';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ library;
import 'dart:typed_data';

import 'package:cedar/cedar.dart' as cedar;
import 'package:corks/src/proto/cedar/v3/entity.pb.dart';
import 'package:corks/src/proto/cedar/v3/entity_id.pb.dart';
import 'package:corks/src/proto/cedar/v3/expr.pb.dart';
import 'package:corks/src/proto/cedar/v3/policy.pb.dart';
import 'package:corks/src/proto/cedar/v3/value.pb.dart';
import 'package:corks_cedar/src/proto/cedar/v3/entity.pb.dart';
import 'package:corks_cedar/src/proto/cedar/v3/entity_id.pb.dart';
import 'package:corks_cedar/src/proto/cedar/v3/expr.pb.dart';
import 'package:corks_cedar/src/proto/cedar/v3/policy.pb.dart';
import 'package:corks_cedar/src/proto/cedar/v3/value.pb.dart';
import 'package:fixnum/fixnum.dart';
import 'package:meta/meta.dart';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import 'dart:async';
import 'dart:convert';
import 'dart:typed_data';

import 'package:corks/corks_proto.dart' as proto;
import 'package:corks/src/interop/to_proto.dart';
import 'package:corks_cedar/corks_proto.dart' as proto;
import 'package:corks_cedar/src/interop/to_proto.dart';
import 'package:crypto/crypto.dart';
import 'package:meta/meta.dart';

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: corks
name: corks_cedar
description: An embedded authorization token format, based off Google's macaroons.
version: 0.1.0
repository: https://github.com/celest-dev/celest/tree/main/packages/corks_cedar

environment:
sdk: ^3.3.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'dart:math';
import 'dart:typed_data';

import 'package:cedar/cedar.dart';
import 'package:corks/corks.dart';
import 'package:corks_cedar/corks_cedar.dart';
import 'package:test/test.dart';

final random = Random.secure();
Expand Down