Skip to content

Commit

Permalink
Add changesets
Browse files Browse the repository at this point in the history
  • Loading branch information
amirhhashemi committed Apr 4, 2023
1 parent a7fe6ba commit a454e4f
Show file tree
Hide file tree
Showing 6 changed files with 1,636 additions and 7 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "master",
"updateInternalDependencies": "patch",
"ignore": []
}
9 changes: 8 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,11 @@ jobs:

- run: pnpm i --frozen-lockfile

- run: pnpm run ci
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
publish: pnpm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 5 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
.github
.changeset
pnpm-lock.json
tsconfig.json
22 changes: 16 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
{
"name": "tiptap-text-direction",
"version": "0.1.0",
"version": "0.0.1",
"description": "",
"main": "index.js",
"private": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts",
"check": "tsc",
"ci": "pnpm check && pnpm build"
"ci": "pnpm check && pnpm build",
"release": "pnpm check && pnpm build && changeset publish "
},
"keywords": [],
"author": "",
"license": "MIT",
"keywords": [
"prosemirror",
"tiptap",
"right-to-left",
"rtl",
"text-direction",
"farsi"
],
"devDependencies": {
"@changesets/cli": "^2.26.1",
"tsup": "^6.7.0",
"typescript": "^5.0.3"
}
Expand Down
Loading

0 comments on commit a454e4f

Please sign in to comment.