create-absolutejs 0.13.0 → 0.13.1

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/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 res = await fetch(`https://registry.npmjs.org/${name}/latest`);
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
  }
@@ -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.948";
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.948',
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.948",
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",
@@ -51,5 +51,5 @@
51
51
  "typecheck": "bun run tsc --noEmit"
52
52
  },
53
53
  "type": "module",
54
- "version": "0.13.0"
54
+ "version": "0.13.1"
55
55
  }