@jtl-software/eslint-plugin-posthog 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/dependabot.yml +19 -0
- package/README.md +0 -14
- package/package.json +5 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
# Enable version updates for npm dependencies
|
|
4
|
+
- package-ecosystem: "npm"
|
|
5
|
+
directory: "/"
|
|
6
|
+
schedule:
|
|
7
|
+
interval: "weekly"
|
|
8
|
+
open-pull-requests-limit: 5
|
|
9
|
+
groups:
|
|
10
|
+
dependencies:
|
|
11
|
+
patterns:
|
|
12
|
+
- "*"
|
|
13
|
+
|
|
14
|
+
# Enable version updates for GitHub Actions
|
|
15
|
+
- package-ecosystem: "github-actions"
|
|
16
|
+
directory: "/"
|
|
17
|
+
schedule:
|
|
18
|
+
interval: "weekly"
|
|
19
|
+
open-pull-requests-limit: 5
|
package/README.md
CHANGED
|
@@ -115,20 +115,6 @@ To test the plugin in your project before publishing:
|
|
|
115
115
|
|
|
116
116
|
3. Add the plugin to your ESLint config as shown above
|
|
117
117
|
|
|
118
|
-
### CI/CD
|
|
119
|
-
|
|
120
|
-
This project uses GitHub Actions for continuous integration and deployment:
|
|
121
|
-
|
|
122
|
-
- **Tests** run automatically on every push and pull request
|
|
123
|
-
- **Publishing to npm** happens automatically when pushing to the `main` branch
|
|
124
|
-
|
|
125
|
-
To set up automatic publishing, add an `NPM_TOKEN` secret to your GitHub repository:
|
|
126
|
-
|
|
127
|
-
1. Generate an npm access token at https://www.npmjs.com/settings/tokens
|
|
128
|
-
2. Go to your repository settings on GitHub
|
|
129
|
-
3. Navigate to Settings → Secrets and variables → Actions
|
|
130
|
-
4. Add a new repository secret named `NPM_TOKEN` with your npm token
|
|
131
|
-
|
|
132
118
|
## License
|
|
133
119
|
|
|
134
120
|
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jtl-software/eslint-plugin-posthog",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "ESLint rules for PostHog event tracking best practices",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
],
|
|
14
14
|
"author": "JTL Platform Team",
|
|
15
15
|
"license": "MIT",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/jtl-software/eslint-plugin-posthog.git"
|
|
19
|
+
},
|
|
16
20
|
"peerDependencies": {
|
|
17
21
|
"eslint": "^9.0.0"
|
|
18
22
|
},
|