Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
137 changes: 137 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,17 @@
"packages/*"
],
"scripts": {
"build": "npm run lint && mtc && npm run build -w packages/skin && npm run build -w packages/ebayui-core && npm run build -w packages/evo-marko && npm run build -w packages/ebayui-core-react",
"build:ci": "CI=true npm run build -w packages/skin && npm run build -w packages/ebayui-core && npm run build -w packages/evo-marko && npm run build -w packages/ebayui-core-react && npm run build -w packages/evo-react",
"build": "npm run lint && npm run build -w packages/skin && concurrently --kill-others-on-fail \"mtc\" \"npm run build -w packages/ebayui-core\" \"npm run build -w packages/evo-marko\" \"npm run build -w packages/ebayui-core-react\"",
"build:ci": "CI=true && npm run build",
"change": "changeset add",
"copy:coreui-site": "npm run deploy --ws",
"copy:skin-site": "npm run deploy --ws",
"deploy": "copyfiles src/data/component-metadata.json public/ -u 2 && BASE_URL=/evo-web/ marko-run build -o ./_site && npm run deploy:copy-site",
"deploy:copy-site": "npm run deploy --ws && copyfiles packages/skin/_site/public _site/public/skin-storybook -u 4 && copyfiles packages/ebayui-core/_site _site/public/ebayui-core -u 3 && copyfiles packages/ebayui-core-react/_site _site/public/ebayui-core-react -u 3",
"deploy:storybook": "npm run deploy --ws",
"deploy": "copyfiles src/data/component-metadata.json public/ -u 2 && npm run deploy:build && npm run deploy:copy-site",
"deploy:build": "concurrently --kill-others-on-fail \"BASE_URL=/evo-web/ marko-run build -o ./_site\" \"npm run deploy -w packages/skin\" \"npm run deploy -w packages/ebayui-core\" \"npm run deploy -w packages/ebayui-core-react\"",
"deploy:copy-site": "copyfiles packages/skin/_site/public _site/public/skin-storybook -u 4 && copyfiles packages/ebayui-core/_site _site/public/ebayui-core -u 3 && copyfiles packages/ebayui-core-react/_site _site/public/ebayui-core-react -u 3",
"postinstall": "npx playwright install --with-deps chromium",
"lint": "stylelint src --config .stylelintrc",
"prepare": "husky",
"release": "npm run release --ws --if-present && changeset publish",
"start": "marko-run",
"start": "concurrently --kill-others-on-fail \"marko-run\" \"npm start -w packages/ebayui-core\" \"npm start -w packages/ebayui-core-react\"",
"test": "npm run test --ws",
"update-snapshots": "npm run update-snapshots --ws --if-present",
"version": "npm run version --ws --if-present && changeset version && npm i --package-lock-only && git add -A packages"
Expand Down Expand Up @@ -98,6 +96,7 @@
"cldr-core": "^48.0.0",
"cldr-dates-full": "^48.0.0",
"clean-css": "^5",
"concurrently": "^9.1.2",
"coveralls": "^3.1.1",
"cssnano": "^7.1.2",
"dedent": "^1.7.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/ebayui-core-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
},
"scripts": {
"build": "npm run clean && npm run type:check && npm run test && vite build && npm run copy && npm run smoke-test",
"build": "npm run clean && npm run type:check && vitest run && vite build && npm run copy && npm run smoke-test",
"build:storybook": "storybook build",
"clean": "node scripts/clean",
"generate-locale-info": "node scripts/generate-locale-info.js",
Expand All @@ -37,7 +37,7 @@
"format": "eslint . --fix 'src/**/*.{ts,tsx}' && prettier . --write --log-level=warn",
"lint": "eslint . --ext .ts,.tsx && prettier . --check --log-level=warn",
"release": "vite build && npm run copy",
"smoke-test": "npm run smoke-test:react-16 && npm run smoke-test:react-18 && npm run smoke-test:react-19",
"smoke-test": "concurrently --kill-others-on-fail \"npm run smoke-test:react-16\" \"npm run smoke-test:react-18\" \"npm run smoke-test:react-19\"",
"smoke-test:react-16": "cd ./smoke-tests/react-16 && npm ci && npm run test",
"smoke-test:react-18": "cd ./smoke-tests/react-18 && npm ci && npm run test",
"smoke-test:react-19": "cd ./smoke-tests/react-19 && npm ci && npm run test",
Expand Down
4 changes: 1 addition & 3 deletions packages/ebayui-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@
"!**/{,*.}stories-ignore.*"
],
"scripts": {
"build": "rm -rf dist && mtc && npm run lint && node scripts/check-postpublish && npm test",
"build:ci": "CI=true npm run build && npm run build:storybook",
"build": "rm -rf dist && concurrently --kill-others-on-fail \"mtc\" \"npm run lint\" \"node scripts/check-postpublish\" \"npm test\"",
"build:readme": "node scripts/add-ds-version",
"build:storybook": "storybook build -o ./_site",
"coverage": "vitest run --browser.headless --coverage",
"deploy": "storybook build -o ./_site",
"importSVG": "node scripts/import-svg && prettier \"{./src/components/ebay-{icon,flag,star-rating,image-placeholder}/**/*,**/*.{js,ts,json,MD}}\" --write --log-level=warn",
Expand Down
1 change: 0 additions & 1 deletion src/data/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ export function getMetadataFromUrl(url: string) {
const currentIndex = componentKeys.indexOf(componentName);
const prevKey = componentKeys[currentIndex - 1];
const nextKey = componentKeys[currentIndex + 1];
console.log(currentTab, componentName)

return {
...componentData,
Expand Down
1 change: 0 additions & 1 deletion src/tags/a11y-docs-list.marko
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { urls, a11yDocs, a11yList, components, basePath, getMetadataFromUrl } from "../data";
<const/{name, currentTab}=getMetadataFromUrl($global.url.pathname)>
<log=name>
<for|key| of=a11yList>
<const/data=a11yDocs[key]>
<li>
Expand Down