Skip to content

Commit

Permalink
Merge pull request #29 from xionhub/refactor-all
Browse files Browse the repository at this point in the history
changeset ci test
  • Loading branch information
XionWCFM authored Mar 25, 2024
2 parents a4a9a72 + 37444d2 commit 614f97c
Show file tree
Hide file tree
Showing 49 changed files with 1,957 additions and 1,827 deletions.
5 changes: 5 additions & 0 deletions .changeset/fluffy-wasps-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@xionhub/rollup': patch
---

test deploy
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
},
settings: {
react: {
version: 'detect',
version: '18.2.0',
},
'import/resolver': {
typescript: {},
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/lint-test-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Lint Test Build
on: [push]
jobs:
buildci:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'

- name: Install Dependencies
run: yarn cache clean && yarn install

- name: Code Quality Check and Testing
run: |
yarn lint
yarn test:all
- name: Build
run: yarn build
8 changes: 4 additions & 4 deletions .github/workflows/package-publish.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Release

on:
push:
branches:
- main
on: [push]

concurrency: ${{ github.workflow }}-${{ github.ref }}

Expand All @@ -20,6 +17,9 @@ jobs:
with:
node-version-file: '.nvmrc'

- name: Install Dependencies
run: yarn cache clean && yarn install

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ dist
coverage

.ultra.cache.json
*storybook.log
*storybook.log

.env.local
18 changes: 0 additions & 18 deletions .husky/pre-commit

This file was deleted.

1 change: 0 additions & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh
yarn lint
yarn test:all

command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting the 'pre-push' file in the hooks directory (set by 'core.hookspath'; usually '.git/hooks').\n"; exit 2; }
Expand Down
Empty file removed .npmrc
Empty file.
113 changes: 57 additions & 56 deletions .pnp.cjs

Large diffs are not rendered by default.

44 changes: 15 additions & 29 deletions .pnp.loader.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

672 changes: 336 additions & 336 deletions .yarn/releases/yarn-4.0.2.cjs → .yarn/releases/yarn-4.1.1.cjs

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
nodeLinker: pnp

yarnPath: .yarn/releases/yarn-4.0.2.cjs
cacheFolder: .yarn/cache

enableGlobalCache: false

nodeLinker: pnp

yarnPath: .yarn/releases/yarn-4.1.1.cjs
1 change: 1 addition & 0 deletions TEST.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
test for workflow
!
6 changes: 6 additions & 0 deletions configs/build/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @xionhub/esbuild

## 0.1.2

### Patch Changes

- ee49c0c: version patch test

## 0.1.1

### Patch Changes
Expand Down
6 changes: 4 additions & 2 deletions configs/build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@xionhub/esbuild",
"packageManager": "yarn@4.0.2",
"license": "MIT",
"version": "0.1.1",
"version": "0.1.2",
"main": "build.js",
"type": "module",
"devDependencies": {
Expand All @@ -14,5 +14,7 @@
"esbuild": "^0.19.8",
"esbuild-node-externals": "^1.0.0"
},
"private": true
"publishConfig": {
"access": "public"
}
}
8 changes: 8 additions & 0 deletions configs/eslint/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# @xionhub/eslint

## 0.0.2

### Patch Changes

- ee49c0c: version patch test
- ee49c0c: patch bump
7 changes: 6 additions & 1 deletion configs/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@
"name": "@xionhub/eslint",
"packageManager": "yarn@4.0.2",
"license": "MIT",
"version": "0.0.1",
"version": "0.0.2",
"exports": {
"./base": "./eslintrc.base.json",
"./monorepo": "./eslintrc.monorepo.js",
"./react": "./eslintrc.react.js"
},
"devDependencies": {
"@types/eslint": "^8",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"eslint": "^8.57.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
Expand All @@ -37,5 +39,8 @@
"eslint-plugin-workspaces": {
"optional": true
}
},
"publishConfig": {
"access": "public"
}
}
7 changes: 7 additions & 0 deletions configs/prettier/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @xionhub/prettier

## 0.0.2

### Patch Changes

- ee49c0c: version patch test
5 changes: 4 additions & 1 deletion configs/prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
"name": "@xionhub/prettier",
"packageManager": "yarn@4.0.2",
"license": "MIT",
"version": "0.0.1",
"version": "0.0.2",
"main": "./prettierrc.base.json",
"exports": {
"./fsd": "./prettierrc.fsd.json",
"./base": "./prettierrc.base.json"
},
"publishConfig": {
"access": "public"
}
}
8 changes: 8 additions & 0 deletions configs/rollup/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# @xionhub/rollup

## 0.1.2

### Patch Changes

- test
- ee49c0c: version patch test
6 changes: 4 additions & 2 deletions configs/rollup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
"name": "@xionhub/rollup",
"packageManager": "yarn@4.0.2",
"license": "MIT",
"version": "0.1.1",
"version": "0.1.2",
"main": "rollup.config.mjs",
"type": "module",
"private": true,
"dependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
Expand All @@ -15,5 +14,8 @@
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.36.0",
"tslib": "^2.6.2"
},
"publishConfig": {
"access": "public"
}
}
7 changes: 7 additions & 0 deletions configs/typescript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# @xionhub/typescript

## 0.0.2

### Patch Changes

- ee49c0c: version patch test
5 changes: 4 additions & 1 deletion configs/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
"name": "@xionhub/typescript",
"packageManager": "yarn@4.0.2",
"license": "MIT",
"version": "0.0.1",
"version": "0.0.2",
"main": "./tsconfig.base.json",
"exports": {
"./fsd": "./tsconfig.fsd.json",
"./base": "./tsconfig.base.json",
"./ds": "./tsconfig.ds.json"
},
"publishConfig": {
"access": "public"
}
}
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xionhub/root",
"packageManager": "yarn@4.0.2",
"packageManager": "yarn@4.1.1",
"scripts": {
"postinstall": "husky install",
"prepack": "pinst --disable",
Expand All @@ -16,8 +16,7 @@
"token": "yarn workspace @xionhub/token",
"build": "ultra -r build",
"release": "yarn changeset publish",
"version": "yarn changeset version",
"lint": "eslint .",
"lint": "eslint packages/* --fix",
"storybook": "yarn workspace @xionhub/xds storybook"
},
"devDependencies": {
Expand Down
6 changes: 6 additions & 0 deletions packages/assert/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @xionhub/assert

## 0.1.2

### Patch Changes

- ee49c0c: version patch test

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/assert/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@xionhub/assert",
"packageManager": "yarn@4.0.2",
"version": "0.1.1",
"version": "0.1.2",
"main": "dist/index.js",
"license": "MIT",
"type": "module",
Expand Down
9 changes: 9 additions & 0 deletions packages/design-system/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# @xionhub/xds

## 0.0.2

### Patch Changes

- ee49c0c: version patch test
- Updated dependencies [ee49c0c]
- @xionhub/token@0.1.8
Loading

0 comments on commit 614f97c

Please sign in to comment.