Skip to content

Commit

Permalink
feat: add more exports (#15)
Browse files Browse the repository at this point in the history
* chore: update deps

* chore: update eslint config

* chore: remove workspace config

* chore: update vscode settings

* docs: update README

* chore: update tsconfig

* ci: lint

* chore: update deps

* feat: add exports

* test: update snapshots
  • Loading branch information
ModyQyW authored Jun 25, 2024
1 parent 1b40db0 commit 179dd4a
Show file tree
Hide file tree
Showing 17 changed files with 768 additions and 396 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
node-version-file: .nvmrc
cache: pnpm
registry-url: 'https://registry.npmjs.org'

Expand Down
7 changes: 6 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@
"xml",
"gql",
"graphql",
"astro"
"astro",
"css",
"less",
"scss",
"pcss",
"postcss"
]
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @uni-helper/uni-env

在 uni-app 中优雅的判断当前环境
在 uni-app 中优雅地判断当前环境。

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
Expand Down
4 changes: 1 addition & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import antfu from '@antfu/eslint-config'

export default antfu({
vue: false,
})
export default antfu()
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@uni-helper/uni-env",
"type": "module",
"version": "0.1.2",
"packageManager": "pnpm@9.1.2",
"packageManager": "pnpm@9.4.0",
"description": "",
"author": "KeJun",
"license": "MIT",
Expand Down Expand Up @@ -49,8 +49,8 @@
"std-env": "^3.7.0"
},
"devDependencies": {
"@antfu/eslint-config": "^2.18.1",
"@types/node": "^20.12.12",
"@antfu/eslint-config": "^2.21.1",
"@types/node": "^20.14.5",
"bumpp": "^9.4.1",
"eslint": "^8.57.0",
"esno": "^4.7.0",
Expand Down
351 changes: 158 additions & 193 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions pnpm-workspace.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions src/_constant.ts

This file was deleted.

23 changes: 0 additions & 23 deletions src/compiler.ts

This file was deleted.

36 changes: 0 additions & 36 deletions src/const.ts

This file was deleted.

19 changes: 0 additions & 19 deletions src/flags.ts

This file was deleted.

Loading

0 comments on commit 179dd4a

Please sign in to comment.