generated from react18-tools/turborepo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from react18-tools/support-use-server
Support module level "use server" directive
- Loading branch information
Showing
25 changed files
with
331 additions
and
236 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,10 @@ jobs: | |
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
node-version: 20 | ||
- run: npm i -g pnpm && pnpm i | ||
name: Install dependencies | ||
- run: pnpm build --filter esbuild-plugin-react18-example | ||
|
@@ -24,6 +24,13 @@ jobs: | |
- name: Upload coverage reports to Codecov | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
directory: ./packages/esbuild-plugin-react18 | ||
directory: ./esbuild-plugin-react18 | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
flags: esbuild-plugin-react18 | ||
|
||
- uses: paambaati/[email protected] | ||
continue-on-error: true | ||
env: | ||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | ||
with: | ||
coverageLocations: ./esbuild-plugin-react18/coverage/*.xml:clover |
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,36 @@ | ||
{ | ||
"scope": "Workspace", | ||
"tasks": { | ||
"task-DLMsMCnSbDOg6Q_qs3XX4": { | ||
"id": "task-DLMsMCnSbDOg6Q_qs3XX4", | ||
"description": "Support Sass\n- CSSPrefix --- default - ''\n- ClassName -> CSSFileName__class", | ||
"columnId": "column-todo" | ||
}, | ||
"QJCiT5pTHTGKydoayOOp8": { | ||
"id": "QJCiT5pTHTGKydoayOOp8", | ||
"description": "Breakdown into smaller functions", | ||
"columnId": "column-done" | ||
} | ||
}, | ||
"columns": [ | ||
{ | ||
"id": "column-todo", | ||
"title": "To do", | ||
"tasksIds": [ | ||
"task-DLMsMCnSbDOg6Q_qs3XX4" | ||
] | ||
}, | ||
{ | ||
"id": "column-doing", | ||
"title": "Doing", | ||
"tasksIds": [] | ||
}, | ||
{ | ||
"id": "column-done", | ||
"title": "Done", | ||
"tasksIds": [ | ||
"QJCiT5pTHTGKydoayOOp8" | ||
] | ||
} | ||
] | ||
} |
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
6 changes: 6 additions & 0 deletions
6
packages/esbuild-plugin-react18/CHANGELOG.md → esbuild-plugin-react18/CHANGELOG.md
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
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,8 @@ | ||
const uuid = () => (Date.now() * Math.random()).toString(36).slice(0, 8); | ||
|
||
/** regExp */ | ||
export const testPathRegExp = /.*\.(test|spec|check)\.(j|t)s(x)?$/i; | ||
|
||
export const name = "esbuild-plugin-react18-" + uuid(); | ||
export const ignoreNamespace = "mayank1513-ignore-" + uuid(); | ||
export const keepNamespace = "mayank1513-keep-" + uuid(); |
Oops, something went wrong.