Change to a scoped package

master
Jordan Pittman 2023-10-30 16:31:49 -04:00
parent c4e301871f
commit 1cd4b48665
4 changed files with 14 additions and 14 deletions

View File

@ -70,7 +70,7 @@
"rimraf": "3.0.2", "rimraf": "3.0.2",
"stack-trace": "0.0.10", "stack-trace": "0.0.10",
"tailwindcss": "3.3.0", "tailwindcss": "3.3.0",
"tailwindcss-language-service": "*", "@tailwindcss/language-service": "*",
"typescript": "4.6.4", "typescript": "4.6.4",
"vitest": "0.34.2", "vitest": "0.34.2",
"vscode-css-languageservice": "6.2.9", "vscode-css-languageservice": "6.2.9",

View File

@ -46,45 +46,45 @@ import resolveFrom, { setPnpApi } from './util/resolveFrom'
import { AtRule, Container, Node, Result } from 'postcss' import { AtRule, Container, Node, Result } from 'postcss'
import Module from 'module' import Module from 'module'
import Hook from './lib/hook' import Hook from './lib/hook'
import * as semver from 'tailwindcss-language-service/src/util/semver' import * as semver from '@tailwindcss/language-service/src/util/semver'
import dlv from 'dlv' import dlv from 'dlv'
import { dset } from 'dset' import { dset } from 'dset'
import pkgUp from 'pkg-up' import pkgUp from 'pkg-up'
import stackTrace from 'stack-trace' import stackTrace from 'stack-trace'
import extractClassNames from './lib/extractClassNames' import extractClassNames from './lib/extractClassNames'
import { klona } from 'klona/full' import { klona } from 'klona/full'
import { doHover } from 'tailwindcss-language-service/src/hoverProvider' import { doHover } from '@tailwindcss/language-service/src/hoverProvider'
import { import {
doComplete, doComplete,
resolveCompletionItem, resolveCompletionItem,
} from 'tailwindcss-language-service/src/completionProvider' } from '@tailwindcss/language-service/src/completionProvider'
import { import {
State, State,
FeatureFlags, FeatureFlags,
Settings, Settings,
ClassNames, ClassNames,
Variant, Variant,
} from 'tailwindcss-language-service/src/util/state' } from '@tailwindcss/language-service/src/util/state'
import { provideDiagnostics } from './lsp/diagnosticsProvider' import { provideDiagnostics } from './lsp/diagnosticsProvider'
import { doCodeActions } from 'tailwindcss-language-service/src/codeActions/codeActionProvider' import { doCodeActions } from '@tailwindcss/language-service/src/codeActions/codeActionProvider'
import { getDocumentColors } from 'tailwindcss-language-service/src/documentColorProvider' import { getDocumentColors } from '@tailwindcss/language-service/src/documentColorProvider'
import { getDocumentLinks } from 'tailwindcss-language-service/src/documentLinksProvider' import { getDocumentLinks } from '@tailwindcss/language-service/src/documentLinksProvider'
import { debounce } from 'debounce' import { debounce } from 'debounce'
import { getModuleDependencies } from './util/getModuleDependencies' import { getModuleDependencies } from './util/getModuleDependencies'
import assert from 'assert' import assert from 'assert'
// import postcssLoadConfig from 'postcss-load-config' // import postcssLoadConfig from 'postcss-load-config'
import * as parcel from './watcher/index.js' import * as parcel from './watcher/index.js'
import { bigSign } from 'tailwindcss-language-service/src/util/jit' import { bigSign } from '@tailwindcss/language-service/src/util/jit'
import { getColor } from 'tailwindcss-language-service/src/util/color' import { getColor } from '@tailwindcss/language-service/src/util/color'
import * as culori from 'culori' import * as culori from 'culori'
import namedColors from 'color-name' import namedColors from 'color-name'
import tailwindPlugins from './lib/plugins' import tailwindPlugins from './lib/plugins'
import isExcluded from './util/isExcluded' import isExcluded from './util/isExcluded'
import { getFileFsPath, normalizeFileNameToFsPath } from './util/uri' import { getFileFsPath, normalizeFileNameToFsPath } from './util/uri'
import { equal } from 'tailwindcss-language-service/src/util/array' import { equal } from '@tailwindcss/language-service/src/util/array'
import preflight from 'tailwindcss/lib/css/preflight.css' import preflight from 'tailwindcss/lib/css/preflight.css'
import merge from 'deepmerge' import merge from 'deepmerge'
import { getTextWithoutComments } from 'tailwindcss-language-service/src/util/doc' import { getTextWithoutComments } from '@tailwindcss/language-service/src/util/doc'
import { CONFIG_GLOB, CSS_GLOB, PACKAGE_LOCK_GLOB } from './lib/constants' import { CONFIG_GLOB, CSS_GLOB, PACKAGE_LOCK_GLOB } from './lib/constants'
// @ts-ignore // @ts-ignore

View File

@ -11,7 +11,7 @@
"resolveJsonModule": true, "resolveJsonModule": true,
"baseUrl": "..", "baseUrl": "..",
"paths": { "paths": {
"tailwindcss-language-service/*": ["../packages/tailwindcss-language-service/*"] "@tailwindcss/language-service/*": ["../packages/tailwindcss-language-service/*"]
} }
}, },
"include": ["src", "../packages/tailwindcss-language-service", "../../types"] "include": ["src", "../packages/tailwindcss-language-service", "../../types"]

View File

@ -1,5 +1,5 @@
{ {
"name": "tailwindcss-language-service", "name": "@tailwindcss/language-service",
"version": "0.0.29", "version": "0.0.29",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "dist/index.d.ts", "typings": "dist/index.d.ts",