Revert "rename framework->library"
Some checks failed
Playwright Tests / test (push) Has been cancelled

This reverts commit 13c76cf3e5c403cad23088fb413fcff6167f9bee.
This commit is contained in:
parent 9f4df427df
commit 61b2232fb7
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C
9 changed files with 13 additions and 16 deletions

@ -28,7 +28,7 @@ jobs:
- name: compile and test!
run: |
export XDG_CONFIG_HOME=$HOME/.config
yarn workspace obsidian-testing-library run tsc
yarn workspace obsidian-testing-framework run tsc
yarn workspace obsidian-sample-plugin run test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}

BIN
.yarn/install-state.gz vendored

Binary file not shown.

@ -1,5 +1,5 @@
{
"name": "obsidian-testing-library-parent",
"name": "obsidian-testing-framework-parent",
"private": true,
"packageManager": "yarn@4.5.1",
"workspaces": [

@ -1,3 +0,0 @@
tsconfig.json
src/**/*
typings/**/*

@ -1,5 +1,5 @@
{
"name": "obsidian-testing-library",
"name": "obsidian-testing-framework",
"packageManager": "yarn@4.5.1",
"dependencies": {
"@codemirror/language": "https://github.com/lishid/cm-language",
@ -39,7 +39,7 @@
"scripts": {
"build": "tsc",
"lint": "tslint -c tslint.json src/**/*.ts",
"prepublish": "rm README.md && cp ../../README.md . && rimraf lib && yarn build"
"prepublish": "rm README.md && cp ../../README.md . && rimraf lib && npm run build"
},
"devDependencies": {
"@types/tmp": "^0",

@ -1,7 +1,7 @@
import { expect } from '@playwright/test';
import {test} from "obsidian-testing-library"
import {test} from "obsidian-testing-framework"
import {TFile} from "obsidian";
import {assertLineEquals, doWithApp, readFile} from "obsidian-testing-library/utils";
import {assertLineEquals, doWithApp, readFile} from "obsidian-testing-framework/utils";
test('something', async ({ page }) => {
console.log(page.url());
expect(/obsidian\.md/i.test(page.url())).toBeTruthy()

@ -14,7 +14,7 @@
"author": "",
"license": "MIT",
"dependencies": {
"obsidian-testing-library": "workspace:^"
"obsidian-testing-framework": "workspace:^"
},
"devDependencies": {
"@playwright/test": "^1.48.1",

@ -1,5 +1,5 @@
import { defineConfig, devices } from '@playwright/test';
import {ObsidianTestFixtures} from "obsidian-testing-library/fixture";
import {ObsidianTestFixtures} from "obsidian-testing-framework/fixture";
import os from "os"
import path from 'path';

@ -2487,7 +2487,7 @@ __metadata:
builtin-modules: "npm:3.3.0"
esbuild: "npm:0.17.3"
obsidian: "npm:latest"
obsidian-testing-library: "workspace:^"
obsidian-testing-framework: "workspace:^"
playwright: "npm:^1.48.1"
tslib: "npm:2.4.0"
typescript: "npm:4.7.4"
@ -2496,15 +2496,15 @@ __metadata:
languageName: unknown
linkType: soft
"obsidian-testing-library-parent@workspace:.":
"obsidian-testing-framework-parent@workspace:.":
version: 0.0.0-use.local
resolution: "obsidian-testing-library-parent@workspace:."
resolution: "obsidian-testing-framework-parent@workspace:."
languageName: unknown
linkType: soft
"obsidian-testing-library@workspace:^, obsidian-testing-library@workspace:packages/obsidian-testing-framework":
"obsidian-testing-framework@workspace:^, obsidian-testing-framework@workspace:packages/obsidian-testing-framework":
version: 0.0.0-use.local
resolution: "obsidian-testing-library@workspace:packages/obsidian-testing-framework"
resolution: "obsidian-testing-framework@workspace:packages/obsidian-testing-framework"
dependencies:
"@codemirror/language": "https://github.com/lishid/cm-language"
"@codemirror/state": "npm:^6.0.1"