Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
c9f1adc
chore(deps-dev): bump auto from 9.50.1 to 9.52.0 (#1099)
dependabot-preview[bot] Aug 22, 2020
ec60ec8
Experiment with extensions
jdalrymple Aug 22, 2020
eb00953
Set default C types
jdalrymple Oct 13, 2020
91f287a
Ignore casing for tests
jdalrymple Oct 13, 2020
f9f9888
called before defined
jdalrymple Oct 13, 2020
001fbdb
Set default value
jdalrymple Oct 14, 2020
f0740c3
Merge branch 'master' into 1088-union-typing
jdalrymple Jan 25, 2021
4f42798
Merge branch 'master' into 1088-union-typing
jdalrymple Jan 25, 2021
116eb64
First set of updates, adding types where needed.
jdalrymple Jan 25, 2021
4fa3a8f
Adding more typing keys
jdalrymple Jan 26, 2021
358ec7e
More adjustments
jdalrymple Jan 26, 2021
6c32204
Debugging
jdalrymple Jan 26, 2021
920ca6a
Build fix
jdalrymple Jan 26, 2021
205e638
More typing
jdalrymple Jan 30, 2021
2a12c6c
Merge branch 'master' into 1088-union-typing
jdalrymple Jan 30, 2021
2ed8e4e
Merge branch 'master' into 1088-union-typing
jdalrymple Feb 7, 2021
b7ae7db
Merge branch 'master' into 1088-union-typing
jdalrymple Feb 9, 2021
5b46fe2
Merge branch 'master' into 1088-union-typing
jdalrymple Feb 26, 2021
b736209
Updating typing and updating deployments service to match docs
jdalrymple Mar 2, 2021
af1e26d
Next stage of clean up. Next is reviewing
jdalrymple Mar 2, 2021
61d94fc
Handle the array situation
jdalrymple Mar 3, 2021
6b2a9e9
Updating branch typing and removing broken functions (protect and unp…
jdalrymple Mar 5, 2021
1402ba9
Adding types for application settings and broadcast message services
jdalrymple Mar 5, 2021
8ebc3ba
Adding typing information for Commits
jdalrymple Mar 5, 2021
04f2665
Updating repositories function to be separate for project and groups,…
jdalrymple Mar 7, 2021
57a8bf5
Defaulting delete return type to void, and adding DeployKey types
jdalrymple Mar 7, 2021
9857ada
Completing types for environments
jdalrymple Mar 7, 2021
1de5b14
Cleaning up void return types on discussions
jdalrymple Mar 7, 2021
db045fb
Fixing build errors
jdalrymple Mar 7, 2021
cf68016
Adding schema for milestones, merge requests and epicissues
jdalrymple Mar 8, 2021
732ed29
Abstracting issues schema and adding all discussions schemas
jdalrymple Mar 8, 2021
2a878ba
Fixing unit tests
jdalrymple Mar 8, 2021
4361403
Adding types for notes and epics
jdalrymple Mar 9, 2021
3bc6a78
Return types for Events, FeatureFlags, FreezePeriods and GeoNodes
jdalrymple Mar 10, 2021
0d1190b
Add DockerfileTemplate Support
jdalrymple Mar 10, 2021
c69689c
Add return type for all templates
jdalrymple Mar 10, 2021
3f965cf
Adding many more types and fixing up default void return type
jdalrymple Mar 11, 2021
36f1e90
More types
jdalrymple Mar 14, 2021
60060ef
More types
jdalrymple Mar 19, 2021
b499806
Adding more types and fixing broken http call references
jdalrymple Mar 21, 2021
e7d3667
Linting changes, stop penalising implicit types
jdalrymple Mar 21, 2021
5733012
More types
jdalrymple Mar 22, 2021
ecbfce6
Update more schemas, add TODO comments for missing functions
jdalrymple Apr 17, 2021
25cc69a
Linting latest changes
jdalrymple Apr 17, 2021
57cc411
Update spelling of license
jdalrymple Apr 17, 2021
989f0bb
More types
jdalrymple Apr 17, 2021
d0b6097
Additional types
jdalrymple Apr 17, 2021
944da2d
Linting
jdalrymple Apr 17, 2021
2118ef0
More types
jdalrymple Apr 19, 2021
ef49e44
More types
jdalrymple Apr 23, 2021
370b453
More type updates
jdalrymple Apr 26, 2021
7791478
Adding more types
jdalrymple May 4, 2021
eaae692
More types
jdalrymple May 5, 2021
6338a61
Last set of currently supported types
jdalrymple May 9, 2021
e0b8f2e
null cleanup
jdalrymple May 9, 2021
451dfa0
Build fixes
jdalrymple May 9, 2021
a48773f
Debugging tests
jdalrymple May 9, 2021
e1a3622
Adding deploy tokens test
jdalrymple May 9, 2021
e2bbd59
Updating tests!
jdalrymple May 9, 2021
837a2be
Updating skipped tests
jdalrymple May 9, 2021
c35fd1a
Updating tests
jdalrymple May 11, 2021
1204ff4
Updating build deps
jdalrymple May 11, 2021
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
11 changes: 11 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ rules:
import/no-default-export: error
import/prefer-default-export: off
'@typescript-eslint/explicit-function-return-type': off
'@typescript-eslint/explicit-module-boundary-types': off
import/no-extraneous-dependencies:
- error
- devDependencies:
Expand All @@ -51,6 +52,16 @@ overrides:
- '**/*.tsx'
rules:
camelcase: 'off'
- files:
- '**/test/**/*.ts'
rules:
'@typescript-eslint/no-var-requires': 'off'
global-require: 'off'
jest/no-mocks-import: 'off'
- files:
- '**/__mocks__/**/*.ts'
rules:
import/no-default-export: 'off'

settings:
import/resolver:
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ GitignoreTemplates
GitLabCIYMLTemplates
Keys
License
LicenceTemplates
LicenseTemplates
Lint
Markdown
Namespaces
Expand All @@ -223,7 +223,6 @@ GroupCustomAttributes
GroupIssueBoards
GroupMembers
GroupMilestones
GroupProjects
GroupRunners
GroupVariables
GroupLabels
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
},
"repository": "github:jdalrymple/gitbeaker",
"devDependencies": {
"@auto-it/all-contributors": "^10.3.0",
"@auto-it/core": "^10.3.0",
"@auto-it/first-time-contributor": "^10.3.0",
"@auto-it/released": "^10.3.0",
"@auto-it/all-contributors": "^10.27.0",
"@auto-it/core": "^10.27.0",
"@auto-it/first-time-contributor": "^10.27.0",
"@auto-it/released": "^10.27.0",
"@types/jest": "^26.0.15",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
"all-contributors-cli": "^6.19.0",
"auto": "^10.3.0",
"auto": "^10.27.0",
"codecov": "^3.8.0",
"eslint": "^7.11.0",
"eslint-config-airbnb-base": "^14.2.0",
Expand All @@ -28,7 +28,7 @@
"lint-staged": "^10.4.2",
"prettier": "^2.1.2",
"ts-jest": "^26.4.1",
"typescript": "^4.0.3",
"typescript": "^4.2.4",
"uuid": "^8.3.2"
},
"private": true,
Expand Down
14 changes: 7 additions & 7 deletions packages/gitbeaker-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,23 @@
"ky": "^0.25.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.0.0",
"@rollup/plugin-replace": "^2.3.3",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"@types/expect-puppeteer": "^4.4.3",
"@types/jest-environment-puppeteer": "^4.3.2",
"@types/node": "^14.11.2",
"@types/puppeteer": "^5.4.0",
"jest-puppeteer": "^4.4.0",
"node-fetch": "^2.6.1",
"puppeteer": "7.1.0",
"rollup": "^2.18.0",
"rollup": "^2.47.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.29.0",
"ts-node": "^9.0.0",
"typescript": "^4.0.3"
"rollup-plugin-typescript2": "^0.30.0",
"ts-node": "^9.1.1",
"typescript": "^4.2.4"
},
"engines": {
"node": ">=10.19.0"
Expand Down
5 changes: 2 additions & 3 deletions packages/gitbeaker-browser/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export const {
GroupIssueBoards,
GroupMembers,
GroupMilestones,
GroupProjects,
GroupRunners,
GroupVariables,
GroupLabels,
Expand All @@ -28,7 +27,7 @@ export const {
UserCustomAttributes,
UserEmails,
UserImpersonationTokens,
UserKeys,
UserSSHKeys,
UserGPGKeys,

// Projects
Expand Down Expand Up @@ -94,7 +93,7 @@ export const {
GitLabCIYMLTemplates,
Keys,
License,
LicenceTemplates,
LicenseTemplates,
Lint,
Namespaces,
NotificationSettings,
Expand Down
6 changes: 3 additions & 3 deletions packages/gitbeaker-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
},
"devDependencies": {
"@rollup/plugin-json": "^4.1.0",
"rollup": "^2.12.0",
"rollup": "^2.47.0",
"rollup-plugin-preserve-shebangs": "^0.2.0",
"rollup-plugin-typescript2": "^0.29.0",
"rollup-plugin-typescript2": "^0.30.0",
"strip-ansi": "^6.0.0",
"typescript": "^4.0.3"
"typescript": "^4.2.4"
},
"engines": {
"node": ">=10.19.0"
Expand Down
6 changes: 2 additions & 4 deletions packages/gitbeaker-cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,13 @@ function globalConfig(env = process.env): { [name: string]: Sywac.Options } {
},
'gb-profile-token': {
alias: 'gl-profile-token',
desc:
'[Requests Profiles Token](https://docs.gitlab.com/ee/administration/monitoring/performance/request_profiling.html)',
desc: '[Requests Profiles Token](https://docs.gitlab.com/ee/administration/monitoring/performance/request_profiling.html)',
type: 'string',
defaultValue: env.GITBEAKER_PROFILE_TOKEN || env.GITLAB_PROFILE_TOKEN,
},
'gb-profile-mode': {
alias: 'gl-profile-mode',
desc:
'[Requests Profiles Token](https://docs.gitlab.com/ee/administration/monitoring/performance/request_profiling.html)',
desc: '[Requests Profiles Token](https://docs.gitlab.com/ee/administration/monitoring/performance/request_profiling.html)',
type: 'string',
defaultValue: env.GITBEAKER_PROFILE_MODE || env.GITLAB_PROFILE_MODE,
},
Expand Down
8 changes: 4 additions & 4 deletions packages/gitbeaker-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"esm": "^3.2.25",
"fs-extra": "^9.0.1",
"get-param-names": "github:jdalrymple/get-param-names#1-improve-functionality",
"rollup": "^2.12.0",
"rollup-plugin-typescript2": "^0.29.0",
"ts-node": "^9.0.0",
"typescript": "^4.0.3"
"rollup": "^2.47.0",
"rollup-plugin-typescript2": "^0.30.0",
"ts-node": "^9.1.1",
"typescript": "^4.2.4"
},
"engines": {
"node": ">=10.19.0"
Expand Down
3 changes: 1 addition & 2 deletions packages/gitbeaker-core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export const GroupsBundle = bundler({
GroupIssueBoards: APIServices.GroupIssueBoards,
GroupMembers: APIServices.GroupMembers,
GroupMilestones: APIServices.GroupMilestones,
GroupProjects: APIServices.GroupProjects,
GroupRunners: APIServices.GroupRunners,
GroupVariables: APIServices.GroupVariables,
GroupLabels: APIServices.GroupLabels,
Expand All @@ -41,7 +40,7 @@ export const UsersBundle = bundler({
UserCustomAttributes: APIServices.UserCustomAttributes,
UserEmails: APIServices.UserEmails,
UserImpersonationTokens: APIServices.UserImpersonationTokens,
UserKeys: APIServices.UserKeys,
UserSSHKeys: APIServices.UserSSHKeys,
UserGPGKeys: APIServices.UserGPGKeys,
});

Expand Down
Loading