Skip to content

Commit

Permalink
Make Parchment an ESM package
Browse files Browse the repository at this point in the history
  • Loading branch information
luin committed Mar 15, 2024
1 parent c69ce72 commit dbf42a1
Show file tree
Hide file tree
Showing 43 changed files with 1,118 additions and 314 deletions.
5 changes: 3 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
"extends": [
"eslint:recommended",
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended"
"plugin:@typescript-eslint/recommended",
"plugin:require-extensions/recommended"
],
"ignorePatterns": ["vite.config.ts", "scripts"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"plugins": ["@typescript-eslint", "require-extensions"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
node-version: 20

- run: npm ci
- run: ./scripts/release.js --version ${{ github.event.inputs.version }} ${{ github.event.inputs.dry-run == 'true' && '--dry-run' || '' }}
- run: ./scripts/release.cjs --version ${{ github.event.inputs.version }} ${{ github.event.inputs.dry-run == 'true' && '--dry-run' || '' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
Loading

0 comments on commit dbf42a1

Please sign in to comment.