Skip to content

Commit

Permalink
AG-36861 use link to scriptlets on github
Browse files Browse the repository at this point in the history
  • Loading branch information
maximtop committed Nov 12, 2024
1 parent 82e7291 commit 4d6b0db
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 25 deletions.
1 change: 1 addition & 0 deletions packages/agtree/rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const main = {
'src/serializer/index.ts',
'src/deserializer/index.ts',
'src/converter/index.ts',
'src/utils/index.ts',
],
output: [
{
Expand Down
1 change: 1 addition & 0 deletions packages/agtree/src/parser/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ export { RuleParser } from './rule-parser';
export { defaultParserOptions, type ParserOptions } from './options';
export { CosmeticRuleParser } from './cosmetic/cosmetic-rule-parser';
export { DomainListParser } from './misc/domain-list-parser';
export { NetworkRuleParser } from './network/network-rule-parser';
2 changes: 1 addition & 1 deletion packages/tsurlfilter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"dependencies": {
"@adguard/agtree": "workspace:^",
"@adguard/css-tokenizer": "workspace:^",
"@adguard/scriptlets": "file:../../../scriptlets",
"@adguard/scriptlets": "https://github.com/AdguardTeam/Scriptlets/raw/747265060c888b6b08fedefb16aefa1e83dbcdf7/tmp-adguard-scriptlets-2.0.0.tgz",
"cidr-tools": "^6.4.1",
"commander": "9.4.1",
"is-cidr": "4.0.2",
Expand Down
8 changes: 3 additions & 5 deletions packages/tsurlfilter/test/helpers/rule-creator.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { type AnyCosmeticRule, type AnyRule, type NetworkRule as NetworkRuleNode } from '@adguard/agtree';
import {
defaultParserOptions,
type AnyCosmeticRule,
type AnyRule,
RuleParser,
CosmeticRuleParser,
NetworkRuleParser,
RuleParser,
type NetworkRule as NetworkRuleNode,
} from '@adguard/agtree';
} from '@adguard/agtree/parser';
import { isString } from 'lodash';

import {
Expand Down
2 changes: 1 addition & 1 deletion packages/tswebextension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"@adguard/assistant": "^4.3.70",
"@adguard/extended-css": "^2.0.56",
"@adguard/logger": "workspace:^",
"@adguard/scriptlets": "^1.12.1",
"@adguard/scriptlets": "https://github.com/AdguardTeam/Scriptlets/raw/747265060c888b6b08fedefb16aefa1e83dbcdf7/tmp-adguard-scriptlets-2.0.0.tgz",
"@adguard/tsurlfilter": "workspace:^",
"bowser": "2.11.0",
"chrome-types": "^0.1.307",
Expand Down
9 changes: 5 additions & 4 deletions packages/tswebextension/test/helpers/rule-creator.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import {
defaultParserOptions,
type AnyCosmeticRule,
type AnyRule,
CosmeticRuleParser,
NetworkRuleParser,
RuleParser,
type NetworkRule as NetworkRuleNode,
} from '@adguard/agtree';
import {
defaultParserOptions, CosmeticRuleParser,
NetworkRuleParser,
RuleParser,
} from '@adguard/agtree/parser';
import {
CosmeticRule,
type IRule,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { defaultParserOptions, type ParserOptions, RuleParser } from '@adguard/agtree';
import { defaultParserOptions, type ParserOptions, RuleParser } from '@adguard/agtree/parser';

import { extendConfig, type RecursivePartial } from '../../../helpers/config-extend';
import { getConfigurationMv2Fixture } from './fixtures/configuration';
Expand Down
27 changes: 14 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4d6b0db

Please sign in to comment.