Skip to content

Commit 6b2a8ad

Browse files
committed
removed excessive exports and corrected dependencies
1 parent d4e5d95 commit 6b2a8ad

File tree

5 files changed

+4
-56
lines changed

5 files changed

+4
-56
lines changed

packages/vue/__tests__/__snapshots__/exports.spec.ts.snap

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,6 @@ exports[`@aws-amplify/ui-vue exports should match snapshot 1`] = `
88
"Authenticator",
99
"AuthenticatorForceNewPasswordFormFields",
1010
"AuthenticatorSignUpFormFields",
11-
"BaseAlert",
12-
"BaseBox",
13-
"BaseFieldSet",
14-
"BaseFooter",
15-
"BaseForm",
16-
"BaseHeading",
17-
"BaseInput",
18-
"BaseLabel",
19-
"BaseSelect",
20-
"BaseSpacer",
21-
"BaseText",
22-
"BaseTwoTabItem",
23-
"BaseTwoTabs",
24-
"BaseWrapper",
2511
"ConfirmResetPassword",
2612
"ConfirmSignIn",
2713
"ConfirmSignUp",

packages/vue/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
],
2828
"scripts": {
2929
"prebuild": "rimraf dist",
30-
"build": "yarn build:catalog && yarn build:CSS && yarn build:rollup",
31-
"build:catalog": "yarn node -r esbuild-register scripts/generatePrimitiveCatalog.ts",
30+
"build": "yarn build:CSS && yarn build:rollup",
31+
"postbuild": "rimraf global-spec.d.ts jest.config.d.ts jest.setup.d.ts",
3232
"build:CSS": "yarn node -r esbuild-register scripts/copyCSS.ts",
3333
"build:rollup": "rollup --config",
3434
"dev": "yarn build:rollup --watch",
@@ -72,7 +72,7 @@
7272
},
7373
"peerDependencies": {
7474
"@aws-amplify/core": "*",
75-
"aws-amplify": "*",
75+
"aws-amplify": "^6.9.0",
7676
"vue": "^3.0"
7777
}
7878
}

packages/vue/scripts/generatePrimitiveCatalog.ts

Lines changed: 0 additions & 23 deletions
This file was deleted.

packages/vue/src/index.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -111,21 +111,6 @@ export {
111111
AmplifyCheckBox,
112112
AmplifyButton,
113113
useAuthenticator,
114-
// Export primitive components
115-
BaseInput,
116-
BaseLabel,
117-
BaseSelect,
118-
BaseWrapper,
119-
BaseAlert,
120-
BaseBox,
121-
BaseFieldSet,
122-
BaseFooter,
123-
BaseForm,
124-
BaseHeading,
125-
BaseSpacer,
126-
BaseText,
127-
BaseTwoTabs,
128-
BaseTwoTabItem,
129114
};
130115

131116
/**

packages/vue/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
"vite/client"
1212
]
1313
},
14-
"include": ["*.ts", "*.mjs", "scripts", "src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"],
14+
"include": ["__mocks__", "__tests__", "*.ts", "*.mjs", "scripts", "src/**/*.ts", "src/**/*.vue"],
1515
"exclude": ["node_modules", "dist"]
1616
}

0 commit comments

Comments
 (0)