Skip to content

Commit

Permalink
Merge pull request #251 from vpckso/main
Browse files Browse the repository at this point in the history
Make build script compatible with Windows
  • Loading branch information
abrenneke authored Dec 12, 2023
2 parents bf15dd8 + aaf1f9f commit b532a06
Show file tree
Hide file tree
Showing 5 changed files with 217 additions and 14 deletions.
103 changes: 103 additions & 0 deletions .pnp.cjs

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

5 changes: 3 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
],
"scripts": {
"build": "yarn build:esm && yarn build:cjs",
"build:esm": "rm -rf dist/esm dist/types dist/tsconfig.tsbuildinfo && tsc -b --verbose",
"build:cjs": "rm -rf dist/cjs && tsx bundle.esbuild.ts",
"build:esm": "rimraf dist/esm dist/types dist/tsconfig.tsbuildinfo && tsc -b --verbose",
"build:cjs": "rimraf dist/cjs && tsx bundle.esbuild.ts",
"prepack": "yarn build && cp -r ../../LICENSE ../../README.md .",
"publish": "yarn npm publish --access public",
"lint": "eslint --ext .js,.jsx,.ts,.tsx ./src",
Expand Down Expand Up @@ -83,6 +83,7 @@
"eslint-plugin-n": "^16.2.0",
"eslint-plugin-promise": "^6.1.1",
"lodash": "^4.17.21",
"rimraf": "^5.0.5",
"ts-node": "^10.9.1",
"tsx": "^3.14.0",
"typescript": "^5.2.2"
Expand Down
5 changes: 3 additions & 2 deletions packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
],
"scripts": {
"build": "yarn build:esm && yarn build:cjs",
"build:esm": "rm -rf dist/esm dist/types dist/tsconfig.tsbuildinfo && tsc -b --verbose",
"build:cjs": "rm -rf dist/cjs && tsx ../core/bundle.esbuild.ts",
"build:esm": "rimraf dist/esm dist/types dist/tsconfig.tsbuildinfo && tsc -b --verbose",
"build:cjs": "rimraf dist/cjs && tsx ../core/bundle.esbuild.ts",
"prepack": "yarn build && cp -r ../../LICENSE ../../README.md .",
"publish": "yarn npm publish --access public",
"lint": "eslint --ext .js,.jsx,.ts,.tsx ./src",
Expand Down Expand Up @@ -67,6 +67,7 @@
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-n": "^16.2.0",
"eslint-plugin-promise": "^6.1.1",
"rimraf": "^5.0.5",
"ts-node": "^10.9.1",
"tsx": "^3.14.0",
"typescript": "^5.2.2"
Expand Down
5 changes: 3 additions & 2 deletions packages/trivet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
],
"scripts": {
"build": "yarn build:esm && yarn build:cjs",
"build:esm": "rm -rf dist/esm dist/types dist/tsconfig.tsbuildinfo && tsc -b --verbose",
"build:cjs": "rm -rf dist/cjs && tsx ../core/bundle.esbuild.ts",
"build:esm": "rimraf dist/esm dist/types dist/tsconfig.tsbuildinfo && tsc -b --verbose",
"build:cjs": "rimraf dist/cjs && tsx ../core/bundle.esbuild.ts",
"prepublishOnly": "yarn build && cp -r ../../LICENSE ../../README.md .",
"publish": "yarn npm publish",
"lint": "eslint --ext .js,.jsx,.ts,.tsx ./src"
Expand All @@ -54,6 +54,7 @@
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-n": "^16.2.0",
"eslint-plugin-promise": "^6.1.1",
"rimraf": "^5.0.5",
"ts-node": "^10.9.1",
"tsx": "^3.14.0",
"typescript": "^5.2.2"
Expand Down
Loading

0 comments on commit b532a06

Please sign in to comment.