Skip to content

Commit e1448e6

Browse files
committed
Merge branch 'master' into homepage-tweaks
2 parents 44e74c8 + 0db525b commit e1448e6

11 files changed

Lines changed: 5418 additions & 456 deletions

File tree

.github/workflows/prerelease.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: Bump RC And Publish
2+
3+
on:
4+
workflow_dispatch:
5+
secrets:
6+
GH_EMAIL:
7+
required: true
8+
GH_USER:
9+
required: true
10+
USER_GITHUB_TOKEN:
11+
required: true
12+
13+
permissions:
14+
id-token: write # REQUIRED for npm Trusted Publishing
15+
contents: write
16+
17+
jobs:
18+
publish:
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
24+
with:
25+
fetch-depth: 0 # full history for yarn version
26+
27+
- name: Setup Node with trusted publishing
28+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
29+
with:
30+
node-version: 24
31+
registry-url: https://registry.npmjs.org
32+
33+
- run: corepack enable
34+
- run: corepack prepare yarn@4.10.3 --activate
35+
- run: yarn set version 4.10.3
36+
- run: NPQ_PKG_MGR=yarn npx npq install
37+
- run: yarn build
38+
- run: yarn test
39+
40+
- name: Setup GIT
41+
run: |
42+
git reset --hard
43+
git config --local --list
44+
git checkout master
45+
echo "Configured git as $GH_USER <$GH_EMAIL>"
46+
git config user.email "$GH_EMAIL"
47+
git config user.name "$GH_USER"
48+
env:
49+
GH_EMAIL: ${{ secrets.GH_EMAIL }}
50+
GH_USER: ${{ secrets.GH_USER }}
51+
52+
- name: Build and test
53+
run: |
54+
git reset --hard
55+
yarn build
56+
yarn test
57+
58+
# ---- PUBLISH WITH TRUSTED PUBLISHING ----
59+
60+
- name: npm publish @wix/interact (trusted)
61+
run: |
62+
npm publish --tag rc

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ coverage/
77
.DS_Store
88
*.log
99
pnpm-lock.yaml
10-
yarn.lock
10+
.yarn/
1111
tmp/

.yarnrc.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
compressionLevel: mixed
2+
3+
enableGlobalCache: true
4+
5+
enableTelemetry: false
6+
7+
nodeLinker: node-modules
8+
9+
npmMinimalAgeGate: 14d
10+
11+
npmPreapprovedPackages:
12+
- "@wix/*"
13+
14+
npmRegistryServer: "https://registry.npmjs.org/"

apps/docs/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,3 @@
2323
"vite": "^7.2.2"
2424
}
2525
}
26-

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"version": "1.0.0",
44
"private": true,
55
"main": "index.js",
6+
"packageManager": "yarn@4.10.3",
67
"scripts": {
78
"dev": "npm run dev --workspaces",
89
"build": "npm run build --workspaces",

packages/interact/package.json

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wix/interact",
3-
"version": "2.0.0",
3+
"version": "2.0.0-rc.2",
44
"description": "A powerful, declarative interaction library for creating engaging web apps.",
55
"license": "MIT",
66
"main": "dist/cjs/index.js",
@@ -24,7 +24,9 @@
2424
}
2525
},
2626
"files": [
27-
"dist"
27+
"dist",
28+
"rules",
29+
"docs"
2830
],
2931
"sideEffects": false,
3032
"scripts": {
@@ -54,19 +56,24 @@
5456
},
5557
"dependencies": {
5658
"@wix/motion": "^1.0.0",
57-
"kuliso": "^0.4.13",
59+
"fastdom": "^1.0.12",
5860
"fizban": "^0.7.2",
59-
"fastdom": "^1.0.12"
61+
"kuliso": "^0.4.13"
6062
},
6163
"peerDependencies": {
6264
"react": "^18.3.1",
6365
"react-dom": "^18.3.1"
6466
},
6567
"peerDependenciesMeta": {
66-
"react": { "optional": true },
67-
"react-dom": { "optional": true }
68+
"react": {
69+
"optional": true
70+
},
71+
"react-dom": {
72+
"optional": true
73+
}
6874
},
6975
"devDependencies": {
76+
"@testing-library/dom": "^10.4.0",
7077
"@testing-library/react": "^16.1.0",
7178
"@types/react": "^18.3.2",
7279
"@types/react-dom": "^18.3.0",
@@ -81,4 +88,3 @@
8188
"vitest": "^4.0.14"
8289
}
8390
}
84-

packages/interact/rules/LIST_PLAN.md

Lines changed: 0 additions & 190 deletions
This file was deleted.

0 commit comments

Comments
 (0)