@entur/typography 2.0.0-beta.0 → 2.0.0-beta.1

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": "@entur/typography",
3
- "version": "2.0.0-beta.0",
3
+ "version": "2.0.0-beta.1",
4
4
  "license": "SEE LICENSE IN README.md",
5
5
  "type": "module",
6
6
  "main": "./dist/typography.cjs.js",
@@ -82,5 +82,5 @@
82
82
  "vite": "^7.1.3",
83
83
  "vite-plugin-dts": "^4.5.4"
84
84
  },
85
- "gitHead": "0090c978785d0236137da414aee60795c2bf01e2"
85
+ "gitHead": "4ca471ab86d5b40be5a87eb41b352bf37b476db2"
86
86
  }
@@ -75,12 +75,19 @@ try {
75
75
  '❌ Error: The "glob" package is required to run this migration script.',
76
76
  );
77
77
  console.error('');
78
- console.error('Please install it:');
78
+ console.error('Please install it first:');
79
79
  console.error(' npm install glob');
80
80
  console.error(' yarn add glob');
81
+ console.error(' pnpm add glob');
81
82
  console.error('');
82
- console.error('Or use npx which will handle dependencies automatically:');
83
+ console.error('Then run the migration:');
83
84
  console.error(' npx @entur/typography@latest migrate');
85
+ console.error(' yarn dlx @entur/typography@latest migrate');
86
+ console.error('');
87
+ console.error('📚 For more information, see:');
88
+ console.error(
89
+ ' https://linje.entur.no/komponenter/ressurser/typography-migration',
90
+ );
84
91
  console.error('');
85
92
  process.exit(1);
86
93
  }
@@ -1297,6 +1304,12 @@ async function main() {
1297
1304
  console.log(' # Local development');
1298
1305
  console.log(' npm run migrate');
1299
1306
  console.log('');
1307
+ console.log('📋 Prerequisites:');
1308
+ console.log(' - Install glob package: npm install glob');
1309
+ console.log(
1310
+ ' - Or use npx/yarn dlx which handles dependencies automatically',
1311
+ );
1312
+ console.log('');
1300
1313
  console.log('Options:');
1301
1314
  console.log(
1302
1315
  ' --dry-run Show what would be changed without modifying files',