mirror of
https://github.com/morten-olsen/bob.git
synced 2026-02-08 01:46:29 +01:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
69a6b23455 | ||
|
|
5de1f0ce1d | ||
|
|
23ebca5bb4 | ||
|
|
2119d60a42 |
6
.github/workflows/release-package.yml
vendored
6
.github/workflows/release-package.yml
vendored
@@ -34,6 +34,8 @@ jobs:
|
||||
pnpm install
|
||||
pnpm run build
|
||||
- uses: actions/upload-artifact@v3
|
||||
env:
|
||||
ASSET_URL: https://mortenolsen.pro/bob
|
||||
with:
|
||||
name: lib
|
||||
retention-days: 5
|
||||
@@ -103,7 +105,7 @@ jobs:
|
||||
pnpm install
|
||||
git config user.name "Github Actions Bot"
|
||||
git config user.email "<>"
|
||||
pnpm version $(git describe --tag --abbrev=0) --no-git-tag-version
|
||||
pnpm publish --no-git-checks -r
|
||||
pnpm version $(git describe --tag --abbrev=0)
|
||||
pnpm publish -r --publish-branch main --access public
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
@@ -13,6 +13,6 @@
|
||||
"start": "turbo start",
|
||||
"test": "turbo test"
|
||||
},
|
||||
"version": "0.0.1",
|
||||
"version": "0.1.8",
|
||||
"name": "@bob-the-algorithm/repo"
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"files": [
|
||||
"dist/**/*"
|
||||
],
|
||||
"private": false,
|
||||
"main": "./dist/cjs/index.js",
|
||||
"name": "bob-the-algorithm",
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@bob-the-algorithm/config",
|
||||
"private": true,
|
||||
"private": false,
|
||||
"version": "0.0.1"
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@mdx-js/rollup": "^2.3.0",
|
||||
"@types/node": "^20.5.9",
|
||||
"@types/react": "^18.2.15",
|
||||
"@types/react-dom": "^18.2.7",
|
||||
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
||||
|
||||
@@ -2,7 +2,10 @@ import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react-swc';
|
||||
import mdx from '@mdx-js/rollup';
|
||||
|
||||
const ASSET_URL = process.env.ASSET_URL || '';
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
base: `${ASSET_URL}/dist/`,
|
||||
plugins: [mdx(), react()],
|
||||
});
|
||||
|
||||
14
pnpm-lock.yaml
generated
14
pnpm-lock.yaml
generated
@@ -46,6 +46,9 @@ importers:
|
||||
'@mdx-js/rollup':
|
||||
specifier: ^2.3.0
|
||||
version: 2.3.0(rollup@3.28.1)
|
||||
'@types/node':
|
||||
specifier: ^20.5.9
|
||||
version: 20.5.9
|
||||
'@types/react':
|
||||
specifier: ^18.2.15
|
||||
version: 18.2.15
|
||||
@@ -78,7 +81,7 @@ importers:
|
||||
version: 5.2.2
|
||||
vite:
|
||||
specifier: ^4.4.5
|
||||
version: 4.4.5
|
||||
version: 4.4.5(@types/node@20.5.9)
|
||||
|
||||
packages:
|
||||
|
||||
@@ -1028,6 +1031,10 @@ packages:
|
||||
resolution: {integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==}
|
||||
dev: true
|
||||
|
||||
/@types/node@20.5.9:
|
||||
resolution: {integrity: sha512-PcGNd//40kHAS3sTlzKB9C9XL4K0sTup8nbG5lC14kzEteTNuAFh9u5nA0o5TWnSG2r/JNPRXFVcHJIIeRlmqQ==}
|
||||
dev: true
|
||||
|
||||
/@types/offscreencanvas@2019.7.1:
|
||||
resolution: {integrity: sha512-+HSrJgjBW77ALieQdMJvXhRZUIRN1597L+BKvsyeiIlHHERnqjcuOLyodK3auJ3Y3zRezNKtKAhuQWYJfEgFHQ==}
|
||||
dev: true
|
||||
@@ -1375,7 +1382,7 @@ packages:
|
||||
vite: ^4
|
||||
dependencies:
|
||||
'@swc/core': 1.3.82
|
||||
vite: 4.4.5
|
||||
vite: 4.4.5(@types/node@20.5.9)
|
||||
transitivePeerDependencies:
|
||||
- '@swc/helpers'
|
||||
dev: true
|
||||
@@ -4422,7 +4429,7 @@ packages:
|
||||
vfile-message: 3.1.4
|
||||
dev: true
|
||||
|
||||
/vite@4.4.5:
|
||||
/vite@4.4.5(@types/node@20.5.9):
|
||||
resolution: {integrity: sha512-4m5kEtAWHYr0O1Fu7rZp64CfO1PsRGZlD3TAB32UmQlpd7qg15VF7ROqGN5CyqN7HFuwr7ICNM2+fDWRqFEKaA==}
|
||||
engines: {node: ^14.18.0 || >=16.0.0}
|
||||
hasBin: true
|
||||
@@ -4450,6 +4457,7 @@ packages:
|
||||
terser:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@types/node': 20.5.9
|
||||
esbuild: 0.18.20
|
||||
postcss: 8.4.29
|
||||
rollup: 3.28.1
|
||||
|
||||
Reference in New Issue
Block a user