@schedule-x/react 0.6.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +34 -0
- package/.releaserc +43 -0
- package/CHANGELOG.md +11 -0
- package/README.md +1 -1
- package/package.json +11 -8
- package/renovate.json +16 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
- 'ci/semantic_release'
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
release:
|
|
10
|
+
name: Release
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
permissions:
|
|
13
|
+
contents: write # to be able to publish a GitHub release
|
|
14
|
+
issues: write # to be able to comment on released issues
|
|
15
|
+
pull-requests: write # to be able to comment on released pull requests
|
|
16
|
+
steps:
|
|
17
|
+
- name: Checkout ✅
|
|
18
|
+
uses: actions/checkout@v3
|
|
19
|
+
with:
|
|
20
|
+
fetch-depth: 0
|
|
21
|
+
token: ${{ secrets.GITHUB_TOKEN }}
|
|
22
|
+
- name: Setup Node.js 🔧
|
|
23
|
+
uses: actions/setup-node@v3
|
|
24
|
+
with:
|
|
25
|
+
node-version: 'lts/*'
|
|
26
|
+
- name: Install dependencies 🛠️
|
|
27
|
+
run: npm ci --ignore-scripts
|
|
28
|
+
- name: Build 📦
|
|
29
|
+
run: npm run build
|
|
30
|
+
- name: Release 🚀
|
|
31
|
+
env:
|
|
32
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
33
|
+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
34
|
+
run: npx semantic-release
|
package/.releaserc
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"release": {
|
|
3
|
+
"branches": [
|
|
4
|
+
"main",
|
|
5
|
+
"ci/semantic_release"
|
|
6
|
+
]
|
|
7
|
+
},
|
|
8
|
+
"branches": [
|
|
9
|
+
"main",
|
|
10
|
+
"ci/semantic_release"
|
|
11
|
+
],
|
|
12
|
+
"tagFormat": "v${version}",
|
|
13
|
+
"plugins": [
|
|
14
|
+
"@semantic-release/commit-analyzer",
|
|
15
|
+
"@semantic-release/release-notes-generator",
|
|
16
|
+
[
|
|
17
|
+
"@semantic-release/changelog",
|
|
18
|
+
{
|
|
19
|
+
"changelogTitle": "# Changelog\n\nAll notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines."
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"@semantic-release/npm",
|
|
23
|
+
[
|
|
24
|
+
"@semantic-release/git",
|
|
25
|
+
{
|
|
26
|
+
"assets": [
|
|
27
|
+
"CHANGELOG.md",
|
|
28
|
+
"package.json",
|
|
29
|
+
"package-lock.json",
|
|
30
|
+
"npm-shrinkwrap.json"
|
|
31
|
+
],
|
|
32
|
+
"message": "chore(release): publish version ${nextRelease.version}"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
[
|
|
36
|
+
"@semantic-release/github",
|
|
37
|
+
{
|
|
38
|
+
"message": "Release <%= nextRelease.version %> - <%= new Date().toLocaleDateString('en-US', {year: 'numeric', month: 'short', day: 'numeric', hour: 'numeric', minute: 'numeric' }) %> [skip ci]\n\n<%= nextRelease.notes %>"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
],
|
|
42
|
+
"dryRun": false
|
|
43
|
+
}
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
4
|
+
|
|
5
|
+
# 1.0.0 (2023-12-29)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* custom components for week and day views ([#3](https://github.com/schedule-x/react/issues/3)) ([fe838a5](https://github.com/schedule-x/react/commit/fe838a5597fa947760b26fb5c97537de54e65272))
|
|
11
|
+
* enable custom components in month view ([#5](https://github.com/schedule-x/react/issues/5)) ([c2e2ddf](https://github.com/schedule-x/react/commit/c2e2ddf95040ba1d5273c8b866767c0f3934036c))
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"main": "dist/index.cjs.js",
|
|
15
15
|
"module": "dist/index.js",
|
|
16
16
|
"types": "dist/types/index.d.ts",
|
|
17
|
-
"version": "0.
|
|
17
|
+
"version": "1.0.0",
|
|
18
18
|
"type": "module",
|
|
19
19
|
"scripts": {
|
|
20
20
|
"dev": "vite",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"build:publish": "npm run build && npm publish"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@schedule-x/calendar": "^0.
|
|
29
|
+
"@schedule-x/calendar": "^0.7.0",
|
|
30
30
|
"react": "^16.7.0 || ^17 || ^18",
|
|
31
31
|
"react-dom": "^16.7.0 || ^17 || ^18"
|
|
32
32
|
},
|
|
@@ -35,12 +35,14 @@
|
|
|
35
35
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
36
36
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
37
37
|
"@rollup/plugin-typescript": "^11.1.5",
|
|
38
|
-
"@schedule-x/drag-and-drop": "^0.
|
|
39
|
-
"@schedule-x/e2e-testing": "^0.
|
|
40
|
-
"@schedule-x/eslint-config": "^0.
|
|
41
|
-
"@schedule-x/event-modal": "^0.
|
|
42
|
-
"@schedule-x/prettier-config": "^0.
|
|
43
|
-
"@schedule-x/theme-default": "^0.
|
|
38
|
+
"@schedule-x/drag-and-drop": "^0.7.0",
|
|
39
|
+
"@schedule-x/e2e-testing": "^0.7.0",
|
|
40
|
+
"@schedule-x/eslint-config": "^0.7.0",
|
|
41
|
+
"@schedule-x/event-modal": "^0.7.0",
|
|
42
|
+
"@schedule-x/prettier-config": "^0.7.0",
|
|
43
|
+
"@schedule-x/theme-default": "^0.7.0",
|
|
44
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
45
|
+
"@semantic-release/git": "^10.0.1",
|
|
44
46
|
"@types/react": "^18.2.43",
|
|
45
47
|
"@types/react-dom": "^18.2.17",
|
|
46
48
|
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
|
@@ -55,6 +57,7 @@
|
|
|
55
57
|
"rollup": "^4.9.0",
|
|
56
58
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
57
59
|
"rollup-plugin-postcss": "^4.0.2",
|
|
60
|
+
"semantic-release": "^22.0.12",
|
|
58
61
|
"typescript": "^5.2.2",
|
|
59
62
|
"vite": "^5.0.8"
|
|
60
63
|
},
|
package/renovate.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
3
|
+
"extends": ["config:base", ":disableDependencyDashboard"],
|
|
4
|
+
"packageRules": [
|
|
5
|
+
{
|
|
6
|
+
"matchDepTypes": ["devDependencies"],
|
|
7
|
+
"matchUpdateTypes": ["patch", "minor"],
|
|
8
|
+
"groupName": "devDependencies (non-major)"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"groupName": "Schedule-X monorepo packages",
|
|
12
|
+
"packagePatterns": ["^@schedule-x.*"]
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"ignoreDeps": ["react", "react-dom"]
|
|
16
|
+
}
|