Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: MoreChickenDelivered/md-loader
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1-pre1
Choose a base ref
...
head repository: MoreChickenDelivered/md-loader
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Jan 15, 2024

  1. corepack enable.

    ebenali committed Jan 15, 2024
    Copy the full SHA
    112372a View commit details
  2. cfg yml pub; semver autoincr

    ebenali committed Jan 15, 2024
    Copy the full SHA
    95fec5f View commit details
  3. ci: make env global

    ebenali committed Jan 15, 2024
    Copy the full SHA
    911ea42 View commit details

Commits on Jan 16, 2024

  1. correct auth token for ci

    ebenali committed Jan 16, 2024
    Copy the full SHA
    a4a27e6 View commit details
  2. fix semver in CI

    ebenali committed Jan 16, 2024
    Copy the full SHA
    0f64a08 View commit details
  3. Copy the full SHA
    2e2a069 View commit details
  4. gh use x-access-tok

    ebenali committed Jan 16, 2024
    Copy the full SHA
    559b3a1 View commit details
  5. Copy the full SHA
    beb83fa View commit details
  6. just use ssh deploy..

    ebenali committed Jan 16, 2024
    Copy the full SHA
    d4c919b View commit details
  7. ci: explicit set yarnrc

    ebenali committed Jan 16, 2024
    Copy the full SHA
    ac10482 View commit details
  8. botaction - auto tag v"0.0.1"

    ebenali committed Jan 16, 2024
    Copy the full SHA
    72fcb32 View commit details
  9. botaction - auto tag v"0.0.2"

    ebenali committed Jan 16, 2024
    Copy the full SHA
    56d494c View commit details
  10. botaction - auto tag v"0.0.3"

    ebenali committed Jan 16, 2024
    Copy the full SHA
    17f8185 View commit details
  11. botaction - auto tag v"0.0.4"

    ebenali committed Jan 16, 2024
    Copy the full SHA
    884979b View commit details
  12. botaction - auto tag v"0.0.5"

    ebenali committed Jan 16, 2024
    Copy the full SHA
    f03bb0f View commit details
  13. botaction - auto tag v"0.0.6"

    ebenali committed Jan 16, 2024
    Copy the full SHA
    052dfa6 View commit details
  14. botaction - auto tag v"0.0.7"

    ebenali committed Jan 16, 2024
    Copy the full SHA
    252a7d1 View commit details
  15. botaction - auto tag v"0.0.8"

    ebenali committed Jan 16, 2024
    Copy the full SHA
    dcd44ea View commit details
  16. botaction - auto tag v"0.0.9"

    ebenali committed Jan 16, 2024
    Copy the full SHA
    363bf4a View commit details
  17. Copy the full SHA
    5faef6c View commit details
  18. Copy the full SHA
    2c04e6d View commit details
  19. Copy the full SHA
    64a4e3d View commit details
  20. Copy the full SHA
    6db7a9c View commit details
  21. Copy the full SHA
    7fa21e8 View commit details
  22. Copy the full SHA
    465c707 View commit details
  23. Copy the full SHA
    d9e754d View commit details
  24. Copy the full SHA
    ce8e8ff View commit details
  25. Copy the full SHA
    743977a View commit details
  26. Copy the full SHA
    a119a86 View commit details
  27. Copy the full SHA
    40a4b97 View commit details
  28. Copy the full SHA
    9fcacb4 View commit details
  29. Copy the full SHA
    e473701 View commit details
  30. Copy the full SHA
    c34b7f3 View commit details
  31. update yarn lockfile

    ebenali committed Jan 16, 2024
    Copy the full SHA
    2f614fa View commit details
  32. Copy the full SHA
    80c45b1 View commit details
  33. ci: stick to 1 scope

    ebenali committed Jan 16, 2024
    Copy the full SHA
    ed0a13b View commit details
  34. Copy the full SHA
    cd99391 View commit details
  35. proper tag, & use MCD scope

    ebenali committed Jan 16, 2024
    Copy the full SHA
    72eb26e View commit details
  36. update yarn lockfile

    ebenali committed Jan 16, 2024
    Copy the full SHA
    c17f1d7 View commit details
  37. Copy the full SHA
    195db48 View commit details
  38. Copy the full SHA
    82653ba View commit details
  39. Copy the full SHA
    a9cbf58 View commit details
  40. Copy the full SHA
    61b78e1 View commit details
  41. Copy the full SHA
    2293d7a View commit details
  42. ci: use 1 build job

    ebenali committed Jan 16, 2024
    Copy the full SHA
    eb5c2a3 View commit details
  43. yarn: install before building

    ebenali committed Jan 16, 2024
    Copy the full SHA
    1bdd2e4 View commit details
  44. Copy the full SHA
    0065387 View commit details
  45. Copy the full SHA
    1de7c89 View commit details
Showing with 75 additions and 45 deletions.
  1. +38 −16 .github/workflows/publish.yml
  2. +4 −0 .yarnrc.yml
  3. +11 −7 package.json
  4. +22 −22 yarn.lock
54 changes: 38 additions & 16 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,54 @@
name: Node.js Package

on:
push:
branches: [main]
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 21
- run: corepack enable && yarn install
- run: yarn build
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
SSH_AUTH_SOCK: /tmp/ssh_agent.sock

permissions:
contents: write
pull-requests: write

jobs:
publish-gpr:
needs: build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 21
node-version: "21.x"
registry-url: https://npm.pkg.github.com/
- run: yarn npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
scope: "@MoreChickenDelivered"
- run: corepack enable
- run: yarn install && yarn build

- name: Configure SSH/Git permissions
run: |
mkdir -p ~/.ssh
chmod 700 ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts
chmod 600 ~/.ssh/known_hosts
ssh-agent -a $SSH_AUTH_SOCK >/dev/null 2>&1
ssh-add - <<< "${{ secrets.DEPLKEY_PRIV }}"
- run: git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com" && git config --global user.name "$GITHUB_ACTOR"
- run: yarn version patch
- run: echo "NEW_TAG=$(jq -r .version <package.json)" >> "$GITHUB_ENV"
- run: git tag v$NEW_TAG
- run: git add package.json && git commit -m "[skip ci] [auto-semver-tag] auto tag v$NEW_TAG"
- run: git remote set-url origin git@github.com:/MoreChickenDelivered/md-loader
- run: git push --tags && git push

- run: yarn npm publish --access public

4 changes: 4 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
npmScopes:
MoreChickenDelivered:
npmAlwaysAuth: true
npmAuthToken: "${NODE_AUTH_TOKEN}"
18 changes: 11 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -3,15 +3,15 @@
"webpack": "*"
},
"type": "module",
"main": "./index.js",
"esnext": "./index.ts",
"types": "./index.d.ts",
"main": "index.js",
"esnext": "index.ts",
"types": "index.d.ts",
"homepage": "tradeterminal.io",
"name": "md-frag-loader",
"name": "@MoreChickenDelivered/md-loader",
"scripts": {
"build": "yarn install && tsc -p ./tsconfig.json"
},
"version": "0.1",
"version": "0.1.0",
"devDependencies": {
"@types/debug": "^4.1.12",
"@types/mdast": "^4.0.3",
@@ -38,6 +38,10 @@
"nodeLinker": "pnp"
},
"files": [
"index.d.ts"
]
"index.d.ts",
"index.js"
],
"publishConfig": {
"registry": "https://npm.pkg.github.com"
}
}
44 changes: 22 additions & 22 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -5,6 +5,28 @@ __metadata:
version: 8
cacheKey: 10c0

"@MoreChickenDelivered/md-loader@workspace:.":
version: 0.0.0-use.local
resolution: "@MoreChickenDelivered/md-loader@workspace:."
dependencies:
"@types/debug": "npm:^4.1.12"
"@types/mdast": "npm:^4.0.3"
"@types/node": "npm:^20.11.2"
"@types/webpack": "npm:^5.28.5"
debug: "npm:^4.3.4"
mdast: "npm:^3.0.0"
remark: "npm:^15.0.1"
remark-parse: "npm:^11.0.0"
remark-stringify: "npm:^11.0.0"
schema-utils: "npm:^4.2.0"
typescript: "npm:^5.3.3"
unified: "npm:^11.0.4"
vfile: "npm:^6.0.1"
peerDependencies:
webpack: "*"
languageName: unknown
linkType: soft

"@jridgewell/gen-mapping@npm:^0.3.0":
version: 0.3.3
resolution: "@jridgewell/gen-mapping@npm:0.3.3"
@@ -643,28 +665,6 @@ __metadata:
languageName: node
linkType: hard

"md-frag-loader@workspace:.":
version: 0.0.0-use.local
resolution: "md-frag-loader@workspace:."
dependencies:
"@types/debug": "npm:^4.1.12"
"@types/mdast": "npm:^4.0.3"
"@types/node": "npm:^20.11.2"
"@types/webpack": "npm:^5.28.5"
debug: "npm:^4.3.4"
mdast: "npm:^3.0.0"
remark: "npm:^15.0.1"
remark-parse: "npm:^11.0.0"
remark-stringify: "npm:^11.0.0"
schema-utils: "npm:^4.2.0"
typescript: "npm:^5.3.3"
unified: "npm:^11.0.4"
vfile: "npm:^6.0.1"
peerDependencies:
webpack: "*"
languageName: unknown
linkType: soft

"mdast-util-from-markdown@npm:^2.0.0":
version: 2.0.0
resolution: "mdast-util-from-markdown@npm:2.0.0"