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

Rename forked packages for publishing on pub #8

Merged
merged 4 commits into from
Jun 17, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
37 changes: 30 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,36 @@
See https://github.com/angulardart for current updates on this project.
## Forked and renamed by AndgularDart Community packages

See https://github.com/angulardart-community for current updates on this project.

## Packages

[ngdart](https://github.com/angulardart-community/angular/tree/master/angular)
[ngforms](https://github.com/angulardart-community/angular/tree/master/angular_forms)
[ngrouter](https://github.com/angulardart-community/angular/tree/master/angular_router)
[ngtest](https://github.com/angulardart-community/angular/tree/master/angular_test)
[ngcomponents](https://github.com/angulardart-community/angular_components)
[ngast](https://github.com/angulardart-community/angular/tree/master/angular_ast)
[ngcompiler](https://github.com/angulardart-community/angular/tree/master/angular_compiler)
[ngdart_cli](https://github.com/angulardart-community/ngdart)


## Resources

AngularDart Community web-site [https://angulardart.xyz](https://angulardart.xyz).

Source code Git repositories [https://github.com/angulardart-community](https://github.com/angulardart-community)

Join the [Gitter chat room]: https://gitter.im/angulardart/community to ask questions.






## The original Packages (in the restricted maintenance mode)

See https://github.com/angulardart for current updates on this project.

| Source code | Published Version |
|------------------------------|:------------------------------------------------------------------------------------------------------------------:|
| [angular] | [![Pub Package](https://img.shields.io/pub/v/angular.svg)](https://pub.dev/packages/angular) |
Expand All @@ -24,9 +53,3 @@ Included for completeness._
[angular_forms]: https://github.com/angulardart/angular/tree/master/angular_forms
[angular_router]: https://github.com/angulardart/angular/tree/master/angular_router
[angular_test]: https://github.com/angulardart/angular/tree/master/angular_test

## Resources

Join the [Gitter chat room] to ask questions.

[Gitter chat room]: https://gitter.im/angulardart/community
8 changes: 4 additions & 4 deletions _tests/lib/compiler.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import 'package:build_test/build_test.dart' hide testBuilder;
import 'package:glob/glob.dart';
import 'package:logging/logging.dart';
import 'package:test/test.dart';
import 'package:angular/src/build.dart';
import 'package:angular_compiler/v2/context.dart';
import 'package:ngdart/src/build.dart';
import 'package:ngcompiler/v2/context.dart';

/// A 'test' build process (similar to the normal one).
final Builder _testAngularBuilder = MultiplexingBuilder([
Expand Down Expand Up @@ -47,7 +47,7 @@ final Future<PackageAssetReader> _packageAssets = (() async {
// **NOTE**: Be very careful changing this, there are hard-coded transformation
// rules as part of open sourcing process to make sure this works both
// externally and internally.
const ngPackage = 'angular';
const ngPackage = 'ngdart';
const ngCompiler = 'angular_compiler';
const ngImport = 'package:$ngPackage/angular.dart';
final _ngFiles = Glob('lib/**.dart');
Expand Down Expand Up @@ -132,7 +132,7 @@ Future<void> _testBuilder(
/// )
/// ```
///
/// Note that `package:angular/**.dart` is always included.
/// Note that `package:ngdart/**.dart` is always included.
Future<void> compilesExpecting(
String input, {
String inputSource,
Expand Down
2 changes: 1 addition & 1 deletion _tests/lib/matchers.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'dart:html';

import 'package:test/test.dart';
import 'package:angular/angular.dart';
import 'package:ngdart/angular.dart';

/// Matches textual content of an element including children.
Matcher hasTextContent(String expected) => _HasTextContent(expected);
Expand Down
4 changes: 2 additions & 2 deletions _tests/lib/query_tests.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

import 'package:collection/collection.dart';
import 'package:test/test.dart';
import 'package:angular/angular.dart';
import 'package:angular_test/angular_test.dart';
import 'package:ngdart/angular.dart';
import 'package:ngtest/angular_test.dart';

/// A mixin for components that receive a list of child elements/directives.
abstract class HasChildren<T> {
Expand Down
18 changes: 9 additions & 9 deletions _tests/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ environment:

dependencies:
# No strict dependencies, we always use dependency_overrides.
angular:
angular_test:
ngdart:
ngtest:

# Actual valid dependencies required.
build_resolvers: ^2.0.0
Expand All @@ -16,7 +16,7 @@ dependencies:

dev_dependencies:
# No strict dependencies, we always use dependency_overrides.
angular_forms:
ngforms:

# Actual valid dependencies required.
analyzer: ^4.0.0
Expand All @@ -31,16 +31,16 @@ dev_dependencies:

# DO NOT REMOVE. We don't publish this package, it is just for testing.
dependency_overrides:
angular:
ngdart:
path: ../angular
angular_ast:
ngast:
path: ../angular_ast
angular_compiler:
ngcompiler:
path: ../angular_compiler
angular_forms:
ngforms:
path: ../angular_forms
angular_router:
ngrouter:
path: ../angular_router
angular_test:
ngtest:
path: ../angular_test
analyzer: ^4.0.0
2 changes: 1 addition & 1 deletion _tests/test/bootstrap/run_app_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import 'dart:html';

import 'package:js/js.dart';
import 'package:test/test.dart';
import 'package:angular/angular.dart';
import 'package:ngdart/angular.dart';

import 'run_app_test.template.dart' as ng;

Expand Down
Loading