Skip to content

Commit

Permalink
remove package.json from git
Browse files Browse the repository at this point in the history
  • Loading branch information
paperclover committed Apr 3, 2024
1 parent 5c8aa0a commit 57ce73d
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 170 deletions.
1 change: 1 addition & 0 deletions .github/workflows/bun-release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
defaults:
run:
working-directory: packages/bun-release
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ packages/bun-*/bun-profile
packages/bun-*/debug-bun
packages/bun-cli/bin/*
packages/bun-cli/postinstall.js
packages/bun-release/**/*.tgz
packages/bun-wasm/*.cjs
packages/bun-wasm/*.d.cts
packages/bun-wasm/*.d.mts
Expand Down
14 changes: 8 additions & 6 deletions packages/bun-release/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.DS_Store
.env
node_modules
/npm/**/bin
/npm/**/*.js
/npm/**/.npmrc
.DS_Store
.env
node_modules
/npm/**/bin
/npm/**/*.js
/npm/**/package.json
/npm/**/.npmrc
*.tgz
16 changes: 0 additions & 16 deletions packages/bun-release/npm/@oven/bun-darwin-aarch64/package.json

This file was deleted.

This file was deleted.

16 changes: 0 additions & 16 deletions packages/bun-release/npm/@oven/bun-darwin-x64/package.json

This file was deleted.

16 changes: 0 additions & 16 deletions packages/bun-release/npm/@oven/bun-linux-aarch64/package.json

This file was deleted.

16 changes: 0 additions & 16 deletions packages/bun-release/npm/@oven/bun-linux-x64-baseline/package.json

This file was deleted.

16 changes: 0 additions & 16 deletions packages/bun-release/npm/@oven/bun-linux-x64/package.json

This file was deleted.

This file was deleted.

11 changes: 0 additions & 11 deletions packages/bun-release/npm/@oven/bun-windows-x64/package.json

This file was deleted.

45 changes: 0 additions & 45 deletions packages/bun-release/npm/bun/package.json

This file was deleted.

11 changes: 11 additions & 0 deletions packages/bun-release/scripts/upload-npm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ without *requiring* a postinstall script.
const cpu = [...new Set(platforms.map(({ arch }) => arch))];
writeJson(join(cwd, "package.json"), {
name: module,
description: "Bun is a fast all-in-one JavaScript runtime.",
version: version,
scripts: {
postinstall: "node install.js",
Expand All @@ -108,6 +109,11 @@ without *requiring* a postinstall script.
},
os,
cpu,
keywords: ["bun", "bun.js", "node", "node.js", "runtime", "bundler", "transpiler", "typescript"],
homepage: "https://bun.sh",
bugs: "https://github.com/oven-sh/issues",
license: "MIT",
repository: "https://github.com/oven-sh/bun",
});
if (exists(".npmrc")) {
copy(".npmrc", join(cwd, ".npmrc"));
Expand All @@ -132,6 +138,11 @@ async function buildModule(
writeJson(join(cwd, "package.json"), {
name: module,
version: version,
description: "This is the macOS arm64 binary for Bun, a fast all-in-one JavaScript runtime.",
homepage: "https://bun.sh",
bugs: "https://github.com/oven-sh/issues",
license: "MIT",
repository: "https://github.com/oven-sh/bun",
preferUnplugged: true,
os: [os],
cpu: [arch],
Expand Down

0 comments on commit 57ce73d

Please sign in to comment.