Skip to content

Commit

Permalink
chore: clean up old stuff from Go/Turbopack (#9563)
Browse files Browse the repository at this point in the history
### Description

Clean up some old artifacts from Go and turbopack

### Testing Instructions

<!--
  Give a quick description of steps to test your changes.
-->
  • Loading branch information
NicholasLYang authored Dec 5, 2024
1 parent e7151e0 commit 3254c3e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 156 deletions.
18 changes: 7 additions & 11 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,11 @@
"NODE_VERSION": "lts/*"
}
},
"runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],

// Set *default* container specific settings.json values on container create.
"settings": {
"go.toolsManagement.checkForUpdates": "local",
"go.useLanguageServer": true,
"go.gopath": "/go"
},

"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
],
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"bradlc.vscode-tailwindcss",
Expand All @@ -39,12 +35,12 @@
"windmilleng.vscode-go-autotest",
"yzhang.markdown-all-in-one"
],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "go version && cargo --version", // Invoking `cargo` will eagerly install the toolchain specified in rust-toolchain file
"postCreateCommand": "cargo --version",
// Invoking `cargo` will eagerly install the toolchain specified in rust-toolchain file

// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode",
Expand Down
2 changes: 0 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,5 @@ __generated__/


# crates
crates/*/js/src/compiled
crates/next-transform-strip-page-exports/tests
# generators
*.hbs
49 changes: 2 additions & 47 deletions release.md
Original file line number Diff line number Diff line change
@@ -1,59 +1,14 @@
# Release Documentation

## Release npm packages

We have a simple script to release npm packages from pnpm workspaces: `cargo xtask workspace --bump`.

```text
? Select a package to bump
> [ ] @vercel/node-module-trace
[ ] @vercel/webpack-node-module-trace
[↑↓ to move, space to select one, → to all, ← to none, type to filter]
```

Press space to select the package you want to publish.
Press enter to choose the version type you want to bump:

```text
? Select a package to bump @vercel/node-module-trace, @vercel/webpack-node-module-trace
? Version for @vercel/node-module-trace
patch
minor
> major
alpha
beta
canary
[↑↓ to move, enter to select, type to filter]
```

> **Note**
>
> This command will always increase the version according to the semver version. <br/>
> For example, if the current version of one package is `1.0.0`, and you choose `patch`, the version will be increased to `1.0.1`. <br/>
> **Warning**
>
> If the version of one package is `1.0.0-beta.0`, and you choose `alpha`, the cli will panic and exit. Because the `beta` < `alpha` in semver.
Once you have finished the bump, the script will do the following things:

- bump the version you choose in the corresponding package
- update dependencies in other packages that depend on the package you choose
- update `pnpm-lock.yaml` file
- run `git tag -s pkg@version -m "pkg@version"` for each package

You need to run `git push --follow-tags` to finish the release.

## Release Turborepo

1. Create a release by triggering the [Turborepo Release][1] workflow

- Specify the semver increment using the SemVer Increment field (start with `prerelease`)
- Check the "Dry Run" box to run the full release workflow without publishing any packages.

2. A PR is automatically opened to merge the release branch created in step 1 back into `main`

- ⚠️ Merge this in! You don't need to wait for tests to pass. It's important to merge this branch soon after the publish is successful
- ⚠️ Merge this in! You don't need to wait for tests to pass. It's important to merge this branch soon after the
publish is successful

### Notes

Expand Down
77 changes: 0 additions & 77 deletions scripts/ignore-examples.js

This file was deleted.

19 changes: 0 additions & 19 deletions turbow.js

This file was deleted.

0 comments on commit 3254c3e

Please sign in to comment.