Skip to content

Commit

Permalink
add publint step & explicitly set "type" to "commonjs" in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
CloudNStoyan committed Jun 3, 2024
1 parent c15176d commit 2ab12b8
Show file tree
Hide file tree
Showing 16 changed files with 35 additions and 22 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ jobs:
with:
node-version: 20
- run: npm ci
- run: npm run build --if-present
- run: npm test
- run: npx publint --strict

publish-npm:
needs: build
Expand Down

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

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@arabasta/eslint-plugin-no-destructuring-arrays-as-objects",
"version": "1.0.4",
"version": "1.0.5",
"type": "commonjs",
"description": "ESLint plugin that disallows destructuring arrays as objects",
"author": "Stoyan Kolev",
"repository": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import noDestructuringArraysAsObjectsRule from './rules/no-destructuring-arrays-
const plugin = {
meta: {
name: '@arabasta/eslint-plugin-no-testing-library-without-cleanup',
version: '1.0.4',
version: '1.0.5',
},
configs: {},
rules: {
Expand Down

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

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@arabasta/eslint-plugin-no-testing-library-without-cleanup",
"version": "1.0.4",
"version": "1.0.5",
"type": "commonjs",
"description": "ESLint plugin that enforces the usage of the cleanup function when importing from Testing Library",
"author": "Stoyan Kolev",
"repository": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const noTestingLibraryWithoutCleanup = require('./rules/no-testing-library-witho
const plugin = {
meta: {
name: '@arabasta/eslint-plugin-no-testing-library-without-cleanup',
version: '1.0.4',
version: '1.0.5',
},
configs: {},
rules: {
Expand Down
7 changes: 5 additions & 2 deletions eslint-plugin-redux-use-app-functions/package-lock.json

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

3 changes: 2 additions & 1 deletion eslint-plugin-redux-use-app-functions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@arabasta/eslint-plugin-redux-use-app-functions",
"version": "1.0.4",
"version": "1.0.5",
"type": "commonjs",
"description": "ESLint plugin that enforces the usage of redux app specific functions",
"author": "Stoyan Kolev",
"repository": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const useCreateAppAsyncThunkRule = require('./rules/use-create-app-async-thunk.j
const plugin = {
meta: {
name: '@arabasta/eslint-plugin-redux-use-app-functions',
version: '1.0.4',
version: '1.0.5',
},
configs: {},
rules: {
Expand Down
11 changes: 7 additions & 4 deletions eslint-plugin-report-caught-error/package-lock.json

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

3 changes: 2 additions & 1 deletion eslint-plugin-report-caught-error/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@arabasta/eslint-plugin-report-caught-error",
"version": "1.0.5",
"version": "1.0.6",
"type": "commonjs",
"description": "ESLint plugin that enforces caught errors in try/catches to be reported",
"author": "Stoyan Kolev",
"repository": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const reportCaughtErrorRule = require('./rules/report-caught-error.js');
const plugin = {
meta: {
name: '@arabasta/eslint-plugin-report-caught-error',
version: '1.0.5',
version: '1.0.6',
},
configs: {},
rules: {
Expand Down

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

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@arabasta/eslint-plugin-require-useeffect-dependency-array",
"version": "1.0.8",
"version": "1.0.9",
"type": "commonjs",
"description": "ESLint plugin that enforces that React useEffect has a dependency array",
"author": "Stoyan Kolev",
"repository": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const requireDependencyArrayRule = require('./rules/require-useeffect-dependency
const plugin = {
meta: {
name: '@arabasta/eslint-plugin-require-useeffect-dependency-array',
version: '1.0.8',
version: '1.0.9',
},
configs: {},
rules: {
Expand Down

0 comments on commit 2ab12b8

Please sign in to comment.