-
-
Notifications
You must be signed in to change notification settings - Fork 14
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 #424 from tobias-tengler/tte/fix-plugin
Support Vite 3 and latest babel-plugin-relay
- Loading branch information
Showing
41 changed files
with
3,313 additions
and
4,120 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.graphql.ts eol=lf |
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 |
---|---|---|
|
@@ -15,22 +15,24 @@ jobs: | |
uses: actions/checkout@v2 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
# Note: This is disabled because it was causing issues with installation of the example application | ||
# - name: Use Node Modules Cache | ||
# uses: actions/cache@v2 | ||
# with: | ||
# path: "**/node_modules" | ||
# key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | ||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: latest | ||
- name: Install Dependencies for Vite Plugin Relay | ||
run: yarn install --frozen-lockfile | ||
run: pnpm i | ||
- name: Install Playwright | ||
run: npx playwright install --with-deps | ||
- name: Build Vite Plugin Relay | ||
run: yarn build | ||
- name: Install Dependencies for Example Site | ||
run: yarn --cwd ./example install --frozen-lockfile | ||
- name: Test Example Site | ||
run: yarn --cwd ./example test | ||
run: pnpm build | ||
- name: Install Dependencies for Vite 3 Example Site | ||
run: pnpm --filter example-vite-3 i | ||
- name: Test Vite 3 Example Site | ||
run: pnpm --filter example-vite-3 test | ||
- name: Install Dependencies for Vite 2 Example Site | ||
run: pnpm --filter example-vite-2 i | ||
- name: Test Vite 2 Example Site | ||
run: pnpm --filter example-vite-2 test | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
|
@@ -39,12 +41,11 @@ jobs: | |
uses: actions/checkout@v2 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
- name: Use Node Modules Cache | ||
uses: actions/cache@v2 | ||
- name: Install pnpm | ||
uses: pnpm/action-setup@v2.0.1 | ||
with: | ||
path: "**/node_modules" | ||
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | ||
version: latest | ||
- name: Install Dependencies for Vite Plugin Relay | ||
run: yarn install --frozen-lockfile | ||
run: pnpm i | ||
- name: Lint | ||
run: yarn lint | ||
run: pnpm lint |
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 |
---|---|---|
|
@@ -12,10 +12,14 @@ jobs: | |
uses: actions/checkout@v2 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
with: | ||
version: latest | ||
- name: Install Dependencies for Vite Plugin Relay | ||
run: yarn install --frozen-lockfile | ||
run: pnpm i | ||
- name: Build Vite Plugin Relay | ||
run: yarn build | ||
run: pnpm build | ||
- name: Publish to NPM | ||
run: | | ||
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} | ||
|
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 |
---|---|---|
|
@@ -58,5 +58,4 @@ typings/ | |
.env.test | ||
|
||
# Build / generate output | ||
dist | ||
example/dist | ||
dist |
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 |
---|---|---|
|
@@ -58,4 +58,8 @@ typings/ | |
.env.test | ||
|
||
# Build / generate output | ||
dist | ||
dist | ||
|
||
pnpm-lock.yaml | ||
|
||
__generated__ |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.