Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

fix: install PR 7990 + sideEffect true #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,060 changes: 1,060 additions & 0 deletions .yalc/@remix-run/dev/CHANGELOG.md

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions .yalc/@remix-run/dev/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
MIT License

Copyright (c) Remix Software Inc. 2020-2021
Copyright (c) Shopify Inc. 2022-2023

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.
13 changes: 13 additions & 0 deletions .yalc/@remix-run/dev/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Welcome to Remix!

[Remix](https://remix.run) is a web framework that helps you build better websites with React.

To get started, open a new shell and run:

```sh
npx create-remix@latest
```

Then follow the prompts you see in your terminal.

For more information about Remix, [visit remix.run](https://remix.run)!
64 changes: 64 additions & 0 deletions .yalc/@remix-run/dev/dist/_virtual/_rollupPluginBabelHelpers.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
/**
* @remix-run/dev v1.18.1
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

function _defineProperty(obj, key, value) {
key = _toPropertyKey(key);
if (key in obj) {
Object.defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}
function _toPrimitive(input, hint) {
if (typeof input !== "object" || input === null) return input;
var prim = input[Symbol.toPrimitive];
if (prim !== undefined) {
var res = prim.call(input, hint || "default");
if (typeof res !== "object") return res;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (hint === "string" ? String : Number)(input);
}
function _toPropertyKey(arg) {
var key = _toPrimitive(arg, "string");
return typeof key === "symbol" ? key : String(key);
}
function _classPrivateMethodGet(receiver, privateSet, fn) {
if (!privateSet.has(receiver)) {
throw new TypeError("attempted to get private field on non-instance");
}
return fn;
}
function _checkPrivateRedeclaration(obj, privateCollection) {
if (privateCollection.has(obj)) {
throw new TypeError("Cannot initialize the same private elements twice on an object");
}
}
function _classPrivateMethodInitSpec(obj, privateSet) {
_checkPrivateRedeclaration(obj, privateSet);
privateSet.add(obj);
}

exports.checkPrivateRedeclaration = _checkPrivateRedeclaration;
exports.classPrivateMethodGet = _classPrivateMethodGet;
exports.classPrivateMethodInitSpec = _classPrivateMethodInitSpec;
exports.defineProperty = _defineProperty;
exports.toPrimitive = _toPrimitive;
exports.toPropertyKey = _toPropertyKey;
2 changes: 2 additions & 0 deletions .yalc/@remix-run/dev/dist/cache.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export declare const putJson: (cachePath: string, key: string, data: any) => Promise<string>;
export declare const getJson: (cachePath: string, key: string) => Promise<any>;
21 changes: 21 additions & 0 deletions .yalc/@remix-run/dev/dist/cache.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
* @remix-run/dev v2.2.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var cacache = require('cacache');

const putJson = async (cachePath, key, data) => cacache.put(cachePath, key, JSON.stringify(data));
const getJson = async (cachePath, key) => cacache.get(cachePath, key).then(obj => JSON.parse(obj.data.toString("utf-8")));

exports.getJson = getJson;
exports.putJson = putJson;
7 changes: 7 additions & 0 deletions .yalc/@remix-run/dev/dist/channel.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import type { Result } from "./result";
export type Type<V, E = unknown> = {
ok: (value: V) => void;
err: (reason?: any) => void;
result: Promise<Result<V, E>>;
};
export declare const create: <V, E = unknown>() => Type<V, E>;
35 changes: 35 additions & 0 deletions .yalc/@remix-run/dev/dist/channel.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/**
* @remix-run/dev v2.2.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const create = () => {
let _resolve;
let _reject;
let promise = new Promise((resolve, reject) => {
_resolve = resolve;
_reject = reject;
}).catch(error => ({
ok: false,
error
}));
return {
ok: value => _resolve({
ok: true,
value
}),
err: _reject,
result: promise
};
};

exports.create = create;
1 change: 1 addition & 0 deletions .yalc/@remix-run/dev/dist/cli.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
21 changes: 21 additions & 0 deletions .yalc/@remix-run/dev/dist/cli.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/env node
/**
* @remix-run/dev v2.2.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
'use strict';

var index = require('./index');

index.cli.run().then(() => {
process.exit(0);
}, error => {
if (error) console.error(error);
process.exit(1);
});
24 changes: 24 additions & 0 deletions .yalc/@remix-run/dev/dist/cli/commands.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import type { RemixConfig } from "../config";
type InitFlags = {
deleteScript?: boolean;
};
export declare function init(projectDir: string, { deleteScript }?: InitFlags): Promise<void>;
/**
* Keep the function around in v2 so that users with `remix setup` in a script
* or postinstall hook can still run a build, but inform them that it's no
* longer necessary, and we can remove it in v3.
* @deprecated
*/
export declare function setup(): void;
export declare function routes(remixRoot?: string, formatArg?: string): Promise<void>;
export declare function build(remixRoot: string, mode?: string, sourcemap?: boolean): Promise<void>;
export declare function watch(remixRootOrConfig: string | RemixConfig, mode?: string): Promise<void>;
export declare function dev(remixRoot: string, flags?: {
command?: string;
manual?: boolean;
port?: number;
tlsKey?: string;
tlsCert?: string;
}): Promise<void>;
export declare function generateEntry(entry: string, remixRoot: string, useTypeScript?: boolean): Promise<void>;
export {};
Loading