@plumeria/compiler 2.0.2 → 2.1.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 (2) hide show
  1. package/bin/css.js +1 -13
  2. package/package.json +1 -1
package/bin/css.js CHANGED
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  const path = require('path');
4
- const { execSync } = require('child_process');
5
4
  const { styleText } = require('util');
6
5
  const { enableCompileCache } = require('node:module');
7
6
 
@@ -13,22 +12,11 @@ register();
13
12
 
14
13
  try {
15
14
  const checkMark = styleText('greenBright', '✓');
16
- const typecheck = process.argv.includes('--type-check');
17
15
  const stats = process.argv.includes('--stats');
18
16
 
19
- if (typecheck) {
20
- execSync('tsc --noEmit --incremental false', {
21
- stdio: 'inherit',
22
- cwd: process.cwd(),
23
- });
24
- }
25
-
26
17
  require(path.resolve(__dirname, '../dist/index.js'));
27
18
 
28
- if (!stats) {
29
- const compilation = typecheck ? 'Type-check completed' : '';
30
- console.log(` ${checkMark} Compiled... ${compilation}`);
31
- }
19
+ if (!stats) console.log(` ${checkMark} Compiled...`);
32
20
  } catch (error) {
33
21
  console.error('Compilation failed:', error.message);
34
22
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/compiler",
3
- "version": "2.0.2",
3
+ "version": "2.1.0",
4
4
  "description": "Plumeria swc based compiler",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",