@docupace/pipeline 1.1.1 → 1.1.2

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.
File without changes
File without changes
File without changes
File without changes
package/next/changeset.sh CHANGED
File without changes
package/next/copy.sh CHANGED
File without changes
package/next/deploy.sh CHANGED
File without changes
package/next/execute.sh CHANGED
File without changes
package/next/sonar.sh CHANGED
File without changes
package/package.json CHANGED
@@ -1,19 +1,9 @@
1
1
  {
2
2
  "name": "@docupace/pipeline",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
7
- "scripts": {
8
- "prepublishOnly": "pnpm test",
9
- "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage --testPathIgnorePatterns='src/next/test\\.js'",
10
- "test-deploy-core": "dp-next-cli deploy-core-pipeline dev template",
11
- "test-deploy-from-site": "dp-next-cli deploy-from-site --from-env dev --to-env dev --from-site financialdev --to-site template --deploy-core true",
12
- "test-run-pipline": "dp-next-cli run-pipeline -r docupace-next-e2e -b master -p run-tests-qa",
13
- "test-validate": "dp-changset-cli validate",
14
- "test-create": "dp-changset-cli create-changeset",
15
- "lint:fix": "eslint --fix \"src/**/*.{js,jsx,ts,tsx}\""
16
- },
17
7
  "exports": {
18
8
  "./changelogCanny": "./src/changeset/changelog-module.cjs"
19
9
  },
@@ -63,5 +53,14 @@
63
53
  "globals": "^15.14.0",
64
54
  "jest": "^30.4.2",
65
55
  "prettier": "^3.4.2"
56
+ },
57
+ "scripts": {
58
+ "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage --testPathIgnorePatterns='src/next/test\\.js'",
59
+ "test-deploy-core": "dp-next-cli deploy-core-pipeline dev template",
60
+ "test-deploy-from-site": "dp-next-cli deploy-from-site --from-env dev --to-env dev --from-site financialdev --to-site template --deploy-core true",
61
+ "test-run-pipline": "dp-next-cli run-pipeline -r docupace-next-e2e -b master -p run-tests-qa",
62
+ "test-validate": "dp-changset-cli validate",
63
+ "test-create": "dp-changset-cli create-changeset",
64
+ "lint:fix": "eslint --fix \"src/**/*.{js,jsx,ts,tsx}\""
66
65
  }
67
- }
66
+ }
@@ -1,6 +1,3 @@
1
- packages:
2
- - '.'
3
-
4
1
  allowBuilds:
5
2
  '@parcel/watcher': true
6
3
  esbuild: true
package/src/auth0/cli.js CHANGED
File without changes
File without changes
@@ -33,6 +33,13 @@ const getChangeSetPackage = (installLatest = false) => `{
33
33
  }
34
34
  `;
35
35
 
36
+ // pnpm 11+ fails installs that contain unreviewed dependency build scripts.
37
+ // @parcel/watcher is only reached through jest-haste-map's watch mode, so its
38
+ // build is explicitly skipped; any other new build script still fails loudly.
39
+ const CHANGESET_WORKSPACE = `allowBuilds:
40
+ '@parcel/watcher': false
41
+ `;
42
+
36
43
  export async function loadChangesetOutput() {
37
44
  const outputPath = './changeset-output.json';
38
45
  const jsonOutput = JSON.parse(await fs.promises.readFile(outputPath, 'utf8'));
@@ -74,13 +81,21 @@ export async function versionCommand(
74
81
  await setGitInfo();
75
82
  await $`mv package.json package.json.bak`;
76
83
  await $`mv pnpm-lock.yaml pnpm-lock.yaml.bak`;
84
+ const hasWorkspaceFile = fs.existsSync('pnpm-workspace.yaml');
85
+ if (hasWorkspaceFile) {
86
+ await $`mv pnpm-workspace.yaml pnpm-workspace.yaml.bak`;
87
+ }
88
+ await fs.promises.writeFile('pnpm-workspace.yaml', CHANGESET_WORKSPACE);
77
89
  await fs.promises.writeFile(
78
90
  'package.json',
79
91
  getChangeSetPackage(installLatest),
80
92
  );
81
93
  await $`npm config set //registry.npmjs.org/:_authToken ${process.env.DOCUPACE_NPM_TOKEN}`;
82
94
  await $`pnpm install --filter .`;
83
- await $`rm package.json pnpm-lock.yaml`;
95
+ await $`rm package.json pnpm-lock.yaml pnpm-workspace.yaml`;
96
+ if (hasWorkspaceFile) {
97
+ await $`mv pnpm-workspace.yaml.bak pnpm-workspace.yaml`;
98
+ }
84
99
  await $`mv package.json.bak package.json`;
85
100
  await $`mv pnpm-lock.yaml.bak pnpm-lock.yaml`;
86
101
  }
package/src/merge/cli.js CHANGED
File without changes
package/src/micro/cli.js CHANGED
File without changes
File without changes
File without changes
package/src/next/cli.js CHANGED
File without changes
File without changes
File without changes
package/src/xray/cli.js CHANGED
File without changes
package/terraform/init.sh CHANGED
File without changes