Skip to content

Commit 5918737

Browse files
committed
Rename to CedarJS
1 parent 5e7863d commit 5918737

File tree

2,415 files changed

+16490
-16472
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,415 files changed

+16490
-16472
lines changed

.changesets/11593.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ This change fixes an issue with our internal storybook mocks. Previous to this y
99
File: …/web/src/auth.ts:3:6
1010
1111
Expected identifier but found ","
12-
1 | import { createAuthentication as createAuth } from '@redmix/testing/dist/web/mockAuth.js'
13-
2 | import { , createDbAuthClient } from '@redmix/auth-dbauth-web';
12+
1 | import { createAuthentication as createAuth } from '@cedarjs/testing/dist/web/mockAuth.js'
13+
2 | import { , createDbAuthClient } from '@cedarjs/auth-dbauth-web';
1414
| ^
1515
3 | const dbAuthClient = createDbAuthClient();
1616
4 | export const {

.changesets/29.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
- chore(cli): Make baremetal safe to import in cli (#29) by @Tobbe
22

3-
Breaking for the same reason as https://github.com/redmix-run/redmix/pull/28
3+
Breaking for the same reason as https://github.com/cedarjs/cedar/pull/28
44
people might potentially (but most likely not) depend on (internal) exports that
55
no longer exists
66

.changesets/31.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- docs(babel-config): Add jsdocs to index exports (#31) by @Tobbe
22

3-
If you import from `@redmix/babel-config` you might now get a deprecation
3+
If you import from `@cedarjs/babel-config` you might now get a deprecation
44
warning in your editor. Please let us know if you use any of these exports and
55
we can discuss whether to keep it around or if there's a better solution.

.changesets/32.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
- fix(app tests): Fix v8 regression with classes (#32) by @Tobbe
22

33
Fixes regression related to testing classes with private attributes.
4-
You can read more details in the [PR description](https://github.com/redmix-run/redmix/pull/32).
4+
You can read more details in the [PR description](https://github.com/cedarjs/cedar/pull/32).

.eslintrc.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { findUp } = require('@redmix/project-config')
1+
const { findUp } = require('@cedarjs/project-config')
22

33
// Framework Babel config is monorepo root ./babel.config.js
44
// `yarn lint` runs for each workspace, which needs findUp for path to root
@@ -35,7 +35,7 @@ module.exports = {
3535
'react',
3636
'react-hooks',
3737
'jest-dom',
38-
'@redmix',
38+
'@cedarjs',
3939
],
4040
// Prevents unused eslint-disable comments
4141
reportUnusedDisableDirectives: true,
@@ -64,7 +64,7 @@ module.exports = {
6464
rules: {
6565
curly: 'error',
6666
'unused-imports/no-unused-imports': 'error',
67-
'@redmix/process-env-computed': 'error',
67+
'@cedarjs/process-env-computed': 'error',
6868
'no-console': 'off',
6969
'no-extra-semi': 'off',
7070
'prefer-object-spread': 'warn',
@@ -115,7 +115,7 @@ module.exports = {
115115
position: 'after',
116116
},
117117
{
118-
pattern: '@redmix/**',
118+
pattern: '@cedarjs/**',
119119
group: 'external',
120120
position: 'after',
121121
},
@@ -264,7 +264,7 @@ module.exports = {
264264
window: 'off', // Developers should use `global` instead of window. Since window is undefined in NodeJS.
265265
},
266266
},
267-
// Prevent @redmix/internal imports in runtime (web+api) packages
267+
// Prevent @cedarjs/internal imports in runtime (web+api) packages
268268
{
269269
files: [
270270
'packages/auth/src/**',
@@ -283,14 +283,14 @@ module.exports = {
283283
{
284284
patterns: [
285285
{
286-
group: ['@redmix/internal', '@redmix/internal/*'],
286+
group: ['@cedarjs/internal', '@cedarjs/internal/*'],
287287
message:
288-
'Do not import "@redmix/internal" or subpackages in runtime modules, because it leads to MASSIVE bundle sizes',
288+
'Do not import "@cedarjs/internal" or subpackages in runtime modules, because it leads to MASSIVE bundle sizes',
289289
},
290290
{
291-
group: ['@redmix/structure', '@redmix/structure/*'],
291+
group: ['@cedarjs/structure', '@cedarjs/structure/*'],
292292
message:
293-
'Do not import "@redmix/structure" or subpackages in runtime modules, because it leads to MASSIVE bundle sizes',
293+
'Do not import "@cedarjs/structure" or subpackages in runtime modules, because it leads to MASSIVE bundle sizes',
294294
},
295295
],
296296
},
@@ -313,7 +313,7 @@ module.exports = {
313313
'packages/api/src/**',
314314
'packages/api-server/src/**',
315315
'packages/cli/src/**',
316-
'packages/create-redmix-app/src/*.js',
316+
'packages/create-cedar-app/src/*.js',
317317
'packages/internal/src/**',
318318
'packages/prerender/src/**',
319319
'packages/structure/src/**',
@@ -345,21 +345,21 @@ module.exports = {
345345
],
346346
rules: {
347347
'no-restricted-imports': [
348-
// for import x from ('@redmix/internal')
348+
// for import x from ('@cedarjs/internal')
349349
'error',
350350
{
351-
name: '@redmix/internal',
351+
name: '@cedarjs/internal',
352352
message:
353-
'To prevent bloat in CLI, do not import "@redmix/internal" directly. Instead import like @redmix/internal/dist/<file>, or await import',
353+
'To prevent bloat in CLI, do not import "@cedarjs/internal" directly. Instead import like @cedarjs/internal/dist/<file>, or await import',
354354
},
355355
],
356356
'no-restricted-modules': [
357-
// for require('@redmix/internal')
357+
// for require('@cedarjs/internal')
358358
'error',
359359
{
360-
name: '@redmix/internal',
360+
name: '@cedarjs/internal',
361361
message:
362-
'To prevent bloat in CLI, do not require "@redmix/internal" directly. Instead require like @redmix/internal/dist/<file>',
362+
'To prevent bloat in CLI, do not require "@cedarjs/internal" directly. Instead require like @cedarjs/internal/dist/<file>',
363363
},
364364
],
365365
},
@@ -368,7 +368,7 @@ module.exports = {
368368
{
369369
files: ['packages/testing/**', 'packages/vite/src/index.ts'],
370370
rules: {
371-
'@redmix/process-env-computed': 'off',
371+
'@cedarjs/process-env-computed': 'off',
372372
},
373373
},
374374
{

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ body:
2222
What commands do we need to run?
2323
Are there any packages that we need to install?
2424
What does the `schema.prisma` need to look like?
25-
Maybe include a link to a GitHub repo or a Gitpod snapshot? ([Instructions here](https://github.com/redmix-run/redmix/blob/main/CONTRIBUTING.md#Creating-a-reproduction-to-include-with-issues).)
25+
Maybe include a link to a GitHub repo or a Gitpod snapshot? ([Instructions here](https://github.com/cedarjs/cedar/blob/main/CONTRIBUTING.md#Creating-a-reproduction-to-include-with-issues).)
2626
2727
2828
While this field is optional,
@@ -50,7 +50,7 @@ body:
5050
Chrome: 102.0.5005.115
5151
Safari: 15.4
5252
npmPackages:
53-
@redmix/core: 1.5.2 => 1.5.2
53+
@cedarjs/core: 1.5.2 => 1.5.2
5454
validations:
5555
required: false
5656

@@ -59,7 +59,7 @@ body:
5959
label: Are you interested in working on this?
6060
description: >
6161
No pressure—this is totally optional!
62-
We just want to invite you to contribute to Redmix.
62+
We just want to invite you to contribute to Cedar.
6363
If you choose to contribute, the core team will be there to help you the whole way.
6464
6565

.github/ISSUE_TEMPLATE/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ body:
2020
label: Are you interested in working on this?
2121
description: >
2222
No pressure—this is totally optional!
23-
We just want to invite you to contribute to Redmix.
23+
We just want to invite you to contribute to Cedar.
2424
If you choose to contribute, the core team will be there to help you the whole way.
2525
2626

.github/ISSUE_TEMPLATE/rfc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ body:
3939
4040
- What's this about? (The CLI? The web side? The api side? Both?)
4141
- What's the design in detail?
42-
- Is this a breaking change? How easy will it be for existing Redmix apps to adopt? Can we write a codemod for it?
42+
- Is this a breaking change? How easy will it be for existing Cedar apps to adopt? Can we write a codemod for it?
4343
- What parts of the design are still TBD?
4444
4545
Lastly, consider reading some great examples:
4646
47-
- [Prerender proposal](https://community.redmix-run.com/t/prerender-proposal/849)
47+
- [Prerender proposal](https://community.cedarjs.com/t/prerender-proposal/849)
4848
- [Optional path parameters](https://github.com/redwoodjs/redwood/issues/2429)
4949
- [Multitenant support](https://github.com/redwoodjs/redwood/issues/5821)
5050
validations:
@@ -55,7 +55,7 @@ body:
5555
label: Are you interested in working on this?
5656
description: >
5757
No pressure—this is totally optional!
58-
We just want to invite you to contribute to Redmix.
58+
We just want to invite you to contribute to Cedar.
5959
If you choose to contribute, the core team will be there to help you the whole way.
6060
6161

.github/actions/check_create_redwood_app/check_create_redwood_app.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if (hasCRWA_OkLabel) {
1414
const { stdout } = await getExecOutput('git diff origin/main --name-only')
1515
const changedFiles = stdout.toString().trim().split('\n').filter(Boolean)
1616
const didRebuildJS_Template = changedFiles.some((file) =>
17-
file.startsWith('packages/create-redmix-app/templates/js'),
17+
file.startsWith('packages/create-cedar-app/templates/js'),
1818
)
1919

2020
if (didRebuildJS_Template) {
@@ -29,7 +29,7 @@ if (hasCRWA_OkLabel) {
2929
} else {
3030
// If it doesn't, does it need to be rebuilt? If not, no problem. Otherwise, throw.
3131
const shouldRebuildJS_Template = changedFiles.some((file) =>
32-
file.startsWith('packages/create-redmix-app/templates/ts'),
32+
file.startsWith('packages/create-cedar-app/templates/ts'),
3333
)
3434

3535
if (!shouldRebuildJS_Template) {
@@ -43,11 +43,11 @@ if (hasCRWA_OkLabel) {
4343
console.log(
4444
[
4545
'',
46-
'This PR changes the create-redmix-app TS template.',
46+
'This PR changes the create-cedar-app TS template.',
4747
'That usually means the JS template needs to be rebuilt.',
4848
`If you know that it doesn't, add the "crwa-ok" label. Otherwise, rebuild the JS template and commit the changes:`,
4949
'',
50-
' cd packages/create-redmix-app',
50+
' cd packages/create-cedar-app',
5151
' yarn ts-to-js',
5252
'',
5353
].join('\n'),

.github/actions/detect-changes/cases/rsc.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export function rscChanged(changedFiles) {
2626
changedFile.startsWith('packages/router/') ||
2727
changedFile.startsWith('__fixtures__/test-project-rsa') ||
2828
changedFile.startsWith('__fixtures__/test-project-rsc-kitchen-sink') ||
29-
changedFile.startsWith('packages/create-redmix-rsc-app')
29+
changedFile.startsWith('packages/create-cedar-rsc-app')
3030
) {
3131
console.log('RSC change detected:', changedFile)
3232
return true

0 commit comments

Comments
 (0)