ipa-core 1.0.5 → 1.0.7

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.
@@ -1,2 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import('./generate-config.js');
2
+
3
+ import('file://' + new URL('./generate-config.js', import.meta.url).pathname)
4
+ .catch(err => {
5
+ console.error(err);
6
+ process.exit(1);
7
+ });
@@ -1,2 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import('./generate-conlang.js');
2
+
3
+ // Node-friendly CommonJS shim to load ES module
4
+ import('file://' + new URL('./generate-conlang.js', import.meta.url).pathname)
5
+ .catch(err => {
6
+ console.error(err);
7
+ process.exit(1);
8
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ipa-core",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Language-agnostic IPA core with features",
5
5
  "license": "ISC",
6
6
  "author": "Cody Bruno",