Skip to content

Commit

Permalink
chore: Rename corks to corks_cedar
Browse files Browse the repository at this point in the history
Pub complains that the name corks is too similar to a package called cork, so I can't publish package:corks
  • Loading branch information
dnys1 committed Mar 9, 2024
1 parent a8a5ea0 commit 27abc25
Show file tree
Hide file tree
Showing 86 changed files with 26 additions and 26 deletions.
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
@@ -1,7 +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
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

0 comments on commit 27abc25

Please sign in to comment.