Skip to content

Commit 48ac309

Browse files
The "eslint-config-modular" package is now just a wrapper around the scoped "@jsdevtools/eslint-config-modular" package
1 parent 0aa77d1 commit 48ac309

File tree

19 files changed

+104
-0
lines changed

19 files changed

+104
-0
lines changed

.github/workflows/CI-CD.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,15 @@ jobs:
9393
uses: JS-DevTools/npm-publish@v1
9494
with:
9595
token: ${{ secrets.NPM_TOKEN }}
96+
97+
- name: Prepare the non-scoped packaged
98+
run: |
99+
cp LICENSE *.md dist
100+
VERSION=$(node -e "console.log(require('./package.json').version)")
101+
sed -i "s/X.X.X/${VERSION}/g" dist/package.json
102+
103+
- name: Publish the non-scoped package to NPM
104+
uses: JS-DevTools/npm-publish@v1
105+
with:
106+
token: ${{ secrets.NPM_TOKEN }}
107+
package: dist/package.json

dist/best-practices/bugs.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"use strict";
2+
module.exports = require("@jsdevtools/eslint-config-modular/best-practices/bugs");

dist/best-practices/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"use strict";
2+
module.exports = require("@jsdevtools/eslint-config-modular/best-practices");

dist/best-practices/security.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"use strict";
2+
module.exports = require("@jsdevtools/eslint-config-modular/best-practices/security");

dist/browser/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"use strict";
2+
module.exports = require("@jsdevtools/eslint-config-modular/browser");

dist/browser/jsx.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"use strict";
2+
module.exports = require("@jsdevtools/eslint-config-modular/browser/jsx");

dist/es5/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"use strict";
2+
module.exports = require("@jsdevtools/eslint-config-modular/es5");

dist/es6/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"use strict";
2+
module.exports = require("@jsdevtools/eslint-config-modular/es6");

dist/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"use strict";
2+
module.exports = require("@jsdevtools/eslint-config-modular");

dist/modules/cjs.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"use strict";
2+
module.exports = require("@jsdevtools/eslint-config-modular/modules/cjs");

0 commit comments

Comments
 (0)