@forwardslashns/taskit-validation-messages 1.10.69 → 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.
@@ -5,12 +5,6 @@ export declare const TASKS: {
5
5
  params: string[];
6
6
  affectedFields: string[];
7
7
  };
8
- NOT_FILING_TYPE: {
9
- severity: "error";
10
- message: string;
11
- params: string[];
12
- affectedFields: string[];
13
- };
14
8
  CANNOT_MARK_FINAL_HAS_LATER_FILINGS: {
15
9
  severity: "error";
16
10
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"tasks.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/tasks.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkKhB,CAAC"}
1
+ {"version":3,"file":"tasks.validation-messages.d.ts","sourceRoot":"","sources":["../../../src/validation/features/tasks.validation-messages.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4JhB,CAAC"}
@@ -9,12 +9,6 @@ exports.TASKS = (0, validation_message_types_1.defineValidationFeatureMessages)(
9
9
  params: ['taskId'],
10
10
  affectedFields: ['taskId'],
11
11
  },
12
- NOT_FILING_TYPE: {
13
- severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
14
- message: 'Task {taskId} is not a Filing type task. Only Filing tasks support this operation.',
15
- params: ['taskId'],
16
- affectedFields: ['taskId'],
17
- },
18
12
  CANNOT_MARK_FINAL_HAS_LATER_FILINGS: {
19
13
  severity: validation_message_types_1.VALIDATION_SEVERITY.ERROR,
20
14
  message: "This filing cannot be marked Final, since there are other filings after this filing's ending period. Only the last filing can be marked final.",
@@ -2429,12 +2429,6 @@ export declare const VALIDATION_MESSAGES: {
2429
2429
  params: string[];
2430
2430
  affectedFields: string[];
2431
2431
  };
2432
- NOT_FILING_TYPE: {
2433
- severity: "error";
2434
- message: string;
2435
- params: string[];
2436
- affectedFields: string[];
2437
- };
2438
2432
  CANNOT_MARK_FINAL_HAS_LATER_FILINGS: {
2439
2433
  severity: "error";
2440
2434
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"validation-messages.d.ts","sourceRoot":"","sources":["../../src/validation/validation-messages.ts"],"names":[],"mappings":"AAiCA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCtB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardslashns/taskit-validation-messages",
3
- "version": "1.10.69",
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();
@@ -7,12 +7,6 @@ export const TASKS = defineValidationFeatureMessages({
7
7
  params: ['taskId'],
8
8
  affectedFields: ['taskId'],
9
9
  },
10
- NOT_FILING_TYPE: {
11
- severity: VALIDATION_SEVERITY.ERROR,
12
- message: 'Task {taskId} is not a Filing type task. Only Filing tasks support this operation.',
13
- params: ['taskId'],
14
- affectedFields: ['taskId'],
15
- },
16
10
  CANNOT_MARK_FINAL_HAS_LATER_FILINGS: {
17
11
  severity: VALIDATION_SEVERITY.ERROR,
18
12
  message: