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 #70

Merged
merged 59 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
ef9e9a3
Use ponpm
timotheeguerin Jan 2, 2024
723cadc
.
timotheeguerin Jan 2, 2024
ef2b3ff
.
timotheeguerin Jan 2, 2024
8dc41f0
more
timotheeguerin Jan 2, 2024
b510fe8
.
timotheeguerin Jan 2, 2024
f8ebea3
.
timotheeguerin Jan 2, 2024
77a6fda
.
timotheeguerin Jan 2, 2024
4a39100
.
timotheeguerin Jan 2, 2024
4f2a62c
.
timotheeguerin Jan 2, 2024
9a3391e
.
timotheeguerin Jan 2, 2024
c01e094
.
timotheeguerin Jan 2, 2024
c6597a6
apply same changes as core
timotheeguerin Jan 3, 2024
dfdfde4
.
timotheeguerin Jan 3, 2024
b3accef
.
timotheeguerin Jan 3, 2024
2d92019
noop changeset
timotheeguerin Jan 3, 2024
09cf47f
.
timotheeguerin Jan 3, 2024
0f0ecbb
.
timotheeguerin Jan 3, 2024
6812cae
.
timotheeguerin Jan 3, 2024
fba0f11
fix
timotheeguerin Jan 3, 2024
7957d68
.
timotheeguerin Jan 3, 2024
38614d4
s
timotheeguerin Jan 3, 2024
f816dcd
.
timotheeguerin Jan 4, 2024
c50d2e8
.
timotheeguerin Jan 4, 2024
a271761
.
timotheeguerin Jan 4, 2024
20f2013
.
timotheeguerin Jan 4, 2024
de4f221
.
timotheeguerin Jan 4, 2024
a178845
more format
timotheeguerin Jan 4, 2024
02c44ec
Merge branch 'main' into pnpm
timotheeguerin Jan 4, 2024
0b59f4a
Merge branch 'pnpm' of https://github.com/timotheeguerin/typespec-azu…
timotheeguerin Jan 4, 2024
0d23bbe
remove stage
timotheeguerin Jan 4, 2024
53b5fec
bump
timotheeguerin Jan 4, 2024
b355728
.
timotheeguerin Jan 4, 2024
9362d91
.
timotheeguerin Jan 4, 2024
d1e17e9
regen lock
timotheeguerin Jan 4, 2024
d491c87
bump core
timotheeguerin Jan 4, 2024
8de5132
fix
timotheeguerin Jan 4, 2024
7dfb954
.
timotheeguerin Jan 4, 2024
b9db8ad
,
timotheeguerin Jan 4, 2024
4293842
.
timotheeguerin Jan 4, 2024
89812ab
.
timotheeguerin Jan 4, 2024
e824bfd
pnpm install
timotheeguerin Jan 5, 2024
55a5893
Merge with main
timotheeguerin Jan 9, 2024
9e7d720
Merge branch 'main' into pnpm
timotheeguerin Jan 9, 2024
86ea903
fix
timotheeguerin Jan 9, 2024
9c983e0
Merge branch 'pnpm' of https://github.com/timotheeguerin/typespec-azu…
timotheeguerin Jan 9, 2024
5a65af6
.,
timotheeguerin Jan 10, 2024
da3d2b6
Merge branch 'main' into pnpm
timotheeguerin Jan 11, 2024
a7b71d9
Fix
timotheeguerin Jan 11, 2024
ed785b5
Merge branch 'pnpm' of https://github.com/timotheeguerin/typespec-azu…
timotheeguerin Jan 11, 2024
680dabc
Merge with main:
timotheeguerin Jan 24, 2024
e0382eb
use core main
timotheeguerin Jan 24, 2024
99e88c3
fix consistency
timotheeguerin Jan 24, 2024
6b1bdbc
use pnpm install action
timotheeguerin Jan 24, 2024
71b21c9
fix
timotheeguerin Jan 24, 2024
7354f17
try
timotheeguerin Jan 24, 2024
d3f45c2
don't bump core
timotheeguerin Jan 24, 2024
eaf9363
Merge branch 'main' into pnpm
timotheeguerin Jan 24, 2024
b80221a
format
timotheeguerin Jan 24, 2024
5faf654
changelog remove
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": [["@azure-tools/typespec-*"]],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
2 changes: 2 additions & 0 deletions .changeset/odd-berries-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
41 changes: 41 additions & 0 deletions .github/workflows/consistency.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
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
submodules: recursive

- 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

- uses: pnpm/action-setup@v2

- run: pnpm install
name: Install dependencies

- 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/') }}

- run: node eng/scripts/validate-core-submodule.js
name: Check that core submodule is merged to core repo
6 changes: 4 additions & 2 deletions .github/workflows/website-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,13 @@ jobs:
with:
node-version: 18.x

- uses: pnpm/action-setup@v2

- name: Install dependencies
run: node common/scripts/install-run-rush.js update
run: pnpm install

- name: Build
run: node common/scripts/install-run-rush.js build --to @azure-tools/typespec-azure-website -v
run: pnpm run build --to @azure-tools/typespec-azure-website -v
env:
TYPESPEC_WEBSITE_BASE_PATH: "/typespec-azure/"
NODE_OPTIONS: "--max_old_space_size=4096"
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
auto-install-peers=true
7 changes: 6 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
**/common/temp/
**/common/scripts/
**/common/changes/
**/common/config/rush/pnpm-lock.yaml

# Pnpm lock file
**/pnpm-lock.yaml

# Coverage report directory
**/coverage/
Expand All @@ -22,6 +24,9 @@ CODE_OF_CONDUCT.md
# These are auto-generated by rush
**/CHANGELOG.md

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

# Don't format compiler test typespec files.
core/packages/compiler/test/formatter/**/*.tsp

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": [
"./core/packages/prettier-plugin-typespec/dist/index.js",
"./core/packages/compiler/node_modules/prettier-plugin-organize-imports/index.js"
"./node_modules/prettier-plugin-organize-imports/index.js"
],
"overrides": [
{
Expand Down

This file was deleted.

15 changes: 0 additions & 15 deletions common/config/rush/.npmrc

This file was deleted.

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.

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

This file was deleted.

Loading