@raisenow/tamaro-cli 1.2.0 → 1.3.0

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 (72) hide show
  1. package/.history/.nvmrc_20250729181039 +1 -0
  2. package/.history/{CHANGELOG_20250625142901.md → CHANGELOG_20250729195139.md} +6 -0
  3. package/.history/{CHANGELOG_20250624055156.md → CHANGELOG_20250729195148.md} +10 -4
  4. package/.history/{CHANGELOG_20250625142902.md → CHANGELOG_20250729195156.md} +6 -0
  5. package/.history/CHANGELOG_20250729195218.md +29 -0
  6. package/.history/{CHANGELOG_20250625142852.md → CHANGELOG_20250729195223.md} +4 -2
  7. package/.history/CHANGELOG_20250729195506.md +29 -0
  8. package/.history/CHANGELOG_20250729224404.md +30 -0
  9. package/.history/CHANGELOG_20250729224411.md +30 -0
  10. package/.history/CHANGELOG_20250730124538.md +41 -0
  11. package/.history/CHANGELOG_20250730124603.md +38 -0
  12. package/.history/CHANGELOG_20250730124627.md +36 -0
  13. package/.history/CHANGELOG_20250730124638.md +36 -0
  14. package/.history/CHANGELOG_20250730124640.md +36 -0
  15. package/.history/bitbucket-pipelines_20250729111540.yml +46 -0
  16. package/.history/bitbucket-pipelines_20250729210338.yml +46 -0
  17. package/.history/bitbucket-pipelines_20250729210340.yml +46 -0
  18. package/.history/bitbucket-pipelines_20250729210342.yml +46 -0
  19. package/.history/bitbucket-pipelines_20250729222234.yml +47 -0
  20. package/.history/bitbucket-pipelines_20250729222554.yml +47 -0
  21. package/.history/bitbucket-pipelines_20250729222555.yml +47 -0
  22. package/.history/bitbucket-pipelines_20250729223022.yml +46 -0
  23. package/.history/bitbucket-pipelines_20250729223024.yml +46 -0
  24. package/.history/{package_20241125103106.json → package_20250729182417.json} +22 -16
  25. package/.history/{package_20241125013249.json → package_20250729182419.json} +23 -18
  26. package/.history/{package_20241125014402.json → package_20250729182618.json} +21 -16
  27. package/.history/{package_20241125013228.json → package_20250729182834.json} +25 -21
  28. package/.history/{package_20241107125521.json → package_20250729183032.json} +38 -34
  29. package/.history/package_20250729183033.json +110 -0
  30. package/.history/package_20250729185750.json +110 -0
  31. package/.history/package_20250729185815.json +110 -0
  32. package/.history/package_20250729185846.json +110 -0
  33. package/.history/package_20250729185854.json +110 -0
  34. package/.history/package_20250729185943.json +110 -0
  35. package/.history/package_20250729190645.json +110 -0
  36. package/.history/package_20250729195934.json +110 -0
  37. package/.history/package_20250729200013.json +110 -0
  38. package/.history/package_20250729200056.json +110 -0
  39. package/.history/package_20250729200434.json +110 -0
  40. package/.history/package_20250729200808.json +110 -0
  41. package/.history/package_20250729200944.json +110 -0
  42. package/.history/package_20250729214420.json +114 -0
  43. package/.history/{package_20241107124611.json → package_20250729223112.json} +49 -45
  44. package/.history/package_20250729223127.json +110 -0
  45. package/.history/package_20250729223134.json +110 -0
  46. package/.history/package_20250730124647.json +114 -0
  47. package/.history/vitest.config_20250729214539.ts +0 -0
  48. package/.history/vitest.config_20250729214659.ts +24 -0
  49. package/.history/vitest.config_20250729214748.ts +21 -0
  50. package/.history/vitest.config_20250729214825.ts +21 -0
  51. package/.history/vitest.config_20250729214902.ts +21 -0
  52. package/.history/vitest.config_20250729222125.ts +20 -0
  53. package/.history/vitest.config_20250729222213.ts +20 -0
  54. package/.nvmrc +1 -1
  55. package/bitbucket-pipelines.yml +6 -2
  56. package/dist/{chunk-KVWFHWZD.js → chunk-H4BMVFM6.js} +2 -2
  57. package/dist/cli.js +156 -59
  58. package/dist/webpack.config.js +1 -1
  59. package/package.json +51 -46
  60. package/vitest.config.ts +20 -0
  61. package/.history/.nvmrc_20241125012803 +0 -1
  62. package/.history/.nvmrc_20241125022800 +0 -1
  63. package/.history/.nvmrc_20241125022806 +0 -1
  64. package/.history/CHANGELOG_20250624052910.md +0 -20
  65. package/.history/CHANGELOG_20250624055058.md +0 -23
  66. package/.history/CHANGELOG_20250624055107.md +0 -23
  67. package/.history/CHANGELOG_20250624055138.md +0 -23
  68. package/.history/CHANGELOG_20250624055200.md +0 -23
  69. package/.history/CHANGELOG_20250624055203.md +0 -23
  70. package/.history/package_20241107122123.json +0 -106
  71. package/.history/package_20241107122219.json +0 -106
  72. package/.history/package_20241107125538.json +0 -106
@@ -0,0 +1 @@
1
+ v22.17.1
@@ -9,10 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ### Added
11
11
 
12
+ - Add a step in the pipeline to run npm audit of 3rd party libraries
13
+ ([WEB-2967](https://raisenow.atlassian.net/browse/WEB-2967)).
14
+
12
15
  ### Fixed
13
16
 
14
17
  ### Changed
15
18
 
19
+ - Added validation to check that only supported Handlebars helpers are used
20
+ ([WEB-2990](https://raisenow.atlassian.net/browse/WEB-2990)).
21
+
16
22
  ## [1.2.0] - 2025-06-25
17
23
 
18
24
  ### Added
@@ -9,15 +9,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ### Added
11
11
 
12
- - Added support for CSS files with Postcss plugins to use instead of SCSS
13
- ([WEB-2561](https://raisenow.atlassian.net/browse/WEB-2561)).
12
+ - Add a step in the pipeline to run npm audit of 3rd party libraries
13
+ ([WEB-2967](https://raisenow.atlassian.net/browse/WEB-2967)).
14
14
 
15
15
  ### Fixed
16
16
 
17
17
  ### Changed
18
18
 
19
- ## [1.2.0] - 2025-06-23
19
+ - Added validation to check that only supported Handlebars helpers are used
20
+ ([WEB-2990](https://raisenow.atlassian.net/browse/WEB-2990)).
21
+ - Updated dependencies.
22
+
23
+ ## [1.2.0] - 2025-06-25
20
24
 
21
25
  ### Added
22
26
 
23
- - feat/add-validation-for-email-templates
27
+ - Added validation for email templates.
28
+ - Added support for CSS files with Postcss plugins to use instead of SCSS
29
+ ([WEB-2561](https://raisenow.atlassian.net/browse/WEB-2561)).
@@ -9,10 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ### Added
11
11
 
12
+ - Add a step in the pipeline to run npm audit of 3rd party libraries
13
+ ([WEB-2967](https://raisenow.atlassian.net/browse/WEB-2967)).
14
+
12
15
  ### Fixed
13
16
 
14
17
  ### Changed
15
18
 
19
+ - Added validation to check that only supported Handlebars helpers are used
20
+ ([WEB-2990](https://raisenow.atlassian.net/browse/WEB-2990)).
21
+
16
22
  ## [1.2.0] - 2025-06-25
17
23
 
18
24
  ### Added
@@ -0,0 +1,29 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ### Added
11
+
12
+ - Add a step in the pipeline to run npm audit of 3rd party libraries
13
+ ([WEB-2967](https://raisenow.atlassian.net/browse/WEB-2967)).
14
+
15
+ ### Fixed
16
+
17
+ ### Changed
18
+
19
+ - Updated dependencies.
20
+ - Added validation to check that only supported Handlebars helpers are used
21
+ ([WEB-2990](https://raisenow.atlassian.net/browse/WEB-2990)).
22
+
23
+ ## [1.2.0] - 2025-06-25
24
+
25
+ ### Added
26
+
27
+ - Added validation for email templates.
28
+ - Added support for CSS files with Postcss plugins to use instead of SCSS
29
+ ([WEB-2561](https://raisenow.atlassian.net/browse/WEB-2561)).
@@ -9,13 +9,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ### Added
11
11
 
12
- - Added support for CSS files with Postcss plugins to use instead of SCSS
13
- ([WEB-2561](https://raisenow.atlassian.net/browse/WEB-2561)).
12
+ - Add a step in the pipeline to run npm audit of 3rd party libraries
13
+ ([WEB-2967](https://raisenow.atlassian.net/browse/WEB-2967)).
14
14
 
15
15
  ### Fixed
16
16
 
17
17
  ### Changed
18
18
 
19
+ - Updated dependencies.
20
+
19
21
  ## [1.2.0] - 2025-06-25
20
22
 
21
23
  ### Added
@@ -0,0 +1,29 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ### Added
11
+
12
+ - Add a step in the pipeline to run npm audit of 3rd party libraries
13
+ ([WEB-2967](https://raisenow.atlassian.net/browse/WEB-2967)).
14
+
15
+ ### Fixed
16
+
17
+ ### Changed
18
+
19
+ - Updated dependencies.
20
+ - Added validation to check that only supported Handlebars helpers are used
21
+ ([WEB-2990](https://raisenow.atlassian.net/browse/WEB-2990)).
22
+
23
+ ## [1.2.0] - 2025-06-25
24
+
25
+ ### Added
26
+
27
+ - Added validation for email templates.
28
+ - Added support for CSS files with Postcss plugins to use instead of SCSS
29
+ ([WEB-2561](https://raisenow.atlassian.net/browse/WEB-2561)).
@@ -0,0 +1,30 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ### Added
11
+
12
+ - Add a step in the pipeline to run npm audit of 3rd party libraries
13
+ ([WEB-2967](https://raisenow.atlassian.net/browse/WEB-2967)).
14
+
15
+ ### Fixed
16
+
17
+ ### Changed
18
+
19
+ - Added validation to check that only supported Handlebars helpers are used
20
+ ([WEB-2990](https://raisenow.atlassian.net/browse/WEB-2990)).
21
+ - Updated dependencies.
22
+ - Added tests.
23
+
24
+ ## [1.2.0] - 2025-06-25
25
+
26
+ ### Added
27
+
28
+ - Added validation for email templates.
29
+ - Added support for CSS files with Postcss plugins to use instead of SCSS
30
+ ([WEB-2561](https://raisenow.atlassian.net/browse/WEB-2561)).
@@ -0,0 +1,30 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ### Added
11
+
12
+ - Add a step in the pipeline to run npm audit of 3rd party libraries
13
+ ([WEB-2967](https://raisenow.atlassian.net/browse/WEB-2967)).
14
+
15
+ ### Fixed
16
+
17
+ ### Changed
18
+
19
+ - Added validation to check that only supported Handlebars helpers are used
20
+ ([WEB-2990](https://raisenow.atlassian.net/browse/WEB-2990)).
21
+ - Updated dependencies.
22
+ - Added tests.
23
+
24
+ ## [1.2.0] - 2025-06-25
25
+
26
+ ### Added
27
+
28
+ - Added validation for email templates.
29
+ - Added support for CSS files with Postcss plugins to use instead of SCSS
30
+ ([WEB-2561](https://raisenow.atlassian.net/browse/WEB-2561)).
@@ -0,0 +1,41 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ### Added
11
+
12
+ - Add a step in the pipeline to run npm audit of 3rd party libraries
13
+ ([WEB-2967](https://raisenow.atlassian.net/browse/WEB-2967)).
14
+
15
+ ### Fixed
16
+
17
+ ### Changed
18
+
19
+ ## [1.3.0] - 2025-07-30
20
+
21
+ ### Added
22
+
23
+ - Add a step in the pipeline to run npm audit of 3rd party libraries
24
+ ([WEB-2967](https://raisenow.atlassian.net/browse/WEB-2967)).
25
+
26
+ ### Fixed
27
+
28
+ ### Changed
29
+
30
+ - Added validation to check that only supported Handlebars helpers are used
31
+ ([WEB-2990](https://raisenow.atlassian.net/browse/WEB-2990)).
32
+ - Updated dependencies.
33
+ - Added tests.
34
+
35
+ ## [1.2.0] - 2025-06-25
36
+
37
+ ### Added
38
+
39
+ - Added validation for email templates.
40
+ - Added support for CSS files with Postcss plugins to use instead of SCSS
41
+ ([WEB-2561](https://raisenow.atlassian.net/browse/WEB-2561)).
@@ -0,0 +1,38 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ### Added
11
+
12
+ ### Fixed
13
+
14
+ ### Changed
15
+
16
+ ## [1.3.0] - 2025-07-30
17
+
18
+ ### Added
19
+
20
+ - Added a step in the pipeline to run npm audit of 3rd party libraries
21
+ ([WEB-2967](https://raisenow.atlassian.net/browse/WEB-2967)).
22
+ - Added validation to check that only supported Handlebars helpers are used
23
+ ([WEB-2990](https://raisenow.atlassian.net/browse/WEB-2990)).
24
+
25
+ ### Fixed
26
+
27
+ ### Changed
28
+
29
+ - Updated dependencies.
30
+ - Added tests.
31
+
32
+ ## [1.2.0] - 2025-06-25
33
+
34
+ ### Added
35
+
36
+ - Added validation for email templates.
37
+ - Added support for CSS files with Postcss plugins to use instead of SCSS
38
+ ([WEB-2561](https://raisenow.atlassian.net/browse/WEB-2561)).
@@ -0,0 +1,36 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ### Added
11
+
12
+ ### Fixed
13
+
14
+ ### Changed
15
+
16
+ ## [1.3.0] - 2025-07-30
17
+
18
+ ### Added
19
+
20
+ - Added a step in the pipeline to run npm audit of 3rd party libraries
21
+ ([WEB-2967](https://raisenow.atlassian.net/browse/WEB-2967)).
22
+ - Added validation to check that only supported Handlebars helpers are used
23
+ ([WEB-2990](https://raisenow.atlassian.net/browse/WEB-2990)).
24
+ - Added tests.
25
+
26
+ ### Changed
27
+
28
+ - Updated dependencies.
29
+
30
+ ## [1.2.0] - 2025-06-25
31
+
32
+ ### Added
33
+
34
+ - Added validation for email templates.
35
+ - Added support for CSS files with Postcss plugins to use instead of SCSS
36
+ ([WEB-2561](https://raisenow.atlassian.net/browse/WEB-2561)).
@@ -0,0 +1,36 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ### Added
11
+
12
+ ### Fixed
13
+
14
+ ### Changed
15
+
16
+ ## [1.3.0] - 2025-07-30
17
+
18
+ ### Added
19
+
20
+ - Added a step in the pipeline to run npm audit of 3rd party libraries
21
+ ([WEB-2967](https://raisenow.atlassian.net/browse/WEB-2967)).
22
+ - Added validation to check that only supported Handlebars helpers are used
23
+ ([WEB-2990](https://raisenow.atlassian.net/browse/WEB-2990)).
24
+ - Added tests.
25
+
26
+ ### Changed
27
+
28
+ - Updated dependencies.
29
+
30
+ ## [1.2.0] - 2025-06-25
31
+
32
+ ### Added
33
+
34
+ - Added validation for email templates.
35
+ - Added support for CSS files with Postcss plugins to use instead of SCSS
36
+ ([WEB-2561](https://raisenow.atlassian.net/browse/WEB-2561)).
@@ -0,0 +1,36 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ### Added
11
+
12
+ ### Fixed
13
+
14
+ ### Changed
15
+
16
+ ## [1.3.0] - 2025-07-30
17
+
18
+ ### Added
19
+
20
+ - Added a step in the pipeline to run npm audit of 3rd party libraries
21
+ ([WEB-2967](https://raisenow.atlassian.net/browse/WEB-2967)).
22
+ - Added validation to check that only supported Handlebars helpers are used
23
+ ([WEB-2990](https://raisenow.atlassian.net/browse/WEB-2990)).
24
+ - Added tests.
25
+
26
+ ### Changed
27
+
28
+ - Updated dependencies.
29
+
30
+ ## [1.2.0] - 2025-06-25
31
+
32
+ ### Added
33
+
34
+ - Added validation for email templates.
35
+ - Added support for CSS files with Postcss plugins to use instead of SCSS
36
+ ([WEB-2561](https://raisenow.atlassian.net/browse/WEB-2561)).
@@ -0,0 +1,46 @@
1
+ image: node:20.18
2
+
3
+ definitions:
4
+ caches:
5
+ node:
6
+ key:
7
+ files:
8
+ - pnpm-lock.yaml
9
+ - package.json
10
+ path: node_modules
11
+ pnpm:
12
+ key:
13
+ files:
14
+ - pnpm-lock.yaml
15
+ - package.json
16
+ path: $BITBUCKET_CLONE_DIR/.pnpm-store
17
+ scripts:
18
+ initialize: &initialize |-
19
+ corepack enable pnpm
20
+ corepack prepare --activate
21
+ steps:
22
+ - step: &install
23
+ name: Install dependencies
24
+ caches:
25
+ - node
26
+ - pnpm
27
+ script:
28
+ - *initialize
29
+ - pnpm install --prefer-offline
30
+ - step: &check
31
+ name: Check
32
+ caches:
33
+ - node
34
+ - pnpm
35
+ script:
36
+ - *initialize
37
+ - pnpm lint
38
+ - pnpm tscheck
39
+ # Do not bother for dev deps
40
+ # @see https://raisenow.atlassian.net/wiki/spaces/PD/pages/5680037889/TP+RFC+014+-+Unsafe+Outdated+Libraries+Upgrades#Regular-upgrade-of-NPM-libraries-versions
41
+ - pnpm audit --audit-level=critical --prod
42
+
43
+ pipelines:
44
+ default:
45
+ - step: *install
46
+ - step: *check
@@ -0,0 +1,46 @@
1
+ image: node:20.18
2
+
3
+ definitions:
4
+ caches:
5
+ node:
6
+ key:
7
+ files:
8
+ - pnpm-lock.yaml
9
+ - package.json
10
+ path: node_modules
11
+ pnpm:
12
+ key:
13
+ files:
14
+ - pnpm-lock.yaml
15
+ - package.json
16
+ path: $BITBUCKET_CLONE_DIR/.pnpm-store
17
+ scripts:
18
+ initialize: &initialize |-
19
+ corepack enable pnpm
20
+ corepack prepare --activate
21
+ steps:
22
+ - step: &install
23
+ name: Install dependencies
24
+ caches:
25
+ - node
26
+ - pnpm
27
+ script:
28
+ - *initialize
29
+ - pnpm install --prefer-offline
30
+ - step: &check
31
+ name: Check
32
+ caches:
33
+ - node
34
+ - pnpm
35
+ script:
36
+ - *initialize
37
+ - pnpm lint
38
+ - pnpm typecheck
39
+ # Do not bother for dev deps
40
+ # @see https://raisenow.atlassian.net/wiki/spaces/PD/pages/5680037889/TP+RFC+014+-+Unsafe+Outdated+Libraries+Upgrades#Regular-upgrade-of-NPM-libraries-versions
41
+ - pnpm audit --audit-level=critical --prod
42
+
43
+ pipelines:
44
+ default:
45
+ - step: *install
46
+ - step: *check
@@ -0,0 +1,46 @@
1
+ image: node:20.18
2
+
3
+ definitions:
4
+ caches:
5
+ node:
6
+ key:
7
+ files:
8
+ - pnpm-lock.yaml
9
+ - package.json
10
+ path: node_modules
11
+ pnpm:
12
+ key:
13
+ files:
14
+ - pnpm-lock.yaml
15
+ - package.json
16
+ path: $BITBUCKET_CLONE_DIR/.pnpm-store
17
+ scripts:
18
+ initialize: &initialize |-
19
+ corepack enable pnpm
20
+ corepack prepare --activate
21
+ steps:
22
+ - step: &install
23
+ name: Install dependencies
24
+ caches:
25
+ - node
26
+ - pnpm
27
+ script:
28
+ - *initialize
29
+ - pnpm install --prefer-offline
30
+ - step: &check
31
+ name: Check
32
+ caches:
33
+ - node
34
+ - pnpm
35
+ script:
36
+ - *initialize
37
+ - pnpm lint
38
+ - pnpm typecheck
39
+ # Do not bother for dev deps
40
+ # @see https://raisenow.atlassian.net/wiki/spaces/PD/pages/5680037889/TP+RFC+014+-+Unsafe+Outdated+Libraries+Upgrades#Regular-upgrade-of-NPM-libraries-versions
41
+ - pnpm audit --audit-level=critical --prod
42
+
43
+ pipelines:
44
+ default:
45
+ - step: *install
46
+ - step: *check
@@ -0,0 +1,46 @@
1
+ image: node:20.18
2
+
3
+ definitions:
4
+ caches:
5
+ node:
6
+ key:
7
+ files:
8
+ - pnpm-lock.yaml
9
+ - package.json
10
+ path: node_modules
11
+ pnpm:
12
+ key:
13
+ files:
14
+ - pnpm-lock.yaml
15
+ - package.json
16
+ path: $BITBUCKET_CLONE_DIR/.pnpm-store
17
+ scripts:
18
+ initialize: &initialize |-
19
+ corepack enable pnpm
20
+ corepack prepare --activate
21
+ steps:
22
+ - step: &install
23
+ name: Install dependencies
24
+ caches:
25
+ - node
26
+ - pnpm
27
+ script:
28
+ - *initialize
29
+ - pnpm install --prefer-offline
30
+ - step: &check
31
+ name: Check
32
+ caches:
33
+ - node
34
+ - pnpm
35
+ script:
36
+ - *initialize
37
+ - pnpm lint
38
+ - pnpm typecheck
39
+ # Do not bother for dev deps
40
+ # @see https://raisenow.atlassian.net/wiki/spaces/PD/pages/5680037889/TP+RFC+014+-+Unsafe+Outdated+Libraries+Upgrades#Regular-upgrade-of-NPM-libraries-versions
41
+ - pnpm audit --audit-level=critical --prod
42
+
43
+ pipelines:
44
+ default:
45
+ - step: *install
46
+ - step: *check
@@ -0,0 +1,47 @@
1
+ image: node:20.18
2
+
3
+ definitions:
4
+ caches:
5
+ node:
6
+ key:
7
+ files:
8
+ - pnpm-lock.yaml
9
+ - package.json
10
+ path: node_modules
11
+ pnpm:
12
+ key:
13
+ files:
14
+ - pnpm-lock.yaml
15
+ - package.json
16
+ path: $BITBUCKET_CLONE_DIR/.pnpm-store
17
+ scripts:
18
+ initialize: &initialize |-
19
+ corepack enable pnpm
20
+ corepack prepare --activate
21
+ steps:
22
+ - step: &install
23
+ name: Install dependencies
24
+ caches:
25
+ - node
26
+ - pnpm
27
+ script:
28
+ - *initialize
29
+ - pnpm install --prefer-offline
30
+ - step: &check
31
+ name: Check
32
+ caches:
33
+ - node
34
+ - pnpm
35
+ script:
36
+ - *initialize
37
+ - pnpm lint
38
+ - pnpm typecheck
39
+ - pnpm test
40
+ # Do not bother for dev deps
41
+ # @see https://raisenow.atlassian.net/wiki/spaces/PD/pages/5680037889/TP+RFC+014+-+Unsafe+Outdated+Libraries+Upgrades#Regular-upgrade-of-NPM-libraries-versions
42
+ - pnpm audit --audit-level=critical --prod
43
+
44
+ pipelines:
45
+ default:
46
+ - step: *install
47
+ - step: *check
@@ -0,0 +1,47 @@
1
+ image: node:22
2
+
3
+ definitions:
4
+ caches:
5
+ node:
6
+ key:
7
+ files:
8
+ - pnpm-lock.yaml
9
+ - package.json
10
+ path: node_modules
11
+ pnpm:
12
+ key:
13
+ files:
14
+ - pnpm-lock.yaml
15
+ - package.json
16
+ path: $BITBUCKET_CLONE_DIR/.pnpm-store
17
+ scripts:
18
+ initialize: &initialize |-
19
+ corepack enable pnpm
20
+ corepack prepare --activate
21
+ steps:
22
+ - step: &install
23
+ name: Install dependencies
24
+ caches:
25
+ - node
26
+ - pnpm
27
+ script:
28
+ - *initialize
29
+ - pnpm install --prefer-offline
30
+ - step: &check
31
+ name: Check
32
+ caches:
33
+ - node
34
+ - pnpm
35
+ script:
36
+ - *initialize
37
+ - pnpm lint
38
+ - pnpm typecheck
39
+ - pnpm test
40
+ # Do not bother for dev deps
41
+ # @see https://raisenow.atlassian.net/wiki/spaces/PD/pages/5680037889/TP+RFC+014+-+Unsafe+Outdated+Libraries+Upgrades#Regular-upgrade-of-NPM-libraries-versions
42
+ - pnpm audit --audit-level=critical --prod
43
+
44
+ pipelines:
45
+ default:
46
+ - step: *install
47
+ - step: *check