Skip to content

Commit

Permalink
remove JS entry of dprint plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
g-plane committed May 10, 2024
1 parent b9ca969 commit 65fa5e6
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 37 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
- name: Publish npm package
run: |
cp target/wasm32-unknown-unknown/release/dprint_plugin_malva.wasm dprint_plugin/deployment/npm/plugin.wasm
pnpm -F dprint-plugin-malva publish --no-git-checks --provenance --access public
cd standalone_wasm/pkg && npm publish --provenance --access public
cd dprint_plugin/deployment/npm && npm publish --provenance --access public
cd ../../../standalone_wasm/pkg && npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish crates
Expand Down
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/target
bench_samples
wasm/pkg
node_modules/
pnpm-lock.yaml
*.js
*.d.ts
8 changes: 0 additions & 8 deletions dprint_plugin/deployment/npm/index.ts

This file was deleted.

18 changes: 3 additions & 15 deletions dprint_plugin/deployment/npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,10 @@
"dprint-plugin"
],
"files": [
"*.wasm",
"*.js",
"*.d.ts"
"*.wasm"
],
"main": "index.js",
"exports": {
".": "./index.js"
},
"scripts": {
"build": "json2ts ../schema.json -o config.d.ts --no-additionalProperties && tsc -p .",
"prepublishOnly": "pnpm build"
},
"devDependencies": {
"@gplane/tsconfig": "^6.1.0",
"@types/node": "^20.10.3",
"json-schema-to-typescript": "^13.1.1",
"typescript": "^5.3.2"
".": "./plugin.wasm",
"./package.json": "./package.json"
}
}
6 changes: 0 additions & 6 deletions dprint_plugin/deployment/npm/tsconfig.json

This file was deleted.

2 changes: 0 additions & 2 deletions pnpm-workspace.yaml

This file was deleted.

0 comments on commit 65fa5e6

Please sign in to comment.