Skip to content
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

feat!: adds support for ESM and Deno #295

Merged
merged 26 commits into from Aug 4, 2020
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
762343f
build: trying to target esm and cjs
bcoe Jul 27, 2020
2ff8f3f
share approch used for dual mode module
bcoe Jul 27, 2020
fdff3c0
feat!: support for ESM and Deno
bcoe Jul 30, 2020
7b25881
chore: fix spacing
bcoe Jul 30, 2020
a0d4446
chore: remove unused deps
bcoe Jul 30, 2020
53a02f0
chore: finished shimming deno
bcoe Jul 30, 2020
3ffbe28
chore: working on shimming deno
bcoe Jul 30, 2020
6f6e630
chore: fix up windows tests
bcoe Jul 30, 2020
af37a7f
chore: add deno to CI/CD
bcoe Jul 30, 2020
f170db8
chore: add unit tests for deno
bcoe Jul 30, 2020
5015beb
chore: checking in build seems like bad idea
bcoe Jul 30, 2020
72c8d18
chore: build library for deno
bcoe Jul 30, 2020
760f39d
Update scripts/replace-legacy-export.cjs
bcoe Jul 30, 2020
df420bb
Update package.json
bcoe Aug 1, 2020
482dee6
chore: addressing review
bcoe Aug 1, 2020
084ed03
chore: add browser tests
bcoe Aug 1, 2020
2abb990
chore: add browser tests
bcoe Aug 1, 2020
2396cb1
chore: only run typescript tests on Node 14
bcoe Aug 1, 2020
7f1380e
chore: fix and simplify linting rules
bcoe Aug 1, 2020
369bd46
chore: continuing to perfect structure
bcoe Aug 1, 2020
c05f030
build: 1:many source maps supported
bcoe Aug 3, 2020
a0f112c
chore: Deno now supports config files
bcoe Aug 4, 2020
43517c7
chore: add rough config for deno release
bcoe Aug 4, 2020
6c2d640
build: configure deno build
bcoe Aug 4, 2020
47aa246
chore: update README with deno and ESM examples
bcoe Aug 4, 2020
a040ec4
chore: remove 'bonus' html
bcoe Aug 4, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 17 additions & 2 deletions .github/workflows/ci.yaml
Expand Up @@ -30,10 +30,25 @@ jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 13
node-version: 14
- run: npm install
- run: npm test
- run: npm run coverage
deno:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14
- run: npm install
- run: npm run compile
- uses: denolib/setup-deno@v2
with:
deno-version: v1.x
- run: |
deno --version
deno test test/deno/yargs-test.ts
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,8 +1,8 @@
.idea
build/
.nyc_output
node_modules
.DS_Store
package-lock.json
./test/fixtures/package.json
coverage
build
1 change: 0 additions & 1 deletion .mocharc.json
@@ -1,6 +1,5 @@
{
"spec": [
"build/test",
"test"
]
}