Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(npm/runtime): add @oxc-project/runtime package #8595

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Boshen
Copy link
Member

@Boshen Boshen commented Jan 19, 2025

closes #7422

All code are copied manually, nothing is automated yet. (cjs files and package.json#exports should be generated from the esm directory.)

The following code are not copied over yet, as we may not need them.

File: @babel/runtime/regenerator/index.js`

Package dependency:

  "dependencies": {
    "regenerator-runtime": "^0.14.0"
  },

Copy link

graphite-app bot commented Jan 19, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@github-actions github-actions bot added the C-enhancement Category - New feature or request label Jan 19, 2025
@Boshen Boshen force-pushed the 01-19-feat_npm_runtime_add_oxc-project_runtime_package branch from 8853627 to 30ccf3d Compare January 19, 2025 06:25
Comment on lines +16 to +39
check:
name: Check version
runs-on: ubuntu-latest
outputs:
version: ${{ steps.version.outputs.version }}
version_changed: ${{ steps.version.outputs.changed }}
steps:
- uses: taiki-e/checkout-action@b13d20b7cda4e2f325ef19895128f7ff735c0b3d # v1.3.1

- name: Check version changes
uses: EndBug/version-check@36ff30f37c7deabe56a30caa043d127be658c425 # v2
id: version
with:
static-checking: localIsNew
file-url: https://unpkg.com/@oxc-project/runtime/package.json
file-name: npm/runtime/package.json

- name: Set version name
if: steps.version.outputs.changed == 'true'
env:
VERSION_NUMBER: ${{ steps.version.outputs.version }}
VERSION_TYPE: ${{ steps.version.outputs.version_type }}
run: |
echo "Version change found! New version: ${VERSION_NUMBER} (${VERSION_TYPE})"

Check warning

Code scanning / zizmor

overly broad permissions Warning

overly broad permissions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category - New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@oxc-project/runtime NPM package
1 participant