From 11ad55bb48d96e1bd94e4632e3b5be7147ff7de7 Mon Sep 17 00:00:00 2001 From: redhoodsu Date: Wed, 18 May 2022 19:41:29 +0800 Subject: [PATCH] release: v1.36.0 --- .github/workflows/publish.yml | 35 +++++++++++++++++++++++++++++++++++ CHANGELOG.md | 6 ++++++ index.json | 2 ++ package.json | 2 +- src/container.js | 1 + src/fileUrl.js | 1 + 6 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 00000000..16338425 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,35 @@ +name: Publish to NPM + +on: + workflow_dispatch: + release: + types: [created] + +jobs: + publish: + + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup Node + uses: actions/setup-node@v2 + with: + node-version: '14.x' + registry-url: 'https://registry.npmjs.org' + - name: Build licia + run: npm link && npm run build + - name: Publish package on NPM + working-directory: .licia/packages + run: | + cd licia + npm publish + cd ../licia-es + npm publish + cd ../eusita-module + npm publish + cd ../miniprogram-licia + npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 3308107e..b562c3f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## v1.36.0 (18 May 2022) + +* feat: add fileUrl +* fix(trigger): typescript definition +* fix(ajax): Add query parameters if they are necessary [#27](https://github.com/liriliri/licia/issues/27) + ## v1.35.1 (18 Apr 2022) * fix(container): cpuLoad return NaN diff --git a/index.json b/index.json index 6ba7ab9e..00c082f0 100644 --- a/index.json +++ b/index.json @@ -1655,6 +1655,7 @@ "env": [ "node" ], + "since": "1.35.0", "test": [] }, "convertBase": { @@ -2525,6 +2526,7 @@ "browser", "miniprogram" ], + "since": "1.36.0", "test": [ "node", "browser" diff --git a/package.json b/package.json index e3f2ceae..480267cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "licia", - "version": "1.35.1", + "version": "1.36.0", "description": "Useful utility collection with zero dependencies", "bin": { "licia": "./bin/licia.js" diff --git a/src/container.js b/src/container.js index a2ee465f..9ef7b021 100644 --- a/src/container.js +++ b/src/container.js @@ -8,6 +8,7 @@ /* module * env: node * test: manual + * since: 1.35.0 */ /* typescript diff --git a/src/fileUrl.js b/src/fileUrl.js index cdbb9b0c..5e0a67ea 100644 --- a/src/fileUrl.js +++ b/src/fileUrl.js @@ -12,6 +12,7 @@ /* module * env: all + * since: 1.36.0 */ /* typescript