Skip to content

Commit

Permalink
MAJOR change, switched to bun
Browse files Browse the repository at this point in the history
  • Loading branch information
nduartech committed Aug 2, 2024
1 parent 3304217 commit 876fea5
Show file tree
Hide file tree
Showing 18 changed files with 229 additions and 10,235 deletions.
5 changes: 5 additions & 0 deletions .astro/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"_variables": {
"lastUpdateCheck": 1722566120834
}
}
10 changes: 0 additions & 10 deletions .editorconfig

This file was deleted.

4 changes: 0 additions & 4 deletions .gitattributes

This file was deleted.

10 changes: 4 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,14 @@ jobs:
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
- name: Yarn PnP Setup
uses: Araxeus/setup-yarn-pnp-action@v1
with:
node-version: 20
- name: Bun Setup
uses: oven-sh/setup-bun@v2
- name: Install, build, and upload your site
uses: withastro/action@v2
with:
path: packages/host # The root location of your Astro project inside the repository. (optional)
node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
package-manager: yarn@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
#node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
package-manager: bun@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)

deploy:
needs: build
Expand Down
194 changes: 173 additions & 21 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,175 @@
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Swap the comments on the following lines if you wish to use zero-installs
# In that case, don't forget to run `yarn config set enableGlobalCache false`!
# Documentation here: https://yarnpkg.com/features/caching#zero-installs

#!.yarn/cache
# Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore

# Logs

logs
_.log
npm-debug.log_
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Caches

.cache

# Diagnostic reports (https://nodejs.org/api/report.html)

report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json

# Runtime data

pids
_.pid
_.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover

lib-cov

# Coverage directory used by tools like istanbul

coverage
*.lcov

# nyc test coverage

.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)

.grunt

# Bower dependency directory (https://bower.io/)

bower_components

# node-waf configuration

.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)

build/Release

# Dependency directories

node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)

web_modules/

# TypeScript cache

*.tsbuildinfo

# Optional npm cache directory

.npm

# Optional eslint cache

.eslintcache

# Optional stylelint cache

.stylelintcache

# Microbundle cache

.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history

.node_repl_history

# Output of 'npm pack'

*.tgz

# Yarn Integrity file

.yarn-integrity

# dotenv environment variable files

.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)

.parcel-cache

# Next.js build output

.next
out

# Nuxt.js build / generate output

.nuxt
dist

# Gatsby files

# Comment in the public line in if your project uses Gatsby and not Next.js

# https://nextjs.org/blog/next-9-1#public-directory-support

# public

# vuepress build output

.vuepress/dist

# vuepress v2.x temp and cache directory

.temp

# Docusaurus cache and generated files

.docusaurus

# Serverless directories

.serverless/

# FuseBox cache

.fusebox/

# DynamoDB Local files

.dynamodb/

# TernJS port file

.tern-port

# Stores VSCode versions used for testing VSCode extensions

.vscode-test

# yarn v2

.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

# IntelliJ based IDEs
.idea
.idea/**
node_modules
node_modules/**
**/node_modules
**/node_modules/**
/*.patch
/packages/interests/dist/
/packages/host/dist/
/packages/software-eng/dist/

# Finder (MacOS) folder config
.DS_Store
3 changes: 0 additions & 3 deletions .yarnrc.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# monorepo2
# monorepo3
Binary file added bun.lockb
Binary file not shown.
Binary file removed dist.zip
Binary file not shown.
31 changes: 19 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
{
"name": "@nathanld/monorepo",
"packageManager": "[email protected]",
"name": "personalwebsite",
"type": "module",
"workspaces": [
"packages/*"
],
"devDependencies": {
"@types/bun": "latest"
},
"scripts": {
"build-se": "yarn workspace software-eng build",
"serve-se": "yarn workspace software-eng serve",
"build-i": "yarn workspace interests build",
"serve-i": "yarn workspace interests serve",
"dev-h": "concurrently \"yarn prev-deps\" \"yarn workspace host start\"",
"build": "concurrently \"yarn workspace software-eng regBuild\" \"yarn workspace interests regBuild\" && yarn workspace host build",
"prev-deps": "concurrently \"yarn build-se\" \"yarn serve-se\" \"yarn build-i\" \"yarn serve-i\" --names \"software-eng,software-eng,interests,interests\" --prefix \"[{name}]\" --prefix-colors blue,blue,green,green"
"build-se": "bun --filter='software-eng' run build",
"serve-se": "bun --filter='software-eng' run serve",
"build-i": "bun --filter='interests' run build",
"serve-i": "bun --filter='interests' run serve",
"dev-h": "concurrently \"bun run prev-deps\" \"bun --filter='host' run start\"",
"build": "concurrently \"bun --filter='software-eng' run regBuild\" \"bun --filter='interests' run regBuild\" && bun --filter='host' run build",
"prev-deps": "concurrently \"bun run build-se\" \"bun run serve-se\" \"bun run build-i\" \"bun run serve-i\" --names \"software-eng,software-eng,interests,interests\" --prefix \"[{name}]\" --prefix-colors blue,blue,green,green"

},
"peerDependencies": {},
"trustedDependencies": [
"@biomejs/biome",
"core-js"
],
"dependencies": {
"concurrently": "^8.2.2",
"global": "^4.4.0",
"lodash": "^4.17.21"
"concurrently": "^8.2.2"
}
}
39 changes: 0 additions & 39 deletions packages/host/.eslintignore

This file was deleted.

63 changes: 0 additions & 63 deletions packages/host/.eslintrc.cjs

This file was deleted.

Loading

0 comments on commit 876fea5

Please sign in to comment.