jackson/internal-ui/dev/verdaccio.sh

27 lines
709 B
Bash
Raw Normal View History

Add `@boxyhq/internal-ui` (#2305) * add WellKnownURLs * Fix translation keys * Update dependencies and add IdP Configuration * Update common.json with new translations * wip * Update @boxyhq/internal-ui version to 0.0.5 * add internal ui folder * Fix imports and build * Refactor internal-ui package structure * wip shared UI * Fix the build * Add new components and hooks for directory sync * lint fix * updated swr * users * Refactor shared components and fix API endpoints*** ***Update directory user page and add new federated SAML app * Fix lint * wip * Add new files and update existing files * Refactor DirectoryGroups and DirectoryInfo components * Update localization strings for directory UI * Update Google Auth URL description in common.json * Refactor directory tab and add delete functionality to webhook logs * Delete unused files and update dependencies * Fix column declaration * Add internal-ui/dist to .gitignore * Update page limit and add new dependencies * wip * Refactor directory search in user API endpoint * wip * Refactor directory retrieval logic in user and group API handlers * Add API endpoints for retrieving webhook events * Add query parameters to API URLs in DirectoryGroups * Add Google authorization status badge and handle pagination in FederatedSAMLApps * Add router prop to AppsList component and update page header titles * UI changes * Add new files and export functions * Remove unused router prop * Add PencilIcon to FederatedSAMLApps * Refactor FederatedSAMLApps and NewFederatedSAMLApp components * lint fix * add jose npm to dev dep * added missing strings * locale strings fix * locale strings cleanup * update package-lock * Add prepublish step * Build and publish npm and internal ui * Refactor install step * Run npm install (for local) inside internal ui automatically using prepare * Remove eslint setup for internal-ui * Add `--legacy-peer-deps` to prevent installing peer dependencies * Fix the types import path * wip * wip * Fix the types * Format * Update package-lock * Cleanup * Try adding jose library version 5.2.2 * COPY internal-ui before npm install * COPY internal-ui in builder stage * fixed sort order for jose --------- Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com> Co-authored-by: Aswin V <vaswin91@gmail.com>
2024-02-27 22:12:39 +00:00
#!/bin/zsh -ex
# TODO: Make this generic so everyone can run it
VERSION=0.0.0
# Unpublish the current version
npm unpublish --registry http://localhost:4873/ @boxyhq/internal-ui@$VERSION
# Build the package
rm -rf dist
npm run build
# Publish
npm publish --registry http://localhost:4873/
# Install the published version in `boxyhq/jackson`
# cd ../../jackson
# npm uninstall @boxyhq/internal-ui
# npm i --save-exact --registry http://localhost:4873/ @boxyhq/internal-ui@$VERSION
# rm -rf .next
# Install the published version in `boxyhq/saas-app`
cd ../../saas-app
npm uninstall @boxyhq/internal-ui
npm i --save-exact --registry http://localhost:4873/ @boxyhq/internal-ui@$VERSION --force
rm -rf .next