Skip to content

Flows 2 JavaScript SDK #258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
Jan 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d1d360f
chore: delete old js package
VojtechVidra Jan 1, 2025
fa4f6d2
test(js): remove flows 1 tests
VojtechVidra Jan 4, 2025
60a2d09
feat(js): flows 2 js sdk
VojtechVidra Jan 4, 2025
d324e28
feat(js): tour state
VojtechVidra Jan 5, 2025
ab684c8
fix(js): test
VojtechVidra Jan 5, 2025
9332d4a
feat(js): tour wait
VojtechVidra Jan 6, 2025
f2e929f
feat(js-components): workflow components
VojtechVidra Jan 8, 2025
fe22d04
feat(js-components): tour components
VojtechVidra Jan 8, 2025
887f783
feat(js-components,react-components): shared styles
VojtechVidra Jan 8, 2025
aab3aa8
feat(js,js-components): jsdoc comments
VojtechVidra Jan 9, 2025
05254d7
feat(js-components): data-slot-id attribute
VojtechVidra Jan 11, 2025
81198b5
Merge branch 'main' into feat/flows-2-js
OPesicka Jan 11, 2025
1179f02
feat(js-components): css export
VojtechVidra Jan 12, 2025
58b300b
chore: allow release for js-components
VojtechVidra Jan 12, 2025
4a4e81b
@flows/js@0.0.1-canary.0
flows-bot[bot] Jan 12, 2025
40fdf04
@flows/js-components@0.0.1-canary.0
flows-bot[bot] Jan 12, 2025
b7241f1
fix(js-components): slot definition on the server
VojtechVidra Jan 12, 2025
11941c5
@flows/js-components@0.0.1-canary.1
flows-bot[bot] Jan 12, 2025
9553fca
test(js): page targeting and tour tests
VojtechVidra Jan 15, 2025
fcb0a8a
test(js): tour wait
VojtechVidra Jan 15, 2025
9cd12d6
test(js): slot, websocket, init tests
VojtechVidra Jan 15, 2025
ce4a49c
fix: code checks
VojtechVidra Jan 15, 2025
cd146fa
test(js): slot page targeting
VojtechVidra Jan 16, 2025
ec0f0ea
test(js): events
VojtechVidra Jan 16, 2025
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
2 changes: 0 additions & 2 deletions .github/workflows/code-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
node-version: 20
cache: "pnpm"
- run: pnpm install
- run: pnpm js build
- run: pnpm tsc

jest:
Expand Down Expand Up @@ -53,7 +52,6 @@ jobs:
node-version: 20
cache: "pnpm"
- run: pnpm install
- run: pnpm js build
- run: pnpm e2e playwright:docker
- uses: actions/upload-artifact@v4
if: always()
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ on:
- react
- react-components
- js
- js-components

jobs:
npm-publish:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules
dist
coverage
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 Flows
Copyright (c) 2025 Flows

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion commitlint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { UserConfig } from "@commitlint/types";
const Configuration: UserConfig = {
extends: ["@commitlint/config-conventional"],
rules: {
"scope-enum": [2, "always", ["js", "react", "react-components"]],
"scope-enum": [2, "always", ["js", "js-components", "react", "react-components"]],
},
ignores: [(message) => message.startsWith("@flows/")],
};
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"e2e": "pnpm --filter e2e",
"js": "pnpm --filter js",
"js-components": "pnpm --filter js-components",
"react": "pnpm --filter react",
"react-components": "pnpm --filter react-components",
"shared": "pnpm --filter shared",
Expand All @@ -26,5 +27,5 @@
"minimist": "^1.2.8",
"prettier": "^3.4.2"
},
"packageManager": "pnpm@9.15.0"
"packageManager": "pnpm@9.15.2"
}
Loading
Loading