Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of rush and move to pnpm #2775

Merged
merged 57 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
c3b476b
Use pnpm
timotheeguerin Jan 2, 2024
475ba07
.
timotheeguerin Jan 2, 2024
c9f2a5b
.
timotheeguerin Jan 2, 2024
498fd18
More
timotheeguerin Jan 2, 2024
c414e8a
.
timotheeguerin Jan 2, 2024
954c717
.
timotheeguerin Jan 2, 2024
c027f15
.
timotheeguerin Jan 2, 2024
0271311
.
timotheeguerin Jan 2, 2024
4b743b3
.
timotheeguerin Jan 2, 2024
594aabb
.
timotheeguerin Jan 2, 2024
57bd8cd
.
timotheeguerin Jan 2, 2024
374e8c6
pack all
timotheeguerin Jan 2, 2024
f2dd60d
.
timotheeguerin Jan 2, 2024
772a426
.
timotheeguerin Jan 2, 2024
a30d8b4
.
timotheeguerin Jan 2, 2024
205a7d0
fix docfile
timotheeguerin Jan 2, 2024
f5e5e82
changesets config
timotheeguerin Jan 2, 2024
fc555da
.
timotheeguerin Jan 2, 2024
8c12057
.
timotheeguerin Jan 2, 2024
0d3fdec
.
timotheeguerin Jan 2, 2024
63ce5b4
.
timotheeguerin Jan 2, 2024
3e8b616
format
timotheeguerin Jan 2, 2024
d1f172a
.
timotheeguerin Jan 2, 2024
da9e6a9
.
timotheeguerin Jan 3, 2024
9188331
.
timotheeguerin Jan 3, 2024
d737c67
.
timotheeguerin Jan 3, 2024
571bdf9
noop changeset
timotheeguerin Jan 3, 2024
cc3a757
fix and clean
timotheeguerin Jan 3, 2024
848fa92
.
timotheeguerin Jan 3, 2024
3024e0e
test concurrency?
timotheeguerin Jan 3, 2024
d8ba40d
test more concurrency?
timotheeguerin Jan 3, 2024
dab88e3
disable cspell for tsp for now
timotheeguerin Jan 3, 2024
4c4ff7a
test
timotheeguerin Jan 3, 2024
da6e324
fix
timotheeguerin Jan 3, 2024
c15b7e9
.
timotheeguerin Jan 3, 2024
5cba178
.
timotheeguerin Jan 3, 2024
a24f8e3
.
timotheeguerin Jan 3, 2024
6d9913c
fix
timotheeguerin Jan 3, 2024
3678fc9
format
timotheeguerin Jan 3, 2024
de2fdff
disable compiler e2e until next release
timotheeguerin Jan 3, 2024
a86768a
.
timotheeguerin Jan 3, 2024
363b6a0
no e2e
timotheeguerin Jan 3, 2024
6b43b68
.
timotheeguerin Jan 4, 2024
76dce63
.
timotheeguerin Jan 4, 2024
b6cdc5a
.
timotheeguerin Jan 4, 2024
e174a9a
more format
timotheeguerin Jan 4, 2024
89b64d7
Merge branch 'main' into pnpm
timotheeguerin Jan 4, 2024
1939bb9
.
timotheeguerin Jan 4, 2024
e6c39a0
Merge
timotheeguerin Jan 4, 2024
a3d87a0
regen lock
timotheeguerin Jan 4, 2024
1effeca
revert merge issue
timotheeguerin Jan 4, 2024
483eb4f
Merge branch 'main' into pnpm
timotheeguerin Jan 4, 2024
6599646
.
timotheeguerin Jan 4, 2024
45db15b
Merge branch 'pnpm' of https://github.com/timotheeguerin/typespec int…
timotheeguerin Jan 4, 2024
85464c4
Fix merge issue
timotheeguerin Jan 4, 2024
33ce2a4
.
timotheeguerin Jan 4, 2024
6030a05
Merge with main
timotheeguerin Jan 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [["@typespec/*"]],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
2 changes: 2 additions & 0 deletions .changeset/neat-ducks-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
32 changes: 32 additions & 0 deletions .github/workflows/consistency.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Consistency

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch: {}

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
check-changes:
name: Check Changes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 ## Needed for Changesets to find `main` branch

- run: git pull --force --no-tags origin main:main
name: Get main ref

- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x

- run: npx -p @changesets/cli changeset status --since=main
name: Check changelog
if: ${{ !startsWith(github.head_ref, 'publish/') && !startsWith(github.head_ref, 'dependabot/') && !startsWith(github.head_ref, 'backmerge/') }}
6 changes: 4 additions & 2 deletions .github/workflows/website-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ jobs:
with:
node-version: 18.x

- uses: pnpm/action-setup@v2

- name: Install dependencies
run: node common/scripts/install-run-rush.js install --max-install-attempts 3
run: pnpm install

- name: Build
run: node common/scripts/install-run-rush.js build --to @typespec/website -v
run: pnpm run build --to @typespec/website -v
env:
# Only when deploying to microsoft.github.io/typespec. For typespec.io use the default value.
# TYPESPEC_WEBSITE_BASE_PATH: "/typespec/"
Expand Down
File renamed without changes.
7 changes: 6 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
common/temp/
common/scripts/
common/changes/
common/config/rush/pnpm-lock.yaml

# Pnpm lock file
pnpm-lock.yaml

# Emu spec file, formatting is wrong
packages/spec/src/spec.emu.html

# Coverage report directory
**/coverage/
Expand Down
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"tabWidth": 2,
"plugins": [
"./packages/prettier-plugin-typespec/dist/index.js",
"./packages/compiler/node_modules/prettier-plugin-organize-imports/index.js"
"./node_modules/prettier-plugin-organize-imports/index.js"
],
"overrides": [
{
Expand Down
6 changes: 3 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
"pnpm-config.json": "jsonc",
"version-policies.json": "jsonc"
},
"typescript.tsdk": "./packages/compiler/node_modules/typescript/lib",
"typescript.tsdk": "./node_modules/typescript/lib",
"git.ignoreLimitWarning": true,
"vitest.enable": true,
"vitest.commandLine": "node ./packages/compiler/node_modules/vitest/vitest.mjs",
"prettier.prettierPath": "./packages/compiler/node_modules/prettier/index.cjs",
"vitest.commandLine": "node ./node_modules/vitest/vitest.mjs",
"prettier.prettierPath": "./node_modules/prettier/index.cjs",
"prettier.documentSelectors": ["**/*.tsp"],
"testExplorer.errorDecoration": false,
"typespec.tsp-server.path": "${workspaceFolder}/packages/compiler"
Expand Down
25 changes: 0 additions & 25 deletions common/config/rush/.npmrc-publish

This file was deleted.

37 changes: 0 additions & 37 deletions common/config/rush/.pnpmfile.cjs

This file was deleted.

220 changes: 0 additions & 220 deletions common/config/rush/command-line.json

This file was deleted.

Loading