mirror of
https://github.com/tabler/tabler.git
synced 2025-12-22 09:54:24 +04:00
Compare commits
15 Commits
@tabler/co
...
dev-change
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1b04679c2d | ||
|
|
54454f71d1 | ||
|
|
914bc6a21a | ||
|
|
5be3c0e236 | ||
|
|
3dd6b3b8bc | ||
|
|
58a5b4c2bd | ||
|
|
a2cbd50187 | ||
|
|
4fe9407a19 | ||
|
|
80dd505973 | ||
|
|
191b5f0636 | ||
|
|
5330aaea52 | ||
|
|
df593d2b05 | ||
|
|
e357ab4e4d | ||
|
|
3388a68447 | ||
|
|
b0d759f328 |
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
|
||||||
17
.github/workflows/release.yml
vendored
17
.github/workflows/release.yml
vendored
@@ -19,19 +19,26 @@ jobs:
|
|||||||
- 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:
|
||||||
|
cache: 'pnpm'
|
||||||
node-version: 18
|
node-version: 18
|
||||||
|
registry-url: 'https://registry.npmjs.org'
|
||||||
- name: Install PNPM
|
|
||||||
uses: pnpm/action-setup@v4
|
|
||||||
with:
|
|
||||||
version: 8
|
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|
||||||
|
- name: Build Package
|
||||||
|
run: pnpm run build
|
||||||
|
|
||||||
- name: Creating .npmrc
|
- name: Creating .npmrc
|
||||||
run: |
|
run: |
|
||||||
cat << EOF > "$HOME/.npmrc"
|
cat << EOF > "$HOME/.npmrc"
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -22,6 +22,7 @@ node_modules/
|
|||||||
/src/pages/playground.html
|
/src/pages/playground.html
|
||||||
/src/pages/playground-*.html
|
/src/pages/playground-*.html
|
||||||
/src/pages/features.html
|
/src/pages/features.html
|
||||||
|
vendor/
|
||||||
|
|
||||||
.pnp.loader.mjs
|
.pnp.loader.mjs
|
||||||
.pnp.cjs
|
.pnp.cjs
|
||||||
|
|||||||
1
.ruby-version
Normal file
1
.ruby-version
Normal file
@@ -0,0 +1 @@
|
|||||||
|
3.2.2
|
||||||
20
package.json
20
package.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@tabler/core",
|
"name": "@tabler/core",
|
||||||
"version": "1.0.0-beta21",
|
"version": "0.0.1",
|
||||||
"description": "Premium and Open Source dashboard template with responsive and high quality UI.",
|
"description": "Premium and Open Source dashboard template with responsive and high quality UI.",
|
||||||
"homepage": "https://tabler.io",
|
"homepage": "https://tabler.io",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@@ -12,7 +12,8 @@
|
|||||||
"preview": "gulp build --preview",
|
"preview": "gulp build --preview",
|
||||||
"svg-optimize": "svgo -f svg/brand --pretty",
|
"svg-optimize": "svgo -f svg/brand --pretty",
|
||||||
"unused-files": "node .build/unused-files.js",
|
"unused-files": "node .build/unused-files.js",
|
||||||
"release": "release-it",
|
"release": "changeset publish",
|
||||||
|
"version": "changeset version && pnpm install",
|
||||||
"svg-icons": "node .build/import-icons.js",
|
"svg-icons": "node .build/import-icons.js",
|
||||||
"bundlewatch": "bundlewatch",
|
"bundlewatch": "bundlewatch",
|
||||||
"storybook": "start-storybook -p 6006",
|
"storybook": "start-storybook -p 6006",
|
||||||
@@ -173,7 +174,6 @@
|
|||||||
"plyr": "^3.7.8",
|
"plyr": "^3.7.8",
|
||||||
"postcss": "^8.4.49",
|
"postcss": "^8.4.49",
|
||||||
"prettier": "^2.8.8",
|
"prettier": "^2.8.8",
|
||||||
"release-it": "^15.11.0",
|
|
||||||
"request": "^2.88.2",
|
"request": "^2.88.2",
|
||||||
"rollup": "2.79.2",
|
"rollup": "2.79.2",
|
||||||
"rollup-plugin-babel": "^4.4.0",
|
"rollup-plugin-babel": "^4.4.0",
|
||||||
@@ -265,20 +265,6 @@
|
|||||||
"optional": true
|
"optional": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"release-it": {
|
|
||||||
"hooks": {
|
|
||||||
"after:bump": "gulp build --latest-version ${latestVersion} --new-version ${version} && gulp build-demo",
|
|
||||||
"after:release": "echo Successfully released ${name} v${latestVersion} to ${repo.repository}."
|
|
||||||
},
|
|
||||||
"git": {
|
|
||||||
"requireCleanWorkingDir": false,
|
|
||||||
"addUntrackedFiles": true,
|
|
||||||
"tagName": "v${version}"
|
|
||||||
},
|
|
||||||
"github": {
|
|
||||||
"release": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"directories": {
|
"directories": {
|
||||||
"doc": "docs"
|
"doc": "docs"
|
||||||
}
|
}
|
||||||
|
|||||||
1489
pnpm-lock.yaml
generated
1489
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user