diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..6aca50a --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,25 @@ +name: Publish Package + +on: + push: + tags: + - 'v*' + +permissions: + id-token: write # Required for OIDC + contents: read + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: '24' + registry-url: 'https://registry.npmjs.org' + - run: npm ci + - run: npm run build --if-present + - run: npm test + - run: npm publish \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..84c183b --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,12 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Ignored default folder with query files +/queries/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Zeppelin ignored files +/ZeppelinRemoteNotebooks/ diff --git a/package.json b/package.json index 01cbe2b..bd939f7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "docsify-plugin-adsense", - "version": "1.0.0", + "name": "docsify-plugin-google-adsense ", + "version": "0.0.1", "description": "[docsify](https://docsify.js.org/) plugin to make you easy to join up [google adsense](https://www.google.com/adsense)", "main": "index.js", "scripts": { @@ -8,7 +8,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/iscod/docsify-plugin-adsense.git" + "url": "https://src.isharkfly.com/iSharkFly-Open/docsify-plugin-adsense.git" }, "keywords": [ "google adsense", @@ -16,10 +16,10 @@ "docsify", "plugin" ], - "author": "iscod", + "author": "iSharkFly", "license": "MIT", "bugs": { - "url": "https://github.com/iscod/docsify-plugin-adsense/issues" + "url": "https://src.isharkfly.com/iSharkFly-Open/docsify-plugin-adsense" }, - "homepage": "https://github.com/iscod/docsify-plugin-adsense#readme" + "homepage": "https://src.isharkfly.com/iSharkFly-Open/docsify-plugin-adsense#readme" }