forked from OpenSourceRaidGuild/babel-vite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1d2192d
commit 6e9b1bb
Showing
12 changed files
with
46 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,13 @@ | ||
name: validate | ||
on: | ||
push: | ||
branches: | ||
- 'main' | ||
- 'beta' | ||
- 'alpha' | ||
- '!all-contributors/**' | ||
pull_request: {} | ||
jobs: | ||
main: | ||
# ignore all-contributors PRs | ||
if: ${{ !contains(github.head_ref, 'all-contributors') }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: ⎔ Setup node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 20 | ||
|
||
- name: 📥 Download deps | ||
uses: bahmutov/npm-install@v1 | ||
with: | ||
useLockFile: false | ||
env: | ||
HUSKY_SKIP_INSTALL: true | ||
|
||
- name: ▶️ Run validate script | ||
run: npm run validate | ||
|
||
- name: ⬆️ Upload coverage report | ||
uses: codecov/codecov-action@v1 | ||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
release: | ||
needs: main | ||
runs-on: ubuntu-latest | ||
if: | ||
${{ github.repository == 'OpenSourceRaidGuild/babel-vite' && | ||
contains('refs/heads/main,refs/heads/beta,refs/heads/next,refs/heads/alpha', github.ref) && | ||
github.event_name == 'push' }} | ||
steps: | ||
- name: 🛑 Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: ⬇️ Checkout repo | ||
uses: actions/checkout@v2 | ||
|
||
|
@@ -74,4 +30,4 @@ jobs: | |
run: npx multi-semantic-release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "babel-plugin-transform-vite-meta-env", | ||
"name": "@fond-of/babel-plugin-transform-vite-meta-env", | ||
"version": "0.0.0-semantically-released", | ||
"description": "babel plugin that emulates vite's import.meta.env functionality", | ||
"main": "lib/index.js", | ||
|
@@ -8,10 +8,6 @@ | |
"lib", | ||
"src" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/OpenSourceRaidGuild/babel-vite.git" | ||
}, | ||
"keywords": [ | ||
"babel", | ||
"vite", | ||
|
@@ -22,10 +18,6 @@ | |
], | ||
"author": "Michael Peyper <[email protected]>", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/OpenSourceRaidGuild/babel-vite/issues" | ||
}, | ||
"homepage": "https://github.com/OpenSourceRaidGuild/babel-vite#readme", | ||
"scripts": { | ||
"build": "kcd-scripts build --out-dir lib", | ||
"test": "kcd-scripts test" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "babel-plugin-transform-vite-meta-glob", | ||
"name": "@fond-of/babel-plugin-transform-vite-meta-glob", | ||
"version": "0.0.0-semantically-released", | ||
"description": "babel plugin that emulates vite's import.meta.glob import.meta.globEager functionality", | ||
"main": "lib/index.js", | ||
|
@@ -8,10 +8,6 @@ | |
"lib", | ||
"src" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/OpenSourceRaidGuild/babel-vite.git" | ||
}, | ||
"keywords": [ | ||
"babel", | ||
"vite", | ||
|
@@ -23,10 +19,6 @@ | |
], | ||
"author": "Michael Peyper <[email protected]>", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/OpenSourceRaidGuild/babel-vite/issues" | ||
}, | ||
"homepage": "https://github.com/OpenSourceRaidGuild/babel-vite#readme", | ||
"scripts": { | ||
"build": "kcd-scripts build --out-dir lib", | ||
"test": "kcd-scripts test" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "babel-plugin-transform-vite-meta-hot", | ||
"name": "@fond-of/babel-plugin-transform-vite-meta-hot", | ||
"version": "0.0.0-semantically-released", | ||
"description": "babel plugin that emulates vite's import.meta.hot functionality", | ||
"main": "lib/index.js", | ||
|
@@ -8,10 +8,6 @@ | |
"lib", | ||
"src" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/OpenSourceRaidGuild/babel-vite.git" | ||
}, | ||
"keywords": [ | ||
"babel", | ||
"vite", | ||
|
@@ -22,10 +18,6 @@ | |
], | ||
"author": "Kelvin Zhang <[email protected]>", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/OpenSourceRaidGuild/babel-vite/issues" | ||
}, | ||
"homepage": "https://github.com/OpenSourceRaidGuild/babel-vite#readme", | ||
"scripts": { | ||
"build": "kcd-scripts build --out-dir lib", | ||
"test": "kcd-scripts test" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "babel-preset-vite", | ||
"name": "@fond-of/babel-preset-vite", | ||
"version": "0.0.0-semantically-released", | ||
"description": "babel preset that emulates vite's non-standard functionality", | ||
"main": "lib/index.js", | ||
|
@@ -8,10 +8,6 @@ | |
"lib", | ||
"src" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/OpenSourceRaidGuild/babel-vite.git" | ||
}, | ||
"keywords": [ | ||
"babel", | ||
"vite", | ||
|
@@ -22,10 +18,6 @@ | |
], | ||
"author": "Michael Peyper <[email protected]>", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/OpenSourceRaidGuild/babel-vite/issues" | ||
}, | ||
"homepage": "https://github.com/OpenSourceRaidGuild/babel-vite#readme", | ||
"scripts": { | ||
"build": "kcd-scripts build --out-dir lib", | ||
"test": "kcd-scripts test" | ||
|
@@ -40,8 +32,8 @@ | |
"dependencies": { | ||
"@babel/runtime": "^7.13.9", | ||
"@types/babel__core": "^7.1.12", | ||
"babel-plugin-transform-vite-meta-env": "^0.0.0-semantically-released", | ||
"babel-plugin-transform-vite-meta-glob": "^0.0.0-semantically-released", | ||
"babel-plugin-transform-vite-meta-hot": "^0.0.0-semantically-released" | ||
"@fond-of/babel-plugin-transform-vite-meta-env": "^0.0.0-semantically-released", | ||
"@fond-of/babel-plugin-transform-vite-meta-glob": "^0.0.0-semantically-released", | ||
"@fond-of/babel-plugin-transform-vite-meta-hot": "^0.0.0-semantically-released" | ||
} | ||
} |
Oops, something went wrong.