-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove unnecessary tests * turbo repo setup * eslint config * remove unnecessary projs * update repo name * update package.jsons * organize * setup handler * added events * submit * uupdate token * remove * remove ui * update name * update configs * update * add penpal * update build tool * update * update build process * update * update for apple pay g apy * prepare for release * release * version * update workflows' * vite single file * added base url in example * merge and bump ver * update * support for placeholder * cleanup * cleanup example * . * expose version to window * update change/blur/foucs events * update * refactor * updates * update pr * temp disable workflows * ver
- Loading branch information
1 parent
206b6b9
commit fc1b9db
Showing
123 changed files
with
17,063 additions
and
3,523 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,67 @@ | ||
name: 'Publish alpha release' | ||
name: 'Publish alpha releases' | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
publish: | ||
name: Publish to NPM | ||
publish-react: | ||
name: Publish React to NPM (Alpha) | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
version: 8 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 22 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Set hash and version variable | ||
# To generate unique hashes for each alpha release without having to change version in package.json | ||
run: | | ||
echo "COMMIT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV | ||
echo "VERSION=$(npm view ./ version)" >> $GITHUB_ENV | ||
echo "RELEASE_VERSION=$(npm view ./ version)-alpha.$(git rev-parse --short HEAD)" >> $GITHUB_ENV | ||
- name: Build package | ||
- name: Build React package | ||
run: | | ||
npm ci | ||
npm run build:alpha | ||
npm run build:react:alpha | ||
- name: Publish package | ||
- name: Publish React package | ||
working-directory: ./packages/react | ||
run: | | ||
npm version ${{ env.RELEASE_VERSION }} --no-git-tag-version | ||
npm version ${{ env.VERSION }}-alpha.${{ env.COMMIT_HASH }} --no-git-tag-version | ||
npm publish --tag alpha --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
|
||
publish-vanilla: | ||
name: Publish Vanilla to NPM (Alpha) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 22 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Set hash and version variable | ||
run: | | ||
echo "COMMIT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV | ||
echo "VERSION=$(node -p "require('./packages/vanilla/package.json').version")" >> $GITHUB_ENV | ||
- name: Build Vanilla package | ||
run: echo "Skipping for testing purposes" | ||
# run: | | ||
# npm ci | ||
# npm run build:vanilla:alpha | ||
|
||
- name: Publish Vanilla package | ||
working-directory: ./packages/vanilla | ||
run: | | ||
echo "Skipping for testing purposes" | ||
# run: | | ||
# npm version ${{ env.RELEASE_VERSION }} --no-git-tag-version | ||
# npm publish --tag alpha --access public | ||
# env: | ||
# NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,9 @@ test-results | |
playwright-report | ||
|
||
ngrok.yml | ||
|
||
.turbo | ||
|
||
|
||
# Vite generated temporary files | ||
*.timestamp-*.mjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
npm run lint:fix | ||
cd ./example && npm run lint:fix | ||
npm run lint:fix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 1 addition & 7 deletions
8
example/src/app/page.tsx → apps/react-example/src/app/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
example/src/components/billing-details.tsx → ...xample/src/components/billing-details.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/// <reference types="vite/client" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
install: | ||
npm i | ||
|
||
build: | ||
npm run build | ||
|
||
dev: | ||
npm run dev |
Oops, something went wrong.