Skip to content

Commit

Permalink
chore: clean-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
imconnorngl committed Sep 17, 2024
1 parent 75108e4 commit 8194f2a
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 17 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ jobs:
version: 8
run_install: true

- name: Build Packages
run: pnpm build

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
Expand Down
26 changes: 12 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,20 @@
"name": "@lunarclient/molang",
"version": "1.0.4",
"description": "Lunar Client's fork of bridge-core's molang parser",
"main": "./dist/molang.umd.js",
"module": "./dist/molang.es.js",
"types": "./dist/main.d.ts",
"exports": {
".": {
"import": "./dist/molang.es.js",
"require": "./dist/molang.umd.js"
}
},
"directories": {
"lib": "lib"
},
"main": "lib/main.ts",
"files": [
"dist"
],
"scripts": {
"build": "vite build && tsc --project tsconfig.json",
"test": "vitest",
"types": "tsc --project tsconfig.json",
"bench": "vitest bench",
"changeset": "changeset",
"version-packages": "changeset version",
"release": "pnpm build && changeset publish"
"release": "pnpm build && changeset publish",
"prepack": "clean-package",
"postpack": "clean-package restore"
},
"repository": {
"type": "git",
Expand All @@ -39,6 +33,10 @@
"molangjs": "^1.5.0",
"typescript": "^4.2.3",
"vite": "^3.1.3",
"vitest": "^0.23.4"
"vitest": "^0.23.4",
"clean-package": "^2.2.0"
},
"clean-package": {
"extends": "@moonsworth/cleanpackage-config/base.json"
}
}
25 changes: 25 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8194f2a

Please sign in to comment.