mirror of
https://github.com/tabler/tabler.git
synced 2025-12-22 18:04:26 +04:00
Compare commits
15 Commits
dev-css-pr
...
dev-change
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1b04679c2d | ||
|
|
54454f71d1 | ||
|
|
914bc6a21a | ||
|
|
5be3c0e236 | ||
|
|
3dd6b3b8bc | ||
|
|
58a5b4c2bd | ||
|
|
a2cbd50187 | ||
|
|
4fe9407a19 | ||
|
|
80dd505973 | ||
|
|
191b5f0636 | ||
|
|
5330aaea52 | ||
|
|
df593d2b05 | ||
|
|
e357ab4e4d | ||
|
|
3388a68447 | ||
|
|
b0d759f328 |
89
.all-contributorsrc
Normal file
89
.all-contributorsrc
Normal file
@@ -0,0 +1,89 @@
|
|||||||
|
{
|
||||||
|
"projectName": "tabler",
|
||||||
|
"projectOwner": "tabler",
|
||||||
|
"repoType": "github",
|
||||||
|
"repoHost": "https://github.com",
|
||||||
|
"files": [
|
||||||
|
"CONTRIBUTORS.md"
|
||||||
|
],
|
||||||
|
"imageSize": 100,
|
||||||
|
"commit": true,
|
||||||
|
"commitConvention": "angular",
|
||||||
|
"contributors": [
|
||||||
|
{
|
||||||
|
"login": "codecalm",
|
||||||
|
"name": "Paweł Kuna",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/1282324?v=4",
|
||||||
|
"profile": "https://tabler.io/",
|
||||||
|
"contributions": [
|
||||||
|
"code",
|
||||||
|
"doc"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "martynaaj",
|
||||||
|
"name": "Martyna",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/60158888?v=4",
|
||||||
|
"profile": "https://github.com/martynaaj",
|
||||||
|
"contributions": [
|
||||||
|
"doc"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "deralaxo",
|
||||||
|
"name": "Dawid Harat",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/40028795?v=4",
|
||||||
|
"profile": "https://github.com/deralaxo",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "rjd22",
|
||||||
|
"name": "Robert-Jan de Dreu",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/160743?v=4",
|
||||||
|
"profile": "https://codersopinion.com/",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "FreexD",
|
||||||
|
"name": "Michał Wolny",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/7117869?v=4",
|
||||||
|
"profile": "https://github.com/FreexD",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "wangkanai",
|
||||||
|
"name": "Sarin Na Wangkanai",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/10666633?v=4",
|
||||||
|
"profile": "https://www.wangkanai.com/",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "WinterSilence",
|
||||||
|
"name": "Anton",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/3521094?v=4",
|
||||||
|
"profile": "https://ensostudio.ru/",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"login": "dheineman",
|
||||||
|
"name": "Dave Heineman",
|
||||||
|
"avatar_url": "https://avatars.githubusercontent.com/u/516028?v=4",
|
||||||
|
"profile": "https://github.com/dheineman",
|
||||||
|
"contributions": [
|
||||||
|
"code"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"contributorsPerLine": 7,
|
||||||
|
"linkToUsage": false
|
||||||
|
}
|
||||||
@@ -1,6 +1,11 @@
|
|||||||
>= 1%
|
>= 1%
|
||||||
last 2 versions
|
last 1 major version
|
||||||
Firefox ESR
|
|
||||||
not dead
|
not dead
|
||||||
safari >= 15.4
|
Chrome >= 60
|
||||||
iOS >= 15.4
|
Firefox >= 60
|
||||||
|
Edge >= 15.15063
|
||||||
|
Explorer 11
|
||||||
|
iOS >= 10
|
||||||
|
Safari >= 10
|
||||||
|
Android >= 6
|
||||||
|
not ExplorerMobile <= 11
|
||||||
|
|||||||
28
.build/changelog.js
Normal file
28
.build/changelog.js
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
#!/usr/bin/env node
|
||||||
|
|
||||||
|
'use strict'
|
||||||
|
|
||||||
|
const fs = require('fs'),
|
||||||
|
path = require('path'),
|
||||||
|
YAML = require('yaml');
|
||||||
|
|
||||||
|
const content = YAML.parse(fs.readFileSync(path.join(__dirname, '../src/pages/_data/changelog.yml'), 'utf8')).reverse()
|
||||||
|
let readme = `# Changelog
|
||||||
|
|
||||||
|
All notable changes to this project will be documented in this file.\n`
|
||||||
|
|
||||||
|
content.forEach((change) => {
|
||||||
|
readme += `\n\n## \`${change.version}\` - ${change.date}\n\n`
|
||||||
|
|
||||||
|
if (change.description) {
|
||||||
|
readme += `**${change.description}**\n\n`
|
||||||
|
}
|
||||||
|
|
||||||
|
change.changes.forEach((line) => {
|
||||||
|
readme += `- ${line}\n`
|
||||||
|
})
|
||||||
|
|
||||||
|
console.log(change.version);
|
||||||
|
})
|
||||||
|
|
||||||
|
fs.writeFileSync(path.join(__dirname, '../CHANGELOG.md'), readme)
|
||||||
58
.build/download-images.js
Normal file
58
.build/download-images.js
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
#!/usr/bin/env node
|
||||||
|
|
||||||
|
'use strict'
|
||||||
|
|
||||||
|
const YAML = require('yaml')
|
||||||
|
const fs = require('node:fs')
|
||||||
|
const path = require('node:path')
|
||||||
|
const request = require('request')
|
||||||
|
const filePath = path.join(__dirname, '../src/pages/_data/photos.yml')
|
||||||
|
|
||||||
|
const photos = YAML.parse(fs.readFileSync(filePath, 'utf8'))
|
||||||
|
|
||||||
|
const urlTitle = (str) => {
|
||||||
|
str = str
|
||||||
|
.toLowerCase()
|
||||||
|
.replaceAll('&', 'and')
|
||||||
|
.replace(/[^[a-z0-9-]/g, '-')
|
||||||
|
.replace(/-+/g, '-')
|
||||||
|
|
||||||
|
return str
|
||||||
|
}
|
||||||
|
|
||||||
|
const download = function(uri, filename, callback, error) {
|
||||||
|
request.head(uri, function(err, res, body) {
|
||||||
|
request(uri).pipe(fs.createWriteStream(filename))
|
||||||
|
.on('close', callback)
|
||||||
|
.on('error', error)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
async function downloadPhotos() {
|
||||||
|
for (const key in photos) {
|
||||||
|
const photo = photos[key]
|
||||||
|
|
||||||
|
let filename, i = 1;
|
||||||
|
|
||||||
|
do {
|
||||||
|
filename = `${urlTitle(photo['title'])}${i > 1 ? `-${i}` : ''}.jpg`
|
||||||
|
i++
|
||||||
|
} while (fs.existsSync(path.join(__dirname, `../src/static/photos/${filename}`)))
|
||||||
|
|
||||||
|
await new Promise((resolve, reject) => {
|
||||||
|
download(photo['path'], path.join(__dirname, `../src/static/photos/${filename}`), function(){
|
||||||
|
resolve()
|
||||||
|
}, function() {
|
||||||
|
reject()
|
||||||
|
});
|
||||||
|
})
|
||||||
|
|
||||||
|
photos[key]['file'] = filename
|
||||||
|
photos[key]['horizontal'] = photo['width'] > photo['height']
|
||||||
|
}
|
||||||
|
|
||||||
|
fs.writeFileSync(filePath, YAML.stringify(photos))
|
||||||
|
}
|
||||||
|
|
||||||
|
downloadPhotos();
|
||||||
|
|
||||||
37
.build/import-icons.js
Normal file
37
.build/import-icons.js
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
#!/usr/bin/env node
|
||||||
|
|
||||||
|
'use strict'
|
||||||
|
|
||||||
|
const fs = require('fs'),
|
||||||
|
path = require('path');
|
||||||
|
|
||||||
|
const iconsTags = require('../node_modules/@tabler/icons/icons.json'),
|
||||||
|
iconsPkg = require('../node_modules/@tabler/icons/package.json');
|
||||||
|
|
||||||
|
const prepareSvgFile = (svg) => {
|
||||||
|
return svg.replace(/\n/g, '').replace(/>\s+</g, '><').replace(/\s+/g, ' ')
|
||||||
|
}
|
||||||
|
|
||||||
|
let svgList = {}
|
||||||
|
for (let iconName in iconsTags) {
|
||||||
|
let iconData = iconsTags[iconName]
|
||||||
|
svgList[iconName] = {
|
||||||
|
name: iconName,
|
||||||
|
svg: {
|
||||||
|
outline: iconData.styles.outline ? prepareSvgFile(fs.readFileSync(path.join(__dirname, `../node_modules/@tabler/icons/icons/outline/${iconName}.svg`), 'utf8')) : null,
|
||||||
|
filled: iconData.styles.filled ? prepareSvgFile(fs.readFileSync(path.join(__dirname, `../node_modules/@tabler/icons/icons/filled/${iconName}.svg`), 'utf8')) : null,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
fs.writeFileSync(
|
||||||
|
path.join(__dirname, `../src/pages/_data/icons-info.json`),
|
||||||
|
JSON.stringify({
|
||||||
|
version: iconsPkg.version,
|
||||||
|
count: Object.values(svgList).reduce((acc, icon) => {
|
||||||
|
return acc + (icon.svg.outline ? 1 : 0) + (icon.svg.filled ? 1 : 0)
|
||||||
|
}, 0)
|
||||||
|
})
|
||||||
|
)
|
||||||
|
|
||||||
|
fs.writeFileSync(path.join(__dirname, `../src/pages/_data/icons.json`), JSON.stringify(svgList))
|
||||||
19
.build/import-illustrations.js
Normal file
19
.build/import-illustrations.js
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
#!/usr/bin/env node
|
||||||
|
|
||||||
|
'use strict'
|
||||||
|
|
||||||
|
const fs = require('fs'),
|
||||||
|
path = require('path'),
|
||||||
|
glob = require('glob');
|
||||||
|
|
||||||
|
const illustrations = glob
|
||||||
|
.sync(path.join(__dirname, `../src/static/illustrations/light/*.png`))
|
||||||
|
.map((file) => {
|
||||||
|
return path.basename(file, '.png')
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
fs.writeFileSync(
|
||||||
|
path.join(__dirname, `../src/pages/_data/illustrations.json`),
|
||||||
|
JSON.stringify(illustrations)
|
||||||
|
)
|
||||||
5
.changeset/afraid-geese-sin.md
Normal file
5
.changeset/afraid-geese-sin.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Change Twitter to X brand
|
||||||
5
.changeset/beige-hats-prove.md
Normal file
5
.changeset/beige-hats-prove.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Updated link to icons documentation
|
||||||
5
.changeset/blue-pots-trade.md
Normal file
5
.changeset/blue-pots-trade.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Dependencies update
|
||||||
5
.changeset/chilly-mayflies-ring.md
Normal file
5
.changeset/chilly-mayflies-ring.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Initialize Visual Studio Code config
|
||||||
5
.changeset/clean-carrots-sort.md
Normal file
5
.changeset/clean-carrots-sort.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": minor
|
||||||
|
---
|
||||||
|
|
||||||
|
Add new `Tag` component
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Add Playwright configuration and visual regression tests
|
|
||||||
@@ -4,9 +4,8 @@
|
|||||||
"commit": false,
|
"commit": false,
|
||||||
"fixed": [],
|
"fixed": [],
|
||||||
"linked": [],
|
"linked": [],
|
||||||
"access": "public",
|
"access": "restricted",
|
||||||
"baseBranch": "main",
|
"baseBranch": "main",
|
||||||
"ignore": [
|
"updateInternalDependencies": "patch",
|
||||||
"preview"
|
"ignore": []
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
5
.changeset/curvy-fishes-lie.md
Normal file
5
.changeset/curvy-fishes-lie.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": minor
|
||||||
|
---
|
||||||
|
|
||||||
|
Add customizable Star Ratings component using `star-rating.js` library
|
||||||
5
.changeset/curvy-mails-burn.md
Normal file
5
.changeset/curvy-mails-burn.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Dependencies update
|
||||||
5
.changeset/dirty-ravens-greet.md
Normal file
5
.changeset/dirty-ravens-greet.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update TinyMCE to v7.0
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"@tabler/core": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix overflow of `label` in a `floating-input`
|
|
||||||
5
.changeset/dull-kiwis-notice.md
Normal file
5
.changeset/dull-kiwis-notice.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix text color in dark version of navbar
|
||||||
5
.changeset/eight-pumas-fry.md
Normal file
5
.changeset/eight-pumas-fry.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update Tabler Icons to version 2.21 with 18 new icons added
|
||||||
5
.changeset/eleven-flies-sing.md
Normal file
5
.changeset/eleven-flies-sing.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Init changelog script
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"@tabler/core": minor
|
|
||||||
---
|
|
||||||
|
|
||||||
Enable `scrollSpy` in `countup` module
|
|
||||||
5
.changeset/flags.md
Normal file
5
.changeset/flags.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": minor
|
||||||
|
---
|
||||||
|
|
||||||
|
Add `flags.html` page with list of all flags
|
||||||
5
.changeset/fluffy-insects-lay.md
Normal file
5
.changeset/fluffy-insects-lay.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Adding Two-Step Verification Pages
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"@tabler/core": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Refactor SCSS files to replace divide function with calc
|
|
||||||
5
.changeset/gorgeous-windows-study.md
Normal file
5
.changeset/gorgeous-windows-study.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": minor
|
||||||
|
---
|
||||||
|
|
||||||
|
Update CSS class from `text-muted` to `text-secondary` for better Bootstrap compatibility
|
||||||
5
.changeset/great-carrots-lie.md
Normal file
5
.changeset/great-carrots-lie.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Bump pnpm/action-setup from 2 to 3
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"@tabler/core": minor
|
|
||||||
---
|
|
||||||
|
|
||||||
Add segmented control component
|
|
||||||
5
.changeset/healthy-bikes-cry.md
Normal file
5
.changeset/healthy-bikes-cry.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
`Dockerfile` fix
|
||||||
5
.changeset/heavy-chicken-cover.md
Normal file
5
.changeset/heavy-chicken-cover.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update Tabler Icons to version 2.20 with 37 new icons added
|
||||||
5
.changeset/heavy-ladybugs-grab.md
Normal file
5
.changeset/heavy-ladybugs-grab.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Add Tabler Illustrations
|
||||||
5
.changeset/hip-jobs-double.md
Normal file
5
.changeset/hip-jobs-double.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": minor
|
||||||
|
---
|
||||||
|
|
||||||
|
Adding `alerts.html` page with example of alerts.
|
||||||
5
.changeset/itchy-bottles-cheat.md
Normal file
5
.changeset/itchy-bottles-cheat.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Unify size of avatar, flag and payment components
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"@tabler/core": minor
|
|
||||||
---
|
|
||||||
|
|
||||||
Add new text features page with mentions: user, color and app.
|
|
||||||
5
.changeset/khaki-gorillas-push.md
Normal file
5
.changeset/khaki-gorillas-push.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update icons to v2.42.0
|
||||||
5
.changeset/khaki-wasps-provide.md
Normal file
5
.changeset/khaki-wasps-provide.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update Bootstrap to v5.3.0
|
||||||
5
.changeset/kind-poets-fetch.md
Normal file
5
.changeset/kind-poets-fetch.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Dependencies update
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"preview": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix timeline card layout and profile header styles
|
|
||||||
5
.changeset/late-zoos-sparkle.md
Normal file
5
.changeset/late-zoos-sparkle.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix `rgba` color values in `_variables.scss`
|
||||||
5
.changeset/long-eggs-work.md
Normal file
5
.changeset/long-eggs-work.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Resolve map page issues
|
||||||
5
.changeset/lucky-impalas-smash.md
Normal file
5
.changeset/lucky-impalas-smash.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Introduce Docker Compose Config to build and run Ttabler locally
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
---
|
|
||||||
|
|
||||||
Refactor bundlewatch workflow to use Turbo
|
|
||||||
5
.changeset/mighty-mirrors-drum.md
Normal file
5
.changeset/mighty-mirrors-drum.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update `_navbar.scss` with disabled dropdown menu items color
|
||||||
5
.changeset/modern-dogs-wonder.md
Normal file
5
.changeset/modern-dogs-wonder.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update Tabler Icons to v3.17.0
|
||||||
5
.changeset/moody-bobcats-chew.md
Normal file
5
.changeset/moody-bobcats-chew.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update `@tabler/icons` to v3.0
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"@tabler/core": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update border radius variables for consistency across components
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"@tabler/core": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix size of `apexcharts` tooltip marker
|
|
||||||
5
.changeset/ninety-dancers-doubt.md
Normal file
5
.changeset/ninety-dancers-doubt.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Adding punctuation to `SECURITY.md`
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix apexcharts heatmap example in docs
|
|
||||||
5
.changeset/odd-terms-tap.md
Normal file
5
.changeset/odd-terms-tap.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix form controls bugs in dark mode
|
||||||
5
.changeset/olive-cars-admire.md
Normal file
5
.changeset/olive-cars-admire.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": minor
|
||||||
|
---
|
||||||
|
|
||||||
|
Change primary color value to new Tabler branding
|
||||||
5
.changeset/orange-donuts-cough.md
Normal file
5
.changeset/orange-donuts-cough.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Unified Box Shadows with Bootstrap Compatibility
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"@tabler/core": minor
|
|
||||||
---
|
|
||||||
|
|
||||||
Update color utility classes and replace background colors in pricing table
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"preview": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix broken "top pages" table
|
|
||||||
5
.changeset/rare-pumpkins-pull.md
Normal file
5
.changeset/rare-pumpkins-pull.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": minor
|
||||||
|
---
|
||||||
|
|
||||||
|
Unify dark mode with latest Bootstrap API and improve dark mode elements
|
||||||
5
.changeset/rare-snails-matter.md
Normal file
5
.changeset/rare-snails-matter.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Bump `pnpm/action-setup` from 3 to 4
|
||||||
5
.changeset/red-coins-jump.md
Normal file
5
.changeset/red-coins-jump.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update dependencies
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"@tabler/core": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix negative margins in `.navbar-bordered` variant
|
|
||||||
5
.changeset/red-vans-doubt.md
Normal file
5
.changeset/red-vans-doubt.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update Tabler Icons to version 2.22 with 18 new icons added
|
||||||
5
.changeset/rich-dingos-promise.md
Normal file
5
.changeset/rich-dingos-promise.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Add All Contributions package to project for easy contribution tracking
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"preview": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Update and simplify main menu
|
|
||||||
5
.changeset/sharp-colts-grab.md
Normal file
5
.changeset/sharp-colts-grab.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Resolved light dropdown issue on dark theme
|
||||||
@@ -2,4 +2,4 @@
|
|||||||
"@tabler/core": minor
|
"@tabler/core": minor
|
||||||
---
|
---
|
||||||
|
|
||||||
Add Scroll Spy page
|
New Chat component
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"@tabler/core": minor
|
|
||||||
---
|
|
||||||
|
|
||||||
Refactored the project into a monorepo, removed Gulp, and introduced a new, more efficient build process.
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"@tabler/core": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Use the full license agreement for illustrations in docs
|
|
||||||
5
.changeset/shy-rockets-deliver.md
Normal file
5
.changeset/shy-rockets-deliver.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update Tabler Icons to version 2.19 with 18 new icons added
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Improve documentation for buttons
|
|
||||||
5
.changeset/silver-drinks-yell.md
Normal file
5
.changeset/silver-drinks-yell.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": minor
|
||||||
|
---
|
||||||
|
|
||||||
|
Adjusting form element sizes for enhanced mobile devices compatibility
|
||||||
5
.changeset/slimy-queens-pull.md
Normal file
5
.changeset/slimy-queens-pull.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix the `z-index` value of the `nav-tab` inside `card-tab` #1933
|
||||||
5
.changeset/slow-buses-breathe.md
Normal file
5
.changeset/slow-buses-breathe.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Switch from `npm` to `pnpm` for faster package installation
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"@tabler/core": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix vertical alignment in single page and error layouts
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix spelling and improve grammar in the documentation
|
|
||||||
5
.changeset/soft-mangos-tie.md
Normal file
5
.changeset/soft-mangos-tie.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Add variable to configure `avatar-list` spacing
|
||||||
5
.changeset/sour-pets-raise.md
Normal file
5
.changeset/sour-pets-raise.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Add Tabler Illustrations
|
||||||
5
.changeset/sour-teachers-collect.md
Normal file
5
.changeset/sour-teachers-collect.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update required Node.js version to 18 and add `.nvmrc` file
|
||||||
5
.changeset/spotty-avocados-doubt.md
Normal file
5
.changeset/spotty-avocados-doubt.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix table default background color
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"@tabler/core": "minor"
|
|
||||||
---
|
|
||||||
|
|
||||||
Add documentation for segmented control component
|
|
||||||
5
.changeset/stupid-dingos-train.md
Normal file
5
.changeset/stupid-dingos-train.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Avoid SCSS color dependency on `:focus`
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"@tabler/core": minor
|
|
||||||
---
|
|
||||||
|
|
||||||
Add new payment provider (Troy)
|
|
||||||
5
.changeset/tabler-icons.md
Normal file
5
.changeset/tabler-icons.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Updated Tabler Icons to v3.24.0
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixed missing image in the README and Getting Started page
|
|
||||||
5
.changeset/tasty-boats-work.md
Normal file
5
.changeset/tasty-boats-work.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update Tabler Icons to version 2.18 with 18 new icons added
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"@tabler/core": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix `.avatar-upload` double borders
|
|
||||||
5
.changeset/tender-jars-reply.md
Normal file
5
.changeset/tender-jars-reply.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update Tabler Icons to v3.14.0
|
||||||
5
.changeset/thick-apples-punch.md
Normal file
5
.changeset/thick-apples-punch.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Add Prettier to project for consistent code formatting
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
"@tabler/core": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
Fixes navbar styles with new hover effects and color variables
|
|
||||||
5
.changeset/thick-poems-battle.md
Normal file
5
.changeset/thick-poems-battle.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update Tabler Icons to version 2.25 with 48 new icons added
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
---
|
|
||||||
|
|
||||||
Update `robots.txt` handling and improve sitemap URL generation
|
|
||||||
5
.changeset/thin-eagles-mix.md
Normal file
5
.changeset/thin-eagles-mix.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": minor
|
||||||
|
---
|
||||||
|
|
||||||
|
Add new color picker component using `coloris.js` library
|
||||||
5
.changeset/thirty-tomatoes-end.md
Normal file
5
.changeset/thirty-tomatoes-end.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix responsiveness issue in Settings menu
|
||||||
5
.changeset/twenty-tables-judge.md
Normal file
5
.changeset/twenty-tables-judge.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Add new Filled section to Icons page
|
||||||
5
.changeset/unlucky-eels-vanish.md
Normal file
5
.changeset/unlucky-eels-vanish.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update `bootstrap` to v5.3.1
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
---
|
|
||||||
|
|
||||||
Add section comments and format HTML for improved readability
|
|
||||||
5
.changeset/violet-moles-sparkle.md
Normal file
5
.changeset/violet-moles-sparkle.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": minor
|
||||||
|
---
|
||||||
|
|
||||||
|
Update Tabler Icons to version 2.23 with 18 new icons added
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Fix instruction for CDN icons version
|
|
||||||
5
.changeset/wet-games-float.md
Normal file
5
.changeset/wet-games-float.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Add support for changeset tool for more efficient and organized code changes
|
||||||
15
.github/workflows/bundlewatch.yml
vendored
15
.github/workflows/bundlewatch.yml
vendored
@@ -9,7 +9,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: 2
|
FORCE_COLOR: 2
|
||||||
NODE: 20
|
NODE: 18
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
bundlewatch:
|
bundlewatch:
|
||||||
@@ -19,14 +19,6 @@ jobs:
|
|||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Cache turbo build setup
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: .turbo
|
|
||||||
key: ${{ runner.os }}-turbo-${{ github.sha }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-turbo-
|
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
@@ -34,6 +26,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Install PNPM
|
- name: Install PNPM
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
version: 8
|
||||||
|
|
||||||
- name: Set up Bundler
|
- name: Set up Bundler
|
||||||
uses: ruby/setup-ruby@v1
|
uses: ruby/setup-ruby@v1
|
||||||
@@ -44,6 +38,9 @@ jobs:
|
|||||||
- name: Install pnpm dependencies
|
- name: Install pnpm dependencies
|
||||||
run: pnpm install --no-frozen-lockfile
|
run: pnpm install --no-frozen-lockfile
|
||||||
|
|
||||||
|
- name: Run build
|
||||||
|
run: pnpm run build
|
||||||
|
|
||||||
- name: Run bundlewatch
|
- name: Run bundlewatch
|
||||||
run: pnpm run bundlewatch
|
run: pnpm run bundlewatch
|
||||||
env:
|
env:
|
||||||
|
|||||||
62
.github/workflows/playwright.yml
vendored
62
.github/workflows/playwright.yml
vendored
@@ -1,62 +0,0 @@
|
|||||||
name: Playwright Tests
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- dev
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- 'preview/**'
|
|
||||||
- 'core/**'
|
|
||||||
|
|
||||||
env:
|
|
||||||
NODE: 20
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
timeout-minutes: 60
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Clone repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Cache turbo build setup
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: .turbo
|
|
||||||
key: ${{ runner.os }}-turbo-${{ github.sha }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-turbo-
|
|
||||||
|
|
||||||
- name: Set up Node.js
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: "${{ env.NODE }}"
|
|
||||||
|
|
||||||
- name: Install PNPM
|
|
||||||
uses: pnpm/action-setup@v4
|
|
||||||
|
|
||||||
- name: Get installed Playwright version
|
|
||||||
id: playwright-version
|
|
||||||
run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package.json').devDependencies['@playwright/test'])")" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: Cache playwright binaries
|
|
||||||
uses: actions/cache@v4
|
|
||||||
id: playwright-cache
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.cache/ms-playwright
|
|
||||||
key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}
|
|
||||||
|
|
||||||
- name: Install pnpm dependencies
|
|
||||||
run: pnpm install
|
|
||||||
|
|
||||||
- name: Install Playwright Browsers
|
|
||||||
run: pnpm exec playwright install --with-deps
|
|
||||||
if: steps.playwright-cache.outputs.cache-hit != 'true'
|
|
||||||
|
|
||||||
- name: Run Playwright tests
|
|
||||||
run: pnpm run playwright
|
|
||||||
63
.github/workflows/release-beta.yml
vendored
Normal file
63
.github/workflows/release-beta.yml
vendored
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
name: Pre-release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- beta
|
||||||
|
- dev-changesets
|
||||||
|
|
||||||
|
concurrency: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
name: PR or Release
|
||||||
|
if: ${{ github.repository_owner == 'tabler' }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repo
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: ruby/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
bundler-cache: true
|
||||||
|
|
||||||
|
- name: Enable corepack
|
||||||
|
run: corepack enable pnpm
|
||||||
|
|
||||||
|
- name: Setup Node.js 18
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
cache: 'pnpm'
|
||||||
|
node-version: 18
|
||||||
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: pnpm install
|
||||||
|
|
||||||
|
- name: Build Package
|
||||||
|
run: pnpm run build
|
||||||
|
|
||||||
|
- name: Enable Pre-release
|
||||||
|
run: pnpm changeset pre enter beta
|
||||||
|
|
||||||
|
- name: Creating .npmrc
|
||||||
|
run: |
|
||||||
|
cat << EOF > "$HOME/.npmrc"
|
||||||
|
//registry.npmjs.org/:_authToken=$NPM_TOKEN
|
||||||
|
EOF
|
||||||
|
env:
|
||||||
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
||||||
|
- name: Create Release Pull Request
|
||||||
|
uses: changesets/action@v1
|
||||||
|
with:
|
||||||
|
# Note: pnpm install after versioning is necessary to refresh lockfile
|
||||||
|
version: pnpm run version
|
||||||
|
publish: pnpm release
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
NPM_CONFIG_PROVENANCE: true
|
||||||
38
.github/workflows/release.yml
vendored
38
.github/workflows/release.yml
vendored
@@ -3,7 +3,7 @@ name: Release
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- dev
|
- main
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -15,36 +15,42 @@ jobs:
|
|||||||
release:
|
release:
|
||||||
name: Release
|
name: Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
|
||||||
contents: write # to create release
|
|
||||||
issues: write # to post issue comments
|
|
||||||
pull-requests: write # to create pull request
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: ruby/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
bundler-cache: true
|
||||||
|
|
||||||
|
- name: Enable corepack
|
||||||
|
run: corepack enable pnpm
|
||||||
|
|
||||||
- name: Setup Node.js 18
|
- name: Setup Node.js 18
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
cache: 'pnpm'
|
||||||
|
node-version: 18
|
||||||
- name: Install PNPM
|
registry-url: 'https://registry.npmjs.org'
|
||||||
uses: pnpm/action-setup@v4
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|
||||||
- name: Build
|
- name: Build Package
|
||||||
run: pnpm run build
|
run: pnpm run build
|
||||||
|
|
||||||
- name: Create release Pull Request or publish to NPM
|
- name: Creating .npmrc
|
||||||
|
run: |
|
||||||
|
cat << EOF > "$HOME/.npmrc"
|
||||||
|
//registry.npmjs.org/:_authToken=$NPM_TOKEN
|
||||||
|
EOF
|
||||||
|
env:
|
||||||
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
||||||
|
- name: Create Release Pull Request
|
||||||
uses: changesets/action@v1
|
uses: changesets/action@v1
|
||||||
with:
|
with:
|
||||||
version: pnpm run version
|
publish: pnpm release
|
||||||
publish: pnpm run publish
|
|
||||||
commit: "chore: update versions"
|
|
||||||
title: "chore: update versions"
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
||||||
22
.github/workflows/test.yml
vendored
22
.github/workflows/test.yml
vendored
@@ -1,10 +1,11 @@
|
|||||||
name: Test build
|
name: Test build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request: null
|
pull_request:
|
||||||
|
types: [ opened, reopened ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
NODE: 20
|
NODE: 18
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -16,14 +17,6 @@ jobs:
|
|||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Cache turbo build setup
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: .turbo
|
|
||||||
key: ${{ runner.os }}-turbo-${{ github.sha }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-turbo-
|
|
||||||
|
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
@@ -31,7 +24,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Install PNPM
|
- name: Install PNPM
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
version: 8
|
||||||
|
|
||||||
|
- name: Set up Ruby
|
||||||
|
uses: ruby/setup-ruby@v1
|
||||||
|
with:
|
||||||
|
ruby-version: 3.2
|
||||||
|
bundler-cache: true
|
||||||
|
|
||||||
|
- run: ruby --version
|
||||||
- run: node --version
|
- run: node --version
|
||||||
|
|
||||||
- name: Install pnpm dependencies
|
- name: Install pnpm dependencies
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user