File tree Expand file tree Collapse file tree 22 files changed +5739
-1036
lines changed Expand file tree Collapse file tree 22 files changed +5739
-1036
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "projectName" : " qwik-nx" ,
3
+ "projectOwner" : " qwikifiers" ,
4
+ "repoType" : " github" ,
5
+ "repoHost" : " https://github.com" ,
6
+ "files" : [
7
+ " README.md"
8
+ ],
9
+ "imageSize" : 100 ,
10
+ "commit" : true ,
11
+ "commitConvention" : " angular" ,
12
+ "contributors" : [
13
+ {
14
+ "login" : " shairez" ,
15
+ "name" : " Shai Reznik" ,
16
+ "avatar_url" : " https://avatars1.githubusercontent.com/u/1430726?v=4" ,
17
+ "profile" : " https://hirez.io/?utm_source=github&utm_medium=link&utm_campaign=qwik-nx" ,
18
+ "contributions" : [
19
+ " code" ,
20
+ " test" ,
21
+ " infra" ,
22
+ " doc" ,
23
+ " maintenance" ,
24
+ " review" ,
25
+ " ideas"
26
+ ]
27
+ }
28
+ ],
29
+ "contributorsPerLine" : 7 ,
30
+ "skipCi" : true
31
+ }
Original file line number Diff line number Diff line change
1
+ node_modules
2
+ dist
3
+ coverage
4
+ .eslintrc. *
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Bug report
3
+ about : Create a report to help us improve
4
+ title : ' '
5
+ labels : ' '
6
+ assignees : ' '
7
+ ---
8
+
9
+ ** Describe the bug**
10
+ A clear and concise description of what the bug is.
11
+
12
+ ** To Reproduce**
13
+ Steps to reproduce the behavior:
14
+
15
+ 1 . Go to '...'
16
+ 2 . Click on '....'
17
+ 3 . Scroll down to '....'
18
+ 4 . See error
19
+
20
+ ** Expected behavior**
21
+ A clear and concise description of what you expected to happen.
22
+
23
+ ** Screenshots**
24
+ If applicable, add screenshots to help explain your problem.
25
+
26
+ ** Desktop (please complete the following information):**
27
+
28
+ - OS: [ e.g. iOS]
29
+ - Browser [ e.g. chrome, safari]
30
+ - Version [ e.g. 22]
31
+
32
+ ** Smartphone (please complete the following information):**
33
+
34
+ - Device: [ e.g. iPhone6]
35
+ - OS: [ e.g. iOS8.1]
36
+ - Browser [ e.g. stock browser, safari]
37
+ - Version [ e.g. 22]
38
+
39
+ ** Additional context**
40
+ Add any other context about the problem here.
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Feature request
3
+ about : Suggest an idea for this project
4
+ title : ' '
5
+ labels : ' '
6
+ assignees : ' '
7
+ ---
8
+
9
+ ** Is your feature request related to a problem? Please describe.**
10
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [ ...]
11
+
12
+ ** Describe the solution you'd like**
13
+ A clear and concise description of what you want to happen.
14
+
15
+ ** Describe alternatives you've considered**
16
+ A clear and concise description of any alternative solutions or features you've considered.
17
+
18
+ ** Additional context**
19
+ Add any other context or screenshots about the feature request here.
Original file line number Diff line number Diff line change
1
+ # What is it?
2
+
3
+ - [ ] Feature / enhancement
4
+ - [ ] Bug
5
+ - [ ] Docs / tests
6
+
7
+ # Description
8
+
9
+ Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
10
+
11
+ # Use cases and why
12
+
13
+ <!-- Actual / expected behavior if it's a bug -->
14
+
15
+ - 1 . One use case
16
+ - 2 . Another use case
17
+
18
+ # Screenshots/Demo
19
+
20
+ <!-- Add your screenshots here -->
21
+
22
+ # Checklist:
23
+
24
+ - [ ] My code follows the [ developer guidelines of this project] ( https://github.com/qwikifiers/qwik-nx/blob/main/CONTRIBUTING.md )
25
+ - [ ] I have performed a self-review of my own code
26
+ - [ ] I have made corresponding changes to the documentation
27
+ - [ ] Added new tests to cover the fix / functionality
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ description : Release packages
4
+
5
+ inputs :
6
+ github_token :
7
+ description : GitHub token
8
+ required : true
9
+ npm_token :
10
+ description : NPM token
11
+ required : true
12
+
13
+ runs :
14
+ using : composite
15
+ steps :
16
+ - name : Check Authentication with Registry
17
+ env :
18
+ NODE_AUTH_TOKEN : ${{ inputs.npm_token }}
19
+ shell : bash
20
+ run : npm whoami
21
+
22
+ - name : Version
23
+ env :
24
+ NODE_AUTH_TOKEN : ${{ inputs.npm_token }}
25
+ GITHUB_TOKEN : ${{ inputs.github_token }}
26
+ shell : bash
27
+ run : npx nx affected --base=last-release --target=version-publish
28
+
29
+ - name : Tag last-release
30
+ shell : bash
31
+ run : git tag -f last-release
32
+
33
+ - name : Push changes
34
+ uses : ad-m/github-push-action@master
35
+ with :
36
+ github_token : ${{ inputs.github_token }}
37
+ branch : ${{ github.ref }}
38
+ force : true
39
+ tags : true
Original file line number Diff line number Diff line change
1
+ name : setup
2
+
3
+ description : Setup Node, cache and install deps
4
+
5
+ inputs :
6
+ node_version :
7
+ description : Node Version
8
+ required : false
9
+ default : ' 16'
10
+
11
+ runs :
12
+ using : composite
13
+ steps :
14
+ - name : Checkout all commits
15
+ uses : actions/checkout@v3
16
+ with :
17
+ fetch-depth : 0
18
+
19
+ - name : Setup git user
20
+ shell : bash
21
+ run : |
22
+ git config --global user.name '@qwikifiers'
23
+ git config --global user.email '[email protected] '
24
+
25
+ - name : Use Node
26
+ uses : actions/setup-node@v3
27
+ with :
28
+ node-version : ${{ inputs.node_version }}
29
+ # This doesn't just set the registry url, but also sets
30
+ # the right configuration in .npmrc that reads NPM token
31
+ # from NPM_AUTH_TOKEN environment variable.
32
+ # It actually creates a .npmrc in a temporary folder
33
+ # and sets the NPM_CONFIG_USERCONFIG environment variable.
34
+ registry-url : https://registry.npmjs.org
35
+ cache : ' npm'
36
+
37
+ - name : Install dependencies
38
+ shell : bash
39
+ run : npm ci
Original file line number Diff line number Diff line change
1
+ name : Test
2
+
3
+ description : Lint, Test and upload to Codecov
4
+
5
+ runs :
6
+ using : composite
7
+
8
+ steps :
9
+ # - name: Commitlint
10
+ # shell: bash
11
+ # run: npx --no-install commitlint --from=last-release
12
+
13
+ - name : Lint
14
+ shell : bash
15
+ run : pnpx nx affected:lint --base=last-release
16
+
17
+ - name : Build
18
+ shell : bash
19
+ run : pnpx nx affected:build --base=last-release
20
+
21
+ # - name: Test
22
+ # shell: bash
23
+ # run: npx nx affected --target=test --base=last-release
24
+
25
+ # - name: E2E Tests
26
+ # shell: bash
27
+ # run: npx nx affected --target=e2e --base=last-release
28
+
29
+ # - name: Codecov upload
30
+ # uses: codecov/codecov-action@v2
Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ on :
4
+ - workflow_dispatch
5
+
6
+ jobs :
7
+ test :
8
+ runs-on : ubuntu-latest
9
+
10
+ strategy :
11
+ matrix :
12
+ node_version : [16]
13
+
14
+ steps :
15
+ - uses : actions/checkout@v3
16
+ - name : Setup
17
+ uses : ./.github/actions/setup
18
+ with :
19
+ node_version : ${{ matrix.node_version }}
20
+
21
+ - name : Test
22
+ uses : ./.github/actions/test
23
+ with :
24
+ codecov_token : ${{ secrets.CODECOV_TOKEN }}
25
+
26
+ release :
27
+ runs-on : ubuntu-latest
28
+
29
+ if : github.ref == 'refs/heads/main'
30
+
31
+ needs : [test]
32
+
33
+ steps :
34
+ - uses : actions/checkout@v3
35
+ - name : Setup
36
+ uses : ./.github/actions/setup
37
+
38
+ - name : Release
39
+ uses : ./.github/actions/release
40
+ with :
41
+ github_token : ${{ secrets.GITHUB_TOKEN }}
42
+ npm_token : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : Test
2
+
3
+ on :
4
+ - push
5
+ - pull_request
6
+
7
+ jobs :
8
+ test :
9
+ runs-on : ubuntu-latest
10
+
11
+ strategy :
12
+ matrix :
13
+ node_version : [16]
14
+
15
+ steps :
16
+ - uses : actions/checkout@v3
17
+ - name : Setup
18
+ uses : ./.github/actions/setup
19
+ with :
20
+ node_version : ${{ matrix.node_version }}
21
+
22
+ - name : Test
23
+ uses : ./.github/actions/test
You can’t perform that action at this time.
0 commit comments