Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Resolving issues#11253

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
39 commits
Select commitHold shift + click to select a range
0b9c67d
feat: migrated to pnpm
xaos7991May 18, 2025
d78c30d
fix: replaced the variable with your own path
Jester175May 19, 2025
e738b1b
fix: changed init path
Jester175May 19, 2025
8227be7
fix: added files to ignore
Jester175May 19, 2025
e1080b5
fix: changed init path
Jester175May 19, 2025
ae63c55
Merge pull request #2 from xaos7991/replacing-variables
xaos7991May 20, 2025
e4500eb
chore: migrated scripts from yarn to pnpm
xaos7991May 20, 2025
78f97ca
chore: migrate scripts to pnpm
Jester175May 20, 2025
b2740d3
chore: replaced yarn reference with pnpm
Jester175May 20, 2025
47bca3f
chore: replaced yarn reference with pnpm
Jester175May 20, 2025
caae48b
Merge pull request #4 from xaos7991/chore/migrate-scripts-to-pnpm
xaos7991May 20, 2025
6ff72a1
chore: replaced yarn reference with pnpm
Jester175May 20, 2025
83ea658
Merge pull request #5 from xaos7991/chore/migrate-scripts-to-pnpm
xaos7991May 20, 2025
df07c3c
chore: added rule schema types
Jester175May 21, 2025
0ffc5cc
Merge pull request #6 from xaos7991/chore/add-rule-schema-types
xaos7991May 22, 2025
feb01b1
chore: fixed types
Jester175May 22, 2025
9ed6376
Merge pull request #7 from xaos7991/chore/types
xaos7991May 22, 2025
a497ac5
ci: migrated yarn to pnpm
xaos7991May 23, 2025
351de42
fix: resolved issues with eslint-plugin tests
xaos7991May 23, 2025
03bd8d3
chore: migrated to pnpm
Jester175May 24, 2025
1de3fca
Merge pull request #8 from xaos7991/chore/launching-app-pnpm
xaos7991May 24, 2025
77ca6dd
fix: resolved problems with versions of babel packages
xaos7991May 24, 2025
644216b
fix: resolved problems with babel types
Jester175May 25, 2025
0fe7f92
Merge pull request #9 from xaos7991/fix/babel-types
xaos7991May 25, 2025
a6f9007
docs: updated comments to reflect pnpm usage instead of yarn
Jester175May 25, 2025
08f458c
Merge pull request #10 from xaos7991/chore/docs-update-pnpm-comments
xaos7991May 25, 2025
de5ee8b
ci: migrated from yarn to pnpm
xaos7991May 25, 2025
46e0620
ci: removed pnpm version
xaos7991May 25, 2025
88af74c
fix: added dependency ignore configuration
Jester175May 25, 2025
7e51137
fix: added dependency ignore configuration
Jester175May 25, 2025
d064374
fix: added dependency ignore configuration
Jester175May 25, 2025
8b0b3f5
fix: added dependency ignore configuration
Jester175May 25, 2025
1f4cdf3
fix: adjusted types and dependencies
Jester175May 26, 2025
a285fd3
chore: added dependency ignore configuration
Jester175May 26, 2025
8c0b7a7
fix: resolved issues in integration tests
Jester175May 27, 2025
319a153
chore: removed duplicate plugin
Jester175May 27, 2025
354e19f
Merge pull request #11 from xaos7991/fix/integration-tests-dependencies
xaos7991May 27, 2025
7156616
Merge branch 'main' into migrate-to-pnpm
xaos7991May 27, 2025
0cd5a29
ci: removed unnecessary script
xaos7991May 29, 2025
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
3 changes: 1 addition & 2 deletions.cspell.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -23,8 +23,7 @@
"**/node_modules/**",
"packages/website/.docusaurus/**",
"packages/website/build/**",
"packages/website/src/vendor/**",
"yarn.lock"
"packages/website/src/vendor/**"
],
"dictionaries": [
"typescript",
Expand Down
4 changes: 2 additions & 2 deletions.github/ISSUE_TEMPLATE/08-bug-report-complex.yaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -46,8 +46,8 @@ body:
description: The steps we need to take to reproduce the bug using your repro
value: |
1) clone the repo
2) `yarn install`
3) `yarn lint`
2) `pnpm install`
3) `pnpm run lint`
validations:
required: true
- type: textarea
Expand Down
4 changes: 2 additions & 2 deletions.github/actions/prepare-build/action.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -22,7 +22,7 @@ runs:
if: steps['build-cache'].outputs.cache-hit == 'true'
shell: bash
run: |
yarn nx run types:build
pnpm exec nx run types:build
env:
SKIP_AST_SPEC_REBUILD: true

Expand All@@ -31,6 +31,6 @@ runs:
shell: bash
# Website will be built by the Netlify GitHub App
run: |
yarn nx run-many --target=build --parallel --exclude=website --exclude=website-eslint
pnpm exec nx run-many --target=build --parallel --exclude=website --exclude=website-eslint
env:
SKIP_AST_SPEC_REBUILD: true
40 changes: 7 additions & 33 deletions.github/actions/prepare-install/action.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -30,49 +30,23 @@ runs:
working-directory: ${{ inputs.working-directory }}
run: echo ${{ github.ref }}

- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Use Node.js ${{ inputs.node-version }}
uses: actions/setup-node@v4
with:
cache: 'pnpm'
node-version: ${{ inputs.node-version }}
registry-url: ${{ inputs.registry-url }}

# Yarn 3 caching strategy which follows taken from https://gist.github.com/belgattitude/042f9caf10d029badbde6cf9d43e400a

- name: Expose yarn config as "$GITHUB_OUTPUT"
id: yarn-config
shell: bash
run: |
echo "CACHE_FOLDER=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT

# Yarn rotates the downloaded cache archives, @see https://github.com/actions/setup-node/issues/325
# Yarn cache is also reusable between arch and os.
- name: Restore yarn cache
uses: actions/cache@v4
id: yarn-download-cache
with:
path: ${{ steps.yarn-config.outputs.CACHE_FOLDER }}
key: yarn-download-cache-${{ hashFiles('yarn.lock') }}
restore-keys: |
yarn-download-cache-

# Invalidated on yarn.lock changes
- name: Restore yarn install state
id: yarn-install-state-cache
uses: actions/cache@v4
with:
path: .yarn/ci-cache/
key: ${{ runner.os }}-yarn-install-state-cache-${{ hashFiles('yarn.lock', '.yarnrc.yml') }}

- name: Install dependencies
shell: bash
working-directory: ${{ inputs.working-directory }}
run: |
yarn install --immutable --inline-builds
yarn check-clean-workspace-after-install
pnpm install --frozen-lockfile
pnpm run check-clean-workspace-after-install
env:
# CI optimizations. Overrides yarnrc.yml options (or their defaults) in the CI action.
YARN_ENABLE_GLOBAL_CACHE: 'false' # Use local cache folder to keep downloaded archives
YARN_NM_MODE: 'hardlinks-local' # Hardlinks-(local|global) reduces io / node_modules size
YARN_INSTALL_STATE_PATH: .yarn/ci-cache/install-state.gz # Very small speedup when lock does not change
# Other environment variables
HUSKY: '0' # By default do not run HUSKY install
5 changes: 1 addition & 4 deletions.github/renovate.json5
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -43,10 +43,7 @@
enabled: false,
},

postUpdateOptions: [
// Run yarn dedupe to cleanup the lockfile after updates.
'yarnDedupeHighest',
],
postUpdateOptions: ['pnpmDedupe'],

// By default renovate will auto-rebase whenever the dep pranch falls behind main.
// This is annoying as it spams notifications and creates unnecessary action runs.
Expand Down
20 changes: 10 additions & 10 deletions.github/workflows/ci.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,10 +78,10 @@ jobs:
uses: ./.github/actions/prepare-install
with:
node-version: ${{ env.PRIMARY_NODE_VERSION }}
- run:yarn generate-configs
- run:pnpm run generate-configs
- run: git status --porcelain
- if: failure()
run: echo "Outdated result detected fromyarn generate-configs. Please check in any file changes."
run: echo "Outdated result detected frompnpm run generate-configs. Please check in any file changes."

lint_without_build:
name: Lint without build
Expand All@@ -101,7 +101,7 @@ jobs:
node-version: ${{ env.PRIMARY_NODE_VERSION }}

- name: Run Check
run:yarn ${{ matrix.lint-task }}
run:pnpm run ${{ matrix.lint-task }}

lint_with_build:
name: Lint with build
Expand All@@ -124,7 +124,7 @@ jobs:
uses: ./.github/actions/prepare-build

- name: Run Check
run:yarn ${{ matrix.lint-task }}
run:pnpm ${{ matrix.lint-task }}
env:
ESLINT_USE_FLAT_CONFIG: true

Expand All@@ -142,7 +142,7 @@ jobs:
with:
node-version: ${{ env.PRIMARY_NODE_VERSION }}
- name: Run stylelint check
run:yarn stylelint
run:pnpm run stylelint
working-directory: packages/website

integration_tests:
Expand All@@ -162,7 +162,7 @@ jobs:
uses: ./.github/actions/prepare-build

- name: Run integration tests
run:yarn test-integration
run:pnpm run test-integration
env:
CI: true

Expand DownExpand Up@@ -213,12 +213,12 @@ jobs:
# we don't collect coverage on other node versions so they run faster
- name: Run unit tests with coverage for ${{ matrix.package }}
if: env.PRIMARY_NODE_VERSION == matrix.node-version && matrix.os == 'ubuntu-latest'
run:yarn nx run ${{ matrix.package }}:test -- --coverage
run:pnpm exec nx run ${{ matrix.package }}:test -- --coverage
env:
CI: true
- name: Run unit tests for ${{ matrix.package }}
if: env.PRIMARY_NODE_VERSION != matrix.node-version || matrix.os != 'ubuntu-latest'
run:yarn nx test ${{ matrix.package }}
run:pnpm exec nx test ${{ matrix.package }}
env:
CI: true

Expand DownExpand Up@@ -254,7 +254,7 @@ jobs:
- name: Build
uses: ./.github/actions/prepare-build
- name: Run unit tests for ${{ matrix.package }}
run:yarn nx test ${{ matrix.package }} --coverage=false
run:pnpm exec nx test ${{ matrix.package }} --coverage=false
env:
CI: true
TYPESCRIPT_ESLINT_PROJECT_SERVICE: true
Expand DownExpand Up@@ -306,7 +306,7 @@ jobs:
run: npx tsx tools/release/apply-canary-version.mts

- name: Publish all packages to npm with the canary tag
# NOTE: this needs to be npx, rather thanyarn, to make sure the authenticated npm registry is used
# NOTE: this needs to be npx, rather thanpnpm, to make sure the authenticated npm registry is used
run: npx nx release publish --tag canary --verbose
env:
NX_CLOUD_DISTRIBUTED_EXECUTION: false
Expand Down
20 changes: 10 additions & 10 deletions.github/workflows/nx-migrate.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -49,31 +49,31 @@ jobs:
# Get the version of Nx we are migrating to
NX_VERSION=$(node -e "console.log(require('./package.json').devDependencies['nx'])")

# Revert renovate's changes to package.json andyarn.lock so that it is a clean migrate from the status quo
git checkout HEAD~1 -- package.jsonyarn.lock
# Revert renovate's changes to package.json andpnpm-lock.yaml so that it is a clean migrate from the status quo
git checkout HEAD~1 -- package.jsonpnpm-lock.yaml

YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install
pnpm install

yarn nx migrate $NX_VERSION
pnpm exec nx migrate $NX_VERSION

# Sometimes Nx can require config formatting changes after a migrate command
YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install
yarn nx format
pnpm install
pnpm exec nx format

# migrations.json may or may not exist after running nx migrate
if [ -f migrations.json ]; then
# This will also invokeyarn automatically
yarn nx migrate --run-migrations=migrations.json
# This will also invokepnpm automatically
pnpm exec nx migrate --run-migrations=migrations.json

# After we have run its migrations, we no longer need the migrations.json file
rm migrations.json
fi

# Run the special nx repair command to ensure config matches latest and greatest
yarn nx repair
pnpm exec nx repair

# Ensure all the changed files are formatted appropriately
yarn format
pnpm run format

# Commit all the changes to the PR (see note on not being able to use secrets.GITHUB_TOKEN for this)
git config --global user.email "james@henry.sc"
Expand Down
4 changes: 2 additions & 2 deletions.github/workflows/prettier-update.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,8 +36,8 @@ jobs:
# We cannot use secrets.GITHUB_TOKEN for this because it is not permitted to kick off subsequent actions worfklow runs, so we use a PAT instead
GITHUB_TOKEN: ${{ secrets.JAMES_HENRY_GITHUB_TOKEN }}
run: |
yarn --mode skip-build
yarn format
pnpm install --ignore-scripts
pnpm run format

# Commit all the changes to the PR (see note on not being able to use secrets.GITHUB_TOKEN for this)
git config --global user.email "james@henry.sc"
Expand Down
2 changes: 1 addition & 1 deletion.husky/pre-commit
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
yarn pre-commit
pnpm run pre-commit
1 change: 0 additions & 1 deletion.npmrc
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
package-lock=false
4 changes: 2 additions & 2 deletions.prettierignore
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,8 +5,8 @@
**/.vs
CONTRIBUTORS.md

.yarn/plugins
.yarn/releases
pnpm-lock.yaml
pnpm-workspace.yaml

packages/eslint-plugin/tests/fixtures/indent/

Expand Down
View file
Open in desktop

This file was deleted.

Loading
Loading

[8]ページ先頭

©2009-2025 Movatter.jp