Skip to content

Commit 0bd47ea

Browse files
benleshjakovljevic-mladen
andauthoredSep 21, 2023
chore: Move to monorepo ❗ ❗ ❗ (#7342)
* chore: Move to monorepo Reorganized everything. Removed broken tests from docs app so we can run tests in CI for that again. Some tests are better than no tests. Updates the GitHub actions, some of the README stuff, and build scripts * chore: fix github action commands * chore: Update tslint-etc locations * chore: update README with more information about yarn * chore: fix alias generation location * chore: update lodash to fix TS latest errors * Update CONTRIBUTING.md Co-authored-by: Mladen Jakovljević <jakovljevic.mladen@gmail.com> * Update CONTRIBUTING.md Co-authored-by: Mladen Jakovljević <jakovljevic.mladen@gmail.com> * Update CONTRIBUTING.md Co-authored-by: Mladen Jakovljević <jakovljevic.mladen@gmail.com> * Update CONTRIBUTING.md Co-authored-by: Mladen Jakovljević <jakovljevic.mladen@gmail.com> * Update apps/rxjs.dev/tools/transforms/angular-base-package/index.js Co-authored-by: Mladen Jakovljević <jakovljevic.mladen@gmail.com> * Update apps/rxjs.dev/tools/transforms/config.js Co-authored-by: Mladen Jakovljević <jakovljevic.mladen@gmail.com> * Update packages/rxjs/README.md Co-authored-by: Mladen Jakovljević <jakovljevic.mladen@gmail.com> * Update CONTRIBUTING.md Co-authored-by: Mladen Jakovljević <jakovljevic.mladen@gmail.com> * chore: revert changes to app.component.ts * Revert "Update apps/rxjs.dev/tools/transforms/angular-base-package/index.js" This reverts commit c734d1e. * chore: revert change that broke the build --------- Co-authored-by: Mladen Jakovljević <jakovljevic.mladen@gmail.com>
1 parent 9aa16a9 commit 0bd47ea

File tree

1,186 files changed

+51534
-69277
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,186 files changed

+51534
-69277
lines changed
 

‎.github/PULL_REQUEST_TEMPLATE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ If your PR is the addition of a new operator, please make sure all these boxes a
77
- [ ] It must have a `-spec.ts` tests file covering the canonical corner cases, with marble diagram tests
88
- [ ] The spec file should have a type definition test at the end of the spec to verify type definition for various use cases
99
- [ ] The operator must be documented in JSDoc style in the implementation file, including also the PNG marble diagram image
10-
- [ ] The operator should be listed in `docs_app/content/guide/operators.md` in a category of operators
10+
- [ ] The operator should be listed in `apps/rxjs.dev/content/guide/operators.md` in a category of operators
1111
- [ ] The operator should also be documented. See [Documentation Guidelines](../CONTRIBUTING.md).
1212
- [ ] You may need to update `MIGRATION.md` if the operator differs from the corresponding one in RxJS v4
1313
-->

‎.github/workflows/ci_main.yml

+21-22
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
node: ['16', '18']
15+
node: ['18', '20']
1616

1717
name: Node ${{ matrix.node }} build
1818

@@ -24,24 +24,23 @@ jobs:
2424
cache: npm
2525
- name: install
2626
run: |
27-
npm install -g npm@latest
28-
npm ci
29-
- name: lint
30-
run: npm run lint
31-
- name: build
32-
run: npm run build:package
33-
- name: test
34-
run: npm test
35-
- name: dtslint
36-
run: npm run dtslint
37-
- name: import
38-
if: ${{ matrix.node == '18' }}
39-
run: npm run test:import
40-
- name: import
41-
if: ${{ matrix.node == '16' || matrix.node == '18' }}
42-
run: npm run test:esm
43-
- name: docs
44-
run: |
45-
cd docs_app
46-
npm run setup
47-
npm run build
27+
npm install -g yarn@latest
28+
yarn install
29+
- name: rxjs lint
30+
run: yarn workspace rxjs lint
31+
- name: rxjs build
32+
run: yarn workspace rxjs build
33+
- name: rxjs test
34+
run: yarn workspace rxjs test
35+
- name: rxjs dtslint
36+
run: yarn workspace rxjs dtslint
37+
- name: rxjs test:import
38+
if: ${{ matrix.node == '18' || matrix.node == '20' }}
39+
run: yarn workspace rxjs test:import
40+
- name: rxjs test:esm
41+
if: ${{ matrix.node == '18' || matrix.node == '20' }}
42+
run: yarn workspace rxjs test:esm
43+
- name: rxjs.dev build
44+
run: yarn workspace rxjs.dev build --prod
45+
- name: rxjs.dev test
46+
run: yarn workspace rxjs.dev test --watch=false --browsers=ChromeHeadless

0 commit comments

Comments
 (0)
Please sign in to comment.