IJI-2422: plugins/JavaScriptLanguage: separate source and resource roots

(cherry picked from commit a4cd2a071d1e8cee9bbb1dadd751c80a9fdbf8a7)

IJ-CR-155976

GitOrigin-RevId: 62918c360e9fbad3f176a94c8149469161d1dd7d
This commit is contained in:
Leonid Shalupov
2025-02-09 13:54:04 +01:00
committed by intellij-monorepo-bot
parent 772d3c6438
commit c75f975a4b

View File

@@ -111,23 +111,23 @@
<target name="js_schemas">
<get_schema fromUrl="http://json.schemastore.org/babelrc"
toFile="${idea.project.home}/plugins/JavaScriptLanguage/src/jsonSchemas/.babelrc-schema.json" />
toFile="${idea.project.home}/plugins/JavaScriptLanguage/resources/jsonSchemas/.babelrc-schema.json" />
<get_schema fromUrl="http://json.schemastore.org/stylelintrc"
toFile="${idea.project.home}/plugins/JavaScriptLanguage/src/jsonSchemas/.stylelintrc-schema.json" />
<replaceregexp file="${idea.project.home}/plugins/JavaScriptLanguage/src/jsonSchemas/.stylelintrc-schema.json"
toFile="${idea.project.home}/plugins/JavaScriptLanguage/resources/jsonSchemas/.stylelintrc-schema.json" />
<replaceregexp file="${idea.project.home}/plugins/JavaScriptLanguage/resources/jsonSchemas/.stylelintrc-schema.json"
match="&quot;definitions&quot;" replace="&quot;id&quot;: &quot;http://json.schemastore.org/stylelintrc&quot;,${line.separator}&#9;&quot;definitions&quot;" />
<get_schema fromUrl="http://json.schemastore.org/jsconfig"
toFile="${idea.project.home}/plugins/JavaScriptLanguage/src/jsonSchemas/jsconfig-schema.json" />
toFile="${idea.project.home}/plugins/JavaScriptLanguage/resources/jsonSchemas/jsconfig-schema.json" />
<get_schema fromUrl="http://json.schemastore.org/tsconfig"
toFile="${idea.project.home}/plugins/JavaScriptLanguage/src/jsonSchemas/tsconfig-schema.json" />
toFile="${idea.project.home}/plugins/JavaScriptLanguage/resources/jsonSchemas/tsconfig-schema.json" />
<get_schema fromUrl="http://json.schemastore.org/tsd"
toFile="${idea.project.home}/plugins/JavaScriptLanguage/src/jsonSchemas/tsd-schema.json" />
toFile="${idea.project.home}/plugins/JavaScriptLanguage/resources/jsonSchemas/tsd-schema.json" />
<get_schema fromUrl="http://json.schemastore.org/typings"
toFile="${idea.project.home}/plugins/JavaScriptLanguage/src/jsonSchemas/typings-schema.json" />
toFile="${idea.project.home}/plugins/JavaScriptLanguage/resources/jsonSchemas/typings-schema.json" />
<get_schema fromUrl="http://json.schemastore.org/eslintrc"
toFile="${idea.project.home}/plugins/JavaScriptLanguage/src/jsonSchemas/.eslintrc-schema.json" />
<replaceregexp file="${idea.project.home}/plugins/JavaScriptLanguage/src/jsonSchemas/.eslintrc-schema.json"
toFile="${idea.project.home}/plugins/JavaScriptLanguage/resources/jsonSchemas/.eslintrc-schema.json" />
<replaceregexp file="${idea.project.home}/plugins/JavaScriptLanguage/resources/jsonSchemas/.eslintrc-schema.json"
match="&quot;definitions&quot;" replace="&quot;id&quot;: &quot;http://json.schemastore.org/eslintrc&quot;,${line.separator} &quot;definitions&quot;" />
</target>