-
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.
- Loading branch information
1 parent
b897c4c
commit e06f248
Showing
5 changed files
with
29 additions
and
40 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 |
---|---|---|
|
@@ -9,29 +9,31 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
node: ['14.x', '16.x'] | ||
node: ['16.x', '18.x'] | ||
os: [ubuntu-latest] | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v3 | ||
|
||
- name: Use Node ${{ matrix.node }} | ||
uses: actions/setup-node@v1 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- name: Install latest npm | ||
run: npm i -g npm@latest | ||
- name: Install pnpm 8.6.7 | ||
uses: pnpm/[email protected] | ||
with: | ||
version: 8.6.7 | ||
|
||
- name: Install global dependencies | ||
run: npm install | ||
- name: Install pnpm dependencies (with cache) | ||
uses: covbot/pnpm-install-with-cache@v1 | ||
|
||
- name: Build | ||
run: npm run build | ||
run: pnpm build | ||
|
||
- name: Lint | ||
run: npm run lint | ||
run: pnpm lint | ||
|
||
- name: Test | ||
run: npm run test | ||
run: pnpm test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"dtsBundleGeneratorOptions": { | ||
"libraries": { | ||
"importedLibraries": ["react"], | ||
"allowedTypesLibraries": [] | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -5,9 +5,9 @@ | |
"files": [ | ||
"dist" | ||
], | ||
"main": "./dist/index.cjs", | ||
"main": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"module": "./dist/index.mjs", | ||
"module": "./dist/reactive-popups.esm.js", | ||
"scripts": { | ||
"build": "aqu build", | ||
"start": "aqu watch", | ||
|
@@ -57,5 +57,6 @@ | |
}, | ||
"peerDependencies": { | ||
"react": ">=16" | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.