Skip to content

Commit 043dfd4

Browse files
committedJul 17, 2023
fix: verify new build process works
1 parent f884f3d commit 043dfd4

9 files changed

+216
-558
lines changed
 

‎.github/workflows/publish-npm.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
node-version: 18
1616
cache: pnpm
1717
- run: pnpm install
18-
- run: pnpm -r publish --access public
18+
- run: pnpm publish --access public
1919
env:
2020
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

‎.github/workflows/release.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131
plugins: sentence-case
3232
bump-minor-pre-major: true
3333
bump-patch-for-minor-pre-major: true
34-
path: ./packages/jcamp
3534
changelog-types: >
3635
[
3736
{ "type": "feat", "section": "✨ Features" },
@@ -54,6 +53,6 @@ jobs:
5453
if: ${{ steps.release.outputs.release_created }}
5554
run: |
5655
pnpm install
57-
pnpm -r publish --access public
56+
pnpm publish --access public
5857
env:
5958
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

‎.prettierrc.js

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
const baseConfig = require('@jcamp/eslint-config/.prettierrc.js')
2-
1+
// prettier.config.js
2+
// some of these match the current Prettier defaults, but are left in for clarity
33
module.exports = {
4-
...baseConfig,
5-
/* make any changes here */
4+
arrowParens: 'always',
5+
bracketSameLine: false,
6+
endOfLine: 'lf',
7+
printWidth: 100,
8+
singleQuote: true,
9+
trailingComma: 'all',
10+
semi: false,
11+
singleAttributePerLine: false,
12+
plugins: ['prettier-plugin-tailwindcss'],
613
}

‎packages/jcamp/index.js ‎index.js

File renamed without changes.

‎package.json

+24-16
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,34 @@
11
{
2-
"name": "@jcamp/eslint-config-monorepo",
3-
"private": true,
4-
"packageManager": "pnpm@8.6.7",
2+
"name": "@jcamp/eslint-config",
3+
"version": "0.8.0",
4+
"description": "JohnCampionJr's ESLint config",
55
"author": "John Campion (https://github.com/JohnCampionJr/)",
66
"license": "MIT",
7+
"homepage": "https://github.com/jcamp/eslint-config",
8+
"keywords": [
9+
"eslint-config",
10+
"prettier"
11+
],
12+
"main": "index.js",
13+
"files": [
14+
"index.js",
15+
".prettierrc.js"
16+
],
717
"scripts": {
818
"lint": "eslint .",
9-
"format": "prettier . --check",
10-
"release": "bumpp package.json packages/*/package.json --commit --push --tag && pnpm -r publish --access public"
19+
"format": "prettier . --check"
20+
},
21+
"peerDependencies": {
22+
"eslint": ">=8.45.0",
23+
"prettier": ">=3.0.0"
24+
},
25+
"dependencies": {
26+
"@antfu/eslint-config-vue": "^0.39.8",
27+
"eslint-config-prettier": "^8.8.0",
28+
"prettier-plugin-tailwindcss": "^0.4.1"
1129
},
1230
"devDependencies": {
13-
"@jcamp/eslint-config": "workspace:*",
14-
"bumpp": "^9.1.1",
1531
"eslint": "^8.45.0",
16-
"typescript": "^5.1.6"
17-
},
18-
"pnpm": {
19-
"peerDependencyRules": {
20-
"ignoreMissing": [
21-
"webpack",
22-
"vue"
23-
]
24-
}
32+
"prettier": "^3.0.0"
2533
}
2634
}

‎packages/jcamp/.prettierrc.js

-13
This file was deleted.

‎packages/jcamp/package.json

-30
This file was deleted.

‎pnpm-lock.yaml

+179-489
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pnpm-workspace.yaml

-3
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.