@ngrs/build 0.1.0 → 0.2.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.
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# `@ngrs/build`
|
|
2
2
|
|
|
3
|
-
Drop-in 1:1 Rust-native replacement for `@angular/build` (`application`, `browser-esbuild`, `browser`, `dev-server`, `unit-test` with Vitest + `happy-dom`, and `extract-i18n`), powered by `@ngrs/
|
|
3
|
+
Drop-in 1:1 Rust-native replacement for `@angular/build` (`application`, `browser-esbuild`, `browser`, `dev-server`, `unit-test` with Vitest + `happy-dom`, and `extract-i18n`), powered by `@ngrs/compiler` and Vite 8 Rolldown.
|
|
4
4
|
|
|
5
5
|
## Quick Setup (1 Command)
|
|
6
6
|
|
package/bin/ngrs.mjs
CHANGED
|
@@ -51,7 +51,7 @@ function delegateToNgrsBuild(argv) {
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
async function runLinkCommand(argv) {
|
|
54
|
-
const napi = localRequire('@ngrs/
|
|
54
|
+
const napi = localRequire('@ngrs/compiler');
|
|
55
55
|
let inputTarget = null;
|
|
56
56
|
let outputTarget = null;
|
|
57
57
|
let sourceMapping = false;
|
|
@@ -120,7 +120,7 @@ async function runLinkCommand(argv) {
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
async function runCompileOrXi18n(mode, argv) {
|
|
123
|
-
const napi = localRequire('@ngrs/
|
|
123
|
+
const napi = localRequire('@ngrs/compiler');
|
|
124
124
|
let project = 'tsconfig.json';
|
|
125
125
|
let format = 'xlf';
|
|
126
126
|
let locale;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngrs/build",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "1:1 Angular CLI compatible Application Builder, Vite Dev-Server & CLI powered by @ngrs/
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "1:1 Angular CLI compatible Application Builder, Vite Dev-Server & CLI powered by @ngrs/compiler and @ngrs/vite",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"builders": "./builders.json",
|
|
7
7
|
"schematics": "./schematics/collection.json",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"src"
|
|
53
53
|
],
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@ngrs/
|
|
56
|
-
"@ngrs/vite": "0.
|
|
55
|
+
"@ngrs/compiler": "0.2.0",
|
|
56
|
+
"@ngrs/vite": "0.2.0",
|
|
57
57
|
"happy-dom": "^20.0.0",
|
|
58
58
|
"jsonc-parser": "^3.3.1",
|
|
59
59
|
"mrmime": "^2.0.1",
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
|
|
29
29
|
const localRequire = createRequire(import.meta.url);
|
|
30
30
|
const { compileSass: nativeCompileSass, compileSassString: nativeCompileSassString } =
|
|
31
|
-
localRequire('@ngrs/
|
|
31
|
+
localRequire('@ngrs/compiler');
|
|
32
32
|
|
|
33
33
|
const { build: viteBuild } = vite;
|
|
34
34
|
const isRolldownVite = 'rolldownVersion' in vite && Boolean(vite.rolldownVersion);
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from '../../workspace.mjs';
|
|
11
11
|
|
|
12
12
|
const require = createRequire(import.meta.url);
|
|
13
|
-
const napi = require('@ngrs/
|
|
13
|
+
const napi = require('@ngrs/compiler');
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Architect-compatible `executeExtractI18nBuilder` (`@ngrs/build:extract-i18n`).
|