Skip to content

Commit

Permalink
chore: prepare for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
schettn authored Jun 21, 2024
1 parent 4e4f046 commit 3848737
Show file tree
Hide file tree
Showing 9 changed files with 4,196 additions and 1,853 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release

on:
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
- uses: oven-sh/setup-bun@v1
- run: bun install --globally yarn
- run: bun install
- name: Build
run: yarn run build
- name: Release
run: yarn workspaces run semantic-release -e semantic-release-monorepo
7 changes: 3 additions & 4 deletions my-gatsby-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,17 @@
"scripts": {
"develop": "gatsby develop",
"start": "gatsby develop",
"build": "NODE_OPTIONS=--max-old-space-size=8192 gatsby build",
"serve": "gatsby serve",
"clean": "gatsby clean",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"jaen": "^1.0.0-rc.1",
"jaen-fields-mdx": "^1.0.0-rc.1",
"jaen": "*",
"jaen-fields-mdx": "*",
"@radix-ui/react-icons": "^1.3.0",
"@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v4.11.0/react-icons-all-files-4.11.0.tgz",
"gatsby": "^5.11.0",
"gatsby-plugin-jaen": "^1.0.0-rc.1",
"gatsby-plugin-jaen": "*",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"scripts": {
"lint:fix": "yarn eslint packages/jaen/src/ --fix",
"prettier:fix": "yarn prettier packages/jaen/src/ --write",
"format": "yarn prettier:fix && yarn lint:fix"
"format": "yarn prettier:fix && yarn lint:fix",
"build": "yarn workspace jaen run build && yarn workspace gatsby-source-jaen run build && yarn workspace gatsby-plugin-jaen run build && yarn workspace gatsby-jaen-mailpress run build && yarn workspace gatsby-jaen-lens run build && yarn workspace jaen-fields-mdx run build"
},
"workspaces": [
"packages/jaen",
Expand All @@ -25,13 +26,18 @@
"prettier-plugin-organize-imports": "^3.2.2"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/release-notes-generator": "^14.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"eslint": "^8.0.1",
"eslint-config-standard-with-typescript": "^27.0.1",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.32.0"
"eslint-plugin-react": "^7.32.0",
"semantic-release": "^24.0.0",
"semantic-release-monorepo": "^8.0.2"
}
}
2 changes: 1 addition & 1 deletion packages/gatsby-jaen-mailpress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@snek-functions/origin": "^0.9.0",
"gatsby": "^5.12.4",
"react": "^18.2.0",
"jaen": "^1.0.0-rc.55"
"jaen": "^1.0.0"
},
"devDependencies": {}
}
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-jaen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"build": "tsc gatsby/* --outDir dist/gatsby --esModuleInterop --skipLibCheck --resolveJsonModule && yarn build:css"
},
"peerDependencies": {
"jaen": "^1.0.0-rc.2",
"jaen": "^1.0.0",
"@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v4.11.0/react-icons-all-files-4.11.0.tgz",
"gatsby": "^5.11.0",
"react": "^18.2.0"
Expand Down Expand Up @@ -53,7 +53,7 @@
"gatsby-plugin-sitemap": "^6.12.0",
"gatsby-plugin-ts-config": "^2.1.3",
"gatsby-source-filesystem": "^5.11.0",
"gatsby-source-jaen": "^1.0.0-rc.26",
"gatsby-source-jaen": "^1.0.0",
"gatsby-transformer-sharp": "^5.11.0",
"isomorphic-dompurify": "^1.8.0",
"lucide-react": "^0.358.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-source-jaen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"deepmerge": "^4.2.2"
},
"devDependencies": {
"jaen": "^1.0.0-rc.1",
"jaen": "^1.0.0",
"@types/babel__generator": "^7.6.5",
"@types/babel__traverse": "^7.20.1",
"typescript": "^5"
},
"peerDependencies": {
"jaen": "^1.0.0-rc.1"
"jaen": "^1.0.0"
},
"scripts": {
"build": "tsc src/gatsby-node.ts src/gatsby-config.ts --outDir dist --esModuleInterop --skipLibCheck --resolveJsonModule"
Expand Down
2 changes: 1 addition & 1 deletion packages/jaen-fields-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"vfile-statistics": "^3.0.0"
},
"peerDependencies": {
"jaen": "^1.0.0-rc.4",
"jaen": "^1.0.0",
"gatsby": "^5.12.3",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/jaen/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jaen",
"version": "3.0.0",
"version": "1.0.0",
"description": "The Webapps framework for creating scalable and dynamic applications with ease.",
"type": "module",
"source": "src/index.ts",
Expand Down
Loading

0 comments on commit 3848737

Please sign in to comment.