-
Notifications
You must be signed in to change notification settings - Fork 6
feat(nx): update to Nx 22 #193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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,8 @@ | ||
| approval_policy = "on-request" | ||
| sandbox_mode = "workspace-write" | ||
|
|
||
| [sandbox_workspace_write] | ||
| network_access = true | ||
| # Nx's startLocalRegistry helper shells out to `npm config set/delete ... --ws=false`, | ||
| # which temporarily writes the local registry auth token to the user npm config at ~/.npmrc. | ||
| writable_roots = ["~/.npmrc"] |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -42,4 +42,6 @@ Thumbs.db | |
| .env | ||
|
|
||
| .nx/cache | ||
| .nx/workspace-data | ||
| .nx/workspace-data | ||
| .claude/worktrees | ||
| .claude/settings.local.json | ||
This file contains hidden or 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 hidden or 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 hidden or 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,224 @@ | ||
| { | ||
| "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json", | ||
| "scopeName": "source.jsonata", | ||
| "foldingStartMarker": "\\{\\s*$", | ||
| "foldingStopMarker": "^\\s*\\}", | ||
| "patterns": [ | ||
| { | ||
| "include": "#value" | ||
| } | ||
| ], | ||
| "repository": { | ||
| "expression": { | ||
| "name": "meta.selector.jsonata", | ||
| "patterns": [ | ||
| { | ||
| "match": "(\\$|\\.)", | ||
| "name": "keyword.other.selector.jsonata" | ||
| }, | ||
| { | ||
| "match": "(\\+|-|\\*|/|&)", | ||
| "name": "keyword.other.math.jsonata" | ||
| } | ||
| ] | ||
| }, | ||
| "array": { | ||
| "begin": "\\[", | ||
| "beginCaptures": { | ||
| "0": { | ||
| "name": "punctuation.definition.array.begin.jsonata" | ||
| } | ||
| }, | ||
| "end": "\\]", | ||
| "endCaptures": { | ||
| "0": { | ||
| "name": "punctuation.definition.array.end.jsonata" | ||
| } | ||
| }, | ||
| "name": "meta.structure.array.jsonata", | ||
| "patterns": [ | ||
| { | ||
| "include": "#value" | ||
| }, | ||
| { | ||
| "match": ",", | ||
| "name": "punctuation.separator.array.jsonata" | ||
| }, | ||
| { | ||
| "match": "[^\\s\\]]", | ||
| "name": "invalid.illegal.expected-array-separator.jsonata" | ||
| } | ||
| ] | ||
| }, | ||
| "comments": { | ||
| "patterns": [ | ||
| { | ||
| "begin": "/\\*\\*(?!/)", | ||
| "captures": { | ||
| "0": { | ||
| "name": "punctuation.definition.comment.jsonata" | ||
| } | ||
| }, | ||
| "end": "\\*/", | ||
| "name": "comment.block.documentation.jsonata" | ||
| }, | ||
| { | ||
| "begin": "/\\*", | ||
| "captures": { | ||
| "0": { | ||
| "name": "punctuation.definition.comment.jsonata" | ||
| } | ||
| }, | ||
| "end": "\\*/", | ||
| "name": "comment.block.jsonata" | ||
| }, | ||
| { | ||
| "captures": { | ||
| "1": { | ||
| "name": "punctuation.definition.comment.jsonata" | ||
| } | ||
| }, | ||
| "match": "(//).*$\\n?", | ||
| "name": "comment.line.double-slash.js" | ||
| } | ||
| ] | ||
| }, | ||
| "constant": { | ||
| "match": "\\b(?:true|false|null)\\b", | ||
| "name": "constant.language.jsonata" | ||
| }, | ||
| "number": { | ||
| "match": "(?x) # turn on extended mode\n -? # an optional minus\n (?:\n 0 # a zero\n | # ...or...\n [1-9] # a 1-9 character\n \\d* # followed by zero or more digits\n )\n (?:\n (?:\n \\. # a period\n \\d+ # followed by one or more digits\n )?\n (?:\n [eE] # an e character\n [+-]? # followed by an option +/-\n \\d+ # followed by one or more digits\n )? # make exponent optional\n )? # make decimal portion optional", | ||
| "name": "constant.numeric.jsonata" | ||
| }, | ||
| "object": { | ||
| "begin": "\\{", | ||
| "beginCaptures": { | ||
| "0": { | ||
| "name": "punctuation.definition.dictionary.begin.jsonata" | ||
| } | ||
| }, | ||
| "end": "\\}", | ||
| "endCaptures": { | ||
| "0": { | ||
| "name": "punctuation.definition.dictionary.end.jsonata" | ||
| } | ||
| }, | ||
| "name": "meta.structure.dictionary.jsonata", | ||
| "patterns": [ | ||
| { | ||
| "comment": "the JSON object key", | ||
| "include": "#objectkey" | ||
| }, | ||
| { | ||
| "include": "#comments" | ||
| }, | ||
| { | ||
| "begin": ":", | ||
| "beginCaptures": { | ||
| "0": { | ||
| "name": "punctuation.separator.dictionary.key-value.jsonata" | ||
| } | ||
| }, | ||
| "end": "(,)|(?=\\})", | ||
| "endCaptures": { | ||
| "1": { | ||
| "name": "punctuation.separator.dictionary.pair.jsonata" | ||
| } | ||
| }, | ||
| "name": "meta.structure.dictionary.value.jsonata", | ||
| "patterns": [ | ||
| { | ||
| "comment": "the JSON object value", | ||
| "include": "#value" | ||
| } | ||
| ] | ||
| }, | ||
| { | ||
| "match": "[^\\s\\}]", | ||
| "name": "invalid.illegal.expected-dictionary-separator.jsonata" | ||
| } | ||
| ] | ||
| }, | ||
| "string": { | ||
| "begin": "\"", | ||
| "beginCaptures": { | ||
| "0": { | ||
| "name": "punctuation.definition.string.begin.jsonata" | ||
| } | ||
| }, | ||
| "end": "\"", | ||
| "endCaptures": { | ||
| "0": { | ||
| "name": "punctuation.definition.string.end.jsonata" | ||
| } | ||
| }, | ||
| "name": "string.quoted.double.jsonata", | ||
| "patterns": [ | ||
| { | ||
| "include": "#stringcontent" | ||
| } | ||
| ] | ||
| }, | ||
| "objectkey": { | ||
| "begin": "\"", | ||
| "beginCaptures": { | ||
| "0": { | ||
| "name": "punctuation.support.type.property-name.begin.jsonata" | ||
| } | ||
| }, | ||
| "end": "\"", | ||
| "endCaptures": { | ||
| "0": { | ||
| "name": "punctuation.support.type.property-name.end.jsonata" | ||
| } | ||
| }, | ||
| "name": "string.jsonata support.type.property-name.jsonata", | ||
| "patterns": [ | ||
| { | ||
| "include": "#stringcontent" | ||
| }, | ||
| { | ||
| "include": "#expression" | ||
| } | ||
| ] | ||
| }, | ||
| "stringcontent": { | ||
| "patterns": [ | ||
| { | ||
| "match": "(?x) # turn on extended mode\n \\\\ # a literal backslash\n (?: # ...followed by...\n [\"\\\\/bfnrt] # one of these characters\n | # ...or...\n u # a u\n [0-9a-fA-F]{4}) # and four hex digits", | ||
| "name": "constant.character.escape.jsonata" | ||
| }, | ||
| { | ||
| "match": "\\\\.", | ||
| "name": "invalid.illegal.unrecognized-string-escape.jsonata" | ||
| } | ||
| ] | ||
| }, | ||
| "value": { | ||
| "patterns": [ | ||
| { | ||
| "include": "#comments" | ||
| }, | ||
| { | ||
| "include": "#constant" | ||
| }, | ||
| { | ||
| "include": "#number" | ||
| }, | ||
| { | ||
| "include": "#string" | ||
| }, | ||
| { | ||
| "include": "#array" | ||
| }, | ||
| { | ||
| "include": "#object" | ||
| }, | ||
| { | ||
| "include": "#expression" | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: toolsplus/nx-forge
Length of output: 723
🏁 Script executed:
Repository: toolsplus/nx-forge
Length of output: 905
🏁 Script executed:
Repository: toolsplus/nx-forge
Length of output: 1743
🏁 Script executed:
Repository: toolsplus/nx-forge
Length of output: 853
🏁 Script executed:
Repository: toolsplus/nx-forge
Length of output: 122
🏁 Script executed:
Repository: toolsplus/nx-forge
Length of output: 722
Update
tools/docs/package.jsonto correctly reference the source entry point.The import in
docs/.vitepress/config.mtsresolves totools/docsas a directory. Node module resolution then checkstools/docs/package.json#main, which points to./src/index.js. However, this file does not exist—onlytools/docs/src/index.tsis checked in, and the Nx build outputs todist/tools/docs. Change the"main"field to"./src/index.ts"to match the actual source entry point, or update it to point to the compiled output path if the package should be consumed post-build.🤖 Prompt for AI Agents