Skip to content

Commit 95cd684

Browse files
authored
Merge branch 'main' into 1456-form-attribute-for-submit-button
2 parents 570eda4 + 74cac94 commit 95cd684

File tree

260 files changed

+2795
-1556
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

260 files changed

+2795
-1556
lines changed

.circleci/comment.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ async function run() {
4848
repo: 'react-spectrum',
4949
commit_sha: process.env.CIRCLE_SHA1,
5050
body: `Verdaccio builds:
51-
[CRA Test App](https://reactspectrum.blob.core.windows.net/reactspectrum/${process.env.CIRCLE_SHA1}/verdaccio/build/index.html)
51+
[CRA Test App](https://reactspectrum.blob.core.windows.net/reactspectrum/${process.env.CIRCLE_SHA1}/verdaccio/rsp-cra-18/index.html)
5252
[NextJS Test App](https://reactspectrum.blob.core.windows.net/reactspectrum/${process.env.CIRCLE_SHA1}/verdaccio/next/index.html)
5353
[RAC Tailwind Example](https://reactspectrum.blob.core.windows.net/reactspectrum/${process.env.CIRCLE_SHA1}/verdaccio/rac-tailwind/index.html)
5454
[RAC Spectrum + Tailwind Example](https://reactspectrum.blob.core.windows.net/reactspectrum/${process.env.CIRCLE_SHA1}/verdaccio/rac-spectrum-tailwind/index.html)

.circleci/config.yml

+265-6
Original file line numberDiff line numberDiff line change
@@ -461,22 +461,239 @@ jobs:
461461
paths:
462462
- '*/docs/'
463463

464-
docs-verdaccio:
464+
verdaccio:
465465
executor: rsp-xlarge
466466
steps:
467467
- restore_cache:
468468
key: react-spectrum-{{ .Environment.CACHE_VERSION }}-{{ .Environment.CIRCLE_SHA1 }}
469469

470470
- run:
471-
name: run verdaccio
472-
command: ./scripts/verdaccio.sh ci
471+
name: run verdaccio and publish built packages
472+
command: |
473+
mkdir -p verdaccio-workspace
474+
./scripts/verdaccio-ci.sh
475+
./scripts/verdaccio-deploy.sh
476+
environment:
477+
VERDACCIO_STORAGE_PATH: /tmp/verdaccio-workspace/storage
473478

474479
# Store the prod docs website w/ verdaccio packages in a separate dist folder so it doesn't get deployed by "deploy" workflow
475480
# This is because we have a separate deploy flow for the test prod docs website so it doesn't hold up the normal "deploy" workflow
481+
- persist_to_workspace:
482+
root: /tmp/verdaccio-workspace
483+
paths:
484+
- storage
485+
486+
v-docs:
487+
executor: rsp-xlarge
488+
steps:
489+
- restore_cache:
490+
key: react-spectrum-{{ .Environment.CACHE_VERSION }}-{{ .Environment.CIRCLE_SHA1 }}
491+
492+
- attach_workspace:
493+
at: /tmp/verdaccio-workspace
494+
495+
- run:
496+
name: build docs off verdaccio
497+
command: |
498+
./scripts/verdaccio-ci.sh
499+
./scripts/verdaccio-build.sh
500+
environment:
501+
VERDACCIO_STORAGE_PATH: /tmp/verdaccio-workspace/storage
502+
503+
- persist_to_workspace:
504+
root: verdaccio_dist
505+
paths:
506+
- '*/verdaccio/docs'
507+
508+
v-rsp-cra-18:
509+
executor: rsp-xlarge
510+
steps:
511+
- restore_cache:
512+
key: react-spectrum-{{ .Environment.CACHE_VERSION }}-{{ .Environment.CIRCLE_SHA1 }}
513+
514+
- attach_workspace:
515+
at: /tmp/verdaccio-workspace
516+
517+
- run:
518+
name: build react-spectrum-cra-18 off verdaccio
519+
command: |
520+
./scripts/verdaccio-ci.sh
521+
./scripts/verdaccio-build-rsp-cra-18.sh
522+
environment:
523+
VERDACCIO_STORAGE_PATH: /tmp/verdaccio-workspace/storage
524+
525+
- persist_to_workspace:
526+
root: verdaccio_dist
527+
paths:
528+
- '*/verdaccio/rsp-cra-18'
529+
530+
v-webpack-4:
531+
executor: rsp-xlarge
532+
steps:
533+
- restore_cache:
534+
key: react-spectrum-{{ .Environment.CACHE_VERSION }}-{{ .Environment.CIRCLE_SHA1 }}
535+
536+
- attach_workspace:
537+
at: /tmp/verdaccio-workspace
538+
539+
- run:
540+
name: build webpack-4 off verdaccio
541+
command: |
542+
./scripts/verdaccio-ci.sh
543+
./scripts/verdaccio-build-webpack-4.sh
544+
environment:
545+
VERDACCIO_STORAGE_PATH: /tmp/verdaccio-workspace/storage
546+
547+
- persist_to_workspace:
548+
root: verdaccio_dist
549+
paths:
550+
- '*/verdaccio/webpack-4'
551+
552+
v-nextjs:
553+
executor: rsp-xlarge
554+
steps:
555+
- restore_cache:
556+
key: react-spectrum-{{ .Environment.CACHE_VERSION }}-{{ .Environment.CIRCLE_SHA1 }}
557+
558+
- attach_workspace:
559+
at: /tmp/verdaccio-workspace
560+
561+
- run:
562+
name: build nextjs off verdaccio
563+
command: |
564+
./scripts/verdaccio-ci.sh
565+
./scripts/verdaccio-build-nextjs.sh
566+
environment:
567+
VERDACCIO_STORAGE_PATH: /tmp/verdaccio-workspace/storage
568+
476569
- persist_to_workspace:
477570
root: verdaccio_dist
478571
paths:
479-
- '*/verdaccio/'
572+
- '*/verdaccio/next'
573+
574+
v-rac-tailwind:
575+
executor: rsp-xlarge
576+
steps:
577+
- restore_cache:
578+
key: react-spectrum-{{ .Environment.CACHE_VERSION }}-{{ .Environment.CIRCLE_SHA1 }}
579+
580+
- attach_workspace:
581+
at: /tmp/verdaccio-workspace
582+
583+
- run:
584+
name: build rac-tailwind off verdaccio
585+
command: |
586+
./scripts/verdaccio-ci.sh
587+
./scripts/verdaccio-build-rac-tailwind.sh
588+
environment:
589+
VERDACCIO_STORAGE_PATH: /tmp/verdaccio-workspace/storage
590+
591+
- persist_to_workspace:
592+
root: verdaccio_dist
593+
paths:
594+
- '*/verdaccio/rac-tailwind'
595+
596+
v-rac-rsp-tailwind:
597+
executor: rsp-xlarge
598+
steps:
599+
- restore_cache:
600+
key: react-spectrum-{{ .Environment.CACHE_VERSION }}-{{ .Environment.CIRCLE_SHA1 }}
601+
602+
- attach_workspace:
603+
at: /tmp/verdaccio-workspace
604+
605+
- run:
606+
name: build rac-rsp-tailwind off verdaccio
607+
command: |
608+
./scripts/verdaccio-ci.sh
609+
./scripts/verdaccio-build-rac-rsp-tailwind.sh
610+
environment:
611+
VERDACCIO_STORAGE_PATH: /tmp/verdaccio-workspace/storage
612+
613+
- persist_to_workspace:
614+
root: verdaccio_dist
615+
paths:
616+
- '*/verdaccio/rac-spectrum-tailwind'
617+
618+
v-s2-parcel:
619+
executor: rsp-xlarge
620+
steps:
621+
- restore_cache:
622+
key: react-spectrum-{{ .Environment.CACHE_VERSION }}-{{ .Environment.CIRCLE_SHA1 }}
623+
624+
- attach_workspace:
625+
at: /tmp/verdaccio-workspace
626+
627+
- run:
628+
name: build s2-parcel off verdaccio
629+
command: |
630+
./scripts/verdaccio-ci.sh
631+
./scripts/verdaccio-build-s2-parcel.sh
632+
environment:
633+
VERDACCIO_STORAGE_PATH: /tmp/verdaccio-workspace/storage
634+
635+
- persist_to_workspace:
636+
root: verdaccio_dist
637+
paths:
638+
- '*/verdaccio/s2-parcel-example'
639+
640+
v-s2-webpack:
641+
executor: rsp-xlarge
642+
steps:
643+
- restore_cache:
644+
key: react-spectrum-{{ .Environment.CACHE_VERSION }}-{{ .Environment.CIRCLE_SHA1 }}
645+
646+
- attach_workspace:
647+
at: /tmp/verdaccio-workspace
648+
649+
- run:
650+
name: build s2-webpack off verdaccio
651+
command: |
652+
./scripts/verdaccio-ci.sh
653+
./scripts/verdaccio-build-s2-webpack.sh
654+
environment:
655+
VERDACCIO_STORAGE_PATH: /tmp/verdaccio-workspace/storage
656+
657+
- persist_to_workspace:
658+
root: verdaccio_dist
659+
paths:
660+
- '*/verdaccio/s2-webpack-5-example'
661+
662+
v-icon-builder:
663+
executor: rsp-xlarge
664+
steps:
665+
- restore_cache:
666+
key: react-spectrum-{{ .Environment.CACHE_VERSION }}-{{ .Environment.CIRCLE_SHA1 }}
667+
668+
- attach_workspace:
669+
at: /tmp/verdaccio-workspace
670+
671+
- run:
672+
name: build icon-builder off verdaccio
673+
command: |
674+
./scripts/verdaccio-ci.sh
675+
./scripts/verdaccio-build-icon-builder.sh
676+
environment:
677+
VERDACCIO_STORAGE_PATH: /tmp/verdaccio-workspace/storage
678+
679+
v-publish-stats:
680+
executor: rsp
681+
steps:
682+
- restore_cache:
683+
key: react-spectrum-{{ .Environment.CACHE_VERSION }}-{{ .Environment.CIRCLE_SHA1 }}
684+
685+
- attach_workspace:
686+
at: /tmp/verdaccio_dist
687+
688+
- run:
689+
name: build size diffs off verdaccio
690+
command: |
691+
./scripts/verdaccio-build-pre-azure.sh
692+
693+
- persist_to_workspace:
694+
root: verdaccio_dist
695+
paths:
696+
- '*/verdaccio/publish-stats'
480697

481698
deploy:
482699
docker:
@@ -646,12 +863,45 @@ workflows:
646863
- docs:
647864
requires:
648865
- install
649-
- docs-verdaccio:
866+
- verdaccio:
650867
filters:
651868
branches:
652869
only: main
653870
requires:
654871
- install
872+
- v-docs:
873+
requires:
874+
- verdaccio
875+
- v-rsp-cra-18:
876+
requires:
877+
- verdaccio
878+
- v-webpack-4:
879+
requires:
880+
- verdaccio
881+
- v-nextjs:
882+
requires:
883+
- verdaccio
884+
- v-rac-tailwind:
885+
requires:
886+
- verdaccio
887+
- v-rac-rsp-tailwind:
888+
requires:
889+
- verdaccio
890+
- v-s2-parcel:
891+
requires:
892+
- verdaccio
893+
- v-s2-webpack:
894+
requires:
895+
- verdaccio
896+
- v-icon-builder:
897+
requires:
898+
- verdaccio
899+
- v-publish-stats:
900+
requires:
901+
- verdaccio
902+
- v-webpack-4
903+
- v-nextjs
904+
- v-rsp-cra-18
655905
- deploy:
656906
requires:
657907
- lint
@@ -670,7 +920,16 @@ workflows:
670920
- docs
671921
- deploy-verdaccio:
672922
requires:
673-
- docs-verdaccio
923+
- v-docs
924+
- v-rsp-cra-18
925+
- v-webpack-4
926+
- v-nextjs
927+
- v-rac-tailwind
928+
- v-rac-rsp-tailwind
929+
- v-s2-parcel
930+
- v-s2-webpack
931+
- v-icon-builder
932+
- v-publish-stats
674933
- comment:
675934
name: comment-pr
676935
filters:

.yarnrc.yml

+5
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ yarnPath: .yarn/releases/yarn-4.2.2.cjs
1212

1313
plugins:
1414
- .yarn/plugins/plugin-nightly-prep.js
15+
16+
changesetIgnorePatterns:
17+
- "**/*.test.*"
18+
- "**/*.md"
19+
- "**/test/**"

eslint.config.mjs

+24-1
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ export default [{
398398
"rsp-rules/no-getByRole-toThrow": ERROR,
399399
"rulesdir/imports": OFF,
400400
"monorepo/no-internal-import": OFF,
401-
"jsdoc/require-jsdoc": OFF,
401+
"jsdoc/require-jsdoc": OFF
402402
},
403403

404404
languageOptions: {
@@ -437,6 +437,29 @@ export default [{
437437
"jsdoc/require-jsdoc": OFF,
438438
"jsdoc/require-description": OFF,
439439
},
440+
}, {
441+
files: [
442+
"packages/**/*.ts",
443+
"packages/**/*.tsx"
444+
],
445+
446+
rules: {
447+
"@typescript-eslint/explicit-module-boundary-types": ERROR,
448+
},
449+
}, {
450+
files: [
451+
"**/dev/**",
452+
"**/test/**",
453+
"**/stories/**",
454+
"**/docs/**",
455+
"**/chromatic/**",
456+
"**/chromatic-fc/**",
457+
"**/__tests__/**"
458+
],
459+
460+
rules: {
461+
"@typescript-eslint/explicit-module-boundary-types": OFF,
462+
},
440463
}, {
441464
files: [
442465
"packages/@react-aria/focus/src/**/*.ts",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
"tempy": "^0.5.0",
210210
"typescript": "^5.5.0",
211211
"typescript-eslint": "^8.9.0",
212-
"verdaccio": "^5.13.0",
212+
"verdaccio": "^6.0.0",
213213
"walk-object": "^4.0.0",
214214
"wsrun": "^5.0.0",
215215
"xml": "^1.0.1",

0 commit comments

Comments
 (0)