Skip to content

Commit 5ab024a

Browse files
remove the need for submodules under most circumstances
1 parent e6d488b commit 5ab024a

File tree

4 files changed

+4
-16
lines changed

4 files changed

+4
-16
lines changed

.changeset/pre.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@
33
"tag": "alpha",
44
"initialVersions": {
55
"powersync-example": "1.0.0",
6-
"@journeyapps/react-native-quick-sqlite": "0.0.1-alpha.0",
76
"@journeyapps/powersync-react": "0.0.1-alpha.0",
87
"@journeyapps/powersync-sdk-common": "0.0.1-alpha.0",
98
"@journeyapps/powersync-sdk-react-native": "0.0.1-alpha.1"
109
},
11-
"changesets": [
12-
"serious-bobcats-tie"
13-
]
10+
"changesets": ["serious-bobcats-tie"]
1411
}

.github/workflows/build-packages.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313
with:
14-
submodules: true
1514
persist-credentials: false
1615

1716
- name: Setup NodeJS

.github/workflows/dev-packages.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313
with:
14-
submodules: true
1514
persist-credentials: false
1615

1716
- name: Setup NodeJS
@@ -31,11 +30,7 @@ jobs:
3130
- name: Build
3231
run: yarn build:packages
3332

34-
- name: Development Version
35-
run: |
36-
export SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`
37-
export VERSION="0.0.0-dev.$SHORT_SHA"
38-
lerna version $VERSION --no-private --exact --force-publish --no-push --no-git-tag-version --yes
39-
4033
- name: Publish
41-
run: lerna exec "npm publish --tag=next --no-git-checks"
34+
run: |
35+
yarn changeset version --no-git-tag --snapshot dev
36+
yarn changeset publish --tag dev

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ jobs:
1414
steps:
1515
- name: Checkout Repo
1616
uses: actions/checkout@v3
17-
with:
18-
# Needed for build with frozen lockfile
19-
submodules: true
2017

2118
- name: Setup Node.js 18
2219
uses: actions/setup-node@v3

0 commit comments

Comments
 (0)