@rxap/plugin-angular 16.1.0-dev.1 → 16.1.0-dev.3
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/CHANGELOG.md +12 -0
- package/README.md +18 -1
- package/executors.json +9 -0
- package/package.json +10 -4
- package/src/executors/tailwind/executor.d.ts +5 -0
- package/src/executors/tailwind/executor.js +29 -0
- package/src/executors/tailwind/executor.js.map +1 -0
- package/src/executors/tailwind/schema.d.ts +6 -0
- package/src/executors/tailwind/schema.json +26 -0
- package/src/generators/init-library/generator.js +73 -11
- package/src/generators/init-library/generator.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [16.1.0-dev.3](https://gitlab.com/rxap/packages/compare/@rxap/plugin-angular@16.1.0-dev.2...@rxap/plugin-angular@16.1.0-dev.3) (2023-08-01)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- add browser-tailwind as imp dep if project has tailwind configuration ([6ea13c5](https://gitlab.com/rxap/packages/commit/6ea13c5f9b4e652436bf1da879b564d1ed7b8061))
|
|
11
|
+
|
|
12
|
+
# [16.1.0-dev.2](https://gitlab.com/rxap/packages/compare/@rxap/plugin-angular@16.1.0-dev.1...@rxap/plugin-angular@16.1.0-dev.2) (2023-08-01)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- add tailwind generator ([7834bf4](https://gitlab.com/rxap/packages/commit/7834bf4ac81c730553d196b5f2f823e8dfe83dd8))
|
|
17
|
+
|
|
6
18
|
# [16.1.0-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/plugin-angular@16.1.0-dev.0...@rxap/plugin-angular@16.1.0-dev.1) (2023-08-01)
|
|
7
19
|
|
|
8
20
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
- [Installation](#installation)
|
|
11
11
|
- [Generators](#generators)
|
|
12
|
+
- [Executors](#executors)
|
|
12
13
|
|
|
13
14
|
# Installation
|
|
14
15
|
|
|
@@ -18,7 +19,7 @@ yarn add @rxap/plugin-angular
|
|
|
18
19
|
```
|
|
19
20
|
**Install peer dependencies:**
|
|
20
21
|
```bash
|
|
21
|
-
yarn add @nx/devkit@^16.5.0 @rxap/generator-utilities@^1.0.1-dev.
|
|
22
|
+
yarn add @nx/devkit@^16.5.0 @rxap/generator-utilities@^1.0.1-dev.3 @rxap/plugin-utilities@^16.1.0-dev.0 @rxap/schematics-ts-morph@^16.0.0-dev.5 @rxap/workspace-ts-morph@^0.0.2-dev.0 @rxap/workspace-utilities@^0.1.0-dev.0 nx@^16.5.0 ts-morph@^18.0.0
|
|
22
23
|
```
|
|
23
24
|
**Execute the init generator:**
|
|
24
25
|
```bash
|
|
@@ -60,3 +61,19 @@ yarn nx g @rxap/plugin-angular:fix-schematic
|
|
|
60
61
|
```bash
|
|
61
62
|
yarn nx g @rxap/plugin-angular:schematic
|
|
62
63
|
```
|
|
64
|
+
# Executors
|
|
65
|
+
|
|
66
|
+
## tailwind
|
|
67
|
+
> tailwind executor
|
|
68
|
+
|
|
69
|
+
**project.json**
|
|
70
|
+
```json
|
|
71
|
+
{
|
|
72
|
+
"targets": {
|
|
73
|
+
"tailwind": {
|
|
74
|
+
"executor": "@rxap/plugin-angular:tailwind"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|
package/executors.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxap/plugin-angular",
|
|
3
|
-
"version": "16.1.0-dev.
|
|
3
|
+
"version": "16.1.0-dev.3",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"generators": "./generators.json",
|
|
6
6
|
"publishConfig": {
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@nx/devkit": "^16.5.0",
|
|
40
|
-
"@rxap/generator-utilities": "^1.0.1-dev.
|
|
40
|
+
"@rxap/generator-utilities": "^1.0.1-dev.3",
|
|
41
|
+
"@rxap/plugin-utilities": "^16.1.0-dev.0",
|
|
41
42
|
"@rxap/schematics-ts-morph": "^16.0.0-dev.5",
|
|
42
43
|
"@rxap/workspace-ts-morph": "^0.0.2-dev.0",
|
|
43
44
|
"@rxap/workspace-utilities": "^0.1.0-dev.0",
|
|
@@ -51,7 +52,11 @@
|
|
|
51
52
|
"packageGroup": [
|
|
52
53
|
{
|
|
53
54
|
"package": "@rxap/generator-utilities",
|
|
54
|
-
"version": "1.0.1-dev.
|
|
55
|
+
"version": "1.0.1-dev.3"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"package": "@rxap/plugin-utilities",
|
|
59
|
+
"version": "16.1.0-dev.0"
|
|
55
60
|
},
|
|
56
61
|
{
|
|
57
62
|
"package": "@rxap/schematics-ts-morph",
|
|
@@ -67,7 +72,8 @@
|
|
|
67
72
|
}
|
|
68
73
|
]
|
|
69
74
|
},
|
|
70
|
-
"
|
|
75
|
+
"executors": "./executors.json",
|
|
76
|
+
"gitHead": "7f6659b846dcf3884a3ac68ff2c8e1d6a3438a73",
|
|
71
77
|
"main": "./src/index.js",
|
|
72
78
|
"types": "./src/index.d.ts"
|
|
73
79
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const plugin_utilities_1 = require("@rxap/plugin-utilities");
|
|
5
|
+
const run_commands_impl_1 = require("nx/src/executors/run-commands/run-commands.impl");
|
|
6
|
+
function runExecutor(options, context) {
|
|
7
|
+
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
8
|
+
console.log('Executor ran for Tailwind', options);
|
|
9
|
+
const projectRoot = (0, plugin_utilities_1.GetProjectRoot)(context);
|
|
10
|
+
const args = [
|
|
11
|
+
['config', options.config],
|
|
12
|
+
['input', options.input],
|
|
13
|
+
['output', options.output],
|
|
14
|
+
];
|
|
15
|
+
if (options.minify) {
|
|
16
|
+
args.push(['minify']);
|
|
17
|
+
}
|
|
18
|
+
const argsString = args.map(([key, value]) => value ? `--${key} ${value}` : `--${key}`).join(' ');
|
|
19
|
+
const command = `tailwindcss ${argsString}`;
|
|
20
|
+
console.log('command: ', command);
|
|
21
|
+
return (0, run_commands_impl_1.default)({
|
|
22
|
+
cwd: projectRoot,
|
|
23
|
+
command,
|
|
24
|
+
__unparsed__: [],
|
|
25
|
+
}, context);
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
exports.default = runExecutor;
|
|
29
|
+
//# sourceMappingURL=executor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/angular/src/executors/tailwind/executor.ts"],"names":[],"mappings":";;;AACA,6DAAwD;AACxD,uFAAkE;AAGlE,SAA8B,WAAW,CAAC,OAA+B,EAAE,OAAwB;;QACjG,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,OAAO,CAAC,CAAC;QAElD,MAAM,WAAW,GAAG,IAAA,iCAAc,EAAC,OAAO,CAAC,CAAC;QAE5C,MAAM,IAAI,GAAG;YACX,CAAE,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAE;YAC5B,CAAE,OAAO,EAAE,OAAO,CAAC,KAAK,CAAE;YAC1B,CAAE,QAAQ,EAAE,OAAO,CAAC,MAAM,CAAE;SAC7B,CAAC;QAEF,IAAI,OAAO,CAAC,MAAM,EAAE;YAClB,IAAI,CAAC,IAAI,CAAC,CAAE,QAAQ,CAAE,CAAC,CAAC;SACzB;QAED,MAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAE,GAAG,EAAE,KAAK,CAAE,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,KAAM,GAAI,IAAK,KAAM,EAAE,CAAC,CAAC,CAAC,KAAM,GAAI,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAE1G,MAAM,OAAO,GAAG,eAAgB,UAAW,EAAE,CAAC;QAE9C,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;QAElC,OAAO,IAAA,2BAAG,EAAC;YACT,GAAG,EAAE,WAAW;YAChB,OAAO;YACP,YAAY,EAAE,EAAE;SACjB,EAAE,OAAO,CAAC,CAAC;IACd,CAAC;CAAA;AA1BD,8BA0BC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"version": 2,
|
|
4
|
+
"title": "Tailwind executor",
|
|
5
|
+
"description": "",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"config": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"default": "tailwind.config.js"
|
|
11
|
+
},
|
|
12
|
+
"input": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"default": "src/styles/theme.scss"
|
|
15
|
+
},
|
|
16
|
+
"output": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"default": "theme.css"
|
|
19
|
+
},
|
|
20
|
+
"minify": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"default": false
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": []
|
|
26
|
+
}
|
|
@@ -4,6 +4,7 @@ exports.initLibraryGenerator = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const devkit_1 = require("@nx/devkit");
|
|
6
6
|
const generator_utilities_1 = require("@rxap/generator-utilities");
|
|
7
|
+
const workspace_utilities_1 = require("@rxap/workspace-utilities");
|
|
7
8
|
const path_1 = require("path");
|
|
8
9
|
const skip_project_1 = require("../../lib/skip-project");
|
|
9
10
|
function hasIndexScss(tree, project) {
|
|
@@ -18,6 +19,9 @@ function readNgPackageJson(tree, project) {
|
|
|
18
19
|
function writeNgPackageJson(tree, project, ngPackageJson) {
|
|
19
20
|
(0, devkit_1.writeJson)(tree, (0, path_1.join)(project.root, 'ng-package.json'), ngPackageJson);
|
|
20
21
|
}
|
|
22
|
+
function hasTailwindConfig(tree, project) {
|
|
23
|
+
return tree.exists((0, path_1.join)(project.root, 'tailwind.config.js'));
|
|
24
|
+
}
|
|
21
25
|
function updateProjectNgPackageConfiguration(tree, project) {
|
|
22
26
|
var _a;
|
|
23
27
|
const ngPackageJson = readNgPackageJson(tree, project);
|
|
@@ -33,14 +37,35 @@ function updateProjectNgPackageConfiguration(tree, project) {
|
|
|
33
37
|
glob: '_index.scss',
|
|
34
38
|
output: '.',
|
|
35
39
|
};
|
|
40
|
+
const assetStyles = 'theme.css';
|
|
36
41
|
if (hasIndexScss(tree, project)) {
|
|
37
42
|
(0, generator_utilities_1.CoerceAssets)(ngPackageJson.assets, [assetThemes, assetIndex]);
|
|
38
43
|
}
|
|
39
44
|
else {
|
|
40
45
|
(0, generator_utilities_1.RemoveAssets)(ngPackageJson.assets, [assetThemes, assetIndex]);
|
|
41
46
|
}
|
|
47
|
+
if (hasTailwindConfig(tree, project)) {
|
|
48
|
+
(0, generator_utilities_1.CoerceAssets)(ngPackageJson.assets, [assetStyles]);
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
(0, generator_utilities_1.RemoveAssets)(ngPackageJson.assets, [assetStyles]);
|
|
52
|
+
}
|
|
42
53
|
writeNgPackageJson(tree, project, ngPackageJson);
|
|
43
54
|
}
|
|
55
|
+
function coerceTailwindThemeScss(tree, project) {
|
|
56
|
+
const themeScssPath = (0, path_1.join)(project.sourceRoot, 'styles/theme.scss');
|
|
57
|
+
if (hasTailwindConfig(tree, project)) {
|
|
58
|
+
if (!tree.exists(themeScssPath)) {
|
|
59
|
+
tree.write(themeScssPath, '@tailwind components;\n@tailwind utilities;');
|
|
60
|
+
}
|
|
61
|
+
(0, generator_utilities_1.CoerceIgnorePattern)(tree, (0, path_1.join)(project.root, '.gitignore'), ['theme.css']);
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
if (tree.exists(themeScssPath)) {
|
|
65
|
+
tree.delete(themeScssPath);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
44
69
|
function skipProject(tree, options, project, projectName) {
|
|
45
70
|
if ((0, skip_project_1.SkipNonAngularProject)(tree, options, project, projectName)) {
|
|
46
71
|
return true;
|
|
@@ -53,7 +78,6 @@ function skipProject(tree, options, project, projectName) {
|
|
|
53
78
|
function extendAngularSpecificEslint(tree, project) {
|
|
54
79
|
const projectRoot = project.root;
|
|
55
80
|
const relativeToAngularRoot = (0, path_1.relative)(projectRoot, 'packages/angular');
|
|
56
|
-
console.log('relativeToAngularRoot', relativeToAngularRoot);
|
|
57
81
|
const extendsPath = relativeToAngularRoot + '/.eslintrc.json';
|
|
58
82
|
const eslintConfigFilaPath = `${projectRoot}/.eslintrc.json`;
|
|
59
83
|
const defaultEslintConfig = {
|
|
@@ -67,8 +91,9 @@ function extendAngularSpecificEslint(tree, project) {
|
|
|
67
91
|
tree.write(eslintConfigFilaPath, JSON.stringify(defaultEslintConfig, null, 2));
|
|
68
92
|
}
|
|
69
93
|
}
|
|
70
|
-
function updateProjectTargets(project) {
|
|
71
|
-
var _a;
|
|
94
|
+
function updateProjectTargets(tree, project) {
|
|
95
|
+
var _a, _b;
|
|
96
|
+
var _c;
|
|
72
97
|
(_a = project.targets) !== null && _a !== void 0 ? _a : (project.targets = {});
|
|
73
98
|
project.targets['check-version'] = {
|
|
74
99
|
executor: '@rxap/plugin-library:check-version',
|
|
@@ -76,18 +101,51 @@ function updateProjectTargets(project) {
|
|
|
76
101
|
packageName: '@angular/core',
|
|
77
102
|
},
|
|
78
103
|
};
|
|
104
|
+
if (hasTailwindConfig(tree, project)) {
|
|
105
|
+
(_b = (_c = project.targets)['build-tailwind']) !== null && _b !== void 0 ? _b : (_c['build-tailwind'] = {
|
|
106
|
+
executor: '@rxap/plugin-angular:tailwind',
|
|
107
|
+
configurations: {
|
|
108
|
+
production: {
|
|
109
|
+
minify: true,
|
|
110
|
+
},
|
|
111
|
+
development: {},
|
|
112
|
+
},
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
else {
|
|
116
|
+
if (project.targets['build-tailwind']) {
|
|
117
|
+
delete project.targets['build-tailwind'];
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
function isRxapPackagesProject(tree) {
|
|
122
|
+
const rootPackageJson = (0, devkit_1.readJson)(tree, 'package.json');
|
|
123
|
+
return rootPackageJson.name === 'rxap';
|
|
79
124
|
}
|
|
80
125
|
function setGeneralTargetDefaults(tree) {
|
|
81
|
-
var _a, _b, _c, _d;
|
|
82
|
-
var _e;
|
|
83
126
|
const nxJson = (0, devkit_1.readNxJson)(tree);
|
|
84
|
-
(
|
|
85
|
-
(
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
127
|
+
(0, workspace_utilities_1.CoerceTargetDefaultsDependency)(nxJson, 'build', 'check-version');
|
|
128
|
+
(0, workspace_utilities_1.CoerceTargetDefaultsDependency)(nxJson, 'build', '^build');
|
|
129
|
+
(0, workspace_utilities_1.CoerceTargetDefaultsDependency)(nxJson, 'build', 'build-tailwind');
|
|
130
|
+
(0, workspace_utilities_1.CoerceTargetDefaultsDependency)(nxJson, 'build-tailwind', {
|
|
131
|
+
target: 'build',
|
|
132
|
+
projects: [
|
|
133
|
+
'browser-tailwind',
|
|
134
|
+
],
|
|
135
|
+
});
|
|
89
136
|
(0, devkit_1.updateNxJson)(tree, nxJson);
|
|
90
137
|
}
|
|
138
|
+
function addImplicitDependency(tree, project) {
|
|
139
|
+
var _a;
|
|
140
|
+
(_a = project.implicitDependencies) !== null && _a !== void 0 ? _a : (project.implicitDependencies = []);
|
|
141
|
+
if (project.implicitDependencies.includes('browser-tailwind')) {
|
|
142
|
+
project.implicitDependencies =
|
|
143
|
+
project.implicitDependencies.filter((dependency) => dependency !== 'browser-tailwind');
|
|
144
|
+
}
|
|
145
|
+
if (!project.implicitDependencies.length) {
|
|
146
|
+
delete project.implicitDependencies;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
91
149
|
function initLibraryGenerator(tree, options) {
|
|
92
150
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
93
151
|
console.log('angular library init generator:', options);
|
|
@@ -99,7 +157,11 @@ function initLibraryGenerator(tree, options) {
|
|
|
99
157
|
console.log(`init project: ${projectName}`);
|
|
100
158
|
updateProjectNgPackageConfiguration(tree, project);
|
|
101
159
|
extendAngularSpecificEslint(tree, project);
|
|
102
|
-
|
|
160
|
+
coerceTailwindThemeScss(tree, project);
|
|
161
|
+
updateProjectTargets(tree, project);
|
|
162
|
+
if (isRxapPackagesProject(tree)) {
|
|
163
|
+
addImplicitDependency(tree, project);
|
|
164
|
+
}
|
|
103
165
|
(0, devkit_1.updateProjectConfiguration)(tree, project.name, project);
|
|
104
166
|
}
|
|
105
167
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/angular/src/generators/init-library/generator.ts"],"names":[],"mappings":";;;;AAAA,uCASoB;AACpB,
|
|
1
|
+
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/angular/src/generators/init-library/generator.ts"],"names":[],"mappings":";;;;AAAA,uCASoB;AACpB,mEAOmC;AACnC,mEAA2E;AAC3E,+BAGc;AACd,yDAA+D;AAI/D,SAAS,YAAY,CAAC,IAAU,EAAE,OAA6B;IAC7D,OAAO,IAAI,CAAC,MAAM,CAAC,IAAA,WAAI,EAAC,OAAO,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC;AAC9D,CAAC;A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