create-absolutejs 0.13.0 → 0.13.2
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/LICENSE +22 -14
- package/dist/types.d.ts +1 -70
- package/dist/utils/getPackageVersion.js +3 -1
- package/dist/versions.d.ts +1 -1
- package/dist/versions.js +1 -1
- package/package.json +3 -2
package/LICENSE
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
**Licensor:** Alex Kahn
|
|
4
4
|
|
|
5
|
-
**Licensed Work:**
|
|
5
|
+
**Licensed Work:** @absolutejs/create-absolutejs (https://github.com/absolutejs/create-absolutejs)
|
|
6
6
|
|
|
7
|
-
**Change Date:**
|
|
7
|
+
**Change Date:** May 29, 2030
|
|
8
8
|
|
|
9
9
|
**Change License:** Apache License, Version 2.0
|
|
10
10
|
|
|
@@ -22,28 +22,29 @@ You may use the Licensed Work in production, provided your use does not include
|
|
|
22
22
|
any of the following:
|
|
23
23
|
|
|
24
24
|
1. **Offering a Competing Service.** You may not offer the Licensed Work, or
|
|
25
|
-
any derivative of it, to third parties as a hosted or
|
|
26
|
-
competes with the Licensed Work
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
provided to users).
|
|
25
|
+
any derivative or substantial portion of it, to third parties as a hosted or
|
|
26
|
+
managed service that competes with a hosted AbsoluteJS project-scaffolding, code-generation, or web-IDE service that incorporates the Licensed Work as a primary feature. This includes any
|
|
27
|
+
product whose primary value to its users is the functionality the Licensed
|
|
28
|
+
Work provides.
|
|
30
29
|
|
|
31
30
|
2. **Resale or Redistribution as a Standalone Product.** You may not sell,
|
|
32
31
|
license, or distribute the Licensed Work, or any derivative or fork of it,
|
|
33
|
-
as a standalone commercial product
|
|
32
|
+
as a standalone commercial product.
|
|
34
33
|
|
|
35
34
|
3. **Removal of Attribution.** Any derivative work, fork, or redistribution of
|
|
36
35
|
the Licensed Work must prominently credit AbsoluteJS and include a link to
|
|
37
|
-
the original project repository (https://github.com/absolutejs/absolutejs).
|
|
36
|
+
the original project repository (https://github.com/absolutejs/create-absolutejs).
|
|
38
37
|
|
|
39
38
|
For clarity, the following uses are expressly permitted:
|
|
40
39
|
|
|
41
|
-
- Using
|
|
42
|
-
SaaS products (whether commercial or non-commercial)
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
- Using the Licensed Work to build and operate your own applications, websites,
|
|
41
|
+
internal tools, or SaaS products (whether commercial or non-commercial), so
|
|
42
|
+
long as the Licensed Work itself is not the primary product you are selling.
|
|
43
|
+
- Using the Licensed Work as a dependency in commercial software you build and
|
|
44
|
+
sell, as long as the software is not itself a competing managed service of
|
|
45
|
+
the kind described in clause 1.
|
|
45
46
|
- Providing consulting, development, or professional services to clients using
|
|
46
|
-
|
|
47
|
+
the Licensed Work.
|
|
47
48
|
- Forking and modifying the Licensed Work for your own internal use, provided
|
|
48
49
|
attribution is maintained.
|
|
49
50
|
|
|
@@ -54,6 +55,13 @@ specify by written notice, the Licensed Work will be made available under the
|
|
|
54
55
|
Change License (Apache License, Version 2.0). Until the Change Date, the terms
|
|
55
56
|
of this Business Source License 1.1 apply.
|
|
56
57
|
|
|
58
|
+
### Trademark
|
|
59
|
+
|
|
60
|
+
This license does not grant you any rights to use the "AbsoluteJS" or
|
|
61
|
+
"@absolutejs" name, logo, or any related trademarks. Forks and derivative works
|
|
62
|
+
must not be named or branded in a manner that suggests endorsement by or
|
|
63
|
+
affiliation with AbsoluteJS or the Licensor.
|
|
64
|
+
|
|
57
65
|
### Notices
|
|
58
66
|
|
|
59
67
|
You must not remove or obscure any licensing, copyright, or other notices
|
package/dist/types.d.ts
CHANGED
|
@@ -67,73 +67,4 @@ type DeepUndefined<T> = T extends object ? {
|
|
|
67
67
|
export type ArgumentConfiguration = {
|
|
68
68
|
[K in keyof CreateConfiguration]: DeepUndefined<CreateConfiguration[K]> | undefined;
|
|
69
69
|
};
|
|
70
|
-
export type PackageJson
|
|
71
|
-
name: string;
|
|
72
|
-
version: string;
|
|
73
|
-
description?: string;
|
|
74
|
-
keywords?: string[];
|
|
75
|
-
main?: string;
|
|
76
|
-
module?: string;
|
|
77
|
-
browser?: string | Record<string, string>;
|
|
78
|
-
types?: string;
|
|
79
|
-
typings?: string;
|
|
80
|
-
exports?: string | Record<string, string | Record<string, string>>;
|
|
81
|
-
imports?: Record<string, string>;
|
|
82
|
-
bin?: string | Record<string, string>;
|
|
83
|
-
files?: string[];
|
|
84
|
-
scripts?: Record<string, string>;
|
|
85
|
-
private?: boolean;
|
|
86
|
-
publishConfig?: {
|
|
87
|
-
registry?: string;
|
|
88
|
-
[key: string]: unknown;
|
|
89
|
-
};
|
|
90
|
-
dependencies?: Record<string, string>;
|
|
91
|
-
devDependencies?: Record<string, string>;
|
|
92
|
-
peerDependencies?: Record<string, string>;
|
|
93
|
-
optionalDependencies?: Record<string, string>;
|
|
94
|
-
bundledDependencies?: string[];
|
|
95
|
-
bundleDependencies?: string[];
|
|
96
|
-
engines?: {
|
|
97
|
-
node?: string;
|
|
98
|
-
npm?: string;
|
|
99
|
-
[key: string]: string | undefined;
|
|
100
|
-
};
|
|
101
|
-
os?: string[];
|
|
102
|
-
cpu?: string[];
|
|
103
|
-
workspaces?: string[] | {
|
|
104
|
-
packages: string[];
|
|
105
|
-
nohoist?: string[];
|
|
106
|
-
};
|
|
107
|
-
repository?: string | {
|
|
108
|
-
type?: 'git' | string;
|
|
109
|
-
url: string;
|
|
110
|
-
directory?: string;
|
|
111
|
-
};
|
|
112
|
-
bugs?: string | {
|
|
113
|
-
url?: string;
|
|
114
|
-
email?: string;
|
|
115
|
-
};
|
|
116
|
-
homepage?: string;
|
|
117
|
-
author?: string | {
|
|
118
|
-
name: string;
|
|
119
|
-
email?: string;
|
|
120
|
-
url?: string;
|
|
121
|
-
};
|
|
122
|
-
contributors?: Array<string | {
|
|
123
|
-
name: string;
|
|
124
|
-
email?: string;
|
|
125
|
-
url?: string;
|
|
126
|
-
}>;
|
|
127
|
-
license?: string;
|
|
128
|
-
funding?: string | Array<{
|
|
129
|
-
type?: string;
|
|
130
|
-
url: string;
|
|
131
|
-
}>;
|
|
132
|
-
preferGlobal?: boolean;
|
|
133
|
-
sideEffects?: boolean | string[];
|
|
134
|
-
config?: Record<string, unknown>;
|
|
135
|
-
resolution?: Record<string, string>;
|
|
136
|
-
resolutions?: Record<string, string>;
|
|
137
|
-
[customField: string]: unknown;
|
|
138
|
-
};
|
|
139
|
-
export {};
|
|
70
|
+
export type { PackageJson } from '@absolutejs/absolute';
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
const h2IfHttps = (url) => url.startsWith('https://') ? { protocol: 'http2' } : {};
|
|
1
2
|
export const getPackageVersions = async (packageNames) => {
|
|
2
3
|
const results = await Promise.all(packageNames.map(async (name) => {
|
|
3
4
|
try {
|
|
4
|
-
const
|
|
5
|
+
const target = `https://registry.npmjs.org/${name}/latest`;
|
|
6
|
+
const res = await fetch(target, h2IfHttps(target));
|
|
5
7
|
const data = (await res.json());
|
|
6
8
|
return [name, data.version];
|
|
7
9
|
}
|
package/dist/versions.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Run `bun run check-versions` to compare against latest npm versions.
|
|
5
5
|
*/
|
|
6
6
|
export declare const versions: {
|
|
7
|
-
readonly '@absolutejs/absolute': "0.19.0-beta.
|
|
7
|
+
readonly '@absolutejs/absolute': "0.19.0-beta.1014";
|
|
8
8
|
readonly '@absolutejs/auth': "0.22.7";
|
|
9
9
|
readonly '@angular/common': "21.2.0";
|
|
10
10
|
readonly '@angular/compiler': "21.2.0";
|
package/dist/versions.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export const versions = {
|
|
7
7
|
/* ── Core ─────────────────────────────────────────────── */
|
|
8
|
-
'@absolutejs/absolute': '0.19.0-beta.
|
|
8
|
+
'@absolutejs/absolute': '0.19.0-beta.1014',
|
|
9
9
|
'@absolutejs/auth': '0.22.7',
|
|
10
10
|
/* ── Angular ─────────────────────────────────────────── */
|
|
11
11
|
'@angular/common': '21.2.0',
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
},
|
|
11
11
|
"description": "A CLI tool to create a new AbsoluteJS project",
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"@absolutejs/absolute": "0.19.0-beta.
|
|
13
|
+
"@absolutejs/absolute": "0.19.0-beta.1014",
|
|
14
14
|
"@eslint/compat": "2.0.2",
|
|
15
15
|
"@stylistic/eslint-plugin": "5.9.0",
|
|
16
16
|
"@types/bun": "1.3.8",
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "rm -rf dist && tsc --project tsconfig.build.json && cp -R src/templates dist/templates",
|
|
45
45
|
"check-versions": "bun scripts/check-versions.ts",
|
|
46
|
+
"config": "absolute config",
|
|
46
47
|
"dev": "bun scripts/dev.ts",
|
|
47
48
|
"format": "absolute prettier --write",
|
|
48
49
|
"lint": "absolute eslint --ignore-pattern 'absolutejs-project/**'",
|
|
@@ -51,5 +52,5 @@
|
|
|
51
52
|
"typecheck": "bun run tsc --noEmit"
|
|
52
53
|
},
|
|
53
54
|
"type": "module",
|
|
54
|
-
"version": "0.13.
|
|
55
|
+
"version": "0.13.2"
|
|
55
56
|
}
|