Skip to content

Commit

Permalink
chore: rename packages - remove next suffix from folder names
Browse files Browse the repository at this point in the history
  • Loading branch information
mlmoravek committed Feb 24, 2024
1 parent 083e0fd commit 90c4f2a
Show file tree
Hide file tree
Showing 417 changed files with 66 additions and 66 deletions.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ packages/docs/.vuepress/dist/
packages/storybook/.dist/
packages/storybook/*
packages/demo-vue3/*
packages/oruga-next/README.md
packages/docs-next/.vitepress/cache/
packages/docs-next/.vitepress/.cache/
packages/docs-next/.vitepress/.temp/
packages/docs-next/.vitepress/dist/
packages/oruga/README.md
packages/docs/.vitepress/cache/
packages/docs/.vitepress/.cache/
packages/docs/.vitepress/.temp/
packages/docs/.vitepress/dist/
packages/demo-vue3/*
.changelogs
*.json.lerna_backup
Expand Down
8 changes: 4 additions & 4 deletions .scripts/config-sync.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const replace = require('replace-in-file')

const jsonPaths = [
'packages/docs-next/package.json',
'packages/docs-next/package-lock.json',
'packages/oruga-next/package.json',
'packages/oruga-next/package-lock.json',
'packages/docs/package.json',
'packages/docs/package-lock.json',
'packages/oruga/package.json',
'packages/oruga/package-lock.json',
]
const version = require('../package.json').version

Expand Down
2 changes: 1 addition & 1 deletion .scripts/gen-comp-types.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import fs from 'fs-extra'
import path from 'path'
import process from 'process'

import { createComponentMetaChecker } from '../packages/oruga-next/node_modules/vue-component-meta/out/index.js';
import { createComponentMetaChecker } from '../packages/oruga/node_modules/vue-component-meta/out/index.js';

import { componentDirectory, getFolders, getComponents, exist } from "./utils.mjs";

Expand Down
2 changes: 1 addition & 1 deletion .scripts/gen-volar-dts.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ export {};
// generate main package volar file
generateComponentsType("@oruga-ui/oruga-next", 'volar.d.ts');
// generate docs package volar file
generateComponentsType("../oruga-next/dist/types", '../docs-next/volar.d.ts');
generateComponentsType("../oruga/dist/types", '../docs/volar.d.ts');
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<p align="center">
<a href="https://oruga-ui.com">
<img width="240" src="https://github.com/oruga-ui/oruga/raw/master/packages/docs-next/public/logo.png" />
<img width="240" src="https://github.com/oruga-ui/oruga/raw/master/packages/docs/public/logo.png" />
</a>
</p>

<p align="center">
<a href="https://www.npmjs.com/package/@oruga-ui/oruga-next"><img src="https://img.shields.io/npm/v/@oruga-ui/oruga-next.svg?logo=npm" /></a>
<a href="https://www.npmjs.com/package/@oruga-ui/oruga-next"><img src="https://img.shields.io/npm/dt/@oruga-ui/oruga-next.svg" /></a>
<a href="https://github.com/oruga-ui/oruga/actions"><img src="https://github.com/oruga-ui/oruga/actions/workflows/build-next.yml/badge.svg" /><a>
<a href="https://github.com/oruga-ui/oruga/actions"><img src="https://github.com/oruga-ui/oruga/actions/workflows/build.yml/badge.svg" /><a>
<a href="https://codecov.io/gh/oruga-ui/oruga"><img src="https://codecov.io/gh/oruga-ui/oruga/branch/develop/graph/badge.svg?flag=oruga-next" /></a>
</p>

Expand Down
42 changes: 0 additions & 42 deletions packages/docs-next/volar.d.ts

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineConfig } from "vitepress";
import path from "path";
import fs from "fs";

import { version } from "../../oruga-next/package.json";
import { version } from "../../oruga/package.json";

const componentsFolder = path.join(__dirname, "../components/");
const components = fs
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const codeComputed = computed(() => {
const code = props.code;
return code
.replace(/\.\.\//g, "")
.replace("oruga-next/dist/oruga", "@oruga-ui/oruga-next");
.replace("oruga/dist/oruga", "@oruga-ui/oruga-next");
});
const scriptCode = computed(() =>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { onUnmounted, ref, watch, nextTick } from "vue";
import { setValueByPath } from "../../../../oruga-next/src/utils/helpers";
import { setValueByPath } from "../../../../oruga/src/utils/helpers";
const INSPECT_CLASS = "odocs-inspected-element";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup>
import { ref, onBeforeMount, onBeforeUnmount } from "vue";
import { useOruga } from "../../../../../oruga-next/dist/oruga";
import { useOruga } from "../../../../../oruga/dist/oruga";
const customIconPacks = {
ionicons: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup>
import { ref } from "vue";
import { useOruga } from "../../../../../oruga-next/dist/oruga";
import { useOruga } from "../../../../../oruga/dist/oruga";
const oruga = useOruga();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup>
import { useOruga } from "../../../../../oruga-next/dist/oruga";
import { useOruga } from "../../../../../oruga/dist/oruga";
import ModalForm from "./_modal-form-async.vue";
const oruga = useOruga();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup>
import { h } from "vue";
import { useOruga } from "../../../../../oruga-next/dist/oruga";
import { useOruga } from "../../../../../oruga/dist/oruga";
import ModalForm from "./_modal-form.vue";
const oruga = useOruga();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup>
import { useOruga } from "../../../../../oruga-next/dist/oruga";
import { useOruga } from "../../../../../oruga/dist/oruga";
import NotificationForm from "./_notification-form.vue";
const oruga = useOruga();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup>
import { h } from "vue";
import { useOruga } from "../../../../../oruga-next/dist/oruga";
import { useOruga } from "../../../../../oruga/dist/oruga";
import Form from "./_sidebar-form.vue";
const oruga = useOruga();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup>
import { ref } from "vue";
import { useOruga } from "../../../../../oruga-next/dist/oruga";
import { useOruga } from "../../../../../oruga/dist/oruga";
const oruga = useOruga();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Inspector from "./components/Inspector.vue";
import ExampleViewer from "./components/ExampleViewer.vue";
import Expo from "./components/Expo.vue";

import Oruga, { useOruga } from "../../../oruga-next/dist/oruga";
import Oruga, { useOruga } from "../../../oruga/dist/oruga";

import { bulmaConfig } from "@oruga-ui/theme-bulma";
import * as bootstrapTheme from "@oruga-ui/theme-bootstrap";
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
42 changes: 42 additions & 0 deletions packages/docs/volar.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
// Auto generated component declarations
declare module "vue" {
export interface GlobalComponents {
OAutocomplete: (typeof import("../oruga/dist/types"))["OAutocomplete"];
OButton: (typeof import("../oruga/dist/types"))["OButton"];
OCarousel: (typeof import("../oruga/dist/types"))["OCarousel"];
OCarouselItem: (typeof import("../oruga/dist/types"))["OCarouselItem"];
OCheckbox: (typeof import("../oruga/dist/types"))["OCheckbox"];
OCollapse: (typeof import("../oruga/dist/types"))["OCollapse"];
ODatepicker: (typeof import("../oruga/dist/types"))["ODatepicker"];
ODatetimepicker: (typeof import("../oruga/dist/types"))["ODatetimepicker"];
ODropdown: (typeof import("../oruga/dist/types"))["ODropdown"];
ODropdownItem: (typeof import("../oruga/dist/types"))["ODropdownItem"];
OField: (typeof import("../oruga/dist/types"))["OField"];
OIcon: (typeof import("../oruga/dist/types"))["OIcon"];
OInput: (typeof import("../oruga/dist/types"))["OInput"];
OLoading: (typeof import("../oruga/dist/types"))["OLoading"];
OMenu: (typeof import("../oruga/dist/types"))["OMenu"];
OMenuItem: (typeof import("../oruga/dist/types"))["OMenuItem"];
OModal: (typeof import("../oruga/dist/types"))["OModal"];
ONotification: (typeof import("../oruga/dist/types"))["ONotification"];
OPagination: (typeof import("../oruga/dist/types"))["OPagination"];
ORadio: (typeof import("../oruga/dist/types"))["ORadio"];
OSelect: (typeof import("../oruga/dist/types"))["OSelect"];
OSidebar: (typeof import("../oruga/dist/types"))["OSidebar"];
OSkeleton: (typeof import("../oruga/dist/types"))["OSkeleton"];
OSlider: (typeof import("../oruga/dist/types"))["OSlider"];
OSliderTick: (typeof import("../oruga/dist/types"))["OSliderTick"];
OStepItem: (typeof import("../oruga/dist/types"))["OStepItem"];
OSteps: (typeof import("../oruga/dist/types"))["OSteps"];
OSwitch: (typeof import("../oruga/dist/types"))["OSwitch"];
OTable: (typeof import("../oruga/dist/types"))["OTable"];
OTableColumn: (typeof import("../oruga/dist/types"))["OTableColumn"];
OTabItem: (typeof import("../oruga/dist/types"))["OTabItem"];
OTabs: (typeof import("../oruga/dist/types"))["OTabs"];
OTaginput: (typeof import("../oruga/dist/types"))["OTaginput"];
OTimepicker: (typeof import("../oruga/dist/types"))["OTimepicker"];
OTooltip: (typeof import("../oruga/dist/types"))["OTooltip"];
OUpload: (typeof import("../oruga/dist/types"))["OUpload"];
}
}
export {};
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 90c4f2a

Please sign in to comment.