Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
b4d01a3
feat(user-manager-client): vendor Semrush User Manager spec + generat…
byteclimber Jun 15, 2026
8fb71dc
feat(user-manager-client): add generated TypeScript + Pydantic v2 types
byteclimber Jun 15, 2026
8733f50
chore(user-manager-client): update lockfile for new package
byteclimber Jun 15, 2026
1f34691
fix(user-manager-client): use specific path fragments in foundation t…
byteclimber Jun 15, 2026
ce524e4
docs(user-manager-client): correct Auth-Data-Jwt spec artifact note
byteclimber Jun 16, 2026
b7114bc
Merge branch 'main' into feat/user-manager-client
byteclimber Jun 16, 2026
061b0ca
chore: merge main into feat/user-manager-client to resolve conflicts
byteclimber Jun 22, 2026
48c0988
feat(user-manager-client): add spec-correction overlay + corrections
rainer-friederich Jun 22, 2026
95538f2
Merge branch 'main' into feat/user-manager-client
rainer-friederich Jun 22, 2026
7dabc04
chore(user-manager-client): sync package-lock.json for js-yaml devDep
rainer-friederich Jun 22, 2026
b0c72a6
Merge origin/feat/user-manager-client (main-merge) into local lockfil…
rainer-friederich Jun 22, 2026
b4e4848
docs(user-manager-client): make README mergeable + sync overlay applier
rainer-friederich Jun 22, 2026
dbd38ef
docs(user-manager-client): durable README scope + sync overlay applier
rainer-friederich Jun 22, 2026
a354451
chore(user-manager-client): address non-blocking review nits
rainer-friederich Jun 22, 2026
187e6f5
docs: drop the second hard-coded package count in CLAUDE.md
rainer-friederich Jun 22, 2026
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
4 changes: 2 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ Coverage enforcement: **100% lines/statements, 97% branches** per package (see e

## Architecture Overview

This is the **foundation library layer** for all SpaceCat Node.js services. It's an npm workspaces monorepo (no lerna/nx) containing 23 packages that provide data access, API clients, utilities, and auth used by `spacecat-api-service`, `spacecat-audit-worker`, `spacecat-import-worker`, and other platform services.
This is the **foundation library layer** for all SpaceCat Node.js services. It's an npm workspaces monorepo (no lerna/nx) whose packages provide data access, API clients, utilities, and auth used by `spacecat-api-service`, `spacecat-audit-worker`, `spacecat-import-worker`, and other platform services.

### Monorepo Structure

```
spacecat-shared/
├── packages/ # 23 npm workspace packages
├── packages/ # npm workspace packages
│ ├── spacecat-shared-data-access/ # Core data layer (PostgREST + Aurora PostgreSQL)
│ ├── spacecat-shared-http-utils/ # HTTP response helpers + auth middleware
│ ├── spacecat-shared-utils/ # General utilities (validation, S3, SQS, helpers)
Expand Down
72 changes: 72 additions & 0 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions packages/spacecat-shared-user-manager-client/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
src/generated/** linguist-generated=true
python/serenity_user_manager/** linguist-generated=true
9 changes: 9 additions & 0 deletions packages/spacecat-shared-user-manager-client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Intermediate conversion artifact — regenerated by `npm run spec:convert`, never committed.
build/

# Counterfact scratch dir (mock handlers materialized at runtime).
.counterfact/

# The generated Python package is committed (model.py, __init__.py, plus any
# per-prefix modules); only the bytecode caches are ignored.
python/**/__pycache__/
17 changes: 17 additions & 0 deletions packages/spacecat-shared-user-manager-client/.jsdoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"plugins": [],
"recurseDepth": 10,
"source": {
"includePattern": ".+\\.js(doc|x)?$",
"excludePattern": "(^|\\/|\\\\)_"
},
"sourceType": "module",
"tags": {
"allowUnknownTags": true,
"dictionaries": ["jsdoc","closure"]
},
"templates": {
"cleverLinks": false,
"monospaceLinks": false
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"reporterEnabled": "spec,xunit",
"xunitReporterOptions": {
"output": "junit/test-results.xml"
}
}
12 changes: 12 additions & 0 deletions packages/spacecat-shared-user-manager-client/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
coverage/
node_modules/
junit/
test/
docs/
logs/
build/
python/
.counterfact/
test-results.xml
renovate.json
.*
1 change: 1 addition & 0 deletions packages/spacecat-shared-user-manager-client/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
17 changes: 17 additions & 0 deletions packages/spacecat-shared-user-manager-client/.nycrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"reporter": [
"lcov",
"text"
],
"check-coverage": true,
"lines": 100,
"branches": 100,
"statements": 100,
"all": true,
"include": [
"src/**/*.js"
],
"exclude": [
"src/generated/**"
]
}
21 changes: 21 additions & 0 deletions packages/spacecat-shared-user-manager-client/.releaserc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
module.exports = {
extends: "semantic-release-monorepo",
plugins: [
["@semantic-release/commit-analyzer", {
"preset": "conventionalcommits",
}],
["@semantic-release/release-notes-generator", {
"preset": "conventionalcommits",
}],
["@semantic-release/changelog", {
"changelogFile": "CHANGELOG.md",
}],
...(process.env.SR_NO_NPM_AUTH === 'true' ? [] : ["@semantic-release/npm"]),
["@semantic-release/git", {
"assets": ["package.json", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}],
["@semantic-release/github", {}],
],
branches: ['main'],
};
74 changes: 74 additions & 0 deletions packages/spacecat-shared-user-manager-client/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Adobe Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
nationality, personal appearance, race, religion, or sexual identity and
orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at Grp-opensourceoffice@adobe.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
74 changes: 74 additions & 0 deletions packages/spacecat-shared-user-manager-client/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# Contributing to Spacecat Shared

This project (like almost all of Project Franklin) is an Open Development project and welcomes contributions from everyone who finds it useful or lacking.

## Code Of Conduct

This project adheres to the Adobe [code of conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to cstaub at adobe dot com.

## Contributor License Agreement

All third-party contributions to this project must be accompanied by a signed contributor license. This gives Adobe permission to redistribute your contributions as part of the project. [Sign our CLA](http://opensource.adobe.com/cla.html)! You only need to submit an Adobe CLA one time, so if you have submitted one previously, you are good to go!

## Things to Keep in Mind

This project uses a **commit then review** process, which means that for approved maintainers, changes can be merged immediately, but will be reviewed by others.

For other contributors, a maintainer of the project has to approve the pull request.

# Before You Contribute

* Check that there is an existing issue in GitHub issues
* Check if there are other pull requests that might overlap or conflict with your intended contribution

# How to Contribute

1. Fork the repository
2. Make some changes on a branch on your fork
3. Create a pull request from your branch

In your pull request, outline:

* What the changes intend
* How they change the existing code
* If (and what) they breaks
* Start the pull request with the GitHub issue ID, e.g. #123

Lastly, please follow the [pull request template](.github/pull_request_template.md) when submitting a pull request!

Each commit message that is not part of a pull request:

* Should contain the issue ID like `#123`
* Can contain the tag `[trivial]` for trivial changes that don't relate to an issue



## Coding Styleguides

We enforce a coding styleguide using `eslint`. As part of your build, run `npm run lint` to check if your code is conforming to the style guide. We do the same for every PR in our CI, so PRs will get rejected if they don't follow the style guide.

You can fix some of the issues automatically by running `npx eslint . --fix`.

## Commit Message Format

This project uses a structured commit changelog format that should be used for every commit. Use `npm run commit` instead of your usual `git commit` to generate commit messages using a wizard.

```bash
# either add all changed files
$ git add -A
# or selectively add files
$ git add package.json
# then commit using the wizard
$ npm run commit
```

# How Contributions get Reviewed

One of the maintainers will look at the pull request within one week. Feedback on the pull request will be given in writing, in GitHub.

# Release Management

The project's committers will release to the [Adobe organization on npmjs.org](https://www.npmjs.com/org/adobe).
Please contact the [Adobe Open Source Advisory Board](https://git.corp.adobe.com/OpenSourceAdvisoryBoard/discuss/issues) to get access to the npmjs organization.

The release process is fully automated using `semantic-release`, increasing the version numbers, etc. based on the contents of the commit messages found.
Loading
Loading