Skip to content

Commit 71f3e1e

Browse files
Merge branch 'vrusakov/rebase-alpha-on-master' into alpha
2 parents f8c0506 + 9184d80 commit 71f3e1e

File tree

4,434 files changed

+53482
-36310
lines changed

Some content is hidden

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

4,434 files changed

+53482
-36310
lines changed

.eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ module.exports = {
5454
required: 'id',
5555
allowChildren: false,
5656
}],
57+
'no-param-reassign': [2, { props: false }],
5758
},
5859
env: {
5960
jest: true,

.github/workflows/analyze-dependents.yml

+10
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,16 @@ jobs:
191191
with:
192192
repository: edx/studio-frontend
193193
path: dependent-usage-analyzer/.projects/studio-frontend
194+
- name: Checkout edx/frontend-app-communications
195+
uses: actions/checkout@v2
196+
with:
197+
repository: edx/frontend-app-communications
198+
path: dependent-usage-analyzer/.projects/frontend-app-communications
199+
- name: Checkout edx/frontend-app-learner-dashboard
200+
uses: actions/checkout@v2
201+
with:
202+
repository: edx/frontend-app-learner-dashboard
203+
path: dependent-usage-analyzer/.projects/frontend-app-learner-dashboard
194204
- name: Verify checkouts
195205
working-directory: dependent-usage-analyzer
196206
run: ls -la .projects

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
run: |
2525
npm ci
2626
npm run generate-component-install
27+
npm run doc-site-install
28+
- name: Check Types
29+
run: npm run type-check
2730
- name: Lint
2831
run: npm run lint
2932
- name: Test

.github/workflows/manual-publish.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Manual Publish
2+
on: [workflow_dispatch]
3+
jobs:
4+
release:
5+
name: Manual Publish
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout
9+
uses: actions/checkout@v2
10+
with:
11+
fetch-depth: 0
12+
- name: Setup Node.js
13+
uses: actions/setup-node@v2
14+
with:
15+
node-version: 16
16+
- name: Install dependencies
17+
run: npm ci
18+
- name: Validate package-lock.json changes
19+
run: make validate-no-uncommitted-package-lock-changes
20+
- name: Lint
21+
run: npm run lint
22+
- name: Test
23+
run: npm run test
24+
- name: i18n_extract
25+
run: npm run i18n_extract
26+
- name: Coverage
27+
uses: codecov/codecov-action@v2
28+
- name: Build
29+
run: npm run build
30+
# NPM expects to be authenticated for publishing. This step will fail CI if NPM is not authenticated
31+
- name: Check NPM authentication
32+
run: |
33+
echo "//registry.npmjs.org/:_authToken=${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}" >> .npmrc
34+
npm whoami
35+
- name: Release
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
38+
NPM_TOKEN: ${{ secrets.SEMANTIC_RELEASE_NPM_TOKEN }}
39+
# `npm publish` relies on version specified in package.json file
40+
run: npm publish --tag old-version

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
run: |
2626
npm ci
2727
npm run generate-component-install
28+
npm run doc-site-install
2829
- name: Lint
2930
run: npm run lint
3031
- name: Test
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Update Browserslist DB
2+
on:
3+
schedule:
4+
- cron: '0 0 * * 1'
5+
workflow_dispatch:
6+
7+
jobs:
8+
update-browserslist:
9+
uses: openedx/.github/.github/workflows/update-browserslist-db.yml@master
10+
11+
secrets:
12+
requirements_bot_github_token: ${{ secrets.requirements_bot_github_token }}

CONTRIBUTING.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Contributing
2+
3+
## Open edX
4+
5+
Please refer to the ["How to Contribute"](https://openedx.org/r/how-to-contribute) documentation and [Code of Conduct](https://openedx.org/code-of-conduct/) from Open edX for general information on contributing to the Open edX project.
6+
7+
## Paragon
8+
9+
The Paragon Working Group accepts bug fixes, new features, documentation, and security patches. You may find open issues [here](https://github.com/openedx/paragon/issues) or by visiting the Paragon Working Group [project board](https://github.com/orgs/openedx/projects/43/views/15). Issues with the "help wanted" or "byte-size" labels may be good candidates to pick up.
10+
11+
If you'd like to contribute a new component or update an existing component, please consider reaching out to the Paragon Working Group via the channels [described in the README](./README.md#getting-help) to propose your changes.
12+
13+
The Paragon Working Group looks forward to your contributions! 💎

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ push_translations:
4848

4949
# Pulls translations from Transifex.
5050
pull_translations: | requirements
51-
tx pull -f --mode reviewed --languages=$(transifex_langs)
51+
tx pull -t -f --mode reviewed --languages=$(transifex_langs)
5252
# compile files with translated strings to KEYVALUEJSON format which react-intl understands...
5353
npm run-script i18n_compile
5454

0 commit comments

Comments
 (0)