build: add pkg-pr-new (#5866)

This commit is contained in:
Nick Perez 2024-11-25 16:11:08 +01:00 committed by GitHub
parent 86250c6e9e
commit c106a39887
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 678 additions and 209 deletions

View File

@ -152,6 +152,7 @@ jobs:
with:
path: |
**/node_modules
**/.turbo
/home/runner/.cache/Cypress
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
@ -163,3 +164,7 @@ jobs:
- name: Try to build the packages
id: build-packages
run: npm run build:ci
- name: Soft release
id: soft-release
run: npx pkg-pr-new publish './packages/*' --compact

871
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"private": true,
"packageManager": "npm@10.9.0",
"packageManager": "npm@10.9.1",
"workspaces": [
"demos",
"shared/*",
@ -40,7 +40,7 @@
"@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@changesets/cli": "^2.27.9",
"@changesets/cli": "^2.27.10",
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@cypress/webpack-preprocessor": "^5.17.1",
@ -65,14 +65,15 @@
"husky": "^8.0.3",
"lint-staged": "^15.2.10",
"minimist": "^1.2.8",
"rollup": "^4.27.3",
"pkg-pr-new": "0.0.32",
"rollup": "^4.27.4",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.36.0",
"ts-loader": "9.3.1",
"tsup": "^8.3.5",
"turbo": "2.0.6",
"typescript": "^5.6.3",
"typescript": "^5.7.2",
"webpack": "^5.96.1"
},
"overrides": {

View File

@ -148,7 +148,7 @@ export function getSchemaByResolvedExtensions(extensions: Extensions, editor?: E
return {
...fields,
...(extendMarkSchema ? extendMarkSchema(extension) : {}),
...(extendMarkSchema ? extendMarkSchema(extension as any) : {}),
}
}, {})