Skip to content

Commit 6c8faee

Browse files
authored
refact: moved from 'payload' to 'mzinga' (#21)
* refact: moved from 'payload' to 'mzinga' * ci: disabled turbo telemetry * refact: moved from 'payload' to 'mzinga' * fix: removed ts-expect-error comment * fix: set package.json version to 0.0.1 * ci: added workflow for release creation * ci: added missing install pnpm step * chore: updated pnpm-lock * chore: forced type definition * refact: moved from 'payload' to 'mzinga' * refact: moved from 'payload' to 'mzinga' * fix: reference to 'payload' * fix: removed payload references * test: added console.log * fix: renamed from 'payload' to 'mzinga' * fix: renamed from 'payload' to 'mzinga' * refact: moved from 'payload' to 'mzinga' * fix: renamed module
1 parent e3c0331 commit 6c8faee

File tree

2,145 files changed

+6183
-10442
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,145 files changed

+6183
-10442
lines changed

.git-blame-ignore-revs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ dfac7395fed95fc5d8ebca21b786ce70821942bb
1414
# lint and format plugin-cloud
1515
fb7d1be2f3325d076b7c967b1730afcef37922c2
1616

17-
# lint and format create-payload-app
17+
# lint and format create-mzinga-app
1818
5fd3d430001efe86515262ded5e26f00c1451181

.github/ISSUE_TEMPLATE/1.bug_report_v3.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: Functionality Bug
22
description: '[REPRODUCTION REQUIRED] - Create a bug report'
33
labels: ['status: needs-triage', 'v3', 'validate-reproduction']
44
body:
5-
65
- type: textarea
76
attributes:
87
label: Describe the Bug
@@ -15,7 +14,7 @@ body:
1514
label: Link to the code that reproduces this issue
1615
description: >-
1716
_REQUIRED_: Please provide a link to your reproduction. Note, if the URL is invalid (404 or a private repository), we may close the issue.
18-
Either use `npx create-payload-app@beta -t blank` then push to a repo or follow the [reproduction-guide](https://github.com/payloadcms/payload/blob/main/.github/reproduction-guide.md) for more information.
17+
Either use `npx create-payload-app@beta -t blank` then push to a repo or follow the [reproduction-guide](https://github.com/mzinga-io/mzinga-core/blob/main/.github/reproduction-guide.md) for more information.
1918
validations:
2019
required: true
2120

.github/ISSUE_TEMPLATE/3.bug_report_v2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ body:
1010
id: reproduction-link
1111
attributes:
1212
label: Link to reproduction
13-
description: Want us to look into your issue faster? Follow the [reproduction-guide](https://github.com/payloadcms/payload/blob/main/.github/reproduction-guide.md) for more information.
13+
description: Want us to look into your issue faster? Follow the [reproduction-guide](https://github.com/mzinga-io/mzinga-core/blob/main/.github/reproduction-guide.md) for more information.
1414
validations:
1515
required: false
1616
- type: textarea

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Feature Request
4-
url: https://github.com/payloadcms/payload/discussions
4+
url: https://github.com/mzinga-io/mzinga-core/discussions
55
about: Suggest an idea to improve Payload in our GitHub Discussions
66
- name: Question about Payload
7-
url: https://github.com/payloadcms/payload/discussions
7+
url: https://github.com/mzinga-io/mzinga-core/discussions
88
about: Please ask Payload-related questions in our GitHub Discussions

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
Thank you for the PR! Please go through the checklist below and make sure you've completed all the steps.
44
5-
Please review the [CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md) document in this repository if you haven't already.
5+
Please review the [CONTRIBUTING.md](https://github.com/mzinga-io/mzinga-core/blob/main/CONTRIBUTING.md) document in this repository if you haven't already.
66
77
The following items will ensure that your PR is handled as smoothly as possible:
88

.github/comments/invalid-reproduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ We cannot recreate the issue with the provided information. **Please add a repro
22

33
### Why was this issue marked with the `invalid-reproduction` label?
44

5-
To be able to investigate, we need access to a reproduction to identify what triggered the issue. We prefer a link to a public GitHub repository created with `create-payload-app@beta -t blank` or a forked/branched version of this repository with tests added (more info in the [reproduction-guide](https://github.com/payloadcms/payload/blob/main/.github/reproduction-guide.md)).
5+
To be able to investigate, we need access to a reproduction to identify what triggered the issue. We prefer a link to a public GitHub repository created with `create-payload-app@beta -t blank` or a forked/branched version of this repository with tests added (more info in the [reproduction-guide](https://github.com/mzinga-io/mzinga-core/blob/main/.github/reproduction-guide.md)).
66

77
To make sure the issue is resolved as quickly as possible, please make sure that the reproduction is as **minimal** as possible. This means that you should **remove unnecessary code, files, and dependencies** that do not contribute to the issue. Ensure your reproduction does not depend on secrets, 3rd party registries, private dependencies, or any other data that cannot be made public. Avoid a reproduction including a whole monorepo (unless relevant to the issue). The easier it is to reproduce the issue, the quicker we can help.
88

@@ -14,5 +14,5 @@ Ensure the link is pointing to a codebase that is accessible (e.g. not a private
1414

1515
### Useful Resources
1616

17-
- [Reproduction Guide](https://github.com/payloadcms/payload/blob/main/.github/reproduction-guide.md)
17+
- [Reproduction Guide](https://github.com/mzinga-io/mzinga-core/blob/main/.github/reproduction-guide.md)
1818
- [Contributing to Payload](https://www.youtube.com/watch?v=08Qa3ggR9rw)

.github/reproduction-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Reproduction Guide
22

3-
1. [Fork](https://github.com/payloadcms/payload/fork) this repo
3+
1. [Fork](https://github.com/mzinga-io/mzinga-core/fork) this repo
44
2. Optionally, create a new branch for your reproduction
55
3. Run `pnpm install` to install dependencies
66
4. Open up the `test/_community` directory
@@ -40,7 +40,7 @@ There are a couple ways run integration tests:
4040

4141
- **Granularly** - you can run individual tests in vscode by installing the Jest Runner plugin and using that to run individual tests. Clicking the `debug` button will run the test in debug mode allowing you to set break points.
4242

43-
<img src="https://raw.githubusercontent.com/payloadcms/payload/main/packages/payload/src/admin/assets/images/github/int-debug.png" />
43+
<img src="https://raw.githubusercontent.com/mzinga-io/mzinga/main/packages/mzinga/src/admin/assets/images/github/int-debug.png" />
4444

4545
- **Manually** - you can run all int tests in the `/test/_community/int.spec.ts` file by running the following command:
4646

@@ -57,7 +57,7 @@ The easiest way to run E2E tests is to install
5757

5858
Once they are installed you can open the `testing` tab in vscode sidebar and drill down to the test you want to run, i.e. `/test/_community/e2e.spec.ts`
5959

60-
<img src="https://raw.githubusercontent.com/payloadcms/payload/main/packages/payload/src/admin/assets/images/github/e2e-debug.png" />
60+
<img src="https://raw.githubusercontent.com/mzinga-io/mzinga-core/main/packages/mzinga/src/admin/assets/images/github/e2e-debug.png" />
6161

6262
#### Notes
6363

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,8 @@ jobs:
348348
build-packages:
349349
runs-on: [self-hosted]
350350
needs: core-build
351+
env:
352+
TURBO_TELEMETRY_DISABLED: '1'
351353
strategy:
352354
fail-fast: false
353355
matrix:

.github/workflows/publish.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Publish Packages to npmjs
2+
on:
3+
release:
4+
types: [created]
5+
workflow_dispatch:
6+
permissions: read-all
7+
jobs:
8+
build:
9+
runs-on: [self-hosted]
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
- uses: actions/setup-node@v4
14+
with:
15+
node-version: 22.6.0
16+
registry-url: 'https://registry.npmjs.org'
17+
18+
- name: Install pnpm
19+
uses: pnpm/action-setup@v3
20+
with:
21+
version: 9.7.0
22+
run_install: false
23+
24+
- run: pnpm i
25+
26+
- run: pnpm publish
27+
env:
28+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,3 +287,4 @@ test/collections-graphql/media/
287287
test/uploads/media-with-relation-preview/
288288
test/uploads/media-without-relation-preview/
289289
test/uploads/focal-only/
290+
.turbo

0 commit comments

Comments
 (0)