Skip to content

Commit

Permalink
build: npm init to gpr publish fp-95 (#107)
Browse files Browse the repository at this point in the history
* build: npm init to gpr publish fp-95

* ci: edit feature request issue template fp-95

* ci: add dist folder to eslint ignore fp-95
  • Loading branch information
what1s1ove authored Dec 10, 2023
1 parent 3bbd219 commit e5e7a4e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ body:
- type: textarea
attributes:
label: Brief description
description: Provide a brief description in your own words about what the rule will check
description: Provide a brief description in your own words about the feature you are requesting
placeholder: Support for a new HTML element...

- type: textarea
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ jobs:
- name: Publish
working-directory: ${{ env.ARTIFACT_PATH }}
run: |
npm pkg set name="@${{ github.repository_owner }}/$(npm pkg get name| sed 's/"//g')"
npm init -y --scope=@${{ github.repository_owner }}
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 6 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ import sonarjs from 'eslint-plugin-sonarjs';
import unicorn from 'eslint-plugin-unicorn';
import globals from 'globals';

/** @type {import('eslint').Linter.FlatConfig} */
const ignoresConfig = {
ignores: ['dist'],
};

/** @type {import('eslint').Linter.FlatConfig} */
const globalConfig = {
languageOptions: {
Expand Down Expand Up @@ -181,6 +186,7 @@ const overridesConfigs = [

/** @type {import('eslint').Linter.FlatConfig[]} */
const config = [
ignoresConfig,
globalConfig,
importConfig,
jsdocConfig,
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
"type": "git",
"url": "git+https://github.com/what1s1ove/form-payload.git"
},
"bugs": {
"url": "https://github.com/what1s1ove/form-payload/issues",
"email": "[email protected]"
},
"license": "MIT",
"type": "module",
"main": "./src/index.js",
Expand Down

0 comments on commit e5e7a4e

Please sign in to comment.