@angular-wave/angular.ts 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/.github/workflows/ci.yml +57 -0
  2. package/README.md +1 -1
  3. package/dist/angular-ts.esm.js +2 -2
  4. package/dist/angular-ts.umd.js +2 -2
  5. package/package.json +1 -1
  6. package/src/core/compile/attributes.js +1 -1
  7. package/src/core/compile/compile.js +1 -1
  8. package/src/core/compile/compile.test.js +1 -1
  9. package/src/core/exception-handler.js +1 -5
  10. package/src/core/interval/interval-factory.js +6 -22
  11. package/src/core/interval/interval.spec.js +0 -25
  12. package/src/core/q/q.js +0 -27
  13. package/src/core/q/q.spec.js +0 -44
  14. package/src/core/scope/scope.js +34 -40
  15. package/src/core/scope/scope.spec.js +71 -13
  16. package/src/core/timeout/timeout.js +2 -6
  17. package/src/directive/attrs/attrs.js +1 -1
  18. package/src/directive/input/input.spec.js +0 -1
  19. package/src/directive/observe/observe.html +18 -0
  20. package/src/directive/observe/observe.js +37 -0
  21. package/src/directive/observe/observe.spec.js +92 -0
  22. package/src/directive/observe/observe.test.js +9 -0
  23. package/src/directive/observe/test.html +197 -0
  24. package/src/public.js +7 -6
  25. package/src/router/state/state-service.js +3 -3
  26. package/src/router/view-scroll.js +13 -8
  27. package/src/services/log.js +0 -6
  28. package/types/core/compile/attributes.d.ts +3 -3
  29. package/types/core/compile/compile.d.ts +1 -1
  30. package/types/core/exception-handler.d.ts +2 -2
  31. package/types/core/interval/interval-factory.d.ts +1 -1
  32. package/types/core/q/q.d.ts +0 -5
  33. package/types/core/scope/scope.d.ts +11 -2
  34. package/types/core/timeout/timeout.d.ts +2 -2
  35. package/types/directive/observe/observe.d.ts +4 -0
  36. package/types/router/state/state-service.d.ts +1 -1
  37. package/types/router/view-scroll.d.ts +3 -3
  38. package/types/services/log.d.ts +0 -5
  39. package/.github/workflows/lint.yml +0 -19
  40. package/.github/workflows/playwright.yml +0 -27
  41. package/.github/workflows/types.yml +0 -19
@@ -0,0 +1,57 @@
1
+ name: CI Pipeline
2
+
3
+ on:
4
+ push:
5
+ branches: [ main, master ]
6
+ pull_request:
7
+ branches: [ main, master ]
8
+
9
+ jobs:
10
+ # 1. Lint check
11
+ lint:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: actions/setup-node@v4
16
+ with:
17
+ node-version: lts/*
18
+ - name: Install dependencies
19
+ run: npm ci
20
+ - name: Run lint check
21
+ run: ./node_modules/.bin/eslint ./src
22
+
23
+ # 2. TypeScript check
24
+ typescript:
25
+ needs: lint
26
+ runs-on: ubuntu-latest
27
+ steps:
28
+ - uses: actions/checkout@v4
29
+ - uses: actions/setup-node@v4
30
+ with:
31
+ node-version: lts/*
32
+ - name: Install dependencies
33
+ run: npm ci
34
+ - name: Run TypeScript check
35
+ run: ./node_modules/.bin/tsc
36
+
37
+ # 3. Playwright tests
38
+ playwright:
39
+ needs: typescript
40
+ runs-on: ubuntu-latest
41
+ steps:
42
+ - uses: actions/checkout@v4
43
+ - uses: actions/setup-node@v4
44
+ with:
45
+ node-version: lts/*
46
+ - name: Install dependencies
47
+ run: npm ci
48
+ - name: Install Playwright Browsers
49
+ run: npx playwright install --with-deps
50
+ - name: Run Playwright tests
51
+ run: npx playwright test
52
+ - uses: actions/upload-artifact@v4
53
+ if: always()
54
+ with:
55
+ name: playwright-report
56
+ path: playwright-report/
57
+ retention-days: 30
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  AngularTS
2
2
  --------------------
3
3
 
4
- ![Build status](https://github.com/Angular-Wave/angular.ts/actions/workflows/playwright.yml/badge.svg)
4
+ ![Build status](https://github.com/Angular-Wave/angular.ts/actions/workflows/ci.yml/badge.svg)
5
5
  [![stats](https://data.jsdelivr.com/v1/package/npm/@angular-wave/angular.ts/badge?style=rounded)](https://www.jsdelivr.com/package/npm/@angular-wave/angular.ts)
6
6
 
7
7
  This project preserves, modernises and expands the original [AngularJS](https://github.com/angular/angular.js)