Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
# This updates versions and changelogs, then commits back to main
version: bunx changeset version
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN is needed if publishing to NPM registry.
# For now, we assume GITHUB_TOKEN is enough for GitHub Packages or just tagging.
Expand Down
4 changes: 2 additions & 2 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@mars-ui:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
@marskit:registry=https://registry.npmjs.org/

162 changes: 19 additions & 143 deletions bun.lock

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@mars-ui/source",
"name": "@marskit/source",
"version": "0.0.0",
"license": "MIT",
"scripts": {
Expand Down Expand Up @@ -41,6 +41,10 @@
"vitest": "^3.0.0",
"vue": "^3.5.26"
},
"repository": {
"type": "git",
"url": "https://github.com/marskit/ui.git"
},
"workspaces": [
"packages/*",
"packages/apps/*",
Expand Down
11 changes: 9 additions & 2 deletions packages/apps/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"name": "@mars-ui/docs",
"name": "@marskit/docs",
"module": "index.ts",
"type": "module",
"private": true,
"devDependencies": {
"@types/bun": "latest"
"@types/bun": "latest",
"@marskit/ui-tokens": "workspace:*",
"@marskit/ui-wc": "workspace:*"
},
"peerDependencies": {
"typescript": "^5"
Expand All @@ -13,5 +15,10 @@
"docs:dev": "vitepress dev",
"docs:build": "vitepress build",
"docs:preview": "vitepress preview"
},
"repository": {
"type": "git",
"url": "https://github.com/marskit/ui.git",
"directory": "packages/apps/docs"
}
}
9 changes: 9 additions & 0 deletions packages/libs/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# CHANGELOG.md

# @marskit/ui-wc

## 0.0.1

### Patch Changes

- Initial release
20 changes: 14 additions & 6 deletions packages/libs/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mars-ui/core",
"name": "@marskit/ui-wc",
"version": "0.0.1",
"private": true,
"private": false,
"type": "module",
"main": "dist/index.cjs.js",
"module": "dist/index.js",
Expand All @@ -12,7 +12,7 @@
"exports": {
"./package.json": "./package.json",
".": {
"@mars-ui/source": "./src/index.ts",
"@marskit/source": "./src/index.ts",
"types": "./dist/index.d.ts",
"import": "./dist/core/core.esm.js",
"require": "./dist/core/core.cjs.js",
Expand Down Expand Up @@ -47,8 +47,16 @@
"jest-cli": "^29.7.0",
"puppeteer": "^24.3.0"
},
"peerDependencies": {
"@stencil/core": "^4.27.1"
"dependencies": {
"@marskit/ui-tokens": "workspace:*"
},
"dependencies": {}
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/marskit/ui.git",
"directory": "packages/libs/core"
}
}
4 changes: 2 additions & 2 deletions packages/shared/tokens/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @mars-ui/tokens
# @marskit/ui-tokens

## 1.0.1
## 1.0.0

### Patch Changes

Expand Down
31 changes: 17 additions & 14 deletions packages/shared/tokens/package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
{
"name": "@mars-ui/tokens",
"version": "1.0.1",
"description": "Design tokens for MarsUI",
"main": "index.ts",
"exports": {
"./css": "./build/css/_variables.css",
"./android/colors": "./build/android/colors.xml",
"./android/font-dimens": "./build/android/font_dimens.xml",
"./compose/colors": "./build/compose/StyleDictionaryColor.kt",
"./compose/size": "./build/compose/StyleDictionarySize.kt",
"./ios/colors": "./build/ios/StyleDictionaryColor.h",
"./ios-swift/*": "./build/ios-swift/*.swift"
"name": "@marskit/ui-tokens",
"version": "1.0.0",
"description": "Design tokens for MarsKit",
"repository": {
"type": "git",
"url": "https://github.com/marskit/ui.git",
"directory": "packages/shared/tokens"
},
"main": "index.ts",
"scripts": {
"build": "bun build.js"
"build": "node build.js"
},
"keywords": [
"design-tokens",
"style-dictionary"
],
"author": "Mars Gotta",
"license": "MIT",
"devDependencies": {
"style-dictionary": "^5.1.1"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}
10 changes: 7 additions & 3 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"emitDeclarationOnly": true,
"importHelpers": true,
"isolatedModules": true,
"lib": ["es2022"],
"lib": [
"es2022"
],
"module": "nodenext",
"moduleResolution": "nodenext",
"noEmitOnError": true,
Expand All @@ -16,6 +18,8 @@
"skipLibCheck": true,
"strict": true,
"target": "es2022",
"customConditions": ["@mars-ui/source"]
"customConditions": [
"@marskit/source"
]
}
}
}