Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #25

Merged
merged 14 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ jest.config.js
test/*
.mesh/*
__mocks__/*
lib/*
dist/*
coverage/*
custom-fetch.js
commitlint.config.js
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release

on:
push:
branches: [main]
branches: [ develop ]

jobs:
release:
Expand Down Expand Up @@ -30,8 +30,8 @@ jobs:
run: pnpm format
- name: Build
run: pnpm build
# - name: Release
# env:
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# run: pnpm dlx semantic-release@22.0.12
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm dlx semantic-release@22.0.12
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ node_modules/
.env
dist/
*.tgz
lib/
coverage/
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
./src/
./test/
./tsdocs/
76 changes: 76 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# [1.0.0-develop.6](https://github.com/Gateway-DAO/gateway-js-sdk/compare/v1.0.0-develop.5...v1.0.0-develop.6) (2024-01-23)


### Bug Fixes

* **tracking:** refresh .gitignore ([03317a8](https://github.com/Gateway-DAO/gateway-js-sdk/commit/03317a8bc497d119c3232e5ca59f35882d37f289))

# [1.0.0-develop.5](https://github.com/Gateway-DAO/gateway-js-sdk/compare/v1.0.0-develop.4...v1.0.0-develop.5) (2024-01-23)

### Bug Fixes

- minior fixes for git release ([e306c60](https://github.com/Gateway-DAO/gateway-js-sdk/commit/e306c60701dc29a9015fc95fdd588dd25f6c9511))

# [1.0.0-develop.4](https://github.com/Gateway-DAO/gateway-js-sdk/compare/v1.0.0-develop.3...v1.0.0-develop.4) (2024-01-22)

### Bug Fixes

- **tracking:** for output dirs ([583ca4b](https://github.com/Gateway-DAO/gateway-js-sdk/commit/583ca4b99f82c7e540d986d386c085b97e85238b))

# [1.0.0-develop.3](https://github.com/Gateway-DAO/gateway-js-sdk/compare/v1.0.0-develop.2...v1.0.0-develop.3) (2024-01-22)

### Bug Fixes

- **build:** changed lib-> dir ([6c7faa2](https://github.com/Gateway-DAO/gateway-js-sdk/commit/6c7faa2f394ddd6b1e4221731ecd8e5f76d7fe33))
- **build:** generated output location ([e6811f0](https://github.com/Gateway-DAO/gateway-js-sdk/commit/e6811f085d49bd3525fd32cd12add4de0f2b2e6a))

# [1.0.0-develop.2](https://github.com/Gateway-DAO/gateway-js-sdk/compare/v1.0.0-develop.1...v1.0.0-develop.2) (2024-01-22)

### Features

- added gitignore file ([3eef738](https://github.com/Gateway-DAO/gateway-js-sdk/commit/3eef738b372837ca9a10ac8b62824387e3f17cc5))

# 1.0.0-develop.1 (2024-01-22)

### Bug Fixes

- actions nodet setup version upgraded ([e99f1ba](https://github.com/Gateway-DAO/gateway-js-sdk/commit/e99f1ba6da6c4af9336f3118e3da690e06599b1b))
- ci pipline and added pre-release for beta branch ([b21dd18](https://github.com/Gateway-DAO/gateway-js-sdk/commit/b21dd181307c22ebc244c6ac89e2d3c9520baa14))
- **ci:** github actions configs ([12d1712](https://github.com/Gateway-DAO/gateway-js-sdk/commit/12d1712eeb2ab32ecc8ee5a382948d976ec35543))
- deleted user test ([b1628fa](https://github.com/Gateway-DAO/gateway-js-sdk/commit/b1628faf68bd964d63b68efbf9a5f3d3dec13906))
- **lock-file:** configs ([5620b1d](https://github.com/Gateway-DAO/gateway-js-sdk/commit/5620b1d978807bcd025e755592a1de55f2628e47))
- pnpm direct installation ([c041af1](https://github.com/Gateway-DAO/gateway-js-sdk/commit/c041af1de5f88107a11a2d7111b3c9794972e05e))
- ran linter on code ([dda46c1](https://github.com/Gateway-DAO/gateway-js-sdk/commit/dda46c1e406f206ed31d9bbef27b2c585f019d76))
- **test:** file location ([b3ee582](https://github.com/Gateway-DAO/gateway-js-sdk/commit/b3ee5826c90c34d1205a7d70c337995b63d62a3e))

### Features

- added all auth related queries and mutations and test cases ([2f4f6ee](https://github.com/Gateway-DAO/gateway-js-sdk/commit/2f4f6ee961cc86234f670073563e0f67d1d5aeb4))
- added code coverage ([3700e55](https://github.com/Gateway-DAO/gateway-js-sdk/commit/3700e55572452bf1a8ed8c3adc03aca460c70490))
- added data request template queries and mutations and unit test ([d1c12a6](https://github.com/Gateway-DAO/gateway-js-sdk/commit/d1c12a6dde0fea1ec2b200bf6e4c0bc08075c0ed))
- added default values for all getters very imp! ([c6bf58d](https://github.com/Gateway-DAO/gateway-js-sdk/commit/c6bf58dae863d7c0c6b2ceb4ff9f59eca17fb56e))
- added error hanlder and fixed tests ([87c3c49](https://github.com/Gateway-DAO/gateway-js-sdk/commit/87c3c4905805298ba185855632e7ef8bfa6600ee))
- added lint staged ([3314f34](https://github.com/Gateway-DAO/gateway-js-sdk/commit/3314f3426d03ae0bde956ef43fd178047c11ac8b))
- added mocks,stubs for auth class ([38a604f](https://github.com/Gateway-DAO/gateway-js-sdk/commit/38a604f538e9277811898fb1d0e73ced7e307b76))
- added org related mutations ([09c668f](https://github.com/Gateway-DAO/gateway-js-sdk/commit/09c668f4bb81f4ca411a2384635ff6f6074e7d60))
- added prettier and eslint ([c06a800](https://github.com/Gateway-DAO/gateway-js-sdk/commit/c06a800c34112ddfc115014acfbe7474782cb4cc))
- added remaining queries/mutations ([b0b5e7c](https://github.com/Gateway-DAO/gateway-js-sdk/commit/b0b5e7cfad51bb6902656e8c013e53ac4e037ada))
- added testing workflow ([b298a98](https://github.com/Gateway-DAO/gateway-js-sdk/commit/b298a98954c4fd6acfd1ff016b7f488c42418261))
- added types for unregister auth method ([bcea6de](https://github.com/Gateway-DAO/gateway-js-sdk/commit/bcea6de2b7bfee8debbfdded3c5a91a8af3d6f69))
- added unit test for organizations ([60bee1d](https://github.com/Gateway-DAO/gateway-js-sdk/commit/60bee1dd70f05fd838b7d9adcc02049fae63d167))
- added user related methods and test ([66f800b](https://github.com/Gateway-DAO/gateway-js-sdk/commit/66f800bee1b5539fce3a8aa6e9ca8da35ea35ca7))
- added user related methods and test ([2d9ad57](https://github.com/Gateway-DAO/gateway-js-sdk/commit/2d9ad57f8b3dbc4bb8cff24b463c4eb1d0162d05))
- added validators to check objects ([09d1ac0](https://github.com/Gateway-DAO/gateway-js-sdk/commit/09d1ac0af322627d7899b543dcfea27dc4043d5f))
- adding eslint to ci ([037e957](https://github.com/Gateway-DAO/gateway-js-sdk/commit/037e957f093f8ecf43305295b6733be6fef4bf78))
- **ci:** versioning for package ([fa43f38](https://github.com/Gateway-DAO/gateway-js-sdk/commit/fa43f381d1676aa27a572f51c45e45e8764da2c5))
- completed all pda query and test cases for same ([d3602fa](https://github.com/Gateway-DAO/gateway-js-sdk/commit/d3602fac6e1e3e88cf84adbd4e8a6a34de04d714))
- completed remaining methods for pda class ([c17a95b](https://github.com/Gateway-DAO/gateway-js-sdk/commit/c17a95baa9ac62f6daa0a38ab87b2629e78eb05e))
- completed user mocks and stubs ([bc9fed2](https://github.com/Gateway-DAO/gateway-js-sdk/commit/bc9fed247dbaed0db0ddbefaa1dee03135faedb1))
- done with user,data request template mocks and stubs ([25e2a58](https://github.com/Gateway-DAO/gateway-js-sdk/commit/25e2a58ef3631e0edd563869383efd2dfbb58a12))
- **test:** added for users ([3520570](https://github.com/Gateway-DAO/gateway-js-sdk/commit/352057014c35f03de9491b4dedea7ecce50f0949))
- testing env on gh actions ([90cf3a3](https://github.com/Gateway-DAO/gateway-js-sdk/commit/90cf3a35c88438b41b8081fa42597bf58059cbfe))
- working on adding types everywhere possible ([2cc363d](https://github.com/Gateway-DAO/gateway-js-sdk/commit/2cc363d8246c2989e53bfe254534595357c956cd))

### Reverts

- custom fetch file deleted ([e719af5](https://github.com/Gateway-DAO/gateway-js-sdk/commit/e719af5d3d03d99c030f90f71981ed2242b55611))
10 changes: 8 additions & 2 deletions release.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
module.exports = {
branches: ['main'],
branches: [
'main',
{
name: 'develop',
prerelease: true
}
],
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
Expand All @@ -14,7 +20,7 @@ module.exports = {
[
'@semantic-release/git',
{
assets: ['CHANGELOG.md', 'dist/**'],
assets: ['CHANGELOG.md'],
message:
'chore(release): set `package.json` to ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}',
},
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"skipLibCheck": true,
"allowJs": true,
"typeRoots": ["./typings", "./node_modules/@types/"],
"outDir": "lib",
"outDir": "./dist/",
"declaration": true,
},
}