From 28eed896bd676d8dea6e7f99bb6185ba9ef6e100 Mon Sep 17 00:00:00 2001 From: Sam Estep Date: Fri, 29 Dec 2023 11:23:46 -0500 Subject: [PATCH] Rename `packages/core` dir to `packages/rose` --- .gitignore | 2 +- Makefile | 16 ++++++++-------- package-lock.json | 7 +++---- packages/{core => rose}/package.json | 0 packages/{core => rose}/src/index.test.ts | 0 packages/{core => rose}/src/index.ts | 0 packages/{core => rose}/tsconfig.json | 0 packages/vscode/package.json | 2 +- 8 files changed, 13 insertions(+), 14 deletions(-) rename packages/{core => rose}/package.json (100%) rename packages/{core => rose}/src/index.test.ts (100%) rename packages/{core => rose}/src/index.ts (100%) rename packages/{core => rose}/tsconfig.json (100%) diff --git a/.gitignore b/.gitignore index f120ace..ba2a62c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ .DS_Store *.tgz *.vsix -/packages/core/README.md +/packages/rose/README.md /packages/vscode/*.png dist/ node_modules/ diff --git a/Makefile b/Makefile index 4f6c9b5..c39d69a 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ check: prettier # delete build artifacts, but not dependencies or downloaded files clean: - git clean -Xdf packages -e '!node_modules' + git clean -Xdf packages -e '!node_modules' -e '!*.png' # do everything all: build test check @@ -23,25 +23,25 @@ prettier: npm npx prettier --check . # build `packages/` -packages: core site vscode +packages: rose site vscode # run JavaScript tests -test-js: test-core test-site +test-js: test-rose test-site -## `packages/core` +## `packages/rose` # build -core: npm - cp README.md packages/core +rose: npm + cp README.md packages/rose npm run --workspace=rose build # test -test-core: npm +test-rose: npm npm run --workspace=rose test -- run --no-threads ## `packages/site` -site-deps: npm core +site-deps: npm rose # build site: site-deps diff --git a/package-lock.json b/package-lock.json index 45e1f27..2a9bf18 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1980,7 +1980,7 @@ } }, "node_modules/rose": { - "resolved": "packages/core", + "resolved": "packages/rose", "link": true }, "node_modules/rose-vscode": { @@ -2573,8 +2573,7 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "packages/core": { - "name": "rose", + "packages/rose": { "version": "0.5.0", "license": "MIT" }, @@ -2588,7 +2587,7 @@ }, "packages/vscode": { "name": "rose-vscode", - "version": "0.0.0", + "version": "0.5.0", "license": "MIT", "engines": { "vscode": "^1.75.0" diff --git a/packages/core/package.json b/packages/rose/package.json similarity index 100% rename from packages/core/package.json rename to packages/rose/package.json diff --git a/packages/core/src/index.test.ts b/packages/rose/src/index.test.ts similarity index 100% rename from packages/core/src/index.test.ts rename to packages/rose/src/index.test.ts diff --git a/packages/core/src/index.ts b/packages/rose/src/index.ts similarity index 100% rename from packages/core/src/index.ts rename to packages/rose/src/index.ts diff --git a/packages/core/tsconfig.json b/packages/rose/tsconfig.json similarity index 100% rename from packages/core/tsconfig.json rename to packages/rose/tsconfig.json diff --git a/packages/vscode/package.json b/packages/vscode/package.json index 55afe49..389f478 100644 --- a/packages/vscode/package.json +++ b/packages/vscode/package.json @@ -1,7 +1,7 @@ { "name": "rose-vscode", "displayName": "Rose", - "version": "0.0.0", + "version": "0.5.0", "publisher": "rose-lang", "description": "Syntax highlighting for Rose.", "license": "MIT",