forked from redwoodjs/redwood
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:redwoodjs/redwood into feat/dbauth-…
…cookie+generic-handler * 'main' of github.com:redwoodjs/redwood: (125 commits) chore(release-tooling): Reminder to update Algolia chore(release-tooling): Add note about generating release notes chore(release-tooling): Add more detailed instructions for after releasing chore(release-tooling): Fix PR count message fix(crwa): use `fs.renameSync` instead of `fs.rename` (redwoodjs#9787) chore(release-tooling): Update to node 20 in version check chore(deps): bump @adobe/css-tools from 4.3.1 to 4.3.2 in /__fixtures__/example-todo-main (redwoodjs#9785) chore(crwa): add e2e tests for create-redwood-app (redwoodjs#9783) chore(release-tooling): fetch -> pull (redwoodjs#9784) feat(scaffold/cell): Adds TypedDocument Support to Cell and Scaffold Generators (redwoodjs#9693) fix: Support Custom Id Field Names in when generating Cells (redwoodjs#9778) chore(framework-tools): .gitignore (redwoodjs#9782) Use build:pack for dbauth when rebuilding the test project (redwoodjs#9781) chore(test-project): Fix test-project generation script, and regenerate fixture (redwoodjs#9779) Fix dbAuth allowUserFields initialization syntax (redwoodjs#9780) chore(framework-tools): add `project:tarsync` script (redwoodjs#9766) fix(otel): Fix OTel sdk loading (redwoodjs#9777) fix: Fixes way OpenTelemetry setup template uses project-config for port setting (redwoodjs#9775) chore(router): Miniscule fixes chore(router): Move useMatch to its own file (redwoodjs#9770) ...
- Loading branch information
Showing
597 changed files
with
40,970 additions
and
35,438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/** | ||
* Detects if the given file path points to a code file (as apposed to a docs | ||
* file) | ||
*/ | ||
function isCodeFile(filePath) { | ||
if (filePath.startsWith('docs')) { | ||
return false | ||
} | ||
|
||
if ( | ||
[ | ||
'CHANGELOG.md', | ||
'CODE_OF_CONDUCT.md', | ||
'CONTRIBUTING.md', | ||
'CONTRIBUTORS.md', | ||
'LICENSE', | ||
'README.md', | ||
'SECURITY.md', | ||
].includes(filePath) | ||
) { | ||
return false | ||
} | ||
|
||
return true | ||
} | ||
|
||
/** | ||
* Checks if the given array of file paths contains any files with potential | ||
* code changes | ||
*/ | ||
export function hasCodeChanges(changedFiles) { | ||
return changedFiles.some((file) => { | ||
if (isCodeFile(file)) { | ||
console.log(`Found code file: ${file}`) | ||
return true | ||
} | ||
|
||
return false | ||
}) | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.