rename kebab-case files - supercedes #2890

pull/3094/head
Rich Harris 5 years ago
parent b2da2ebcc7
commit 80ebdc1784

2
.gitignore vendored

@ -3,7 +3,7 @@
.nyc_output
node_modules
*.map
/src/compiler/compile/internal-exports.ts
/src/compiler/compile/internal_exports.ts
/compiler.d.ts
/compiler.*js
/index.*js

@ -66,7 +66,7 @@ export default [
if (dir === 'internal') {
const mod = bundle['index.mjs'];
if (mod) {
fs.writeFileSync('src/compiler/compile/internal-exports.ts', `// This file is automatically generated\nexport default new Set(${JSON.stringify(mod.exports)});`);
fs.writeFileSync('src/compiler/compile/internal_exports.ts', `// This file is automatically generated\nexport default new Set(${JSON.stringify(mod.exports)});`);
}
}

@ -10,7 +10,7 @@ import { create_scopes, extract_names, Scope, extract_identifiers } from './util
import Stylesheet from './css/Stylesheet';
import { test } from '../config';
import Fragment from './nodes/Fragment';
import internal_exports from './internal-exports';
import internal_exports from './internal_exports';
import { Node, Ast, CompileOptions, Var, Warning } from '../interfaces';
import error from '../utils/error';
import get_code_frame from '../utils/get_code_frame';

@ -1,8 +1,8 @@
import { assign } from '../../runtime/internal/utils';
import Stats from '../Stats';
import parse from '../parse/index';
import render_dom from './render-dom/index';
import render_ssr from './render-ssr/index';
import render_dom from './render_dom/index';
import render_ssr from './render_ssr/index';
import { CompileOptions, Warning } from '../interfaces';
import Component from './Component';
import fuzzymatch from '../utils/fuzzymatch';

@ -2,7 +2,7 @@ import Node from './shared/Node';
import Expression from './shared/Expression';
import Component from '../Component';
import deindent from '../utils/deindent';
import Block from '../render-dom/Block';
import Block from '../render_dom/Block';
export default class EventHandler extends Node {
type: 'EventHandler';

@ -1,7 +1,7 @@
import Node from './shared/Node';
import Component from '../Component';
import map_children from './shared/map_children';
import Block from '../render-dom/Block';
import Block from '../render_dom/Block';
import TemplateScope from './shared/TemplateScope';
import { INode } from './interfaces';

@ -1,4 +1,4 @@
import Block from '../../render-dom/Block';
import Block from '../../render_dom/Block';
import Component from '../../Component';
import Node from './Node';
import { INode } from '../interfaces';

@ -6,12 +6,12 @@ import { create_scopes, Scope, extract_names } from '../../utils/scope';
import { Node } from '../../../interfaces';
import { globals , sanitize } from '../../../utils/names';
import deindent from '../../utils/deindent';
import Wrapper from '../../render-dom/wrappers/shared/Wrapper';
import Wrapper from '../../render_dom/wrappers/shared/Wrapper';
import TemplateScope from './TemplateScope';
import get_object from '../../utils/get_object';
import { nodes_match } from '../../../utils/nodes_match';
import Block from '../../render-dom/Block';
import Block from '../../render_dom/Block';
import { INode } from '../interfaces';
const binary_operators: Record<string, number> = {

@ -1,6 +1,6 @@
import { assign, is_promise } from './utils';
import { check_outros, group_outros, transition_in, transition_out } from './transitions';
import { flush } from '../internal/scheduler';
import { flush } from './scheduler';
export function handle_promise(promise, info) {
const token = info.token = {};

@ -1,8 +1,8 @@
export * from './animations';
export * from './await-block';
export * from './await_block';
export * from './dom';
export * from './environment';
export * from './keyed-each';
export * from './keyed_each';
export * from './lifecycle';
export * from './loop';
export * from './scheduler';

Loading…
Cancel
Save