Migrated jael to jael2
This commit is contained in:
parent
e6a7496d66
commit
f88936f03c
108 changed files with 51 additions and 81 deletions
|
@ -1,46 +0,0 @@
|
|||
name: angel_jael
|
||||
version: 4.0.0
|
||||
description: Angel support for the Jael templating engine, similar to Blade or Liquid.
|
||||
homepage: https://github.com/dukefirehawk/angel
|
||||
publish_to: none
|
||||
environment:
|
||||
sdk: '>=2.12.0 <3.0.0'
|
||||
dependencies:
|
||||
angel_framework:
|
||||
git:
|
||||
url: https://github.com/dukefirehawk/angel.git
|
||||
ref: sdk-2.12.x_nnbd
|
||||
path: packages/framework
|
||||
code_buffer:
|
||||
git:
|
||||
url: https://github.com/dukefirehawk/angel.git
|
||||
ref: sdk-2.12.x_nnbd
|
||||
path: packages/code_buffer
|
||||
jael:
|
||||
git:
|
||||
url: https://github.com/dukefirehawk/angel.git
|
||||
ref: sdk-2.12.x_nnbd
|
||||
path: packages/jael/jael
|
||||
jael_preprocessor:
|
||||
git:
|
||||
url: https://github.com/dukefirehawk/angel.git
|
||||
ref: sdk-2.12.x_nnbd
|
||||
path: packages/jael/jael_preprocessor
|
||||
symbol_table:
|
||||
git:
|
||||
url: https://github.com/dukefirehawk/angel.git
|
||||
ref: sdk-2.12.x_nnbd
|
||||
path: packages/symbol_table
|
||||
file: ^6.0.0
|
||||
|
||||
dev_dependencies:
|
||||
angel_test:
|
||||
git:
|
||||
url: https://github.com/dukefirehawk/angel.git
|
||||
ref: sdk-2.12.x_nnbd
|
||||
path: packages/test
|
||||
html: ^0.15.0
|
||||
test: ^1.17.3
|
||||
dependency_overrides:
|
||||
web_socket_channel: ^2.0.0
|
||||
http: ^0.13.0
|
22
packages/jael/angel_jael2/pubspec.yaml
Normal file
22
packages/jael/angel_jael2/pubspec.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: angel3_jael2
|
||||
version: 4.0.0
|
||||
description: Angel support for the Jael templating engine, similar to Blade or Liquid.
|
||||
homepage: https://github.com/dukefirehawk/angel/tree/angel3/packages/jael/angel_jael
|
||||
publish_to: none
|
||||
environment:
|
||||
sdk: '>=2.12.0 <3.0.0'
|
||||
dependencies:
|
||||
angel3_framework: ^4.0.0
|
||||
angel3_code_buffer: ^2.0.0
|
||||
jael2:
|
||||
jael2_preprocessor:
|
||||
angel3_symbol_table: ^2.0.0
|
||||
file: ^6.0.0
|
||||
|
||||
dev_dependencies:
|
||||
angel3_test: ^4.0.0
|
||||
html: ^0.15.0
|
||||
test: ^1.17.3
|
||||
dependency_overrides:
|
||||
web_socket_channel: ^2.0.0
|
||||
http: ^0.13.0
|
|
@ -1,28 +0,0 @@
|
|||
name: jael
|
||||
version: 4.0.0
|
||||
description: A simple server-side HTML templating engine for Dart. Comparable to Blade or Liquid.
|
||||
homepage: https://docs.angel-dart.dev/packages/front-end/jael
|
||||
publish_to: none
|
||||
environment:
|
||||
sdk: '>=2.12.0 <3.0.0'
|
||||
dependencies:
|
||||
args: ^2.0.0
|
||||
charcode: ^1.0.0
|
||||
code_buffer:
|
||||
git:
|
||||
url: https://github.com/dukefirehawk/angel.git
|
||||
ref: sdk-2.12.x_nnbd
|
||||
path: packages/code_buffer
|
||||
source_span: ^1.0.0
|
||||
string_scanner: ^1.0.0
|
||||
symbol_table:
|
||||
git:
|
||||
url: https://github.com/dukefirehawk/angel.git
|
||||
ref: sdk-2.12.x_nnbd
|
||||
path: packages/symbol_table
|
||||
collection: ^1.15.0
|
||||
dev_dependencies:
|
||||
pedantic: ^1.11.0
|
||||
test: ^1.17.3
|
||||
executables:
|
||||
jaelfmt: jaelfmt
|
|
@ -1,6 +1,9 @@
|
|||
# jael
|
||||
[![Pub](https://img.shields.io/pub/v/jael.svg)](https://pub.dartlang.org/packages/jael)
|
||||
[![build status](https://travis-ci.org/angel-dart/jael.svg)](https://travis-ci.org/angel-dart/jael)
|
||||
# angel3_jael_engine
|
||||
[![version](https://img.shields.io/badge/pub-v4.0.0-brightgreen)](https://pub.dartlang.org/packages/jael3)
|
||||
[![Null Safety](https://img.shields.io/badge/null-safety-brightgreen)](https://dart.dev/null-safety)
|
||||
[![Gitter](https://img.shields.io/gitter/room/angel_dart/discussion)](https://gitter.im/angel_dart/discussion)
|
||||
|
||||
[![License](https://img.shields.io/github/license/dukefirehawk/angel)](https://github.com/dukefirehawk/angel/tree/angel3/packages/jael/jael/LICENSE)
|
||||
|
||||
A simple server-side HTML templating engine for Dart.
|
||||
|
||||
|
@ -11,7 +14,7 @@ In your `pubspec.yaml`:
|
|||
|
||||
```yaml
|
||||
dependencies:
|
||||
jael: ^2.0.0
|
||||
jael3: ^4.0.0
|
||||
```
|
||||
|
||||
# API
|
||||
|
@ -19,9 +22,9 @@ The core `jael` package exports classes for parsing Jael templates,
|
|||
an AST library, and a `Renderer` class that generates HTML on-the-fly.
|
||||
|
||||
```dart
|
||||
import 'package:code_buffer/code_buffer.dart';
|
||||
import 'package:jael/jael.dart' as jael;
|
||||
import 'package:symbol_table/symbol_table.dart';
|
||||
import 'package:angel3_code_buffer/code_buffer.dart';
|
||||
import 'package:jael3/jael.dart' as jael;
|
||||
import 'package:angel3_symbol_table/symbol_table.dart';
|
||||
|
||||
void myFunction() {
|
||||
const template = '''
|
19
packages/jael/jael2/pubspec.yaml
Normal file
19
packages/jael/jael2/pubspec.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
name: jael2
|
||||
version: 4.0.0
|
||||
description: A simple server-side HTML templating engine for Dart. Comparable to Blade or Liquid.
|
||||
homepage: https://github.com/dukefirehawk/angel/tree/angel3/packages/jael/jael
|
||||
environment:
|
||||
sdk: '>=2.12.0 <3.0.0'
|
||||
dependencies:
|
||||
args: ^2.0.0
|
||||
charcode: ^1.0.0
|
||||
angel3_code_buffer:
|
||||
angel3_symbol_table:
|
||||
source_span: ^1.0.0
|
||||
string_scanner: ^1.0.0
|
||||
collection: ^1.15.0
|
||||
dev_dependencies:
|
||||
pedantic: ^1.11.0
|
||||
test: ^1.17.4
|
||||
executables:
|
||||
jaelfmt: jaelfmt
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue