Skip to content

Commit

Permalink
0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yanhaijing committed Nov 21, 2023
1 parent 51a7b3a commit 0481615
Show file tree
Hide file tree
Showing 8 changed files with 534 additions and 735 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [14.x, 16.x, 18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# 变更日志

## 0.10.0 / 2023-11-19

- 升级 jslib-base 2.3.2
- 支持 sourceMap
- fix: 支持 node >=14.0.0

## 0.9.0 / 2023-9-24

- 升级最新版 jslib-base
Expand Down
2 changes: 1 addition & 1 deletion README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![](https://img.shields.io/badge/Powered%20by-jslib%20base-brightgreen.svg)](https://github.com/yanhaijing/jslib-base)
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jsmini/guid/blob/master/LICENSE)
[![CI](https://github.com/jsmini/guid/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/jsmini/guid/actions/workflows/ci.yml)
[![npm](https://img.shields.io/badge/npm-0.9.0-orange.svg)](https://www.npmjs.com/package/@jsmini/guid)
[![npm](https://img.shields.io/badge/npm-0.10.0-orange.svg)](https://www.npmjs.com/package/@jsmini/guid)
[![NPM downloads](http://img.shields.io/npm/dm/@jsmini/guid.svg?style=flat-square)](http://www.npmtrends.com/@jsmini/guid)
[![Percentage of issues still open](http://isitmaintained.com/badge/open/jsmini/guid.svg)](http://isitmaintained.com/project/jsmini/guid 'Percentage of issues still open')

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![](https://img.shields.io/badge/Powered%20by-jslib%20base-brightgreen.svg)](https://github.com/yanhaijing/jslib-base)
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/jsmini/guid/blob/master/LICENSE)
[![CI](https://github.com/jsmini/guid/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/jsmini/guid/actions/workflows/ci.yml)
[![npm](https://img.shields.io/badge/npm-0.9.0-orange.svg)](https://www.npmjs.com/package/@jsmini/guid)
[![npm](https://img.shields.io/badge/npm-0.10.0-orange.svg)](https://www.npmjs.com/package/@jsmini/guid)
[![NPM downloads](http://img.shields.io/npm/dm/@jsmini/guid.svg?style=flat-square)](http://www.npmtrends.com/@jsmini/guid)
[![Percentage of issues still open](http://isitmaintained.com/badge/open/jsmini/guid.svg)](http://isitmaintained.com/project/jsmini/guid 'Percentage of issues still open')

Expand Down
1 change: 1 addition & 0 deletions config/rollup.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
// When export and export default are not used at the same time, set legacy to true.
// legacy: true,
banner: common.banner,
sourcemap: true,
},
],
plugins: [common.getCompiler()],
Expand Down
2 changes: 2 additions & 0 deletions config/rollup.config.esm.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ module.exports = {
// When export and export default are not used at the same time, set legacy to true.
// legacy: true,
banner: common.banner,
sourcemap: true,
},
{
file: 'dist/index.mjs',
format: 'es',
// legacy: true,
banner: common.banner,
sourcemap: true,
},
],
plugins: [common.getCompiler()],
Expand Down
1,203 changes: 496 additions & 707 deletions package-lock.json

Large diffs are not rendered by default.

51 changes: 26 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@jsmini/guid",
"version": "0.9.0",
"version": "0.10.0",
"description": "全局ID生成工具",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"sideEffects": false,
"scripts": {
"clean": "rimraf ./dist",
"clean": "rimraf ./dist ./types",
"lint": "eslint -c .eslintrc.cjs 'src/**/*.js'",
"build:self": "rollup -c config/rollup.config.cjs",
"build:esm": "rollup -c config/rollup.config.esm.cjs",
Expand Down Expand Up @@ -37,48 +37,49 @@
],
"devDependencies": {
"es5-shim": "^4.6.7",
"eslint": "^8.49.0",
"eslint": "^8.54.0",
"expect.js": "^0.3.1",
"mocha": "^10.2.0",
"rollup": "^3.29.2",
"@js-lib/cli": "^2.2.0",
"rollup": "^3.29.4",
"@js-lib/cli": "^2.3.2",
"cross-env": "^7.0.3",
"rimraf": "^5.0.1",
"@babel/plugin-transform-runtime": "^7.22.15",
"@babel/preset-env": "^7.22.20",
"rimraf": "^5.0.5",
"@babel/plugin-transform-runtime": "^7.23.3",
"@babel/preset-env": "^7.23.3",
"@babel/register": "^7.22.15",
"babel-plugin-istanbul": "^6.1.1",
"coveralls": "^3.1.1",
"nyc": "^15.1.0",
"source-map-support": "0.5.9",
"http-server": "^14.1.1",
"@babel/eslint-parser": "^7.22.15",
"@babel/eslint-parser": "^7.23.3",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.0",
"lint-staged": "^14.0.1",
"prettier": "3.0.3",
"prettier": "3.1.0",
"commitizen": "^4.2.4",
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@commitlint/cz-commitlint": "^16.2.1",
"@commitlint/format": "12.1.1",
"@commitlint/prompt-cli": "^16.2.1",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-terser": "^0.4.3"
"@commitlint/cli": "^16.3.0",
"@commitlint/config-conventional": "^16.2.4",
"@commitlint/cz-commitlint": "^16.3.0",
"@commitlint/format": "^12.1.1",
"@commitlint/prompt-cli": "^16.3.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4"
},
"dependencies": {
},
"dependencies": {},
"files": [
"/dist",
"/types",
"*.d.ts"
],
"engines": {
"node": ">=18.18.0 <19.0.0",
"npm": ">=9.8.1 <10.0.0"
"node": ">=14.0.0",
"npm": ">=6.0.0"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
Expand All @@ -99,4 +100,4 @@
"path": "@commitlint/cz-commitlint"
}
}
}
}

0 comments on commit 0481615

Please sign in to comment.