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: migrate api and core to ESM #733

Merged
merged 28 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
7d6ddb2
feat: migrate `api` and `core` to ESM
kanadgupta Sep 20, 2023
61bf2de
fix: `httpsnippet-client-api` and `core` exports
kanadgupta Sep 20, 2023
1f05932
fix: update bin entrypoint
kanadgupta Sep 20, 2023
ec9754c
Merge branch 'main' into esm
kanadgupta Sep 21, 2023
ecc707c
fix: try rebuilding lockfile
kanadgupta Sep 21, 2023
00ef035
Merge branch 'main' into esm
kanadgupta Sep 21, 2023
2e65506
Merge branch 'main' into esm
kanadgupta Sep 25, 2023
327b20b
Merge branch 'main' into esm
kanadgupta Sep 26, 2023
056bda9
chore: fix lockfile
kanadgupta Sep 26, 2023
7af476b
chore: fix type
kanadgupta Sep 26, 2023
d25013f
Merge branch 'main' into esm
kanadgupta Sep 27, 2023
92a10a7
Merge branch 'main' into esm
kanadgupta Sep 27, 2023
b648125
fix: yay remove this
kanadgupta Sep 27, 2023
a0b2745
Merge branch 'main' into esm
kanadgupta Sep 27, 2023
b2c8ff1
Merge branch 'main' into esm
erunion Oct 6, 2023
af4d90d
Merge branch 'main' into esm
erunion Oct 6, 2023
ce79fcd
fix: bumping our minimum httpsnippet version to v7
erunion Oct 6, 2023
f4d6eac
fix: some linting issues
erunion Oct 6, 2023
3568fc8
chore(deps): bumping oas dependencies
erunion Oct 9, 2023
81634bf
feat(httpsnippet-client-api): esm compatibility
erunion Oct 9, 2023
8a63a39
feat(core): esm compatibility
erunion Oct 9, 2023
3b8222e
fix: cleaning up how the test-utils package is built
erunion Oct 9, 2023
1a6e1bb
feat(api): esm compatibility
erunion Oct 10, 2023
7ca0f70
fix: linting issues
erunion Oct 10, 2023
8c84e1b
fix: unskipping a test that still works fine
erunion Oct 10, 2023
c641a47
chore: removing unnecessary rootdir configs
erunion Oct 10, 2023
8e3fd79
fix: building `api` with just `tsc`
erunion Oct 11, 2023
b20be7b
fix: re-enabling strict mode
erunion Oct 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"extends": ["@readme/eslint-config", "@readme/eslint-config/typescript"],
"extends": ["@readme/eslint-config", "@readme/eslint-config/esm", "@readme/eslint-config/typescript"],
"root": true,
"rules": {
"unicorn/prefer-node-protocol": "error"
},
"overrides": [
{
"files": ["bin/**"],
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dist/
node_modules/
**/*.tsbuildinfo
4 changes: 2 additions & 2 deletions bin/build-markdown.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const fs = require('node:fs');
const path = require('node:path');
import fs from 'node:fs';
import path from 'node:path';

const readme = fs.readFileSync('README.md', 'utf-8');

Expand Down
Loading