@oss-ma/tpl 1.0.26 → 1.0.27

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": "@oss-ma/tpl",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "Generate, enforce and maintain clean project architectures",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,5 +1,3 @@
1
- # cli/resources/templates/react-ts/template.yaml
2
-
3
1
  name: react-ts
4
2
  version: 1.0.0
5
3
  description: "Template React + TypeScript (Vite) with lint/format/test/build + CI + ADR"
@@ -19,44 +17,11 @@ hooks:
19
17
  postGenerate:
20
18
  - run: "git init"
21
19
 
22
- # npm — frozen install, no scripts
23
20
  - run: "npm install --ignore-scripts"
24
21
  when: "{{packageManager}} == npm"
25
22
 
26
- # pnpm — frozen install, no scripts
27
- - run: "pnpm install --frozen-lockfile --ignore-scripts"
23
+ - run: "pnpm install --ignore-scripts"
28
24
  when: "{{packageManager}} == pnpm"
29
25
 
30
- # yarn — frozen install, no scripts
31
- - run: "yarn install --frozen-lockfile --ignore-scripts"
32
- when: "{{packageManager}} == yarn"
33
-
34
- # Run tests after install (safe — no scripts flag only applies to lifecycle scripts)
35
- - run: "npm run test"
36
- when: "{{packageManager}} == npm"
37
-
38
- - run: "pnpm run test"
39
- when: "{{packageManager}} == pnpm"
40
-
41
- - run: "yarn test"
42
- when: "{{packageManager}} == yarn"
43
- # name: react-ts
44
- # version: 1.0.0
45
- # description: "Template React + TypeScript (Vite) with lint/format/test/build + CI + ADR"
46
- # engine: "v1"
47
-
48
- # questions:
49
- # - name: appName
50
- # message: "Nom du projet ?"
51
- # default: "my-react-app"
52
-
53
- # - name: packageManager
54
- # message: "Package manager ?"
55
- # choices: ["npm", "pnpm", "yarn"]
56
- # default: "npm"
57
-
58
- # hooks:
59
- # postGenerate:
60
- # - run: "git init"
61
- # - run: "{{packageManager}} ci --ignore-scripts" # npm
62
- # - run: "{{packageManager}} run test"
26
+ - run: "yarn install --ignore-scripts"
27
+ when: "{{packageManager}} == yarn"