➕ add TailwindCSS
+ a lot of node_modules?? unsure what happened
This commit is contained in:
parent
2ba37bfbe3
commit
bb41712ce4
1088 changed files with 224305 additions and 175 deletions
2
node_modules/jiti/dist/babel.d.ts
generated
vendored
Normal file
2
node_modules/jiti/dist/babel.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
import { TransformOptions, TRANSFORM_RESULT } from "./types";
|
||||
export default function transform(opts: TransformOptions): TRANSFORM_RESULT;
|
1887
node_modules/jiti/dist/babel.js
generated
vendored
Normal file
1887
node_modules/jiti/dist/babel.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
19
node_modules/jiti/dist/jiti.d.ts
generated
vendored
Normal file
19
node_modules/jiti/dist/jiti.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
/// <reference types="node" />
|
||||
import { Module } from "module";
|
||||
import { TransformOptions, JITIOptions } from "./types";
|
||||
export type { JITIOptions, TransformOptions } from "./types";
|
||||
type Require = typeof require;
|
||||
type Module = typeof module;
|
||||
type ModuleCache = Record<string, Module>;
|
||||
export type EvalModuleOptions = Partial<{
|
||||
id: string;
|
||||
filename: string;
|
||||
ext: string;
|
||||
cache: ModuleCache;
|
||||
}>;
|
||||
export interface JITI extends Require {
|
||||
transform: (opts: TransformOptions) => string;
|
||||
register: () => () => void;
|
||||
evalModule: (source: string, options?: EvalModuleOptions) => unknown;
|
||||
}
|
||||
export default function createJITI(_filename: string, opts?: JITIOptions, parentModule?: Module, parentCache?: ModuleCache): JITI;
|
1
node_modules/jiti/dist/jiti.js
generated
vendored
Normal file
1
node_modules/jiti/dist/jiti.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
4
node_modules/jiti/dist/plugins/babel-plugin-transform-import-meta.d.ts
generated
vendored
Normal file
4
node_modules/jiti/dist/plugins/babel-plugin-transform-import-meta.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
import type { PluginObj } from "@babel/core";
|
||||
export declare function TransformImportMetaPlugin(_ctx: any, opts: {
|
||||
filename?: string;
|
||||
}): PluginObj<import("@babel/core").PluginPass>;
|
32
node_modules/jiti/dist/plugins/import-meta-env.d.ts
generated
vendored
Normal file
32
node_modules/jiti/dist/plugins/import-meta-env.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
/**
|
||||
* Based on https://github.com/iendeavor/import-meta-env/tree/main/packages/babel 0.4.2 (MIT)
|
||||
|
||||
Modified to use runtime only without dotenv dependency
|
||||
|
||||
---
|
||||
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2021 Ernest
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
import type BabelCore from "@babel/core";
|
||||
export declare const accessor = "process.env";
|
||||
export declare function importMetaEnvPlugin({ template, types }: any): BabelCore.PluginObj<BabelCore.PluginPass>;
|
30
node_modules/jiti/dist/types.d.ts
generated
vendored
Normal file
30
node_modules/jiti/dist/types.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
export type TransformOptions = {
|
||||
source: string;
|
||||
filename?: string;
|
||||
ts?: boolean;
|
||||
retainLines?: boolean;
|
||||
legacy?: boolean;
|
||||
[key: string]: any;
|
||||
};
|
||||
export type TRANSFORM_RESULT = {
|
||||
code: string;
|
||||
error?: any;
|
||||
};
|
||||
export type JITIOptions = {
|
||||
transform?: (opts: TransformOptions) => TRANSFORM_RESULT;
|
||||
debug?: boolean;
|
||||
cache?: boolean | string;
|
||||
sourceMaps?: boolean;
|
||||
requireCache?: boolean;
|
||||
v8cache?: boolean;
|
||||
interopDefault?: boolean;
|
||||
esmResolve?: boolean;
|
||||
cacheVersion?: string;
|
||||
onError?: (error: Error) => void;
|
||||
legacy?: boolean;
|
||||
extensions?: string[];
|
||||
transformOptions?: Omit<TransformOptions, "source">;
|
||||
alias?: Record<string, string>;
|
||||
nativeModules?: string[];
|
||||
transformModules?: string[];
|
||||
};
|
8
node_modules/jiti/dist/utils.d.ts
generated
vendored
Normal file
8
node_modules/jiti/dist/utils.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
import type { PackageJson } from "pkg-types";
|
||||
export declare function getCacheDir(): string;
|
||||
export declare function isDir(filename: string): boolean;
|
||||
export declare function isWritable(filename: string): boolean;
|
||||
export declare function md5(content: string, len?: number): string;
|
||||
export declare function detectLegacySyntax(code: string): RegExpMatchArray | null;
|
||||
export declare function isObject(val: any): boolean;
|
||||
export declare function readNearestPackageJSON(path: string): PackageJson | undefined;
|
Loading…
Add table
Add a link
Reference in a new issue