diff --git a/.github/workflows/check-and-update.yml b/.github/workflows/check-and-update.yml index 0887efc..7cecf9a 100644 --- a/.github/workflows/check-and-update.yml +++ b/.github/workflows/check-and-update.yml @@ -14,7 +14,9 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v3 + with: + node-version: '18.x' - name: Set git user run: | git config --global user.email cedric@ninja-squad.com diff --git a/README.md b/README.md index b3dc17a..0aad11a 100644 --- a/README.md +++ b/README.md @@ -24,184 +24,6 @@ we hope it can be useful for you too! Version|Compare view|Stats ----|----|---- -20.0.0-rc.0|[20.0.0-next.9...20.0.0-rc.0](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/20.0.0-next.9...20.0.0-rc.0)| 2 files changed, 3 insertions(+), 4 deletions(-) -20.0.0-next.9|[20.0.0-next.8...20.0.0-next.9](https://github.com/cexbrayat/angular-cli-library-diff/compare/20.0.0-next.8...20.0.0-next.9)| 1 file changed, 4 insertions(+), 4 deletions(-) -20.0.0-next.8|[20.0.0-next.7...20.0.0-next.8](https://github.com/cexbrayat/angular-cli-library-diff/compare/20.0.0-next.7...20.0.0-next.8)| 1 file changed, 3 insertions(+), 3 deletions(-) -20.0.0-next.7|[20.0.0-next.6...20.0.0-next.7](https://github.com/cexbrayat/angular-cli-library-diff/compare/20.0.0-next.6...20.0.0-next.7)| 5 files changed, 11 insertions(+), 9 deletions(-) -20.0.0-next.6|[20.0.0-next.5...20.0.0-next.6](https://github.com/cexbrayat/angular-cli-library-diff/compare/20.0.0-next.5...20.0.0-next.6)| 4 files changed, 20 insertions(+), 13 deletions(-) -20.0.0-next.5|[20.0.0-next.4...20.0.0-next.5](https://github.com/cexbrayat/angular-cli-library-diff/compare/20.0.0-next.4...20.0.0-next.5)| 3 files changed, 4 insertions(+), 4 deletions(-) -20.0.0-next.4|[20.0.0-next.3...20.0.0-next.4](https://github.com/cexbrayat/angular-cli-library-diff/compare/20.0.0-next.3...20.0.0-next.4)| 2 files changed, 12 insertions(+), 8 deletions(-) -20.0.0-next.3|[20.0.0-next.2...20.0.0-next.3](https://github.com/cexbrayat/angular-cli-library-diff/compare/20.0.0-next.2...20.0.0-next.3)| 4 files changed, 7 insertions(+), 12 deletions(-) -20.0.0-next.2|[20.0.0-next.1...20.0.0-next.2](https://github.com/cexbrayat/angular-cli-library-diff/compare/20.0.0-next.1...20.0.0-next.2)| 8 files changed, 18 insertions(+), 20 deletions(-) -20.0.0-next.1|[20.0.0-next.0...20.0.0-next.1](https://github.com/cexbrayat/angular-cli-library-diff/compare/20.0.0-next.0...20.0.0-next.1)| 4 files changed, 5 insertions(+), 7 deletions(-) -20.0.0-next.0|[19.2.11...20.0.0-next.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.2.11...20.0.0-next.0)| 2 files changed, 18 insertions(+), 18 deletions(-) -19.2.11|[19.2.10...19.2.11](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/19.2.10...19.2.11)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.2.10|[19.2.9...19.2.10](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/19.2.9...19.2.10)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.2.9|[19.2.8...19.2.9](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.2.8...19.2.9)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.2.8|[19.2.7...19.2.8](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.2.7...19.2.8)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.2.7|[19.2.6...19.2.7](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.2.6...19.2.7)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.2.6|[19.2.5...19.2.6](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.2.5...19.2.6)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.2.5|[19.2.4...19.2.5](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.2.4...19.2.5)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.2.4|[19.2.3...19.2.4](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.2.3...19.2.4)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.2.3|[19.2.2...19.2.3](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.2.2...19.2.3)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.2.2|[19.2.1...19.2.2](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.2.1...19.2.2)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.2.1|[19.2.0...19.2.1](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.2.0...19.2.1)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.2.0|[19.2.0-rc.0...19.2.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.2.0-rc.0...19.2.0)| 1 file changed, 12 insertions(+), 12 deletions(-) -19.2.0-rc.0|[19.2.0-next.2...19.2.0-rc.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.2.0-next.2...19.2.0-rc.0)| 1 file changed, 3 insertions(+), 4 deletions(-) -19.2.0-next.2|[19.2.0-next.1...19.2.0-next.2](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.2.0-next.1...19.2.0-next.2)| 1 file changed, 4 insertions(+), 4 deletions(-) -19.2.0-next.1|[19.2.0-next.0...19.2.0-next.1](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.2.0-next.0...19.2.0-next.1)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.2.0-next.0|[19.1.9...19.2.0-next.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.1.9...19.2.0-next.0)| 1 file changed, 13 insertions(+), 13 deletions(-) -19.1.9|[19.1.8...19.1.9](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.1.8...19.1.9)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.1.8|[19.1.7...19.1.8](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.1.7...19.1.8)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.1.7|[19.1.6...19.1.7](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.1.6...19.1.7)| 2 files changed, 4 insertions(+), 4 deletions(-) -19.1.6|[19.1.5...19.1.6](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.1.5...19.1.6)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.1.5|[19.1.4...19.1.5](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.1.4...19.1.5)| 2 files changed, 5 insertions(+), 5 deletions(-) -19.1.4|[19.1.3...19.1.4](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.1.3...19.1.4)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.1.3|[19.1.2...19.1.3](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.1.2...19.1.3)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.1.2|[19.1.1...19.1.2](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.1.1...19.1.2)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.1.1|[19.1.0...19.1.1](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.1.0...19.1.1)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.1.0|[19.1.0-rc.0...19.1.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.1.0-rc.0...19.1.0)| 1 file changed, 13 insertions(+), 13 deletions(-) -19.1.0-rc.0|[19.1.0-next.2...19.1.0-rc.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.1.0-next.2...19.1.0-rc.0)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.1.0-next.2|[19.1.0-next.1...19.1.0-next.2](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.1.0-next.1...19.1.0-next.2)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.1.0-next.1|[19.1.0-next.0...19.1.0-next.1](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.1.0-next.0...19.1.0-next.1)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.1.0-next.0|[19.0.7...19.1.0-next.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.7...19.1.0-next.0)| 1 file changed, 15 insertions(+), 15 deletions(-) -19.0.7|[19.0.6...19.0.7](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.6...19.0.7)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.0.6|[19.0.5...19.0.6](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.5...19.0.6)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.0.5|[19.0.4...19.0.5](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.4...19.0.5)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.0.4|[19.0.3...19.0.4](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.3...19.0.4)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.0.3|[19.0.2...19.0.3](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.2...19.0.3)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.0.2|[19.0.1...19.0.2](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.1...19.0.2)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.0.1|[19.0.0...19.0.1](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0...19.0.1)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.0.0|[19.0.0-rc.3...19.0.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0-rc.3...19.0.0)| 1 file changed, 13 insertions(+), 13 deletions(-) -19.0.0-rc.3|[19.0.0-rc.2...19.0.0-rc.3](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0-rc.2...19.0.0-rc.3)| 5 files changed, 38 insertions(+), 26 deletions(-) -19.0.0-rc.2|[19.0.0-rc.1...19.0.0-rc.2](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0-rc.1...19.0.0-rc.2)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.0.0-rc.1|[19.0.0-rc.0...19.0.0-rc.1](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0-rc.0...19.0.0-rc.1)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.0.0-rc.0|[19.0.0-next.13...19.0.0-rc.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0-next.13...19.0.0-rc.0)| 6 files changed, 23 insertions(+), 42 deletions(-) -19.0.0-next.13|[19.0.0-next.12...19.0.0-next.13](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0-next.12...19.0.0-next.13)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.0.0-next.12|[19.0.0-next.11...19.0.0-next.12](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0-next.11...19.0.0-next.12)| 3 files changed, 4 insertions(+), 7 deletions(-) -19.0.0-next.11|[19.0.0-next.10...19.0.0-next.11](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0-next.10...19.0.0-next.11)| 4 files changed, 36 insertions(+), 10 deletions(-) -19.0.0-next.10|[19.0.0-next.9...19.0.0-next.10](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0-next.9...19.0.0-next.10)| 7 files changed, 67 insertions(+), 64 deletions(-) -19.0.0-next.9|[19.0.0-next.8...19.0.0-next.9](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0-next.8...19.0.0-next.9)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.0.0-next.8|[19.0.0-next.7...19.0.0-next.8](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0-next.7...19.0.0-next.8)| 3 files changed, 6 insertions(+), 5 deletions(-) -19.0.0-next.7|[19.0.0-next.6...19.0.0-next.7](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0-next.6...19.0.0-next.7)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.0.0-next.6|[19.0.0-next.5...19.0.0-next.6](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0-next.5...19.0.0-next.6)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.0.0-next.5|[19.0.0-next.4...19.0.0-next.5](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0-next.4...19.0.0-next.5)| 1 file changed, 3 insertions(+), 3 deletions(-) -19.0.0-next.4|[19.0.0-next.3...19.0.0-next.4](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0-next.3...19.0.0-next.4)| 1 file changed, 5 insertions(+), 5 deletions(-) -19.0.0-next.3|[19.0.0-next.2...19.0.0-next.3](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0-next.2...19.0.0-next.3)| 2 files changed, 4 insertions(+), 8 deletions(-) -19.0.0-next.2|[19.0.0-next.1...19.0.0-next.2](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0-next.1...19.0.0-next.2)| 2 files changed, 4 insertions(+), 4 deletions(-) -19.0.0-next.1|[19.0.0-next.0...19.0.0-next.1](https://github.com/cexbrayat/angular-cli-library-diff/compare/19.0.0-next.0...19.0.0-next.1)| 3 files changed, 6 insertions(+), 8 deletions(-) -19.0.0-next.0|[18.2.19...19.0.0-next.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.19...19.0.0-next.0)| 2 files changed, 14 insertions(+), 15 deletions(-) -18.2.19|[18.2.18...18.2.19](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.18...18.2.19)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.18|[18.2.17...18.2.18](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.17...18.2.18)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.17|[18.2.16...18.2.17](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.16...18.2.17)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.16|[18.2.15...18.2.16](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.15...18.2.16)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.15|[18.2.14...18.2.15](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.14...18.2.15)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.14|[18.2.13...18.2.14](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.13...18.2.14)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.13|[18.2.12...18.2.13](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.12...18.2.13)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.12|[18.2.11...18.2.12](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.11...18.2.12)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.11|[18.2.10...18.2.11](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.10...18.2.11)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.10|[18.2.9...18.2.10](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.9...18.2.10)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.9|[18.2.8...18.2.9](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.8...18.2.9)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.8|[18.2.7...18.2.8](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.7...18.2.8)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.7|[18.2.6...18.2.7](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.6...18.2.7)| 2 files changed, 4 insertions(+), 3 deletions(-) -18.2.6|[18.2.5...18.2.6](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.5...18.2.6)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.5|[18.2.4...18.2.5](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.4...18.2.5)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.4|[18.2.3...18.2.4](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.3...18.2.4)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.3|[18.2.2...18.2.3](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.2...18.2.3)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.2|[18.2.1...18.2.2](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.1...18.2.2)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.1|[18.2.0...18.2.1](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.0...18.2.1)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.0|[18.2.0-rc.0...18.2.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.0-rc.0...18.2.0)| 1 file changed, 14 insertions(+), 14 deletions(-) -18.2.0-rc.0|[18.2.0-next.3...18.2.0-rc.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.0-next.3...18.2.0-rc.0)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.0-next.3|[18.2.0-next.2...18.2.0-next.3](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.0-next.2...18.2.0-next.3)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.0-next.2|[18.2.0-next.1...18.2.0-next.2](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.0-next.1...18.2.0-next.2)| 1 file changed, 4 insertions(+), 4 deletions(-) -18.2.0-next.1|[18.2.0-next.0...18.2.0-next.1](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.2.0-next.0...18.2.0-next.1)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.2.0-next.0|[18.1.4...18.2.0-next.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.1.4...18.2.0-next.0)| 2 files changed, 14 insertions(+), 13 deletions(-) -18.1.4|[18.1.3...18.1.4](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.1.3...18.1.4)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.1.3|[18.1.2...18.1.3](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.1.2...18.1.3)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.1.2|[18.1.1...18.1.2](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.1.1...18.1.2)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.1.1|[18.1.0...18.1.1](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.1.0...18.1.1)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.1.0|[18.1.0-rc.1...18.1.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.1.0-rc.1...18.1.0)| 1 file changed, 13 insertions(+), 13 deletions(-) -18.1.0-rc.1|[18.1.0-rc.0...18.1.0-rc.1](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.1.0-rc.0...18.1.0-rc.1)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.1.0-rc.0|[18.1.0-next.3...18.1.0-rc.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.1.0-next.3...18.1.0-rc.0)| 1 file changed, 4 insertions(+), 4 deletions(-) -18.1.0-next.3|[18.1.0-next.2...18.1.0-next.3](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.1.0-next.2...18.1.0-next.3)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.1.0-next.2|[18.1.0-next.1...18.1.0-next.2](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.1.0-next.1...18.1.0-next.2)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.1.0-next.1|[18.1.0-next.0...18.1.0-next.1](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.1.0-next.0...18.1.0-next.1)| 4 files changed, 9 insertions(+), 7 deletions(-) -18.1.0-next.0|[18.0.7...18.1.0-next.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.0.7...18.1.0-next.0)| 4 files changed, 16 insertions(+), 19 deletions(-) -18.0.7|[18.0.6...18.0.7](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.0.6...18.0.7)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.0.6|[18.0.5...18.0.6](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.0.5...18.0.6)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.0.5|[18.0.4...18.0.5](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.0.4...18.0.5)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.0.4|[18.0.3...18.0.4](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.0.3...18.0.4)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.0.3|[18.0.2...18.0.3](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.0.2...18.0.3)| 4 files changed, 9 insertions(+), 6 deletions(-) -18.0.2|[18.0.1...18.0.2](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.0.1...18.0.2)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.0.1|[18.0.0...18.0.1](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.0.0...18.0.1)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.0.0|[18.0.0-rc.3...18.0.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.0.0-rc.3...18.0.0)| 1 file changed, 13 insertions(+), 13 deletions(-) -18.0.0-rc.3|[18.0.0-rc.2...18.0.0-rc.3](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.0.0-rc.2...18.0.0-rc.3)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.0.0-rc.2|[18.0.0-rc.1...18.0.0-rc.2](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.0.0-rc.1...18.0.0-rc.2)| 3 files changed, 8 insertions(+), 8 deletions(-) -18.0.0-rc.1|[18.0.0-rc.0...18.0.0-rc.1](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.0.0-rc.0...18.0.0-rc.1)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.0.0-rc.0|[18.0.0-next.5...18.0.0-rc.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.0.0-next.5...18.0.0-rc.0)| 2 files changed, 4 insertions(+), 7 deletions(-) -18.0.0-next.5|[18.0.0-next.4...18.0.0-next.5](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.0.0-next.4...18.0.0-next.5)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.0.0-next.4|[18.0.0-next.3...18.0.0-next.4](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.0.0-next.3...18.0.0-next.4)| 1 file changed, 3 insertions(+), 3 deletions(-) -18.0.0-next.3|[18.0.0-next.2...18.0.0-next.3](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.0.0-next.2...18.0.0-next.3)| 2 files changed, 7 insertions(+), 6 deletions(-) -18.0.0-next.2|[18.0.0-next.1...18.0.0-next.2](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.0.0-next.1...18.0.0-next.2)| 3 files changed, 6 insertions(+), 6 deletions(-) -18.0.0-next.1|[18.0.0-next.0...18.0.0-next.1](https://github.com/cexbrayat/angular-cli-library-diff/compare/18.0.0-next.0...18.0.0-next.1)| 5 files changed, 12 insertions(+), 8 deletions(-) -18.0.0-next.0|[17.3.17...18.0.0-next.0](https://github.com/cexbrayat/angular-cli-library-diff/compare/17.3.17...18.0.0-next.0)| 3 files changed, 15 insertions(+), 15 deletions(-) -17.3.17|[17.3.16...17.3.17](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.3.16...17.3.17)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.3.16|[17.3.15...17.3.16](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.3.15...17.3.16)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.3.15|[17.3.14...17.3.15](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.3.14...17.3.15)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.3.14|[17.3.13...17.3.14](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.3.13...17.3.14)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.3.13|[17.3.12...17.3.13](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.3.12...17.3.13)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.3.12|[17.3.11...17.3.12](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.3.11...17.3.12)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.3.11|[17.3.10...17.3.11](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.3.10...17.3.11)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.3.10|[17.3.9...17.3.10](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.3.9...17.3.10)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.3.9|[17.3.8...17.3.9](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.3.8...17.3.9)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.3.8|[17.3.7...17.3.8](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.3.7...17.3.8)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.3.7|[17.3.6...17.3.7](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.3.6...17.3.7)| 2 files changed, 4 insertions(+), 4 deletions(-) -17.3.6|[17.3.5...17.3.6](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.3.5...17.3.6)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.3.5|[17.3.4...17.3.5](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.3.4...17.3.5)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.3.4|[17.3.3...17.3.4](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.3.3...17.3.4)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.3.3|[17.3.2...17.3.3](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.3.2...17.3.3)| 2 files changed, 4 insertions(+), 4 deletions(-) -17.3.2|[17.3.1...17.3.2](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.3.1...17.3.2)| 2 files changed, 4 insertions(+), 4 deletions(-) -17.3.1|[17.3.0...17.3.1](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.3.0...17.3.1)| 2 files changed, 3 insertions(+), 4 deletions(-) -17.3.0|[17.3.0-rc.0...17.3.0](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.3.0-rc.0...17.3.0)| 1 file changed, 14 insertions(+), 14 deletions(-) -17.3.0-rc.0|[17.2.3...17.3.0-rc.0](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.2.3...17.3.0-rc.0)| 1 file changed, 13 insertions(+), 13 deletions(-) -17.2.3|[17.2.2...17.2.3](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.2.2...17.2.3)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.2.2|[17.2.1...17.2.2](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.2.1...17.2.2)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.2.1|[17.2.0...17.2.1](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.2.0...17.2.1)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.2.0|[17.2.0-rc.0...17.2.0](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.2.0-rc.0...17.2.0)| 1 file changed, 13 insertions(+), 13 deletions(-) -17.2.0-rc.0|[17.2.0-next.1...17.2.0-rc.0](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.2.0-next.1...17.2.0-rc.0)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.2.0-next.1|[17.2.0-next.0...17.2.0-next.1](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.2.0-next.0...17.2.0-next.1)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.2.0-next.0|[17.1.4...17.2.0-next.0](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.1.4...17.2.0-next.0)| 1 file changed, 13 insertions(+), 13 deletions(-) -17.1.4|[17.1.3...17.1.4](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.1.3...17.1.4)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.1.3|[17.1.2...17.1.3](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.1.2...17.1.3)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.1.2|[17.1.1...17.1.2](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.1.1...17.1.2)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.1.1|[17.1.0...17.1.1](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.1.0...17.1.1)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.1.0|[17.1.0-rc.1...17.1.0](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.1.0-rc.1...17.1.0)| 1 file changed, 13 insertions(+), 13 deletions(-) -17.1.0-rc.1|[17.1.0-rc.0...17.1.0-rc.1](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.1.0-rc.0...17.1.0-rc.1)| 2 files changed, 8 insertions(+), 8 deletions(-) -17.1.0-rc.0|[17.1.0-next.3...17.1.0-rc.0](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.1.0-next.3...17.1.0-rc.0)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.1.0-next.3|[17.1.0-next.2...17.1.0-next.3](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.1.0-next.2...17.1.0-next.3)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.1.0-next.2|[17.1.0-next.1...17.1.0-next.2](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.1.0-next.1...17.1.0-next.2)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.1.0-next.1|[17.1.0-next.0...17.1.0-next.1](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.1.0-next.0...17.1.0-next.1)| 2 files changed, 5 insertions(+), 4 deletions(-) -17.1.0-next.0|[17.0.10...17.1.0-next.0](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.10...17.1.0-next.0)| 4 files changed, 19 insertions(+), 21 deletions(-) -17.0.10|[17.0.9...17.0.10](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.9...17.0.10)| 2 files changed, 7 insertions(+), 7 deletions(-) -17.0.9|[17.0.8...17.0.9](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.8...17.0.9)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.0.8|[17.0.7...17.0.8](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.7...17.0.8)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.0.7|[17.0.6...17.0.7](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.6...17.0.7)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.0.6|[17.0.5...17.0.6](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.5...17.0.6)| 2 files changed, 4 insertions(+), 3 deletions(-) -17.0.5|[17.0.4...17.0.5](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.4...17.0.5)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.0.4|[17.0.3...17.0.4](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.3...17.0.4)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.0.3|[17.0.2...17.0.3](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.2...17.0.3)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.0.2|[17.0.1...17.0.2](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.1...17.0.2)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.0.1|[17.0.0...17.0.1](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.0...17.0.1)| 4 files changed, 8 insertions(+), 8 deletions(-) -17.0.0|[17.0.0-rc.5...17.0.0](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.0-rc.5...17.0.0)| 1 file changed, 14 insertions(+), 14 deletions(-) -17.0.0-rc.5|[17.0.0-rc.4...17.0.0-rc.5](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.0-rc.4...17.0.0-rc.5)| 3 files changed, 48 insertions(+), 82 deletions(-) -17.0.0-rc.4|[17.0.0-rc.3...17.0.0-rc.4](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.0-rc.3...17.0.0-rc.4)| 3 files changed, 286 insertions(+), 399 deletions(-) -17.0.0-rc.3|[17.0.0-rc.2...17.0.0-rc.3](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.0-rc.2...17.0.0-rc.3)| 2 files changed, 4 insertions(+), 4 deletions(-) -17.0.0-rc.2|[17.0.0-rc.1...17.0.0-rc.2](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.0-rc.1...17.0.0-rc.2)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.0.0-rc.1|[17.0.0-rc.0...17.0.0-rc.1](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.0-rc.0...17.0.0-rc.1)| 2 files changed, 7 insertions(+), 5 deletions(-) -17.0.0-rc.0|[17.0.0-next.9...17.0.0-rc.0](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.0-next.9...17.0.0-rc.0)| 3 files changed, 9 insertions(+), 8 deletions(-) -17.0.0-next.9|[17.0.0-next.8...17.0.0-next.9](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.0-next.8...17.0.0-next.9)| 1 file changed, 3 insertions(+), 3 deletions(-) -17.0.0-next.8|[17.0.0-next.7...17.0.0-next.8](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.0-next.7...17.0.0-next.8)| 3 files changed, 11 insertions(+), 10 deletions(-) -17.0.0-next.7|[17.0.0-next.6...17.0.0-next.7](https://github.com/cexbrayat/angular-cli-ssr-diff/compare/17.0.0-next.6...17.0.0-next.7)| 24 files changed, 960 insertions(+) diff --git a/newVersion.sh b/newVersion.sh index 182c342..fb3cb59 100755 --- a/newVersion.sh +++ b/newVersion.sh @@ -163,8 +163,8 @@ NEWLINE/g' README.md && rm README.md.bak rm -rf ponyracer # generate lib with new CLI version flags="--no-interactive --ssr --skip-install" - # --server-routing is only applicable for version >=19.0.0-rc.3 and <20.0.0-next.2 - if [ `npx semver ${version} --include-prerelease --range ">=19.0.0-rc.3"` ] && [ `npx semver ${version} --include-prerelease --range "<20.0.0-next.2"` ] + # --server-routing is only applicable for version >=19.0.0-rc.3 + if [ `npx semver ${version} --include-prerelease --range ">=19.0.0-rc.3"` ] then flags="${flags} --server-routing" fi diff --git a/ponyracer/.editorconfig b/ponyracer/.editorconfig new file mode 100644 index 0000000..f166060 --- /dev/null +++ b/ponyracer/.editorconfig @@ -0,0 +1,17 @@ +# Editor configuration, see https://editorconfig.org +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.ts] +quote_type = single +ij_typescript_use_double_quotes = false + +[*.md] +max_line_length = off +trim_trailing_whitespace = false diff --git a/ponyracer/.gitignore b/ponyracer/.gitignore new file mode 100644 index 0000000..cc7b141 --- /dev/null +++ b/ponyracer/.gitignore @@ -0,0 +1,42 @@ +# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files. + +# Compiled output +/dist +/tmp +/out-tsc +/bazel-out + +# Node +/node_modules +npm-debug.log +yarn-error.log + +# IDEs and editors +.idea/ +.project +.classpath +.c9/ +*.launch +.settings/ +*.sublime-workspace + +# Visual Studio Code +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +.history/* + +# Miscellaneous +/.angular/cache +.sass-cache/ +/connect.lock +/coverage +/libpeerconnection.log +testem.log +/typings + +# System files +.DS_Store +Thumbs.db diff --git a/ponyracer/.vscode/extensions.json b/ponyracer/.vscode/extensions.json new file mode 100644 index 0000000..77b3745 --- /dev/null +++ b/ponyracer/.vscode/extensions.json @@ -0,0 +1,4 @@ +{ + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846 + "recommendations": ["angular.ng-template"] +} diff --git a/ponyracer/.vscode/launch.json b/ponyracer/.vscode/launch.json new file mode 100644 index 0000000..925af83 --- /dev/null +++ b/ponyracer/.vscode/launch.json @@ -0,0 +1,20 @@ +{ + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "ng serve", + "type": "chrome", + "request": "launch", + "preLaunchTask": "npm: start", + "url": "http://localhost:4200/" + }, + { + "name": "ng test", + "type": "chrome", + "request": "launch", + "preLaunchTask": "npm: test", + "url": "http://localhost:9876/debug.html" + } + ] +} diff --git a/ponyracer/.vscode/tasks.json b/ponyracer/.vscode/tasks.json new file mode 100644 index 0000000..a298b5b --- /dev/null +++ b/ponyracer/.vscode/tasks.json @@ -0,0 +1,42 @@ +{ + // For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558 + "version": "2.0.0", + "tasks": [ + { + "type": "npm", + "script": "start", + "isBackground": true, + "problemMatcher": { + "owner": "typescript", + "pattern": "$tsc", + "background": { + "activeOnStart": true, + "beginsPattern": { + "regexp": "(.*?)" + }, + "endsPattern": { + "regexp": "bundle generation complete" + } + } + } + }, + { + "type": "npm", + "script": "test", + "isBackground": true, + "problemMatcher": { + "owner": "typescript", + "pattern": "$tsc", + "background": { + "activeOnStart": true, + "beginsPattern": { + "regexp": "(.*?)" + }, + "endsPattern": { + "regexp": "bundle generation complete" + } + } + } + } + ] +} diff --git a/ponyracer/angular.json b/ponyracer/angular.json new file mode 100644 index 0000000..e26c3b7 --- /dev/null +++ b/ponyracer/angular.json @@ -0,0 +1,98 @@ +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "version": 1, + "newProjectRoot": "projects", + "projects": { + "ponyracer": { + "projectType": "application", + "schematics": {}, + "root": "", + "sourceRoot": "src", + "prefix": "app", + "architect": { + "build": { + "builder": "@angular/build:application", + "options": { + "index": "src/index.html", + "browser": "src/main.ts", + "polyfills": [ + "zone.js" + ], + "tsConfig": "tsconfig.app.json", + "assets": [ + { + "glob": "**/*", + "input": "public" + } + ], + "styles": [ + "src/styles.css" + ], + "server": "src/main.server.ts", + "outputMode": "server", + "ssr": { + "entry": "src/server.ts" + } + }, + "configurations": { + "production": { + "budgets": [ + { + "type": "initial", + "maximumWarning": "500kB", + "maximumError": "1MB" + }, + { + "type": "anyComponentStyle", + "maximumWarning": "4kB", + "maximumError": "8kB" + } + ], + "outputHashing": "all" + }, + "development": { + "optimization": false, + "extractLicenses": false, + "sourceMap": true + } + }, + "defaultConfiguration": "production" + }, + "serve": { + "builder": "@angular/build:dev-server", + "configurations": { + "production": { + "buildTarget": "ponyracer:build:production" + }, + "development": { + "buildTarget": "ponyracer:build:development" + } + }, + "defaultConfiguration": "development" + }, + "extract-i18n": { + "builder": "@angular/build:extract-i18n" + }, + "test": { + "builder": "@angular/build:karma", + "options": { + "polyfills": [ + "zone.js", + "zone.js/testing" + ], + "tsConfig": "tsconfig.spec.json", + "assets": [ + { + "glob": "**/*", + "input": "public" + } + ], + "styles": [ + "src/styles.css" + ] + } + } + } + } + } +} diff --git a/ponyracer/package.json b/ponyracer/package.json new file mode 100644 index 0000000..f357c4c --- /dev/null +++ b/ponyracer/package.json @@ -0,0 +1,42 @@ +{ + "name": "ponyracer", + "version": "0.0.0", + "scripts": { + "ng": "ng", + "start": "ng serve", + "build": "ng build", + "watch": "ng build --watch --configuration development", + "test": "ng test", + "serve:ssr:ponyracer": "node dist/ponyracer/server/server.mjs" + }, + "private": true, + "dependencies": { + "@angular/common": "^20.0.0-next.0", + "@angular/compiler": "^20.0.0-next.0", + "@angular/core": "^20.0.0-next.0", + "@angular/forms": "^20.0.0-next.0", + "@angular/platform-browser": "^20.0.0-next.0", + "@angular/platform-server": "^20.0.0-next.0", + "@angular/router": "^20.0.0-next.0", + "@angular/ssr": "^20.0.0-next.9", + "express": "^5.1.0", + "rxjs": "~7.8.0", + "tslib": "^2.3.0", + "zone.js": "~0.15.0" + }, + "devDependencies": { + "@angular/build": "^20.0.0-next.9", + "@angular/cli": "^20.0.0-next.9", + "@angular/compiler-cli": "^20.0.0-next.0", + "@types/express": "^5.0.1", + "@types/jasmine": "~5.1.0", + "@types/node": "^20.17.19", + "jasmine-core": "~5.7.0", + "karma": "~6.4.0", + "karma-chrome-launcher": "~3.2.0", + "karma-coverage": "~2.2.0", + "karma-jasmine": "~5.1.0", + "karma-jasmine-html-reporter": "~2.1.0", + "typescript": "~5.8.2" + } +} \ No newline at end of file diff --git a/ponyracer/public/favicon.ico b/ponyracer/public/favicon.ico new file mode 100644 index 0000000..57614f9 Binary files /dev/null and b/ponyracer/public/favicon.ico differ diff --git a/ponyracer/src/app/app.config.server.ts b/ponyracer/src/app/app.config.server.ts new file mode 100644 index 0000000..41031f1 --- /dev/null +++ b/ponyracer/src/app/app.config.server.ts @@ -0,0 +1,12 @@ +import { mergeApplicationConfig, ApplicationConfig } from '@angular/core'; +import { provideServerRendering, withRoutes } from '@angular/ssr'; +import { appConfig } from './app.config'; +import { serverRoutes } from './app.routes.server'; + +const serverConfig: ApplicationConfig = { + providers: [ + provideServerRendering(withRoutes(serverRoutes)) + ] +}; + +export const config = mergeApplicationConfig(appConfig, serverConfig); diff --git a/ponyracer/src/app/app.config.ts b/ponyracer/src/app/app.config.ts new file mode 100644 index 0000000..969812a --- /dev/null +++ b/ponyracer/src/app/app.config.ts @@ -0,0 +1,13 @@ +import { ApplicationConfig, provideBrowserGlobalErrorListeners, provideZoneChangeDetection } from '@angular/core'; +import { provideRouter } from '@angular/router'; + +import { routes } from './app.routes'; +import { provideClientHydration, withEventReplay } from '@angular/platform-browser'; + +export const appConfig: ApplicationConfig = { + providers: [ + provideBrowserGlobalErrorListeners(), + provideZoneChangeDetection({ eventCoalescing: true }), + provideRouter(routes), provideClientHydration(withEventReplay()) + ] +}; diff --git a/ponyracer/src/app/app.css b/ponyracer/src/app/app.css new file mode 100644 index 0000000..e69de29 diff --git a/ponyracer/src/app/app.html b/ponyracer/src/app/app.html new file mode 100644 index 0000000..36093e1 --- /dev/null +++ b/ponyracer/src/app/app.html @@ -0,0 +1,336 @@ + + + + + + + + + + + +
+
+
+ +

Hello, {{ title }}

+

Congratulations! Your app is running. 🎉

+
+ +
+
+ @for (item of [ + { title: 'Explore the Docs', link: 'https://angular.dev' }, + { title: 'Learn with Tutorials', link: 'https://angular.dev/tutorials' }, + { title: 'CLI Docs', link: 'https://angular.dev/tools/cli' }, + { title: 'Angular Language Service', link: 'https://angular.dev/tools/language-service' }, + { title: 'Angular DevTools', link: 'https://angular.dev/tools/devtools' }, + ]; track item.title) { + + {{ item.title }} + + + + + } +
+ +
+
+
+ + + + + + + + + + + diff --git a/ponyracer/src/app/app.routes.server.ts b/ponyracer/src/app/app.routes.server.ts new file mode 100644 index 0000000..ffd37b1 --- /dev/null +++ b/ponyracer/src/app/app.routes.server.ts @@ -0,0 +1,8 @@ +import { RenderMode, ServerRoute } from '@angular/ssr'; + +export const serverRoutes: ServerRoute[] = [ + { + path: '**', + renderMode: RenderMode.Prerender + } +]; diff --git a/ponyracer/src/app/app.routes.ts b/ponyracer/src/app/app.routes.ts new file mode 100644 index 0000000..dc39edb --- /dev/null +++ b/ponyracer/src/app/app.routes.ts @@ -0,0 +1,3 @@ +import { Routes } from '@angular/router'; + +export const routes: Routes = []; diff --git a/ponyracer/src/app/app.spec.ts b/ponyracer/src/app/app.spec.ts new file mode 100644 index 0000000..fbc7ee5 --- /dev/null +++ b/ponyracer/src/app/app.spec.ts @@ -0,0 +1,29 @@ +import { TestBed } from '@angular/core/testing'; +import { App } from './app'; + +describe('App', () => { + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [App], + }).compileComponents(); + }); + + it('should create the app', () => { + const fixture = TestBed.createComponent(App); + const app = fixture.componentInstance; + expect(app).toBeTruthy(); + }); + + it(`should have the 'ponyracer' title`, () => { + const fixture = TestBed.createComponent(App); + const app = fixture.componentInstance; + expect(app.title).toEqual('ponyracer'); + }); + + it('should render title', () => { + const fixture = TestBed.createComponent(App); + fixture.detectChanges(); + const compiled = fixture.nativeElement as HTMLElement; + expect(compiled.querySelector('h1')?.textContent).toContain('Hello, ponyracer'); + }); +}); diff --git a/ponyracer/src/app/app.ts b/ponyracer/src/app/app.ts new file mode 100644 index 0000000..fb5bd58 --- /dev/null +++ b/ponyracer/src/app/app.ts @@ -0,0 +1,12 @@ +import { Component } from '@angular/core'; +import { RouterOutlet } from '@angular/router'; + +@Component({ + selector: 'app-root', + imports: [RouterOutlet], + templateUrl: './app.html', + styleUrl: './app.css' +}) +export class App { + title = 'ponyracer'; +} diff --git a/ponyracer/src/index.html b/ponyracer/src/index.html new file mode 100644 index 0000000..3e64774 --- /dev/null +++ b/ponyracer/src/index.html @@ -0,0 +1,13 @@ + + + + + Ponyracer + + + + + + + + diff --git a/ponyracer/src/main.server.ts b/ponyracer/src/main.server.ts new file mode 100644 index 0000000..154ce1c --- /dev/null +++ b/ponyracer/src/main.server.ts @@ -0,0 +1,7 @@ +import { bootstrapApplication } from '@angular/platform-browser'; +import { App } from './app/app'; +import { config } from './app/app.config.server'; + +const bootstrap = () => bootstrapApplication(App, config); + +export default bootstrap; diff --git a/ponyracer/src/main.ts b/ponyracer/src/main.ts new file mode 100644 index 0000000..5df75f9 --- /dev/null +++ b/ponyracer/src/main.ts @@ -0,0 +1,6 @@ +import { bootstrapApplication } from '@angular/platform-browser'; +import { appConfig } from './app/app.config'; +import { App } from './app/app'; + +bootstrapApplication(App, appConfig) + .catch((err) => console.error(err)); diff --git a/ponyracer/src/server.ts b/ponyracer/src/server.ts new file mode 100644 index 0000000..e6546c4 --- /dev/null +++ b/ponyracer/src/server.ts @@ -0,0 +1,68 @@ +import { + AngularNodeAppEngine, + createNodeRequestHandler, + isMainModule, + writeResponseToNodeResponse, +} from '@angular/ssr/node'; +import express from 'express'; +import { join } from 'node:path'; + +const browserDistFolder = join(import.meta.dirname, '../browser'); + +const app = express(); +const angularApp = new AngularNodeAppEngine(); + +/** + * Example Express Rest API endpoints can be defined here. + * Uncomment and define endpoints as necessary. + * + * Example: + * ```ts + * app.get('/api/{*splat}', (req, res) => { + * // Handle API request + * }); + * ``` + */ + +/** + * Serve static files from /browser + */ +app.use( + express.static(browserDistFolder, { + maxAge: '1y', + index: false, + redirect: false, + }), +); + +/** + * Handle all other requests by rendering the Angular application. + */ +app.use((req, res, next) => { + angularApp + .handle(req) + .then((response) => + response ? writeResponseToNodeResponse(response, res) : next(), + ) + .catch(next); +}); + +/** + * Start the server if this module is the main entry point. + * The server listens on the port defined by the `PORT` environment variable, or defaults to 4000. + */ +if (isMainModule(import.meta.url)) { + const port = process.env['PORT'] || 4000; + app.listen(port, (error) => { + if (error) { + throw error; + } + + console.log(`Node Express server listening on http://localhost:${port}`); + }); +} + +/** + * Request handler used by the Angular CLI (for dev-server and during build) or Firebase Cloud Functions. + */ +export const reqHandler = createNodeRequestHandler(app); diff --git a/ponyracer/src/styles.css b/ponyracer/src/styles.css new file mode 100644 index 0000000..90d4ee0 --- /dev/null +++ b/ponyracer/src/styles.css @@ -0,0 +1 @@ +/* You can add global styles to this file, and also import other style files */ diff --git a/ponyracer/tsconfig.app.json b/ponyracer/tsconfig.app.json new file mode 100644 index 0000000..ef19921 --- /dev/null +++ b/ponyracer/tsconfig.app.json @@ -0,0 +1,17 @@ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/app", + "types": [ + "node" + ] + }, + "include": [ + "src/**/*.ts" + ], + "exclude": [ + "src/**/*.spec.ts" + ] +} diff --git a/ponyracer/tsconfig.json b/ponyracer/tsconfig.json new file mode 100644 index 0000000..e4955f2 --- /dev/null +++ b/ponyracer/tsconfig.json @@ -0,0 +1,34 @@ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ +{ + "compileOnSave": false, + "compilerOptions": { + "strict": true, + "noImplicitOverride": true, + "noPropertyAccessFromIndexSignature": true, + "noImplicitReturns": true, + "noFallthroughCasesInSwitch": true, + "skipLibCheck": true, + "isolatedModules": true, + "experimentalDecorators": true, + "importHelpers": true, + "target": "ES2022", + "module": "preserve" + }, + "angularCompilerOptions": { + "enableI18nLegacyMessageIdFormat": false, + "strictInjectionParameters": true, + "strictInputAccessModifiers": true, + "typeCheckHostBindings": true, + "strictTemplates": true + }, + "files": [], + "references": [ + { + "path": "./tsconfig.app.json" + }, + { + "path": "./tsconfig.spec.json" + } + ] +} diff --git a/ponyracer/tsconfig.spec.json b/ponyracer/tsconfig.spec.json new file mode 100644 index 0000000..04df34c --- /dev/null +++ b/ponyracer/tsconfig.spec.json @@ -0,0 +1,14 @@ +/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */ +/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "./out-tsc/spec", + "types": [ + "jasmine" + ] + }, + "include": [ + "src/**/*.ts" + ] +}