Merge branch 'changesets'
This commit is contained in:
commit
6669f717a4
8
.changeset/README.md
Normal file
8
.changeset/README.md
Normal file
@ -0,0 +1,8 @@
|
||||
# Changesets
|
||||
|
||||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
|
||||
with multi-package repos, or single-package repos to help you version and publish your code. You can
|
||||
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
|
||||
|
||||
We have a quick list of common questions to get you started engaging with this project in
|
||||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
|
11
.changeset/config.json
Normal file
11
.changeset/config.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "https://unpkg.com/@changesets/config@3.0.5/schema.json",
|
||||
"changelog": "@changesets/cli/changelog",
|
||||
"commit": false,
|
||||
"fixed": [],
|
||||
"linked": [],
|
||||
"access": "restricted",
|
||||
"baseBranch": "main",
|
||||
"updateInternalDependencies": "patch",
|
||||
"ignore": []
|
||||
}
|
8
.changeset/pre.json
Normal file
8
.changeset/pre.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"mode": "pre",
|
||||
"tag": "alpha",
|
||||
"initialVersions": {
|
||||
"updux": "4.0.0-alpha.9"
|
||||
},
|
||||
"changesets": []
|
||||
}
|
5
.changeset/wise-owls-accept.md
Normal file
5
.changeset/wise-owls-accept.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
'updux': patch
|
||||
---
|
||||
|
||||
Use @changesets/cli as the changelog manager
|
@ -3,6 +3,9 @@
|
||||
# tea releases c --asset releases/updux-4.0.0-alpha.2.tgz -p --title v4.0.0-alpha.2 --tag v4.0.0-alpha.2
|
||||
version: '3'
|
||||
|
||||
env:
|
||||
SHELL: /usr/local/bin/fish
|
||||
|
||||
vars:
|
||||
PARENT_BRANCH: main
|
||||
|
||||
@ -42,10 +45,18 @@ tasks:
|
||||
|
||||
integrate:
|
||||
deps: [checks]
|
||||
env:
|
||||
NO_NEW_TESTS: '{{.NO_NEW_TESTS}}'
|
||||
NO_CHANGELOG: '{{.NO_CHANGELOG}}'
|
||||
PARENT_BRANCH: '{{.PARENT_BRANCH}}'
|
||||
preconditions:
|
||||
- sh: git is-clean
|
||||
msg: Workspace is not clean
|
||||
- sh: ./contrib/check_new_tests.fish
|
||||
msg: No test added (NO_NEW_TESTS to disable)
|
||||
- sh: ./contrib/check_changelog.fish
|
||||
msg: No new changeset (NO_CHANGELOG to disable)
|
||||
cmds:
|
||||
- git is-clean
|
||||
# did we had tests?
|
||||
- git diff-ls {{.PARENT_BRANCH}} | grep test
|
||||
- git checkout {{.PARENT_BRANCH}}
|
||||
- git weld -
|
||||
|
||||
@ -53,6 +64,16 @@ tasks:
|
||||
|
||||
test:dev: vitest src
|
||||
|
||||
foo:
|
||||
env:
|
||||
NO_NEW_TESTS: '{{.NO_NEW_TESTS}}'
|
||||
PARENT_BRANCH: '{{.PARENT_BRANCH}}'
|
||||
cmds:
|
||||
- echo $SHELL
|
||||
- echo {{.NO_NEW_TESTS}}
|
||||
- echo $NO_NEW_TESTS
|
||||
- ./contrib/check_new_tests.fish
|
||||
|
||||
lint:fix:delta:
|
||||
vars:
|
||||
FILES:
|
||||
|
5
contrib/check_changelog.fish
Executable file
5
contrib/check_changelog.fish
Executable file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env fish
|
||||
|
||||
if test -z "$NO_CHANGELOG"
|
||||
git diff-ls main | grep .changeset/ ;
|
||||
end
|
5
contrib/check_new_tests.fish
Executable file
5
contrib/check_new_tests.fish
Executable file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env fish
|
||||
|
||||
if test -z "$NO_NEW_TESTS"
|
||||
git diff-ls $PARENT_BRANCH | grep test
|
||||
end
|
@ -2,11 +2,12 @@
|
||||
"version": "4.0.0-alpha.9",
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@changesets/cli": "^2.27.12",
|
||||
"@mobily/ts-belt": "4.0.0-rc.5",
|
||||
"@reduxjs/toolkit": "^2.2.7",
|
||||
"@yanick/updeep-remeda": "^2.3.1",
|
||||
"json-schema-shorthand": "^2.0.0",
|
||||
"json-schema-to-ts": "^2.9.2",
|
||||
"@reduxjs/toolkit": "^2.2.7",
|
||||
"moize": "^6.1.6",
|
||||
"redux": "^4.2.0",
|
||||
"remeda": "^1.0.1",
|
||||
|
Loading…
Reference in New Issue
Block a user