Skip to content

Commit 5d9d23f

Browse files
authored
Get rid of dev/utils from website prod build (#5879)
* Get rid of dev/utils from website prod build so it doesnt complain about test util package * make package public as well * forgot to update aria test util
1 parent 3db98d2 commit 5d9d23f

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

packages/@react-aria/test-utils/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "@react-aria/test-utils",
33
"version": "3.0.0-alpha.1",
4-
"private": true,
54
"description": "Testing utils for react-aria patterns",
65
"license": "Apache-2.0",
76
"main": "dist/main.js",

packages/@react-spectrum/test-utils/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "@react-spectrum/test-utils",
33
"version": "3.0.0-alpha.1",
4-
"private": true,
54
"description": "Spectrum UI components in React",
65
"license": "Apache-2.0",
76
"main": "dist/main.js",

scripts/buildWebsite.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ async function build() {
118118
fs.copySync(path.join(__dirname, '..', 'packages', 'dev'), path.join(dir, 'packages', 'dev'));
119119
fs.copySync(path.join(__dirname, '..', 'packages', '@internationalized', 'string-compiler'), path.join(dir, 'packages', '@internationalized', 'string-compiler'));
120120
fs.removeSync(path.join(dir, 'packages', 'dev', 'v2-test-deps'));
121+
fs.removeSync(path.join(dir, 'packages', 'dev', 'test-utils'));
121122
fs.copySync(path.join(__dirname, '..', 'packages', '@adobe', 'spectrum-css-temp'), path.join(dir, 'packages', '@adobe', 'spectrum-css-temp'));
122123
fs.copySync(path.join(__dirname, '..', '.parcelrc'), path.join(dir, '.parcelrc'));
123124
fs.copySync(path.join(__dirname, '..', 'postcss.config.js'), path.join(dir, 'postcss.config.js'));

0 commit comments

Comments
 (0)