@01-edu/shared 1.2.11 → 1.2.14

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/attrs-defs.js CHANGED
@@ -203,6 +203,18 @@ attrs.allowedFunctions = {
203
203
  raid: sharedAllowedFunctions,
204
204
  }
205
205
 
206
+ // this is for error handling on module graph display
207
+ const sharedInvalidRequirements = {
208
+ type: 'boolean',
209
+ required: true,
210
+ private: true,
211
+ label: 'Show invalid requirements',
212
+ }
213
+ attrs.showInvalidRequirements = {
214
+ project: sharedInvalidRequirements,
215
+ piscine: sharedInvalidRequirements,
216
+ }
217
+
206
218
  const autoValidateLabel = 'Automatic success'
207
219
  const autoValidateWhereLabel = `${autoValidateLabel} if`
208
220
  const autoRejectWhereLabel = `Automatic reject if`
@@ -2826,6 +2838,7 @@ types.skills = {
2826
2838
  required: true,
2827
2839
  }
2828
2840
  const sharedRewards = {
2841
+ private: true,
2829
2842
  required: true,
2830
2843
  label: 'Reward conditions',
2831
2844
  instruction: 'Conditions to collect xp and skills when succeeded',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@01-edu/shared",
3
- "version": "1.2.11",
3
+ "version": "1.2.14",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "scripts": {
@@ -242,12 +242,28 @@ export const skillsSet = {
242
242
  name: 'Git',
243
243
  type: 'technology',
244
244
  },
245
-
246
- // employability
247
245
  employability: {
248
246
  name: 'Employability',
249
247
  type: 'employability',
250
248
  },
249
+ 'personal-development': {
250
+ name: 'Personal Development',
251
+ description:
252
+ 'Focuses on self-awareness, self-management, communication, and core values to build a strong personal foundation for growth and autonomy.',
253
+ type: 'lifeskills',
254
+ },
255
+ 'relational-development': {
256
+ name: 'Relational Development',
257
+ description:
258
+ 'Develops the ability to connect with others through assertiveness, empathy, and resilience, enabling healthy collaboration and conflict management.',
259
+ type: 'lifeskills',
260
+ },
261
+ 'professional-development': {
262
+ name: 'Professional Development',
263
+ description:
264
+ 'Strengthens strategic thinking, leadership, and professional presence to drive impact, solve complex problems, and succeed in professional environments.',
265
+ type: 'lifeskills',
266
+ },
251
267
  }
252
268
 
253
269
  export const skillTiers = [
@@ -281,6 +297,12 @@ export const skillTypes = [
281
297
  description:
282
298
  'Develops professional readiness through personal branding, digital presence, and job search strategies—including portfolio building, CV writing, and effective networking.',
283
299
  },
300
+ {
301
+ type: 'lifeskills',
302
+ name: 'Life Skills',
303
+ description:
304
+ 'Builds essential personal, relational, and professional competencies through structured learning and practical activities, strengthening communication, collaboration, resilience, and leadership.',
305
+ },
284
306
  ]
285
307
 
286
308
  export const hasRequiredSkills = (requiredSkills, userSkills) =>