@forwardslashns/taskit-validation-messages 1.10.71 → 1.10.74

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/publish.js +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.10.71",
3
+ "version": "1.10.74",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "commonjs",
package/publish.js CHANGED
@@ -43,6 +43,12 @@ const validateToken = () => {
43
43
  console.log('NPM_TOKEN verified.');
44
44
  };
45
45
 
46
+ const setupPnpmToken = () => {
47
+ execSync(`pnpm config set "//registry.npmjs.org/:_authToken" "${process.env.NPM_TOKEN}"`, {
48
+ stdio: 'ignore'
49
+ });
50
+ };
51
+
46
52
  const updateLockFile = () => {
47
53
  try {
48
54
  console.log('Updating package-lock.json...');
@@ -81,6 +87,7 @@ const executePublish = () => {
81
87
 
82
88
  const main = () => {
83
89
  loadEnvironmentVariables();
90
+ setupPnpmToken();
84
91
  validateToken();
85
92
  const newVersion = bumpPatchVersion();
86
93
  updateLockFile();