├── .github └── workflows │ └── ci.yml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── CHANGELOG.md ├── README.md ├── bin ├── help.md ├── showHelp.js └── sorcery ├── package.json ├── pnpm-lock.yaml ├── src ├── Chain.js ├── Node.js ├── SourceMap.js ├── index.js └── utils │ ├── atob.js │ ├── btoa.js │ ├── getMap.js │ ├── getMapFromUrl.js │ ├── getSourceMappingUrl.js │ ├── slash.js │ └── sourceMappingURL.js ├── test ├── .gitattributes ├── cli │ ├── creates-new-file │ │ ├── actual │ │ │ ├── helloworld.min.js │ │ │ └── helloworld.min.js.map │ │ ├── command.sh │ │ ├── expected │ │ │ ├── helloworld.min.js │ │ │ └── helloworld.min.js.map │ │ └── files │ │ │ ├── helloworld.coffee │ │ │ ├── helloworld.js │ │ │ ├── helloworld.js.map │ │ │ ├── helloworld.min.js │ │ │ └── helloworld.min.js.map │ ├── excludes-content │ │ ├── actual │ │ │ ├── helloworld.min.js │ │ │ └── helloworld.min.js.map │ │ ├── command.sh │ │ ├── expected │ │ │ ├── helloworld.min.js │ │ │ └── helloworld.min.js.map │ │ └── files │ │ │ ├── helloworld.coffee │ │ │ ├── helloworld.js │ │ │ ├── helloworld.js.map │ │ │ ├── helloworld.min.js │ │ │ └── helloworld.min.js.map │ ├── inline-map │ │ ├── actual │ │ │ └── helloworld.min.js │ │ ├── command.sh │ │ ├── expected │ │ │ └── helloworld.min.js │ │ └── files │ │ │ ├── helloworld.coffee │ │ │ ├── helloworld.js │ │ │ ├── helloworld.js.map │ │ │ ├── helloworld.min.js │ │ │ └── helloworld.min.js.map │ ├── overwrites-dir │ │ ├── actual │ │ │ ├── bar.min.js │ │ │ ├── bar.min.js.map │ │ │ ├── foo.min.js │ │ │ └── foo.min.js.map │ │ ├── command.sh │ │ ├── expected │ │ │ ├── bar.min.js │ │ │ ├── bar.min.js.map │ │ │ ├── foo.min.js │ │ │ └── foo.min.js.map │ │ ├── files │ │ │ ├── bar.coffee │ │ │ ├── bar.js │ │ │ ├── bar.js.map │ │ │ ├── bar.min.js │ │ │ ├── bar.min.js.map │ │ │ ├── foo.coffee │ │ │ ├── foo.js │ │ │ ├── foo.js.map │ │ │ ├── foo.min.js │ │ │ └── foo.min.js.map │ │ ├── post.js │ │ └── pre.js │ └── overwrites-file │ │ ├── actual │ │ ├── helloworld.coffee │ │ ├── helloworld.js │ │ ├── helloworld.js.map │ │ ├── helloworld.min.js │ │ └── helloworld.min.js.map │ │ ├── command.sh │ │ ├── expected │ │ ├── helloworld.coffee │ │ ├── helloworld.js │ │ ├── helloworld.js.map │ │ ├── helloworld.min.js │ │ └── helloworld.min.js.map │ │ ├── files │ │ ├── helloworld.coffee │ │ ├── helloworld.js │ │ ├── helloworld.js.map │ │ ├── helloworld.min.js │ │ └── helloworld.min.js.map │ │ └── pre.js ├── samples │ ├── 1 │ │ ├── build.sh │ │ ├── src │ │ │ └── helloworld.coffee │ │ └── tmp │ │ │ ├── helloworld.coffee │ │ │ ├── helloworld.js │ │ │ ├── helloworld.js.map │ │ │ ├── helloworld.min.js │ │ │ └── helloworld.min.js.map │ ├── 2 │ │ ├── build.sh │ │ ├── src │ │ │ ├── a.js │ │ │ └── main.js │ │ └── tmp │ │ │ ├── a.js │ │ │ ├── bundle.js │ │ │ ├── bundle.min.js │ │ │ ├── bundle.min.js.map │ │ │ └── main.js │ ├── 3 │ │ ├── build.sh │ │ ├── src │ │ │ └── app.js │ │ └── tmp │ │ │ ├── app.babel.js │ │ │ ├── app.esperanto.js │ │ │ └── app.js │ ├── 4 │ │ ├── build.sh │ │ ├── src │ │ │ └── file with spaces.js │ │ └── tmp │ │ │ ├── file with spaces.babel.js │ │ │ ├── file with spaces.babel.js.map │ │ │ ├── file with spaces.esperanto.js │ │ │ ├── file with spaces.esperanto.js.map │ │ │ └── file with spaces.js │ ├── 5 │ │ ├── build.sh │ │ ├── src │ │ │ └── styles.less │ │ └── tmp │ │ │ ├── styles.css │ │ │ ├── styles.css.map │ │ │ └── styles.less │ ├── 6 │ │ ├── file with spaces.js │ │ └── file with spaces.js.map │ ├── 7 │ │ ├── foo.js │ │ ├── foo.js.map │ │ └── sources │ │ │ ├── bar.js │ │ │ ├── bar.js.map │ │ │ └── baz.js │ ├── 8 │ │ ├── datafile.js │ │ ├── datafile.js.map │ │ └── source.js │ └── prepare-tests.js └── sorcery.test.js ├── tsconfig.json └── types ├── Chain.d.ts ├── Node.d.ts ├── SourceMap.d.ts ├── index.d.ts └── utils ├── atob.d.ts ├── btoa.d.ts ├── getMap.d.ts ├── getMapFromUrl.d.ts ├── getSourceMappingUrl.d.ts ├── slash.d.ts └── sourceMappingURL.d.ts /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | cli-test 4 | .tmp 5 | dist 6 | coverage 7 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/.prettierrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/README.md -------------------------------------------------------------------------------- /bin/help.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/bin/help.md -------------------------------------------------------------------------------- /bin/showHelp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/bin/showHelp.js -------------------------------------------------------------------------------- /bin/sorcery: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/bin/sorcery -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/Chain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/src/Chain.js -------------------------------------------------------------------------------- /src/Node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/src/Node.js -------------------------------------------------------------------------------- /src/SourceMap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/src/SourceMap.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/src/index.js -------------------------------------------------------------------------------- /src/utils/atob.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/src/utils/atob.js -------------------------------------------------------------------------------- /src/utils/btoa.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/src/utils/btoa.js -------------------------------------------------------------------------------- /src/utils/getMap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/src/utils/getMap.js -------------------------------------------------------------------------------- /src/utils/getMapFromUrl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/src/utils/getMapFromUrl.js -------------------------------------------------------------------------------- /src/utils/getSourceMappingUrl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/src/utils/getSourceMappingUrl.js -------------------------------------------------------------------------------- /src/utils/slash.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/src/utils/slash.js -------------------------------------------------------------------------------- /src/utils/sourceMappingURL.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/src/utils/sourceMappingURL.js -------------------------------------------------------------------------------- /test/.gitattributes: -------------------------------------------------------------------------------- 1 | * text eol=lf 2 | -------------------------------------------------------------------------------- /test/cli/creates-new-file/actual/helloworld.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/creates-new-file/actual/helloworld.min.js -------------------------------------------------------------------------------- /test/cli/creates-new-file/actual/helloworld.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/creates-new-file/actual/helloworld.min.js.map -------------------------------------------------------------------------------- /test/cli/creates-new-file/command.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/creates-new-file/command.sh -------------------------------------------------------------------------------- /test/cli/creates-new-file/expected/helloworld.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/creates-new-file/expected/helloworld.min.js -------------------------------------------------------------------------------- /test/cli/creates-new-file/expected/helloworld.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/creates-new-file/expected/helloworld.min.js.map -------------------------------------------------------------------------------- /test/cli/creates-new-file/files/helloworld.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/creates-new-file/files/helloworld.coffee -------------------------------------------------------------------------------- /test/cli/creates-new-file/files/helloworld.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/creates-new-file/files/helloworld.js -------------------------------------------------------------------------------- /test/cli/creates-new-file/files/helloworld.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/creates-new-file/files/helloworld.js.map -------------------------------------------------------------------------------- /test/cli/creates-new-file/files/helloworld.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/creates-new-file/files/helloworld.min.js -------------------------------------------------------------------------------- /test/cli/creates-new-file/files/helloworld.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/creates-new-file/files/helloworld.min.js.map -------------------------------------------------------------------------------- /test/cli/excludes-content/actual/helloworld.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/excludes-content/actual/helloworld.min.js -------------------------------------------------------------------------------- /test/cli/excludes-content/actual/helloworld.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/excludes-content/actual/helloworld.min.js.map -------------------------------------------------------------------------------- /test/cli/excludes-content/command.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/excludes-content/command.sh -------------------------------------------------------------------------------- /test/cli/excludes-content/expected/helloworld.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/excludes-content/expected/helloworld.min.js -------------------------------------------------------------------------------- /test/cli/excludes-content/expected/helloworld.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/excludes-content/expected/helloworld.min.js.map -------------------------------------------------------------------------------- /test/cli/excludes-content/files/helloworld.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/excludes-content/files/helloworld.coffee -------------------------------------------------------------------------------- /test/cli/excludes-content/files/helloworld.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/excludes-content/files/helloworld.js -------------------------------------------------------------------------------- /test/cli/excludes-content/files/helloworld.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/excludes-content/files/helloworld.js.map -------------------------------------------------------------------------------- /test/cli/excludes-content/files/helloworld.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/excludes-content/files/helloworld.min.js -------------------------------------------------------------------------------- /test/cli/excludes-content/files/helloworld.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/excludes-content/files/helloworld.min.js.map -------------------------------------------------------------------------------- /test/cli/inline-map/actual/helloworld.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/inline-map/actual/helloworld.min.js -------------------------------------------------------------------------------- /test/cli/inline-map/command.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/inline-map/command.sh -------------------------------------------------------------------------------- /test/cli/inline-map/expected/helloworld.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/inline-map/expected/helloworld.min.js -------------------------------------------------------------------------------- /test/cli/inline-map/files/helloworld.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/inline-map/files/helloworld.coffee -------------------------------------------------------------------------------- /test/cli/inline-map/files/helloworld.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/inline-map/files/helloworld.js -------------------------------------------------------------------------------- /test/cli/inline-map/files/helloworld.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/inline-map/files/helloworld.js.map -------------------------------------------------------------------------------- /test/cli/inline-map/files/helloworld.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/inline-map/files/helloworld.min.js -------------------------------------------------------------------------------- /test/cli/inline-map/files/helloworld.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/inline-map/files/helloworld.min.js.map -------------------------------------------------------------------------------- /test/cli/overwrites-dir/actual/bar.min.js: -------------------------------------------------------------------------------- 1 | (function(){var l;l="bar",console.log(l)}).call(this); 2 | //# sourceMappingURL=bar.min.js.map 3 | -------------------------------------------------------------------------------- /test/cli/overwrites-dir/actual/bar.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-dir/actual/bar.min.js.map -------------------------------------------------------------------------------- /test/cli/overwrites-dir/actual/foo.min.js: -------------------------------------------------------------------------------- 1 | (function(){var o;o="foo",console.log(o)}).call(this); 2 | //# sourceMappingURL=foo.min.js.map 3 | -------------------------------------------------------------------------------- /test/cli/overwrites-dir/actual/foo.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-dir/actual/foo.min.js.map -------------------------------------------------------------------------------- /test/cli/overwrites-dir/command.sh: -------------------------------------------------------------------------------- 1 | sorcery -i actual 2 | -------------------------------------------------------------------------------- /test/cli/overwrites-dir/expected/bar.min.js: -------------------------------------------------------------------------------- 1 | (function(){var l;l="bar",console.log(l)}).call(this); 2 | //# sourceMappingURL=bar.min.js.map 3 | -------------------------------------------------------------------------------- /test/cli/overwrites-dir/expected/bar.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-dir/expected/bar.min.js.map -------------------------------------------------------------------------------- /test/cli/overwrites-dir/expected/foo.min.js: -------------------------------------------------------------------------------- 1 | (function(){var o;o="foo",console.log(o)}).call(this); 2 | //# sourceMappingURL=foo.min.js.map 3 | -------------------------------------------------------------------------------- /test/cli/overwrites-dir/expected/foo.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-dir/expected/foo.min.js.map -------------------------------------------------------------------------------- /test/cli/overwrites-dir/files/bar.coffee: -------------------------------------------------------------------------------- 1 | bar = "bar" 2 | console.log bar 3 | -------------------------------------------------------------------------------- /test/cli/overwrites-dir/files/bar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-dir/files/bar.js -------------------------------------------------------------------------------- /test/cli/overwrites-dir/files/bar.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-dir/files/bar.js.map -------------------------------------------------------------------------------- /test/cli/overwrites-dir/files/bar.min.js: -------------------------------------------------------------------------------- 1 | (function(){var l;l="bar",console.log(l)}).call(this); 2 | //# sourceMappingURL=bar.min.js.map 3 | -------------------------------------------------------------------------------- /test/cli/overwrites-dir/files/bar.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-dir/files/bar.min.js.map -------------------------------------------------------------------------------- /test/cli/overwrites-dir/files/foo.coffee: -------------------------------------------------------------------------------- 1 | foo = "foo" 2 | console.log foo 3 | -------------------------------------------------------------------------------- /test/cli/overwrites-dir/files/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-dir/files/foo.js -------------------------------------------------------------------------------- /test/cli/overwrites-dir/files/foo.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-dir/files/foo.js.map -------------------------------------------------------------------------------- /test/cli/overwrites-dir/files/foo.min.js: -------------------------------------------------------------------------------- 1 | (function(){var o;o="foo",console.log(o)}).call(this); 2 | //# sourceMappingURL=foo.min.js.map 3 | -------------------------------------------------------------------------------- /test/cli/overwrites-dir/files/foo.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-dir/files/foo.min.js.map -------------------------------------------------------------------------------- /test/cli/overwrites-dir/post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-dir/post.js -------------------------------------------------------------------------------- /test/cli/overwrites-dir/pre.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-dir/pre.js -------------------------------------------------------------------------------- /test/cli/overwrites-file/actual/helloworld.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-file/actual/helloworld.coffee -------------------------------------------------------------------------------- /test/cli/overwrites-file/actual/helloworld.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-file/actual/helloworld.js -------------------------------------------------------------------------------- /test/cli/overwrites-file/actual/helloworld.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-file/actual/helloworld.js.map -------------------------------------------------------------------------------- /test/cli/overwrites-file/actual/helloworld.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-file/actual/helloworld.min.js -------------------------------------------------------------------------------- /test/cli/overwrites-file/actual/helloworld.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-file/actual/helloworld.min.js.map -------------------------------------------------------------------------------- /test/cli/overwrites-file/command.sh: -------------------------------------------------------------------------------- 1 | sorcery -i actual/helloworld.min.js 2 | -------------------------------------------------------------------------------- /test/cli/overwrites-file/expected/helloworld.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-file/expected/helloworld.coffee -------------------------------------------------------------------------------- /test/cli/overwrites-file/expected/helloworld.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-file/expected/helloworld.js -------------------------------------------------------------------------------- /test/cli/overwrites-file/expected/helloworld.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-file/expected/helloworld.js.map -------------------------------------------------------------------------------- /test/cli/overwrites-file/expected/helloworld.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-file/expected/helloworld.min.js -------------------------------------------------------------------------------- /test/cli/overwrites-file/expected/helloworld.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-file/expected/helloworld.min.js.map -------------------------------------------------------------------------------- /test/cli/overwrites-file/files/helloworld.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-file/files/helloworld.coffee -------------------------------------------------------------------------------- /test/cli/overwrites-file/files/helloworld.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-file/files/helloworld.js -------------------------------------------------------------------------------- /test/cli/overwrites-file/files/helloworld.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-file/files/helloworld.js.map -------------------------------------------------------------------------------- /test/cli/overwrites-file/files/helloworld.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-file/files/helloworld.min.js -------------------------------------------------------------------------------- /test/cli/overwrites-file/files/helloworld.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-file/files/helloworld.min.js.map -------------------------------------------------------------------------------- /test/cli/overwrites-file/pre.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/cli/overwrites-file/pre.js -------------------------------------------------------------------------------- /test/samples/1/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/1/build.sh -------------------------------------------------------------------------------- /test/samples/1/src/helloworld.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/1/src/helloworld.coffee -------------------------------------------------------------------------------- /test/samples/1/tmp/helloworld.coffee: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/1/tmp/helloworld.coffee -------------------------------------------------------------------------------- /test/samples/1/tmp/helloworld.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/1/tmp/helloworld.js -------------------------------------------------------------------------------- /test/samples/1/tmp/helloworld.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/1/tmp/helloworld.js.map -------------------------------------------------------------------------------- /test/samples/1/tmp/helloworld.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/1/tmp/helloworld.min.js -------------------------------------------------------------------------------- /test/samples/1/tmp/helloworld.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/1/tmp/helloworld.min.js.map -------------------------------------------------------------------------------- /test/samples/2/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/2/build.sh -------------------------------------------------------------------------------- /test/samples/2/src/a.js: -------------------------------------------------------------------------------- 1 | module.exports = function () { 2 | console.log( 'a' ); 3 | }; 4 | -------------------------------------------------------------------------------- /test/samples/2/src/main.js: -------------------------------------------------------------------------------- 1 | var a = require( './a' ); 2 | a(); 3 | -------------------------------------------------------------------------------- /test/samples/2/tmp/a.js: -------------------------------------------------------------------------------- 1 | module.exports = function () { 2 | console.log( 'a' ); 3 | }; 4 | -------------------------------------------------------------------------------- /test/samples/2/tmp/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/2/tmp/bundle.js -------------------------------------------------------------------------------- /test/samples/2/tmp/bundle.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/2/tmp/bundle.min.js -------------------------------------------------------------------------------- /test/samples/2/tmp/bundle.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/2/tmp/bundle.min.js.map -------------------------------------------------------------------------------- /test/samples/2/tmp/main.js: -------------------------------------------------------------------------------- 1 | var a = require( './a' ); 2 | a(); 3 | -------------------------------------------------------------------------------- /test/samples/3/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/3/build.sh -------------------------------------------------------------------------------- /test/samples/3/src/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/3/src/app.js -------------------------------------------------------------------------------- /test/samples/3/tmp/app.babel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/3/tmp/app.babel.js -------------------------------------------------------------------------------- /test/samples/3/tmp/app.esperanto.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/3/tmp/app.esperanto.js -------------------------------------------------------------------------------- /test/samples/3/tmp/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/3/tmp/app.js -------------------------------------------------------------------------------- /test/samples/4/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/4/build.sh -------------------------------------------------------------------------------- /test/samples/4/src/file with spaces.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/4/src/file with spaces.js -------------------------------------------------------------------------------- /test/samples/4/tmp/file with spaces.babel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/4/tmp/file with spaces.babel.js -------------------------------------------------------------------------------- /test/samples/4/tmp/file with spaces.babel.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/4/tmp/file with spaces.babel.js.map -------------------------------------------------------------------------------- /test/samples/4/tmp/file with spaces.esperanto.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/4/tmp/file with spaces.esperanto.js -------------------------------------------------------------------------------- /test/samples/4/tmp/file with spaces.esperanto.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/4/tmp/file with spaces.esperanto.js.map -------------------------------------------------------------------------------- /test/samples/4/tmp/file with spaces.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/4/tmp/file with spaces.js -------------------------------------------------------------------------------- /test/samples/5/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/5/build.sh -------------------------------------------------------------------------------- /test/samples/5/src/styles.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/5/src/styles.less -------------------------------------------------------------------------------- /test/samples/5/tmp/styles.css: -------------------------------------------------------------------------------- 1 | #header{color:#6c94be}/*# sourceMappingURL=styles.css.map */ -------------------------------------------------------------------------------- /test/samples/5/tmp/styles.css.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/5/tmp/styles.css.map -------------------------------------------------------------------------------- /test/samples/5/tmp/styles.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/5/tmp/styles.less -------------------------------------------------------------------------------- /test/samples/6/file with spaces.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/6/file with spaces.js -------------------------------------------------------------------------------- /test/samples/6/file with spaces.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/6/file with spaces.js.map -------------------------------------------------------------------------------- /test/samples/7/foo.js: -------------------------------------------------------------------------------- 1 | console.log( 'foo' ); 2 | //# sourceMappingURL=foo.js.map -------------------------------------------------------------------------------- /test/samples/7/foo.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/7/foo.js.map -------------------------------------------------------------------------------- /test/samples/7/sources/bar.js: -------------------------------------------------------------------------------- 1 | console.log( 'bar' ); 2 | //# sourceMappingURL=bar.js.map -------------------------------------------------------------------------------- /test/samples/7/sources/bar.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/7/sources/bar.js.map -------------------------------------------------------------------------------- /test/samples/7/sources/baz.js: -------------------------------------------------------------------------------- 1 | console.log( 'baz' ); -------------------------------------------------------------------------------- /test/samples/8/datafile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/8/datafile.js -------------------------------------------------------------------------------- /test/samples/8/datafile.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/8/datafile.js.map -------------------------------------------------------------------------------- /test/samples/8/source.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/8/source.js -------------------------------------------------------------------------------- /test/samples/prepare-tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/samples/prepare-tests.js -------------------------------------------------------------------------------- /test/sorcery.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/test/sorcery.test.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/Chain.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/types/Chain.d.ts -------------------------------------------------------------------------------- /types/Node.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/types/Node.d.ts -------------------------------------------------------------------------------- /types/SourceMap.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/types/SourceMap.d.ts -------------------------------------------------------------------------------- /types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/types/index.d.ts -------------------------------------------------------------------------------- /types/utils/atob.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/types/utils/atob.d.ts -------------------------------------------------------------------------------- /types/utils/btoa.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/types/utils/btoa.d.ts -------------------------------------------------------------------------------- /types/utils/getMap.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/types/utils/getMap.d.ts -------------------------------------------------------------------------------- /types/utils/getMapFromUrl.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/types/utils/getMapFromUrl.d.ts -------------------------------------------------------------------------------- /types/utils/getSourceMappingUrl.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/types/utils/getSourceMappingUrl.d.ts -------------------------------------------------------------------------------- /types/utils/slash.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/types/utils/slash.d.ts -------------------------------------------------------------------------------- /types/utils/sourceMappingURL.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rich-Harris/sorcery/HEAD/types/utils/sourceMappingURL.d.ts --------------------------------------------------------------------------------