Change to a scoped package
parent
c4e301871f
commit
1cd4b48665
|
@ -70,7 +70,7 @@
|
|||
"rimraf": "3.0.2",
|
||||
"stack-trace": "0.0.10",
|
||||
"tailwindcss": "3.3.0",
|
||||
"tailwindcss-language-service": "*",
|
||||
"@tailwindcss/language-service": "*",
|
||||
"typescript": "4.6.4",
|
||||
"vitest": "0.34.2",
|
||||
"vscode-css-languageservice": "6.2.9",
|
||||
|
|
|
@ -46,45 +46,45 @@ import resolveFrom, { setPnpApi } from './util/resolveFrom'
|
|||
import { AtRule, Container, Node, Result } from 'postcss'
|
||||
import Module from 'module'
|
||||
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 { dset } from 'dset'
|
||||
import pkgUp from 'pkg-up'
|
||||
import stackTrace from 'stack-trace'
|
||||
import extractClassNames from './lib/extractClassNames'
|
||||
import { klona } from 'klona/full'
|
||||
import { doHover } from 'tailwindcss-language-service/src/hoverProvider'
|
||||
import { doHover } from '@tailwindcss/language-service/src/hoverProvider'
|
||||
import {
|
||||
doComplete,
|
||||
resolveCompletionItem,
|
||||
} from 'tailwindcss-language-service/src/completionProvider'
|
||||
} from '@tailwindcss/language-service/src/completionProvider'
|
||||
import {
|
||||
State,
|
||||
FeatureFlags,
|
||||
Settings,
|
||||
ClassNames,
|
||||
Variant,
|
||||
} from 'tailwindcss-language-service/src/util/state'
|
||||
} from '@tailwindcss/language-service/src/util/state'
|
||||
import { provideDiagnostics } from './lsp/diagnosticsProvider'
|
||||
import { doCodeActions } from 'tailwindcss-language-service/src/codeActions/codeActionProvider'
|
||||
import { getDocumentColors } from 'tailwindcss-language-service/src/documentColorProvider'
|
||||
import { getDocumentLinks } from 'tailwindcss-language-service/src/documentLinksProvider'
|
||||
import { doCodeActions } from '@tailwindcss/language-service/src/codeActions/codeActionProvider'
|
||||
import { getDocumentColors } from '@tailwindcss/language-service/src/documentColorProvider'
|
||||
import { getDocumentLinks } from '@tailwindcss/language-service/src/documentLinksProvider'
|
||||
import { debounce } from 'debounce'
|
||||
import { getModuleDependencies } from './util/getModuleDependencies'
|
||||
import assert from 'assert'
|
||||
// import postcssLoadConfig from 'postcss-load-config'
|
||||
import * as parcel from './watcher/index.js'
|
||||
import { bigSign } from 'tailwindcss-language-service/src/util/jit'
|
||||
import { getColor } from 'tailwindcss-language-service/src/util/color'
|
||||
import { bigSign } from '@tailwindcss/language-service/src/util/jit'
|
||||
import { getColor } from '@tailwindcss/language-service/src/util/color'
|
||||
import * as culori from 'culori'
|
||||
import namedColors from 'color-name'
|
||||
import tailwindPlugins from './lib/plugins'
|
||||
import isExcluded from './util/isExcluded'
|
||||
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 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'
|
||||
|
||||
// @ts-ignore
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"resolveJsonModule": true,
|
||||
"baseUrl": "..",
|
||||
"paths": {
|
||||
"tailwindcss-language-service/*": ["../packages/tailwindcss-language-service/*"]
|
||||
"@tailwindcss/language-service/*": ["../packages/tailwindcss-language-service/*"]
|
||||
}
|
||||
},
|
||||
"include": ["src", "../packages/tailwindcss-language-service", "../../types"]
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "tailwindcss-language-service",
|
||||
"name": "@tailwindcss/language-service",
|
||||
"version": "0.0.29",
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
|
|
Loading…
Reference in New Issue