diff --git a/packages/bpk-stylesheets/index.scss b/packages/bpk-stylesheets/index.scss index 67b202e928e..ae1293de688 100644 --- a/packages/bpk-stylesheets/index.scss +++ b/packages/bpk-stylesheets/index.scss @@ -16,8 +16,9 @@ * limitations under the License. */ -@import '~normalize.css'; -@import '../bpk-mixins-next'; +@use '../bpk-mixins-next' as *; + +@import '../node_modules/normalize.css/normalize.css'; // stylelint-disable-next-line selector-max-type html { diff --git a/scripts/scss/generate-v2.sh b/scripts/scss/generate-v2.sh index 1faccb5c274..665baedf61e 100755 --- a/scripts/scss/generate-v2.sh +++ b/scripts/scss/generate-v2.sh @@ -1,3 +1,19 @@ +# Backpack - Skyscanner's Design System +# +# Copyright 2016 Skyscanner Ltd +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + set -e printf "🧽 Wiping packages/bpk-mixins-next...\n" diff --git a/scripts/scss/style-compiler.js b/scripts/scss/style-compiler.js index ef77faa014f..21e86f5d105 100644 --- a/scripts/scss/style-compiler.js +++ b/scripts/scss/style-compiler.js @@ -1,3 +1,21 @@ +/* + * Backpack - Skyscanner's Design System + * + * Copyright 2016 Skyscanner Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + const fs = require('fs'); const path = require('path'); const {pathToFileURL} = require("url"); diff --git a/scripts/scss/styles-dev.js b/scripts/scss/styles-dev.js index ee3ad8a44c8..e6be4bb249b 100644 --- a/scripts/scss/styles-dev.js +++ b/scripts/scss/styles-dev.js @@ -1,3 +1,21 @@ +/* + * Backpack - Skyscanner's Design System + * + * Copyright 2016 Skyscanner Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + const p = require('path'); const chokidar = require('chokidar'); diff --git a/scripts/scss/styles-prod.js b/scripts/scss/styles-prod.js index 314988977a7..cc778bf56a1 100644 --- a/scripts/scss/styles-prod.js +++ b/scripts/scss/styles-prod.js @@ -1,3 +1,21 @@ +/* + * Backpack - Skyscanner's Design System + * + * Copyright 2016 Skyscanner Ltd + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + const glob = require('glob'); const { compile } = require('./style-compiler'); diff --git a/scripts/scss/upgrade.sh b/scripts/scss/upgrade.sh index 370bf667a8f..c5a8d673ab6 100755 --- a/scripts/scss/upgrade.sh +++ b/scripts/scss/upgrade.sh @@ -1,3 +1,19 @@ +# Backpack - Skyscanner's Design System +# +# Copyright 2016 Skyscanner Ltd +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + set -e cd packages