@typeform/eslint-config 7.1.0-beta.7 → 7.1.0-beta.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typeform/eslint-config",
3
- "version": "7.1.0-beta.7",
3
+ "version": "7.1.0-beta.9",
4
4
  "description": "ESLint configuration for Typeform front-end projects",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -24,8 +24,7 @@
24
24
  "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
25
25
  "eslint": "eslint",
26
26
  "lint": "yarn run eslint .",
27
- "publish:npm": "yarn build && npm config set @typeform:registry https://registry.npmjs.org/ && npm publish --provenance --access public",
28
- "publish:github": "npm config set @typeform:registry https://npm.pkg.github.com/ && npm config set '//npm.pkg.github.com/:_authToken' \"${GH_TOKEN}\" && npm publish --tag beta"
27
+ "publish:npm": "yarn build && npm config set @typeform:registry https://registry.npmjs.org/ && npm publish --provenance --access public"
29
28
  },
30
29
  "lint-staged": {
31
30
  "*.{js,ts}": "yarn run eslint --fix",
@@ -96,7 +95,7 @@
96
95
  [
97
96
  "@semantic-release/exec",
98
97
  {
99
- "successCmd": "yarn run publish:github"
98
+ "publishCmd": "npm config set @typeform:registry https://npm.pkg.github.com/ && npm config set '//npm.pkg.github.com/:_authToken' \"<%= envCi.GH_TOKEN %>\" && npm publish --tag ${nextRelease.channel || 'latest'}"
100
99
  }
101
100
  ]
102
101
  ]