diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 55f8e28c..2b9a0828 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: "16" + node-version: "18" - uses: actions/setup-python@v4 with: python-version: "3.10" @@ -24,6 +24,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.REPOS_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: npm run semantic-release + build-and-push: runs-on: [self-hosted, common] if: contains(' diff --git a/.npmignore b/.npmignore index 3252ace2..5d0c303a 100644 --- a/.npmignore +++ b/.npmignore @@ -1,5 +1,5 @@ -# ignore design system folder -src/web/ +# ignore test files +src/**/__test__/ -# ignore main.js of design system -src/main.js \ No newline at end of file +# ignore design system app files +src/web/ diff --git a/README.md b/README.md index 79ebd420..49ea8579 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ > BIMData's Design System is an open-source DS. The documentation is available here: [design.bimdata.io](https://design.bimdata.io/)
- +
## Used by @@ -21,7 +21,7 @@ npm i @bimdata/design-system ## :raising_hand: Compatibility -BIMData Design System is a library compatible with Vue 2 and Vue 3. +BIMData Design System is a library compatible with Vue 3. ## :open_hands: Contributing @@ -37,14 +37,8 @@ npm install ### Compiles and hot-reloads for development npm run dev -### Compiles and minifies for production -npm run build - ### Run your tests npm run test - -### Lints and fixes files -npm run lint ``` ## :package: Publish / :rocket: Deploy diff --git a/components.js b/components.js deleted file mode 100644 index 73e7d566..00000000 --- a/components.js +++ /dev/null @@ -1,36 +0,0 @@ -export { default as BIMDataBigSpinner } from "./dist/js/BIMDataComponents/BIMDataBigSpinner.js"; -export { default as BIMDataButton } from "./dist/js/BIMDataComponents/BIMDataButton.js"; -export { default as BIMDataCard } from "./dist/js/BIMDataComponents/BIMDataCard.js"; -export { default as BIMDataCarousel } from "./dist/js/BIMDataComponents/BIMDataCarousel.js"; -export { default as BIMDataCheckbox } from "./dist/js/BIMDataComponents/BIMDataCheckbox.js"; -export { default as BIMDataColorSelector } from "./dist/js/BIMDataComponents/BIMDataColorSelector.js"; -export { default as BIMDataDatePicker } from "./dist/js/BIMDataComponents/BIMDataDatePicker.js"; -export { default as BIMDataDropdownList } from "./dist/js/BIMDataComponents/BIMDataDropdownList.js"; -export { default as BIMDataDropdownMenu } from "./dist/js/BIMDataComponents/BIMDataDropdownMenu.js"; -export { default as BIMDataFileIcon } from "./dist/js/BIMDataComponents/BIMDataFileIcon.js"; -export { default as BIMDataIcon } from "./dist/js/BIMDataComponents/BIMDataIcon.js"; -export { default as BIMDataIllustration } from "./dist/js/BIMDataComponents/BIMDataIllustration.js"; -export { default as BIMDataInput } from "./dist/js/BIMDataComponents/BIMDataInput.js"; -export { default as BIMDataLoading } from "./dist/js/BIMDataComponents/BIMDataLoading.js"; -export { default as BIMDataMenu } from "./dist/js/BIMDataComponents/BIMDataMenu.js"; -export { default as BIMDataMenuInline } from "./dist/js/BIMDataComponents/BIMDataMenuInline.js"; -export { default as BIMDataMultiplePieChart } from "./dist/js/BIMDataComponents/BIMDataMultiplePieChart.js"; -export { default as BIMDataNavigation } from "./dist/js/BIMDataComponents/BIMDataNavigation.js"; -export { default as BIMDataPaginatedList } from "./dist/js/BIMDataComponents/BIMDataPaginatedList.js"; -export { default as BIMDataPieSpinner } from "./dist/js/BIMDataComponents/BIMDataPieSpinner.js"; -export { default as BIMDataRadio } from "./dist/js/BIMDataComponents/BIMDataRadio.js"; -export { default as BIMDataResponsiveGrid } from "./dist/js/BIMDataComponents/BIMDataResponsiveGrid.js"; -export { default as BIMDataSafeZoneModal } from "./dist/js/BIMDataComponents/BIMDataSafeZoneModal.js"; -export { default as BIMDataSearch } from "./dist/js/BIMDataComponents/BIMDataSearch.js"; -export { default as BIMDataSearchAutocomplete } from "./dist/js/BIMDataComponents/BIMDataSearchAutocomplete.js"; -export { default as BIMDataSelect } from "./dist/js/BIMDataComponents/BIMDataSelect.js"; -export { default as BIMDataSimplePieChart } from "./dist/js/BIMDataComponents/BIMDataSimplePieChart.js"; -export { default as BIMDataSpinner } from "./dist/js/BIMDataComponents/BIMDataSpinner.js"; -export { default as BIMDataTable } from "./dist/js/BIMDataComponents/BIMDataTable.js"; -export { default as BIMDataTabs } from "./dist/js/BIMDataComponents/BIMDataTabs.js"; -export { default as BIMDataText } from "./dist/js/BIMDataComponents/BIMDataText.js"; -export { default as BIMDataTextarea } from "./dist/js/BIMDataComponents/BIMDataTextarea.js"; -export { default as BIMDataTextbox } from "./dist/js/BIMDataComponents/BIMDataTextbox.js"; -export { default as BIMDataToggle } from "./dist/js/BIMDataComponents/BIMDataToggle.js"; -export { default as BIMDataTooltip } from "./dist/js/BIMDataComponents/BIMDataTooltip.js"; -export { default as BIMDataPDFViewer } from "./dist/js/BIMDataComponents/BIMDataPDFViewer.js"; diff --git a/screenshots/design-system_illustration.png b/design-system.png similarity index 100% rename from screenshots/design-system_illustration.png rename to design-system.png diff --git a/index.html b/index.html new file mode 100644 index 00000000..c96128f6 --- /dev/null +++ b/index.html @@ -0,0 +1,21 @@ + + + + + + + +
- @import "@/assets/scss/_BIMDataVariables.scss";
-
+ @import "@/assets/css/variables.css";