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

feat(mondo-fetch): Added mondo fetch #571

Merged
merged 38 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from 30 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
821fffb
initial commit
Jan 16, 2024
19cdcf4
Post endpoint is working
Jan 16, 2024
dd591f2
Added jest instead of mocha
Jan 16, 2024
dbcdb7d
Added mocha back in
Jan 16, 2024
778b4f2
Updated to use mondo-projen
Jan 25, 2024
48e14dc
Removed mocha/chai
Jan 30, 2024
b393ccb
Removed mocha/chai
Jan 30, 2024
90cafcd
Working test for post request
Jan 30, 2024
d143fcf
Moved helpers package to class, finalised put request tests
Feb 7, 2024
77f5e61
Added class documentation and expanded test coverage
Feb 7, 2024
cdb31c0
updated to using PNPM
Feb 8, 2024
158e7e0
Added auth token capabilities for fetch client
Feb 9, 2024
4940d0f
upgraded deps
Feb 14, 2024
fe9d28b
Set client config to have auth token as read only.
Feb 19, 2024
03003b6
Updated TODO
Mar 14, 2024
15d6bbc
build was not running with babel__core
charliehart-mondo Mar 19, 2024
493dd11
add PUT and DELETE methods
charliehart-mondo Mar 19, 2024
38f2f64
update docs for new methods
charliehart-mondo Mar 19, 2024
4e220b7
adding X-on-behalf-of
charliehart-mondo Mar 19, 2024
7f556fe
Changed to PNPM as default package manager
Mar 19, 2024
8cf6e70
Updated packages
Mar 19, 2024
9bca1da
Added docs
Mar 19, 2024
12f75f6
removed mondo-projen
Mar 20, 2024
25edfba
Added eslint rules to mondo-fetch
Mar 20, 2024
e7daa5e
Merge branch 'main' into feat/add-mondo-fetch
Mar 20, 2024
2bdc7a4
Updated pnpmlock
Mar 20, 2024
74a2114
update pnpm version
Mar 20, 2024
2047991
chore: self mutation
invalid-email-address Mar 20, 2024
a0f831b
Added docs
Mar 20, 2024
d997142
Merge branch 'feat/add-mondo-fetch' of github.com:MondoPower/mondo-co…
Mar 20, 2024
542d698
Added more documentation and cleaned up some files
Mar 20, 2024
f83ee76
chore: self mutation
invalid-email-address Mar 20, 2024
dd94452
Moved some documentation to the types interface instead of in the class.
Mar 21, 2024
f599e34
Use fetch headers instead of untyped object
Mar 21, 2024
d1637d9
Updated docs with some other requirements
Mar 21, 2024
d95d183
Merge branch 'main' into feat/add-mondo-fetch
Mar 21, 2024
f058a54
Tests now use the header constructor
Mar 21, 2024
04082e6
chore: self mutation
invalid-email-address Mar 21, 2024
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
6 changes: 4 additions & 2 deletions .gitattributes

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion .github/workflows/build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion .github/workflows/release.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion .github/workflows/upgrade-main.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .npmrc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .projen/files.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 12 additions & 6 deletions .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions .projenrc.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
import {LernaProject} from 'lerna-projen'
import {commonOptions, addNvmrc, addAutoMergeWorkflow} from './projects/common'
import {getMondoResultTypeProject} from './projects/result-types'
import {getMondoFetchProject} from './projects/mondo-fetch'
import {NodePackageManager} from 'projen/lib/javascript'

const workflowNodeVersion = '20'

const project = new LernaProject({
...commonOptions,
projenrcTs: true,
name: 'mondo-common-libs',
packageManager: NodePackageManager.PNPM,
pnpmVersion: '8',
releaseToNpm: true,
publishTasks: true,
docgen: true,
workflowNodeVersion,
sinceLastRelease: true,
devDeps: [
'lerna-projen'
'lerna-projen',
],
majorVersion: 1,
stale: true,
Expand All @@ -29,5 +33,6 @@ addNvmrc(project, workflowNodeVersion)
addAutoMergeWorkflow(project)

getMondoResultTypeProject(project)
getMondoFetchProject(project)

project.synth();
project.synth()
3 changes: 2 additions & 1 deletion docs/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/packages/mondo-fetch/.nojekyll

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions docs/packages/mondo-fetch/assets/highlight.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading